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

Disassembly:
push ebp
sub esp, 0x250
lea ebp, [esp - 4]
mov eax, dword [0x570074]
xor eax, ebp
mov dword [ebp + 0x250], eax
push 0x3c
mov eax, 0x50f212
call fcn.004d0de3
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp + 0x264]
mov eax, dword [ebp + 0x25c]
mov ebx, dword [ebp + 0x260]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0x268]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x18]
push eax
mov dword [ebp - 0x3c], ebx
call fcn.004069f3
and dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004740e0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004069f3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx]
push dword [eax - 0xc]
push eax
call fcn.004106c3
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov dword [ebp - 0x28], 0x5325ac
mov dword [ebp - 0x24], edi
lea eax, [ebp]
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
push eax
push edi
call ebx
cmp eax, 1
jne 0x49ee27
lea eax, [ebp + 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040d264
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d3e4b
pop ecx
pop ecx
test eax, eax
jne 0x49ece6
or eax, 0xffffffff
jmp 0x49eceb
sub eax, dword [ebp - 0x10]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp - 0x14]
push eax
call fcn.004066bb
mov byte [ebp - 4], 4
push 0x53895c
push dword [ebp - 0x14]
call fcn.004da22d
pop ecx
pop ecx
test eax, eax
jne 0x49edfd
push 0x2e
push dword [ebp - 0x10]
call fcn.004d3e4b
pop ecx
pop ecx
test eax, eax
jne 0x49ed2a
or eax, 0xffffffff
jmp 0x49ed2f
sub eax, dword [ebp - 0x10]
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040666a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0044d0c3
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
call fcn.0040ca45
mov eax, dword [ebp - 0x10]
push 0x2e
push eax
mov esi, dword [eax - 0xc]
call fcn.004d3e4b
pop ecx
pop ecx
test eax, eax
jne 0x49ed6e
or eax, 0xffffffff
jmp 0x49ed73
sub eax, dword [ebp - 0x10]
sar eax, 1
sub esi, eax
lea ecx, [ebp - 0x10]
push esi
lea eax, [ebp - 0x38]
push eax
call fcn.004066bb
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.0044d0c3
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.0040ca45
push str..jar
push dword [ebp - 0x14]
call fcn.004da22d
pop ecx
pop ecx
test eax, eax
jne 0x49edfd
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.0045015c
pop ecx
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 7
call fcn.004069f3
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 8
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 9
call fcn.0048fb5b
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xa
call fcn.0040ca45
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call fcn.0040ca45
lea eax, [ebp]
push eax
push edi
call ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
mov esi, eax
call fcn.0040ca45
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040ca45
cmp esi, 1
je 0x49ecbd
push 0x5336fc
lea ecx, [ebp - 0x14]
call fcn.00485441
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0xb
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.0046f9e0
pop ecx
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0044d0c3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.0040ca45
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0040ca45
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x49ee7f
push edi
call esi
xor edi, edi
mov dword [ebp - 0x24], edi
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, edi
je 0x49eea2
test edi, edi
je 0x49ee9d
push edi
call esi
and dword [ebp - 0x24], 0
mov edi, ebx
mov dword [ebp - 0x24], edi
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea eax, [ebp]
push eax
push edi
call ebx
cmp eax, 1
jne 0x49ef05
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp]
call fcn.004941dd
test al, al
je 0x49eef3
lea eax, [ebp + 0x2c]
push eax
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0x20]
call fcn.0045015c
pop ecx
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x40]
push esi
push dword [ebp - 0x3c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0049ec0f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0040ca45
lea eax, [ebp]
push eax
push edi
call ebx
cmp eax, 1
je 0x49eeb7
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 0x5325ac
test edi, edi
je 0x49ef1b
push edi
call esi
and dword [ebp - 0x24], 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.0040ca45
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040ca45
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.004d0217
lea esp, [ebp + 0x254]
pop ebp
ret 0x10