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

Disassembly:
mov eax, 0x1289831
call fcn.01160118
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.01045c7c
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 0x11995d9
mov ebx, 0x80070006
jmp 0x119985e
push edi
mov edi, 0x1007ab8
test byte [ebp - 0x260], 0x10
jne 0x1199712
test byte [ebp - 0x260], 6
jne 0x1199836
push edi
push dword [ebp - 0x280]
lea eax, [ebp - 0x290]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x264]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x290]
call fcn.0103290a
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x270]
call fcn.01039819
mov byte [ebp - 4], 4
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x1199668
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x264]
push ecx
call eax
test eax, eax
jne 0x11996f5
lea eax, [ebp - 0x27c]
push eax
push dword [ebp - 0x264]
mov dword [ebp - 0x27c], ebx
call fcn.011963e9
lea eax, [ebp - 0x270]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x294]
push eax
call fcn.01045c11
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.01196844
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x294]
call fcn.0103290a
mov ecx, dword [esi]
lea eax, [ebp - 0x2ac]
push eax
call fcn.0119909c
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.011963af
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x270]
call fcn.0103290a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x264]
jmp 0x1199831
cmp byte [esi + 8], bl
je 0x1199836
cmp word [ebp - 0x234], 0x2e
je 0x1199836
push edi
push dword [ebp - 0x280]
lea eax, [ebp - 0x288]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x234]
push ecx
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x288]
call fcn.0103290a
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x298]
push eax
call fcn.01045c7c
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.01196844
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x298]
call fcn.0103290a
mov ecx, dword [esi]
lea eax, [ebp - 0x2c0]
push eax
call fcn.0119909c
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x268]
lea eax, [ebp - 0x28c]
push eax
call fcn.01045c7c
mov byte [ebp - 4], 0xe
push 0x2f
push eax
lea eax, [ebp - 0x284]
push eax
call fcn.010de8e2
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x28c]
call fcn.0103290a
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x26c]
push eax
mov ecx, esi
call fcn.0119956c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x284]
call fcn.0103290a
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2c0]
call fcn.011963af
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x26c]
call fcn.0103290a
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x11995df
push dword [ebp - 0x278]
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x274]
call fcn.0103290a
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, ebx
pop ebx
call fcn.0115fe1a
leave
ret 8