Function at 0x4e70e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525036
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.0049e730
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x18]
call fcn.00406b50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.004070d0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0xffffffff
push 1
lea edx, [ebp - 0x278]
push edx
lea ecx, [ebp - 0x18]
call fcn.00407530
mov dword [ebp - 0x28c], eax
push 0x5393e0
mov eax, dword [ebp - 0x28c]
push eax
call fcn.00407700
add esp, 8
mov byte [ebp - 0x271], al
lea ecx, [ebp - 0x278]
call fcn.004070b0
movzx ecx, byte [ebp - 0x271]
test ecx, ecx
je 0x4e71a9
push 0x5393e4
lea ecx, [ebp - 0x18]
call fcn.004087b0
push 0x5393e8
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x27c]
push eax
call fcn.0040b1c0
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.00404380
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.004070b0
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00477060
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
jne 0x4e7219
jmp 0x4e7363
push 0x5393ec
lea ecx, [ebp - 0x240]
push ecx
call fcn.0049f608
add esp, 8
test eax, eax
je 0x4e7249
push 0x5393f0
lea edx, [ebp - 0x240]
push edx
call fcn.0049f608
add esp, 8
test eax, eax
jne 0x4e724e
jmp 0x4e7336
mov eax, dword [ebp - 0x26c]
and eax, 2
je 0x4e725e
jmp 0x4e7336
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x4e72d2
lea edx, [ebp - 0x240]
push edx
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x280]
push ecx
call fcn.0040b1c0
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.00477060
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.004070b0
cmp dword [ebp - 0x10], 0
je 0x4e72d0
jmp 0x4e7363
jmp 0x4e7336
lea ecx, [ebp - 0x240]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x284]
push eax
call fcn.0040b1c0
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.00477060
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.004070b0
cmp dword [ebp - 0x10], 0
je 0x4e7336
jmp 0x4e7363
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e7219
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.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004070b0
mov eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8