Function at 0x4e8fb0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x3c8
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xf2
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x3cc], ecx
cmp dword [ebp + 0xc], 0
jne 0x4e8ff9
push dword [ebp + 8]
mov ecx, 0x5f6948
call fcn.0058b670
cmp eax, 0
jne 0x4e8ff9
mov eax, 0x5f6948
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
mov eax, dword [0x5f694c]
mov dword [ebp - 0x3b8], eax
jmp 0x4e904e
mov eax, dword [ebp - 0x3b8]
mov edx, dword [eax]
mov dword [0x5f694c], edx
cmp dword [ebp - 0x3b8], 0
je 0x4e9043
mov eax, dword [ebp - 0x3b8]
cmp dword [eax + 4], 0
je 0x4e9037
mov eax, dword [ebp - 0x3b8]
mov ecx, dword [eax + 4]
call fcn.00589d70
push dword [ebp - 0x3b8]
call fcn.004949a0
pop ecx
mov eax, dword [0x5f694c]
mov dword [ebp - 0x3b8], eax
cmp dword [ebp - 0x3b8], 0
jne 0x4e9006
mov dword [0x5f6950], 0
push dword [ebp + 8]
mov ecx, 0x5f6948
call fcn.0058a7b0
mov dword [ebp - 0x3bc], 0
call fcn.0056d3b0
cmp al, 0
je 0x4e9269
mov dword [ebp - 0x39c], 0
push str..
call fcn.0040d340
pop ecx
push eax
push str..
lea ecx, [ebp - 0x39c]
call fcn.00589f70
cmp dword [ebp - 0x39c], 0
je 0x4e90c3
mov ebx, dword [ebp - 0x39c]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x39c]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x258]
push eax
call fcn.0058b180
add esp, 0xc
cmp dword [ebp - 0x39c], 0
je 0x4e90f0
mov ecx, dword [ebp - 0x39c]
call fcn.00589d70
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x258]
call fcn.0058a430
lea eax, [ebp - 0x3a0]
push eax
lea ecx, [ebp - 0x258]
call fcn.0058a7b0
cmp dword [ebp - 0x3a0], 0
je 0x4e9128
mov ecx, dword [ebp - 0x3a0]
call fcn.00589d70
lea ecx, [ebp - 0x258]
call fcn.0058a750
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x3c0]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x3c4], eax
cmp dword [ebp - 0x3c4], 0xffffffff
je 0x4e924c
push 0x5f6ce1
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.004e8dc0
pop ecx
pop ecx
cmp eax, 0
je 0x4e9224
push 0x5f6ce3
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.004e8dc0
pop ecx
pop ecx
cmp eax, 0
je 0x4e9224
push 8
call fcn.00494950
pop ecx
cmp eax, 0
je 0x4e91b3
mov dword [eax + 4], 0
mov eax, eax
mov dword [ebp - 0x3b8], eax
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
call fcn.0058d600
pop ecx
push eax
lea eax, [ebp - 0x254]
add eax, 0x2c
push eax
mov ecx, dword [ebp - 0x3b8]
add ecx, 4
call fcn.0058a000
mov eax, dword [ebp - 0x3b8]
mov dword [eax], 0
cmp dword [ebp - 0x3bc], 0
je 0x4e9207
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
mov dword [eax], ecx
jmp 0x4e9212
mov eax, dword [ebp - 0x3b8]
mov dword [0x5f694c], eax
inc dword [0x5f6950]
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x254]
push eax
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, 0
jne 0x4e915f
push dword [ebp - 0x3c4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x258], 0
je 0x4e94cc
mov ecx, dword [ebp - 0x258]
call fcn.00589d70
jmp 0x4e94cc
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x3a4], edx
cmp dword [ebp - 0x3a4], 0
je 0x4e9285
mov edx, dword [ebp - 0x3a4]
inc dword [edx]
lea eax, [ebp - 0x3a4]
push eax
lea eax, [ebp - 0x3a8]
push eax
call fcn.00546e70
pop ecx
pop ecx
mov dword [ebp - 0x3ac], 0
push str..
call fcn.0040d340
pop ecx
push eax
push str..
lea ecx, [ebp - 0x3ac]
call fcn.00589f70
cmp dword [ebp - 0x3ac], 0
je 0x4e92d8
mov ebx, dword [ebp - 0x3ac]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x3ac]
push eax
lea eax, [ebp - 0x3a8]
push eax
lea eax, [ebp - 0x3b0]
push eax
call fcn.0058b180
add esp, 0xc
lea eax, [ebp - 0x398]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.0058a690
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x3c8], eax
cmp dword [ebp - 0x3b0], 0
je 0x4e9328
mov ecx, dword [ebp - 0x3b0]
call fcn.00589d70
cmp dword [ebp - 0x3ac], 0
je 0x4e933c
mov ecx, dword [ebp - 0x3ac]
call fcn.00589d70
cmp dword [ebp - 0x3a8], 0
je 0x4e9350
mov ecx, dword [ebp - 0x3a8]
call fcn.00589d70
cmp dword [ebp - 0x3a4], 0
je 0x4e9364
mov ecx, dword [ebp - 0x3a4]
call fcn.00589d70
cmp dword [ebp - 0x3c8], 0xffffffff
je 0x4e94cc
push 0x5f6ce1
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
je 0x4e94a4
push 0x5f6ce3
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.0040d370
pop ecx
pop ecx
cmp eax, 0
je 0x4e94a4
push 8
call fcn.00494950
pop ecx
cmp eax, 0
je 0x4e93c5
mov dword [eax + 4], 0
mov eax, eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], 0
lea eax, [ebp - 0x398]
add eax, 0x2c
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
call fcn.0040d340
pop ecx
push eax
lea eax, [ebp - 0x398]
add eax, 0x2c
push eax
lea ecx, [ebp - 0x3b4]
call fcn.00589f70
cmp dword [ebp - 0x3b4], 0
je 0x4e941c
mov ebx, dword [ebp - 0x3b4]
mov edx, dword [0x63df30]
mov dword [ebx + 0x10], edx
lea eax, [ebp - 0x3b4]
push eax
mov ecx, dword [ebp - 0x3b8]
add ecx, 4
call fcn.0058a7b0
cmp dword [ebp - 0x3b4], 0
je 0x4e9445
mov ecx, dword [ebp - 0x3b4]
call fcn.00589d70
call fcn.00546dd0
mov ecx, dword [ebp - 0x3b8]
cmp dword [ecx + 4], 0
je 0x4e9462
mov ecx, dword [ebp - 0x3b8]
mov edx, dword [ecx + 4]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x3b8]
mov dword [eax], 0
cmp dword [ebp - 0x3bc], 0
je 0x4e9487
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
mov dword [eax], ecx
jmp 0x4e9492
mov eax, dword [ebp - 0x3b8]
mov dword [0x5f694c], eax
inc dword [0x5f6950]
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], eax
lea eax, [ebp - 0x398]
push eax
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
cmp eax, 0
jne 0x4e9371
push dword [ebp - 0x3c8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, 0x5f6948
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8