Function at 0x49d4e0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5011db
mov eax, dword fs:[0]
push eax
sub esp, 0x294
mov eax, dword [0x550070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x264]
call fcn.004050b0
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x264]
call fcn.004a2e60
push 0x52c550
lea ecx, [ebp - 0x264]
call fcn.004038f0
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x264]
call fcn.004038a0
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 0xffffffff
jne 0x49d597
mov dword [ebp - 0x290], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004036f0
mov eax, dword [ebp - 0x290]
jmp 0x49d787
cmp dword [ebp - 0x268], 0
jne 0x49d644
mov dword [ebp - 0x270], 0x52c558
lea edx, [ebp - 0x234]
mov dword [ebp - 0x26c], edx
mov eax, dword [ebp - 0x26c]
mov cx, word [eax]
mov word [ebp - 0x27e], cx
mov edx, dword [ebp - 0x270]
cmp cx, word [edx]
jne 0x49d620
cmp word [ebp - 0x27e], 0
je 0x49d614
mov eax, dword [ebp - 0x26c]
mov cx, word [eax + 2]
mov word [ebp - 0x280], cx
mov edx, dword [ebp - 0x270]
cmp cx, word [edx + 2]
jne 0x49d620
add dword [ebp - 0x26c], 4
add dword [ebp - 0x270], 4
cmp word [ebp - 0x280], 0
jne 0x49d5ba
mov dword [ebp - 0x288], 0
jmp 0x49d62b
sbb eax, eax
or eax, 1
mov dword [ebp - 0x288], eax
mov ecx, dword [ebp - 0x288]
mov dword [ebp - 0x294], ecx
cmp dword [ebp - 0x294], 0
je 0x49d6e0
mov dword [ebp - 0x278], 0x52c55c
lea edx, [ebp - 0x234]
mov dword [ebp - 0x274], edx
mov eax, dword [ebp - 0x274]
mov cx, word [eax]
mov word [ebp - 0x282], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx]
jne 0x49d6c0
cmp word [ebp - 0x282], 0
je 0x49d6b4
mov eax, dword [ebp - 0x274]
mov cx, word [eax + 2]
mov word [ebp - 0x284], cx
mov edx, dword [ebp - 0x278]
cmp cx, word [edx + 2]
jne 0x49d6c0
add dword [ebp - 0x274], 4
add dword [ebp - 0x278], 4
cmp word [ebp - 0x284], 0
jne 0x49d65a
mov dword [ebp - 0x28c], 0
jmp 0x49d6cb
sbb eax, eax
or eax, 1
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x28c]
mov dword [ebp - 0x298], ecx
cmp dword [ebp - 0x298], 0
jne 0x49d6f1
mov edx, dword [ebp - 0x268]
add edx, 1
mov dword [ebp - 0x268], edx
jmp 0x49d73c
mov eax, dword [ebp - 0x268]
add eax, 1
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x260]
and ecx, 0x10
je 0x49d73c
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x29c], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004036f0
mov eax, dword [ebp - 0x29c]
jmp 0x49d787
lea eax, [ebp - 0x260]
push eax
mov ecx, dword [ebp - 0x27c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x49d597
mov edx, dword [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.004036f0
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d181f
mov esp, ebp
pop ebp
ret