Function at 0x49e7e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ff600
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x6c9294]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x49e81c
mov al, 1
jmp 0x49ea9f
lea ecx, [ebp - 0x254]
call fcn.00485a60
mov dword [ebp - 4], 0
call fcn.0049ed80
mov dword [ebp - 0x27c], eax
lea ecx, [ebp - 0x254]
call fcn.00479e70
mov dword [ebp - 0x280], eax
mov edx, dword [ebp - 0x27c]
push edx
push 0x51b6d8
mov eax, dword [ebp - 0x280]
push eax
call fcn.00485000
add esp, 0xc
push 0x140
push 0
lea ecx, [ebp - 0x150]
push ecx
call fcn.004cebf0
add esp, 0xc
lea edx, [ebp - 0x150]
push edx
lea ecx, [ebp - 0x254]
call fcn.00479e70
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x270], eax
cmp dword [ebp - 0x270], 0
jne 0x49e8c7
mov byte [ebp - 0x255], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00486bd0
mov al, byte [ebp - 0x255]
jmp 0x49ea9f
mov dword [ebp - 0x264], 0x51b6e0
lea eax, [ebp - 0x124]
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x260]
mov dl, byte [ecx]
mov byte [ebp - 0x256], dl
mov eax, dword [ebp - 0x264]
cmp dl, byte [eax]
jne 0x49e93b
cmp byte [ebp - 0x256], 0
je 0x49e92f
mov ecx, dword [ebp - 0x260]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x257], dl
mov eax, dword [ebp - 0x264]
cmp dl, byte [eax + 1]
jne 0x49e93b
add dword [ebp - 0x260], 2
add dword [ebp - 0x264], 2
cmp byte [ebp - 0x257], 0
jne 0x49e8dd
mov dword [ebp - 0x274], 0
jmp 0x49e946
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x284], edx
cmp dword [ebp - 0x284], 0
je 0x49e9fe
mov dword [ebp - 0x26c], 0x51b6e4
lea eax, [ebp - 0x124]
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x268]
mov dl, byte [ecx]
mov byte [ebp - 0x258], dl
mov eax, dword [ebp - 0x26c]
cmp dl, byte [eax]
jne 0x49e9d3
cmp byte [ebp - 0x258], 0
je 0x49e9c7
mov ecx, dword [ebp - 0x268]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x259], dl
mov eax, dword [ebp - 0x26c]
cmp dl, byte [eax + 1]
jne 0x49e9d3
add dword [ebp - 0x268], 2
add dword [ebp - 0x26c], 2
cmp byte [ebp - 0x259], 0
jne 0x49e975
mov dword [ebp - 0x278], 0
jmp 0x49e9de
sbb ecx, ecx
or ecx, 1
mov dword [ebp - 0x278], ecx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x288], edx
cmp dword [ebp - 0x288], 0
je 0x49e9fe
mov eax, dword [ebp - 0x150]
and eax, 0x10
jne 0x49ea00
jmp 0x49ea57
lea ecx, [ebp - 0x124]
push ecx
call fcn.0049eac0
add esp, 4
movzx edx, al
test edx, edx
jne 0x49ea18
jmp 0x49ea57
lea eax, [ebp - 0x124]
push eax
call fcn.0049ed80
push eax
push 0x51b6e8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00455890
add esp, 0x10
mov byte [ebp - 0x25a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00486bd0
mov al, byte [ebp - 0x25a]
jmp 0x49ea9f
lea edx, [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x270]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49e8c7
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 0x25b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00486bd0
mov al, byte [ebp - 0x25b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b4fea
mov esp, ebp
pop ebp
ret