Function at 0x4e70a0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524ff6
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 0x5393c8
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 0x4e7169
push 0x5393cc
lea ecx, [ebp - 0x18]
call fcn.004087b0
push 0x5393d0
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 0x4e71d9
jmp 0x4e7323
push 0x5393d4
lea ecx, [ebp - 0x240]
push ecx
call fcn.0049f608
add esp, 8
test eax, eax
je 0x4e7209
push 0x5393d8
lea edx, [ebp - 0x240]
push edx
call fcn.0049f608
add esp, 8
test eax, eax
jne 0x4e720e
jmp 0x4e72f6
mov eax, dword [ebp - 0x26c]
and eax, 2
je 0x4e721e
jmp 0x4e72f6
mov ecx, dword [ebp - 0x26c]
and ecx, 0x10
je 0x4e7292
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 0x4e7290
jmp 0x4e7323
jmp 0x4e72f6
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 0x4e72f6
jmp 0x4e7323
lea eax, [ebp - 0x26c]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4e71d9
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