Function at 0x4e5e90
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52300e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x298
mov dword [ebp - 0x270], 0x80004005
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 0x26c], 0
push 0x24c
push 0
lea eax, [ebp - 0x268]
push eax
call fcn.004b3d60
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040a960
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c630
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0xffffffff
push 1
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b410
mov dword [ebp - 0x28c], eax
push 0x5370e8
mov eax, dword [ebp - 0x28c]
push eax
call fcn.0040b5e0
add esp, 8
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.0040c650
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
je 0x4e5f59
push 0x5370ec
lea ecx, [ebp - 0x18]
call fcn.0040c6b0
push 0x5370f0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.004165b0
add esp, 0xc
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
mov dword [ebp - 0x294], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x294]
push edx
lea ecx, [ebp - 0x14]
call fcn.00408510
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.0040c650
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00423af0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4e5fc9
jmp 0x4e6113
push 0x5370f4
lea ecx, [ebp - 0x240]
push ecx
call fcn.004b4a00
add esp, 8
test eax, eax
je 0x4e5ff9
push 0x5370f8
lea edx, [ebp - 0x240]
push edx
call fcn.004b4a00
add esp, 8
test eax, eax
jne 0x4e5ffe
jmp 0x4e60e6
mov eax, dword [ebp - 0x26c]
and eax, 2
je 0x4e600e
jmp 0x4e60e6
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x4e6082
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.004165b0
add esp, 0xc
mov dword [ebp - 0x298], eax
mov edx, dword [ebp - 0x298]
mov dword [ebp - 0x29c], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x29c]
call fcn.00423af0
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x280]
call fcn.0040c650
cmp dword [ebp - 0x10], 0
je 0x4e6080
jmp 0x4e6113
jmp 0x4e60e6
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.004165b0
add esp, 0xc
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x2a0]
mov dword [ebp - 0x2a4], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2a4]
call fcn.00423af0
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x284]
call fcn.0040c650
cmp dword [ebp - 0x10], 0
je 0x4e60e6
jmp 0x4e6113
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e5fc9
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0x288], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040c650
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8