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

Disassembly:
mov eax, 0x128978f
call fcn.01160458
sub esp, 0x2b4
mov eax, dword [0x12cf8c8]
push ebx
push esi
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push 0x10149b0
push eax
mov dword [ebp - 0x280], eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x274]
push eax
mov dword [ebp - 0x268], ecx
call fcn.01045e48
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x278], eax
jne 0x11998b8
mov ebx, 0x80070006
jmp 0x1199b3d
push edi
mov edi, 0x1007ab8
test byte [ebp - 0x260], 0x10
jne 0x11999f1
test byte [ebp - 0x260], 6
jne 0x1199b15
push edi
push dword [ebp - 0x280]
lea eax, [ebp - 0x290]
push eax
call fcn.01045e48
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.01045e48
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.010328fe
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x270]
call fcn.01039a07
mov byte [ebp - 4], 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1199947
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x264]
push ecx
call eax
test eax, eax
jne 0x11999d4
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x264]
mov dword [ebp - 0x27c], ebx
call fcn.011966c8
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x294]
push eax
call fcn.01045ddd
mov byte [ebp - 4], 5
push dword [ebp - 0x27c]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x240]
lea ecx, [ebp - 0x2ac]
push eax
push dword [ebp - 0x264]
call fcn.01196b23
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.010328fe
mov ecx, dword [esi]
lea eax, [ebp - 0x2ac]
push eax
call fcn.0119937b
mov eax, dword [esi + 4]
mov ecx, dword [ebp - 0x240]
add dword [eax], ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.0119668e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.010328fe
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x264]
jmp 0x1199b10
cmp byte [esi + 8], bl
je 0x1199b15
cmp word [ebp - 0x234], 0x2e
je 0x1199b15
push edi
push dword [ebp - 0x280]
lea eax, [ebp - 0x288]
push eax
call fcn.01045e48
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.01045e48
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.010328fe
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x298]
push eax
call fcn.01045e48
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
push ebx
push 1
push dword [ebp - 0x240]
lea ecx, [ebp - 0x2c0]
push eax
push dword [ebp - 0x26c]
call fcn.01196b23
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x298]
call fcn.010328fe
mov ecx, dword [esi]
lea eax, [ebp - 0x2c0]
push eax
call fcn.0119937b
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x28c]
push eax
call fcn.01045e48
mov byte [ebp - 4], 0xe
push 0x2f
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.010de964
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28c]
call fcn.010328fe
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x26c]
push eax
mov ecx, esi
call fcn.0119984b
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x284]
call fcn.010328fe
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c0]
call fcn.0119668e
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x26c]
call fcn.010328fe
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11998be
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.010328fe
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.0116015a
leave
ret 8