Function at 0x49ea60
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push 0xffffffffffffffff
push 0x519618
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x2a4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2b8]
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0x2c0]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], ecx
je 0x49edef
mov edx, dword [eax]
push edx
lea eax, [esp + 0x2c]
push str._s.
push eax
call fcn.0040f1d0
mov eax, dword [eax]
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0x34], esi
je 0x49eb07
sub eax, 8
push eax
mov dword [esp + 0x2c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x28], ebx
cmp esi, 0xffffffff
je 0x49edef
lea eax, [esp + 0x7c]
mov dword [esp + 0x14], ebx
lea edx, [eax + 2]
jmp 0x49eb20
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x49eb20
sub eax, edx
sar eax, 1
mov esi, eax
push esi
lea ecx, [esp + 0x18]
call fcn.00402700
cmp eax, 1
mov edi, dword [esp + 0x14]
jne 0x49eb59
lea edx, [esp + 0x7c]
push edx
lea eax, [esi + 1]
push eax
push edi
call fcn.004f2e08
add esp, 0xc
mov dword [edi - 4], esi
mov dword [esp + 0x2ac], ebx
mov ecx, 0x53162c
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49eb8d
cmp dx, bx
je 0x49eb89
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49eb8d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x49eb67
xor eax, eax
jmp 0x49eb92
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x49eda0
mov ecx, 0x531624
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49ebc7
cmp dx, bx
je 0x49ebc3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49ebc7
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x49eba1
xor eax, eax
jmp 0x49ebcc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x49eda0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
push 0x54e4a8
push ecx
lea edx, [esp + 0x34]
shr esi, 4
push edx
and esi, 1
call fcn.0040bf20
lea ecx, [esp + 0x20]
push ecx
push eax
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x2c4], 1
call fcn.0040bfd0
add esp, 0x18
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov byte [esp + 0x2ac], 3
je 0x49ec31
sub eax, 8
push eax
mov dword [esp + 0x30], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x2c], ebx
cmp esi, ebx
je 0x49ecc3
mov esi, dword [esp + 0x2bc]
cmp esi, ebx
je 0x49ed7d
push 0x543e10
lea ecx, [esp + 0x28]
call fcn.00401f50
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b4], 4
call fcn.0049dcf0
push eax
mov ecx, ebp
mov byte [esp + 0x2b0], 5
call fcn.0049ea20
lea ecx, [esp + 0x48]
call fcn.0049daf0
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov byte [esp + 0x2ac], 3
je 0x49ecaa
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x24], ebx
mov edx, dword [esp + 0x30]
push edx
push esi
lea eax, [esp + 0x20]
push ebp
push eax
call fcn.0049ea60
add esp, 0x10
jmp 0x49ed7d
mov esi, dword [esp + 0x30]
mov ecx, esi
call fcn.004020f0
test eax, eax
jle 0x49ed51
push 1
push 0x2e
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.0041a470
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2ac], 6
call fcn.0049dab0
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.0049db60
add esp, 8
test al, al
je 0x49ed37
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.0049dcf0
push eax
mov ecx, ebp
mov byte [esp + 0x2b0], 7
call fcn.0049ea20
lea ecx, [esp + 0x38]
call fcn.0049daf0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x49ed7d
add eax, 0xfffffff8
push eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x1c], ebx
jmp 0x49ed7d
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x48]
call fcn.0049dcf0
push eax
mov ecx, ebp
mov byte [esp + 0x2b0], 8
call fcn.0049ea20
lea ecx, [esp + 0x40]
call fcn.0049daf0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x2ac], bl
je 0x49eda0
sub eax, 8
push eax
mov dword [esp + 0x1c], eax
call fcn.004d37ab
add esp, 4
mov dword [esp + 0x18], ebx
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x49edd8
cmp edi, ebx
mov dword [esp + 0x2ac], 0xffffffff
je 0x49eb10
add edi, 0xfffffff8
push edi
call fcn.004d37ab
add esp, 4
jmp 0x49eb10
cmp edi, ebx
je 0x49ede8
add edi, 0xfffffff8
push edi
call fcn.004d37ab
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28c]
xor ecx, esp
call fcn.004f2ac1
add esp, 0x29c
ret