Function at 0x4288ed
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x465907
call fcn.0045aa08
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 0x428c69
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00429ba5
add esp, 0xc
lea ecx, [ebp - 0x394]
mov byte [ebp - 4], 2
push ecx
mov ecx, eax
call fcn.00416f0f
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.0040be47
cmp edi, 0xffffffff
je 0x428eaf
mov ebx, 0x46bb80
mov edi, 0x46bb78
cmp dword [ebp - 0x1c], 0
je 0x428c5b
test byte [ebp - 0x394], 0x10
jne 0x428c43
lea ecx, [ebp - 0xc0]
call fcn.00429212
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.00416ca8
lea eax, [ebp - 0x254]
lea ecx, [esi + 0x44]
push eax
mov byte [ebp - 4], 6
call fcn.00417aa7
mov ecx, dword [0x46b940]
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.00416ab8
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.00429f79
add esp, 0xc
push dword [0x46b940]
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.004091c3
lea ecx, [ebp - 0x1f8]
mov byte [ebp - 4], 8
call fcn.0040be47
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 7
call fcn.0040be47
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 6
call fcn.0040be47
lea ecx, [ebp - 0x180]
mov byte [ebp - 4], 5
call fcn.0040be47
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 0x428ba6
lea ecx, [ebp - 0x130]
call fcn.00429276
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.00416ca8
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.00429f79
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0xc
call fcn.00416f0f
push eax
lea ecx, [ebp - 0x130]
call fcn.004590e9
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0xb
call fcn.0040be47
lea ecx, [ebp - 0x1a8]
mov byte [ebp - 4], 0xa
call fcn.0040be47
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], 0x46c678
call fcn.004292de
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.00408caf
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0xe8]
push eax
add ecx, 0x18
mov byte [ebp - 4], 0xd
call fcn.004237ff
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.0040be47
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.004293cb
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xe
call fcn.00427b49
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 4
call fcn.0040be47
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov dword [ebp - 0x1c], eax
jmp 0x428975
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x428eaf
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.00429212
push dword [0x46b940]
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.004091c3
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00429ba5
add esp, 0xc
push edi
push edi
push 3
push 0x80
push ebx
push SysReAllocString
push eax
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x11
call fcn.00427e95
cmp eax, edi
lea ecx, [ebp - 0x158]
setne bl
mov byte [ebp - 4], 0x10
call fcn.0040be47
test bl, bl
je 0x428d08
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0x12
call fcn.00427b49
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xf
call fcn.0040be47
jmp 0x428eaf
push edi
lea ecx, [ebp - 0x74]
call fcn.00428ede
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.0042908d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
jmp 0x428d6e
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 0x428e10
lea ecx, [ebp - 0x130]
call fcn.00429276
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.00429ba5
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 0x16
call fcn.00416f0f
push eax
lea ecx, [ebp - 0x130]
call fcn.004590e9
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0x15
call fcn.0040be47
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], 0x46c678
call fcn.004292de
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], 0x46bb80
mov dword [ebp - 0xc8], 0x46bb78
adc dword [eax + 0x2c], edx
lea eax, [esi + 0x84]
push eax
call fcn.00408caf
mov ecx, dword [esi + 0xc]
lea eax, [ebp - 0xe8]
push eax
add ecx, 0x18
mov byte [ebp - 4], 0x17
call fcn.004237ff
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.0040be47
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.004293cb
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 0xf
call fcn.00429339
mov dword [ebp - 4], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040be47
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040be47
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x50