Function at 0x4170f0
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x462813
call fcn.004571ec
sub esp, 0x388
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
cmp byte [esi + 0x71], 0
push 1
pop ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
je 0x41746c
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00418763
add esp, 0xc
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00405599
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 4
call fcn.004060f2
cmp edi, 0xffffffff
je 0x4176b2
mov ebx, 0x469494
mov edi, 0x46948c
cmp dword [ebp - 0x1c], 0
je 0x41745e
test byte [ebp - 0x394], 0x10
jne 0x417446
lea ecx, [ebp - 0xc0]
call fcn.00417a14
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x380]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0xb6]
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
lea eax, [ebp - 0x17]
push 0
push eax
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x180]
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x160], edi
call fcn.00404c93
lea eax, [ebp - 0x254]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 6
call fcn.00417e3f
mov ecx, dword [0x46950c]
mov eax, dword [eax + 0xc]
lea edx, [ebp - 0x16]
push 0
push edx
push ecx
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
mov dword [ebp - 0x1d0], ebx
mov dword [ebp - 0x1b0], edi
call fcn.00407f3c
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x1f8]
push eax
call fcn.004118d8
add esp, 0xc
push dword [0x46950c]
mov ecx, eax
add eax, 4
mov byte [ebp - 4], 9
neg ecx
sbb ecx, ecx
push 0
and ecx, eax
push ecx
lea ecx, [ebp - 0xb0]
call fcn.00405665
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 8
call fcn.004060f2
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
call fcn.004060f2
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 6
call fcn.004060f2
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.004060f2
mov eax, dword [ebp - 0x394]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x380]
and dword [ebp - 0x84], 0
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x37c]
test byte [esi + 0x6d], 3
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x84], eax
je 0x4173a9
lea ecx, [ebp - 0x130]
call fcn.00417a78
lea eax, [ebp - 0x15]
push 0
push eax
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x188], edi
call fcn.00404c93
lea eax, [ebp - 0x1a8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004118d8
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00405599
push eax
lea ecx, [ebp - 0x130]
call fcn.00455011
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0xb
call fcn.004060f2
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
call fcn.004060f2
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x130], 0x469d3c
call fcn.00417ae0
mov eax, dword [esi + 0xc]
mov edx, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
push 0
add dword [eax + 0x28], edx
mov dword [ebp - 0xe8], ebx
mov dword [ebp - 0xc8], edi
adc dword [eax + 0x2c], ecx
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0xe8]
call fcn.00404b2e
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0xe8]
push eax
add ecx, 0x18
mov byte [ebp - 4], 0xd
call fcn.00410e85
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
add dword [eax], ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 5
adc dword [eax + 4], edx
call fcn.004060f2
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x10]
lea edx, [ebp - 0xc0]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417c98
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.00416345
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.004060f2
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1c], eax
jmp 0x417178
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x4176b2
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.00417a14
push dword [0x46950c]
lea eax, [ebp + 0x30]
xor edi, edi
lea ecx, [ebp + 0x34]
neg eax
sbb eax, eax
push edi
and eax, ecx
lea ecx, [ebp - 0xb0]
push eax
mov byte [ebp - 4], 0x10
call fcn.00405665
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00418763
add esp, 0xc
push edi
push edi
push 3
push 0x80
push ebx
push SysReAllocStringLen
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.00416698
cmp eax, edi
lea ecx, [ebp - 0x158]
setne bl
mov byte [ebp - 4], 0x10
call fcn.004060f2
test bl, bl
je 0x41750b
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
call fcn.00416345
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.004060f2
jmp 0x4176b2
push edi
lea ecx, [ebp - 0x74]
call fcn.004176e1
mov dword [ebp - 0x88], eax
push edi
lea eax, [ebp - 0x7c]
push edi
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x84], edi
mov byte [ebp - 4], 0x13
call fcn.0041788f
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x417571
lea eax, [ebp - 0xb6]
mov dword [ebp - 4], 0x10
push eax
lea eax, [ebp - 0xb8]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
test byte [esi + 0x6d], 3
je 0x417613
lea ecx, [ebp - 0x130]
call fcn.00417a78
lea eax, [ebp + 0x30]
mov byte [ebp - 4], 0x15
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00418763
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00405599
push eax
lea ecx, [ebp - 0x130]
call fcn.00455011
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x15
call fcn.004060f2
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x130]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0xc0], eax
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x130], 0x469d3c
call fcn.00417ae0
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
push edi
add dword [eax + 0x28], ecx
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0xe8], 0x469494
mov dword [ebp - 0xc8], 0x46948c
adc dword [eax + 0x2c], edx
lea eax, [esi + 0x84]
push eax
call fcn.00404b2e
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0xe8]
push eax
add ecx, 0x18
mov byte [ebp - 4], 0x17
call fcn.00410e85
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x84]
add dword [eax], ecx
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x10
adc dword [eax + 4], edx
call fcn.004060f2
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x10]
lea edx, [ebp - 0xc0]
push edx
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00417c98
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.00417b3b
mov dword [ebp - 4], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004060f2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.004060f2
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x50