Function at 0x487340
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dfe5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2d4
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x2c], edi
cmp dword [esi + 0x10], 0
jne 0x487389
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x74]
call fcn.00485f80
mov dword [ebp - 4], 0
mov ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4873ab
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4873b5
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
push eax
call fcn.00416460
add esp, 8
test al, al
je 0x487407
lea ecx, [ebp - 0x5c]
call fcn.00485fe0
mov dword [ebp - 4], 1
mov ecx, 3
mov dword [ebp - 0x10], ecx
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x4873e8
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4873f2
mov ecx, dword [esi]
push edx
mov edx, dword [esi + 0x10]
push eax
call fcn.00416460
add esp, 8
mov byte [ebp + 0xb], 1
test al, al
je 0x48740b
mov byte [ebp + 0xb], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
test al, 2
je 0x48742a
and eax, 0xfffffffd
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x10], eax
call fcn.004121a0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test al, 1
je 0x487443
and eax, 0xfffffffe
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x10], eax
call fcn.004121a0
cmp byte [ebp + 0xb], 0
je 0x48748c
lea ecx, [ebp - 0x5c]
call fcn.00485fe0
mov dword [ebp - 4], 2
mov ecx, edi
push eax
call fcn.00487340
mov byte [ebp + 0xb], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004121a0
cmp byte [ebp + 0xb], 0
je 0x48748c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 5
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 6
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4874e2
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4874d6
mov eax, dword [esi]
push dword [esi + 0x10]
lea ecx, [ebp - 0x28]
push eax
call fcn.00413580
lea ecx, [ebp - 0x28]
call fcn.00411740
push 3
push 0x4a94c8
lea ecx, [ebp - 0x28]
call fcn.00413670
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x90]
push eax
call fcn.00411360
add esp, 8
mov byte [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x487522
mov eax, dword [eax]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp + 8], edi
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x90]
call fcn.00412be0
cmp edi, 0xffffffff
jne 0x487552
mov byte [ebp + 0xb], 0
jmp 0x4876f3
lea eax, [ebp - 0x2b4]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x487564
sub ecx, edi
sar ecx, 1
mov dword [edx + 4], ecx
lea ecx, [ebp - 0x44]
call fcn.00411470
add esp, 8
mov byte [ebp - 4], 9
lea eax, [ebp - 0x44]
test byte [ebp - 0x2e0], 0x10
jne 0x487606
push eax
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.004117a0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x28]
push eax
call fcn.00413090
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x60]
cmp eax, 0x10
jb 0x4875df
mov ecx, dword [ebp - 0x74]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x4875d6
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x487753
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00485600
jmp 0x487686
cmp dword [ebp - 0x30], 0x10
cmovae eax, dword [ebp - 0x44]
cmp byte [eax], 0x2e
je 0x487686
lea eax, [ebp - 0x44]
mov edx, esi
push eax
lea ecx, [ebp - 0x5c]
call fcn.004117a0
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x28]
push eax
call fcn.00413090
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x487664
mov ecx, dword [ebp - 0x5c]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x48765b
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x487753
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00487340
mov byte [ebp - 4], 0xe
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4876b9
mov ecx, dword [ebp - 0x44]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x4876b0
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x487753
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2e0]
mov edi, dword [ebp + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x487552
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp + 0xb], 1
mov dword [ebp - 4], 0xf
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x487725
mov ecx, dword [ebp - 0x28]
inc eax
mov edx, ecx
cmp eax, 0x1000
jb 0x48771c
mov ecx, dword [edx - 4]
sub edx, ecx
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x487753
push ecx
call fcn.0045a450
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp + 0xb]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00469335
int3