Function at 0x405edd
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov dword [ebp - 0x268], ecx
mov eax, dword [ebp - 0x268]
mov dword [eax + 0x1c], 0
mov dword [ebp - 0x114], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0x2800
mov ecx, dword [ebp - 0x258]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push edx
push 0x44c1fc
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x254]
push ecx
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0xffffffff
jne 0x405f9a
mov byte [ebp - 0x264], 0x68
push 1
lea eax, [ebp - 0x264]
push eax
mov ecx, dword [ebp - 0x268]
call fcn.0040e9c0
jmp 0x406129
mov ecx, dword [ebp - 4]
mov byte [ecx], 0x68
mov dword [ebp - 0xc], 1
mov edx, dword [ebp - 0x258]
sub edx, 0x208
cmp dword [ebp - 0xc], edx
jbe 0x405fdf
mov eax, dword [ebp - 0x258]
add eax, 0x208
mov dword [ebp - 0x258], eax
push 0x42
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x228]
mov dword [ebp - 8], eax
push 0x44c204
mov ecx, dword [ebp - 8]
push ecx
call fcn.00425690
add esp, 8
test eax, eax
je 0x406012
push 0x44c208
mov edx, dword [ebp - 8]
push edx
call fcn.00425690
add esp, 8
test eax, eax
jne 0x406017
jmp 0x4060d7
mov eax, dword [ebp - 0x254]
and eax, 0x10
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x25c], eax
mov ecx, dword [ebp - 0x25c]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call fcn.00424650
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x25c]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
push 4
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0xc]
push edx
call fcn.00424650
add esp, 0xc
push 4
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 4]
push eax
call fcn.00424650
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp - 0xc], ecx
push 8
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
push eax
call fcn.00424650
add esp, 0xc
mov ecx, dword [ebp - 0xc]
add ecx, 8
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x254]
push edx
mov eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405fa7
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x268]
call fcn.0040e9c0
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x114]
mov esp, ebp
pop ebp
ret 4