Function at 0x40e0a0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x45ccb6
mov eax, dword fs:[0]
push eax
sub esp, 0x490
mov eax, dword [0x4762c4]
xor eax, esp
mov dword [esp + 0x48c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4762c4]
xor eax, esp
push eax
lea eax, [esp + 0x4a4]
mov dword fs:[0], eax
cmp dword [0x477abc], 0x10
mov eax, dword [0x477aa8]
mov esi, ecx
jae 0x40e0f0
mov eax, 0x477aa8
movzx ecx, word [esi + 0x8e0]
push ecx
push eax
push str._sLIB_04XES.SIF
lea edx, [esp + 0x3a8]
push 0x104
push edx
call fcn.00408310
add esp, 0x14
lea eax, [esp + 0x158]
push eax
lea ecx, [esp + 0x3a0]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x40e4f8
xor ebx, ebx
lea ecx, [esp + 0x18]
call fcn.00423010
cmp dword [0x477abc], 0x10
mov eax, dword [0x477aa8]
mov dword [esp + 0x4ac], ebx
jae 0x40e15b
mov eax, 0x477aa8
movzx ecx, word [esi + 0x8e0]
lea edx, [esp + 0x184]
push edx
push ecx
push eax
push str._sLIB_04X_s
lea edx, [esp + 0x2a8]
push 0x104
push edx
call fcn.00408310
add esp, 0x18
lea eax, [esp + 0x298]
push eax
lea ecx, [esp + 0x1c]
call fcn.004228b0
xor edi, edi
xor ebp, ebp
jmp 0x40e1a0
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x40e2eb
mov edx, dword [esp + 0x24]
mov eax, edx
sub eax, ecx
sar eax, 5
cmp edi, eax
jae 0x40e2eb
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
mov dword [esp + 0x154], 0xf
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
cmp ecx, ebx
mov ax, word [ecx + ebp]
mov byte [esp + 0x4ac], 1
mov word [esp + 0x11c], ax
je 0x40e212
sub edx, ecx
sar edx, 5
cmp edi, edx
jb 0x40e21b
call fcn.00440a0f
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
lea ecx, [ecx + ebp + 4]
push ebx
push ecx
lea ecx, [esp + 0x12c]
call fcn.00402d00
lea eax, [esp + 0x298]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x40e240
sub eax, edx
push eax
lea edx, [esp + 0x29c]
push edx
lea ecx, [esp + 0x144]
call fcn.00402de0
lea eax, [esp + 0x11c]
push eax
lea ecx, [esi + 0x8d0]
mov byte [esp + 0x122], bl
call fcn.0040dc80
cmp dword [esp + 0x154], 0x10
jb 0x40e294
mov ecx, dword [esp + 0x140]
push ecx
call fcn.0042f837
add esp, 4
cmp dword [esp + 0x138], 0x10
mov dword [esp + 0x154], 0xf
mov dword [esp + 0x150], ebx
mov byte [esp + 0x140], bl
jb 0x40e2c7
mov edx, dword [esp + 0x124]
push edx
call fcn.0042f837
add esp, 4
add edi, 1
mov dword [esp + 0x138], 0xf
mov dword [esp + 0x134], ebx
mov byte [esp + 0x124], bl
add ebp, 0x20
jmp 0x40e1a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x4ac], 0xffffffff
call fcn.00423130
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x158]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40e138
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e494
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x40e494
cmp byte [0x477a65], bl
jne 0x40e4f4
xor edi, edi
xor ebp, ebp
cmp word [0x477a6c], bx
jne 0x40e3e2
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e4f4
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x40e4f4
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e3ca
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40e3cf
call fcn.00440a0f
mov eax, dword [esi + 0x8d4]
mov byte [eax + ebp + 2], 1
add edi, 1
add ebp, 0x3c
jmp 0x40e370
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e4f4
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jae 0x40e4f4
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e43c
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40e441
call fcn.00440a0f
mov ecx, dword [esi + 0x8d4]
mov dx, word [0x477a6c]
cmp word [ecx + ebp], dx
jne 0x40e489
mov eax, ecx
cmp eax, ebx
je 0x40e479
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x40e47e
call fcn.00440a0f
mov eax, dword [esi + 0x8d4]
mov byte [eax + ebp + 2], 1
add edi, 1
add ebp, 0x3c
jmp 0x40e3e2
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e4f8
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jne 0x40e4f8
mov eax, dword [esi + 0x8d4]
cmp eax, ebx
je 0x40e4e5
mov ecx, dword [esi + 0x8d8]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x40e4ea
call fcn.00440a0f
mov edx, dword [esi + 0x8d4]
mov byte [edx + 2], 1
mov al, 1
jmp 0x40e4fa
xor al, al
mov ecx, dword [esp + 0x4a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48c]
xor ecx, esp
call fcn.00440494
add esp, 0x49c
ret