Function at 0x408a30
Capabilities:
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44266b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x2d0
mov eax, dword [0x45c070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov eax, dword [ebx + 8]
mov edx, dword [edi + 4]
mov dword [ebp - 0x2dc], eax
push dword [ebp - 0x2dc]
push ecx
mov ecx, dword [edi]
call fcn.0040cae0
mov eax, dword [edi]
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 2
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], eax
push 8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call fcn.0041ed8c
add esp, 0xc
mov dword [ebp - 0x28], eax
test eax, eax
je 0x408b08
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
cmp eax, esi
je 0x408b24
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406f70
lea eax, [ebp - 0x40]
cmp eax, esi
je 0x408b37
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.00406f70
push 1
push 0x452880
lea ecx, [ebp - 0x40]
call fcn.00406050
push 0xffffffffffffffff
push 0
push dword [ebp - 0x2dc]
lea ecx, [ebp - 0x40]
call fcn.00406180
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x2d8]
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x408c40
nop dword [eax]
test byte [ebp - 0x2d8], 0x10
jne 0x408c23
xor eax, eax
mov dword [ebp - 0x5c], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x70], ax
lea ecx, [ebp - 0x70]
lea eax, [ebp - 0x58]
mov dword [ebp - 0x60], 0
push eax
call fcn.00406f70
push 1
push 0x452880
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00406050
cmp word [ebp - 0x2ac], 0
jne 0x408bd1
xor eax, eax
jmp 0x408bef
lea eax, [ebp - 0x2ac]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408be0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2ac]
push eax
lea ecx, [ebp - 0x70]
call fcn.00406050
lea eax, [ebp - 0x70]
mov ecx, edi
push eax
call fcn.00409b00
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x408c23
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00407820
lea eax, [ebp - 0x2d8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408b80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
sub ecx, dword [edi]
imul ecx
xor ecx, ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
lea ecx, [ebp - 0x28]
sbb esi, esi
neg esi
call fcn.00409e40
push dword [ebp - 0x28]
call fcn.0041e8a1
mov eax, dword [ebp - 0x44]
add esp, 4
mov dword [ebp - 0x28], 0
cmp eax, 8
jb 0x408c8d
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00407820
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
cmp ecx, 8
jb 0x408cb6
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00407820
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e8a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret