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

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x56d078]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x40
mov eax, 0x50cb3c
call fcn.004cea03
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp + 0x264]
mov eax, dword [ebp + 0x25c]
mov ebx, dword [ebp + 0x260]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 0x268]
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x1c]
push eax
mov dword [ebp - 0x40], ebx
call fcn.004071c5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004737f0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
call fcn.004071c5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.004070e2
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
and dword [ebp - 0x28], 0
mov ebx, eax
mov dword [ebp - 0x2c], ebx
lea eax, [ebp]
mov byte [ebp - 4], 2
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push ebx
call edi
dec eax
neg eax
sbb al, al
add al, 1
je 0x4999b8
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.00409ea5
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d18c5
pop ecx
pop ecx
test eax, eax
jne 0x499873
or eax, 0xffffffff
jmp 0x499878
sub eax, dword [ebp - 0x14]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x14]
push esi
lea eax, [ebp - 0x18]
push eax
call fcn.00447dd4
push str..pack
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.00452f4b
test eax, eax
jne 0x499986
push 0x2e
push dword [ebp - 0x14]
call fcn.004d18c5
pop ecx
pop ecx
test eax, eax
jne 0x4998b5
or eax, 0xffffffff
jmp 0x4998ba
sub eax, dword [ebp - 0x14]
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x14]
call fcn.00447d83
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00446330
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004068c3
mov eax, dword [ebp - 0x14]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d18c5
pop ecx
pop ecx
test eax, eax
jne 0x4998f9
or eax, 0xffffffff
jmp 0x4998fe
sub eax, dword [ebp - 0x14]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x14]
push esi
lea eax, [ebp - 0x3c]
push eax
call fcn.00447dd4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 6
call fcn.00446330
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.004068c3
push str..jar
lea ecx, [ebp - 0x18]
call fcn.00452f4b
test eax, eax
jne 0x499986
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.00452644
pop ecx
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.004071c5
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 8
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 4], 9
call fcn.0048a628
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.004068c3
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 4
call fcn.004068c3
lea eax, [ebp]
push eax
push ebx
call edi
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
call fcn.004068c3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004068c3
add bl, 1
mov ebx, dword [ebp - 0x2c]
jne 0x49984a
push 0x5303f4
lea ecx, [ebp - 0x18]
call fcn.0047ffcc
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.0046a0f0
pop ecx
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.00446330
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.004068c3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004068c3
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
je 0x499a0f
push ebx
call edi
and dword [ebp - 0x2c], 0
lea eax, [ebp]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push eax
lea ecx, [ebp - 0x2c]
call fcn.004514cd
mov esi, dword [ebp - 0x2c]
lea eax, [ebp]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push esi
call ebx
dec eax
neg eax
sbb al, al
add al, 1
je 0x499a93
mov edi, dword [ebp - 0x30]
lea ecx, [ebp]
call fcn.0048ed5c
test al, al
je 0x499a7d
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
call fcn.00452644
pop ecx
push dword [ebp - 0x34]
mov ecx, dword [ebp - 0x44]
push edi
push dword [ebp - 0x40]
mov byte [ebp - 4], 0xd
push eax
call fcn.0049979b
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004068c3
lea eax, [ebp]
push eax
push esi
call ebx
dec eax
neg eax
sbb al, al
add al, 1
jne 0x499a41
mov edi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
test esi, esi
je 0x499aa2
push esi
call edi
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.004068c3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004068c3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.004cde67
lea esp, [ebp + 0x254]
pop ebp
ret 0x10