Function at 0x486b10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x69
push 0
push 0
dec ecx
jne 0x486b18
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x487207
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x45dedc]
call fcn.00460788
mov ebx, eax
lea eax, [ebp - 0x260]
call fcn.00476cf0
mov edx, dword [ebp - 0x260]
lea eax, [ebx + 0x34]
call fcn.00407124
lea eax, [ebx + 0x3c]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 4]
call fcn.00407124
lea eax, [ebp - 0x264]
call fcn.00476d50
mov edx, dword [ebp - 0x264]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 8]
mov eax, ebx
call fcn.00461984
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
movzx eax, byte [eax + 0xc]
sub al, 1
jb 0x486baa
je 0x486bda
dec al
je 0x486c07
dec al
je 0x486c34
jmp 0x486c5f
lea eax, [ebp - 0x268]
call fcn.00476e08
mov eax, dword [ebp - 0x268]
push eax
lea eax, [ebp - 0x26c]
call fcn.00476d98
mov edx, dword [ebp - 0x26c]
mov eax, ebx
pop ecx
call fcn.00461984
jmp 0x486c5f
lea eax, [ebp - 0x270]
call fcn.00476ec4
mov eax, dword [ebp - 0x270]
push eax
lea eax, [ebp - 0x274]
call fcn.00476e54
mov edx, dword [ebp - 0x274]
mov eax, ebx
pop ecx
call fcn.00461984
jmp 0x486c5f
lea eax, [ebp - 0x278]
call fcn.00476f74
mov eax, dword [ebp - 0x278]
push eax
lea eax, [ebp - 0x27c]
call fcn.00476f04
mov edx, dword [ebp - 0x27c]
mov eax, ebx
pop ecx
call fcn.00461984
jmp 0x486c5f
lea eax, [ebp - 0x280]
call fcn.0047702c
mov eax, dword [ebp - 0x280]
push eax
lea eax, [ebp - 0x284]
call fcn.00476fbc
mov edx, dword [ebp - 0x284]
mov eax, ebx
pop ecx
call fcn.00461984
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp byte [eax + 0x120], 0
je 0x486c92
lea eax, [ebp - 0x288]
call fcn.00477078
mov edx, dword [ebp - 0x288]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x124]
mov eax, ebx
call fcn.004618b0
lea eax, [ebp - 0x28c]
call fcn.004770d8
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 4]
call fcn.00448b7c
lea eax, [ebp - 0x290]
call fcn.0047712c
mov ecx, dword [ebp - 0x290]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004075e0
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov edi, eax
cmp edi, 0xffffffff
je 0x486efa
xor esi, esi
lea edx, [ebp - 0x294]
mov eax, esi
call fcn.004102f4
mov eax, dword [ebp - 0x294]
push eax
lea eax, [ebp - 0x298]
call fcn.004771ec
mov edx, dword [ebp - 0x298]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004075e0
lea eax, [ebp - 0x29c]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov eax, dword [ebp - 0x29c]
push eax
lea eax, [ebp - 0x2a4]
call fcn.00477250
mov ecx, dword [ebp - 0x2a4]
lea eax, [ebp - 0x2a0]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x2a0]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x2b4]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov ecx, dword [ebp - 0x2b4]
lea eax, [ebp - 0x2b0]
mov edx, dword [ebp - 4]
call fcn.004075e0
mov eax, dword [ebp - 0x2b0]
lea edx, [ebp - 0x2ac]
call fcn.0044a9d0
mov edx, dword [ebp - 0x2ac]
lea eax, [ebp - 0x2a8]
call fcn.00407328
mov eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x2bc]
call fcn.00477298
mov ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0x2b8]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x2b8]
mov eax, ebx
pop ecx
call fcn.00461984
jmp 0x486edf
inc esi
lea edx, [ebp - 0x2c0]
mov eax, esi
call fcn.004102f4
mov eax, dword [ebp - 0x2c0]
push eax
lea eax, [ebp - 0x2c4]
call fcn.004772d8
mov edx, dword [ebp - 0x2c4]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004075e0
lea eax, [ebp - 0x2c8]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov eax, dword [ebp - 0x2c8]
push eax
lea eax, [ebp - 0x2d0]
call fcn.0047733c
mov ecx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x2cc]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x2cc]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x2e0]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov ecx, dword [ebp - 0x2e0]
lea eax, [ebp - 0x2dc]
mov edx, dword [ebp - 4]
call fcn.004075e0
mov eax, dword [ebp - 0x2dc]
lea edx, [ebp - 0x2d8]
call fcn.0044a9d0
mov edx, dword [ebp - 0x2d8]
lea eax, [ebp - 0x2d4]
call fcn.00407328
mov eax, dword [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2e8]
call fcn.00477384
mov ecx, dword [ebp - 0x2e8]
lea eax, [ebp - 0x2e4]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x2e4]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x486de6
push edi
call sub.kernel32.dll_FindClose_1
lea eax, [ebp - 0x2ec]
call fcn.004773c4
mov edx, dword [ebp - 0x2ec]
lea eax, [ebp - 4]
call fcn.00407520
lea eax, [ebp - 0x2f0]
call fcn.0047744c
mov ecx, dword [ebp - 0x2f0]
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004075e0
lea eax, [ebp - 0x25c]
push eax
mov eax, dword [ebp - 8]
call fcn.004071b0
push eax
call sub.kernel32.dll_FindFirstFileW_1
mov edi, eax
cmp edi, 0xffffffff
je 0x487162
xor esi, esi
lea edx, [ebp - 0x2f4]
mov eax, esi
call fcn.004102f4
mov eax, dword [ebp - 0x2f4]
push eax
lea eax, [ebp - 0x2f8]
call fcn.004774f4
mov edx, dword [ebp - 0x2f8]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004075e0
lea eax, [ebp - 0x2fc]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov eax, dword [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x304]
call fcn.00477558
mov ecx, dword [ebp - 0x304]
lea eax, [ebp - 0x300]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x300]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x314]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov ecx, dword [ebp - 0x314]
lea eax, [ebp - 0x310]
mov edx, dword [ebp - 4]
call fcn.004075e0
mov eax, dword [ebp - 0x310]
lea edx, [ebp - 0x30c]
call fcn.0044a9d0
mov edx, dword [ebp - 0x30c]
lea eax, [ebp - 0x308]
call fcn.00407328
mov eax, dword [ebp - 0x308]
push eax
lea eax, [ebp - 0x31c]
call fcn.004775a0
mov ecx, dword [ebp - 0x31c]
lea eax, [ebp - 0x318]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x318]
mov eax, ebx
pop ecx
call fcn.00461984
jmp 0x487147
inc esi
lea edx, [ebp - 0x320]
mov eax, esi
call fcn.004102f4
mov eax, dword [ebp - 0x320]
push eax
lea eax, [ebp - 0x324]
call fcn.004775e0
mov edx, dword [ebp - 0x324]
lea eax, [ebp - 0xc]
pop ecx
call fcn.004075e0
lea eax, [ebp - 0x328]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x330]
call fcn.00477644
mov ecx, dword [ebp - 0x330]
lea eax, [ebp - 0x32c]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x32c]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x340]
lea edx, [ebp - 0x230]
mov ecx, 0x104
call fcn.0040730c
mov ecx, dword [ebp - 0x340]
lea eax, [ebp - 0x33c]
mov edx, dword [ebp - 4]
call fcn.004075e0
mov eax, dword [ebp - 0x33c]
lea edx, [ebp - 0x338]
call fcn.0044a9d0
mov edx, dword [ebp - 0x338]
lea eax, [ebp - 0x334]
call fcn.00407328
mov eax, dword [ebp - 0x334]
push eax
lea eax, [ebp - 0x348]
call fcn.0047768c
mov ecx, dword [ebp - 0x348]
lea eax, [ebp - 0x344]
mov edx, dword [ebp - 0xc]
call fcn.004075e0
mov edx, dword [ebp - 0x344]
mov eax, ebx
pop ecx
call fcn.00461984
lea eax, [ebp - 0x25c]
push eax
push edi
call sub.kernel32.dll_FindNextFileW
test eax, eax
jne 0x48704e
push edi
call sub.kernel32.dll_FindClose_1
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 4]
mov eax, ebx
call fcn.00405008
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487211
lea eax, [ebp - 0x348]
mov edx, 4
call fcn.0040711c
lea eax, [ebp - 0x338]
call fcn.00406288
lea eax, [ebp - 0x334]
mov edx, 0xa
call fcn.0040711c
lea eax, [ebp - 0x30c]
call fcn.00406288
lea eax, [ebp - 0x308]
mov edx, 0xc
call fcn.0040711c
lea eax, [ebp - 0x2d8]
call fcn.00406288
lea eax, [ebp - 0x2d4]
mov edx, 0xa
call fcn.0040711c
lea eax, [ebp - 0x2ac]
call fcn.00406288
lea eax, [ebp - 0x2a8]
mov edx, 0x13
call fcn.0040711c
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040711c
ret