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

Disassembly:
sub esp, 0x180
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x19c]
xor edx, edx
push ebx
mov ebx, dword [esp + 0x198]
push ebp
mov ebp, dword [esp + 0x1b0]
mov dword [esp + 0xc], edx
mov dword [esp + 8], edx
push esi
mov esi, dword [esp + 0x1a4]
lea edx, [esp + 0xc]
push edi
mov edi, dword [esp + 0x1a0]
push edx
mov edx, dword [esp + 0x198]
push eax
push ecx
push ebp
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1ac]
push esi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x1ac]
push ebx
push edi
push eax
push ecx
push edx
call fcn.1000c7e0
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
push edx
push 0
push eax
push ebx
push 0
call fcn.1000c740
add esp, 0x48
test eax, eax
je 0x1000c4b0
test bl, 8
jne 0x1000c446
mov ecx, dword [esp + 0x194]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x34]
push 0x20
push eax
push ecx
call fcn.10001940
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x20]
push ebp
push edx
mov edx, ebx
push eax
mov eax, dword [esp + 0x1b8]
push ecx
mov ecx, dword [esp + 0x1b8]
and edx, 0xfffffffb
push esi
push edx
push edi
push eax
lea edx, [esp + 0x60]
push ecx
push edx
mov dword [esp + 0x48], 0
call fcn.10002b10
lea ecx, [esp + 0x50]
lea edx, [esp + 0x54]
push ecx
push edx
lea ecx, [esp + 0x50]
lea edx, [esp + 0x54]
push ecx
push edx
push 0
push eax
push ebx
push 0
call fcn.1000c740
add esp, 0x58
test eax, eax
je 0x1000c4b0
test bl, 2
jne 0x1000c70f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x10]
push ebp
push edx
mov edx, dword [esp + 0x1a4]
push eax
mov eax, dword [esp + 0x1a4]
push ecx
mov ecx, dword [esp + 0x1a4]
push esi
push ebx
push edi
push edx
push eax
push ecx
mov dword [esp + 0x38], 0
call fcn.1000d130
lea edx, [esp + 0x40]
lea ecx, [esp + 0x44]
push edx
lea edx, [esp + 0x3c]
push ecx
push edx
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x48]
push ecx
push edx
push eax
push ebx
push 1
call fcn.1000c740
add esp, 0x48
test eax, eax
jne 0x1000c4d4
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x1000c728
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
add esp, 0x180
ret
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 0x104
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x2c], eax
je 0x1000c70f
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001d5a8
push esi
call fcn.100053d0
lea edx, [esp + 0x50]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x1000c6fd
mov dword [esp + 0x28], 0
test byte [esp + 0x50], 0x10
je 0x1000c642
lea eax, [esp + 0x7c]
push 0x1001d5c4
push eax
call fcn.1001bcb0
add esp, 8
test eax, eax
jne 0x1000c560
mov dword [esp + 0x28], 1
jmp 0x1000c642
test byte [esp + 0x50], 0x10
je 0x1000c642
lea ecx, [esp + 0x7c]
push 0x1002047c
push ecx
call fcn.1001bcb0
add esp, 8
test eax, eax
je 0x1000c642
lea edx, [esp + 0x7c]
push 0x10020478
push edx
call fcn.1001bcb0
add esp, 8
test eax, eax
je 0x1000c642
lea eax, [esp + 0x7c]
push eax
push ebx
call fcn.1000d2a0
add esp, 8
test eax, eax
jne 0x1000c642
lea ecx, [esp + 0x7c]
push ecx
push ebx
call fcn.1000d300
add esp, 8
test eax, eax
jne 0x1000c642
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x7c]
push edx
push esi
call fcn.100053d0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push ebp
push eax
mov eax, dword [esp + 0x1b0]
push ecx
mov ecx, dword [esp + 0x1a8]
push edx
mov edx, dword [esp + 0x1a8]
push eax
mov eax, dword [esp + 0x1a8]
push ebx
push esi
push ecx
push edx
push eax
mov dword [esp + 0x48], 0
call fcn.1000c330
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
push ebx
push 1
call fcn.1000c740
add esp, 0x48
test eax, eax
je 0x1000c66b
test ebp, ebp
je 0x1000c653
push ebp
call fcn.1000a6c0
add esp, 4
test eax, eax
jne 0x1000c66b
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x50]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1000c532
mov ecx, dword [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000c6fd
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1000c6fd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001d5c4
push esi
call fcn.100053d0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push ebp
push edx
mov edx, dword [esp + 0x1b0]
push eax
mov eax, dword [esp + 0x1a8]
push ecx
mov ecx, dword [esp + 0x1a8]
push edx
mov edx, dword [esp + 0x1a8]
push ebx
push esi
push eax
push ecx
push edx
mov dword [esp + 0x48], 0
call fcn.1000c330
lea ecx, [esp + 0x40]
lea edx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x3c]
push edx
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x48]
push edx
push ecx
push eax
push ebx
push 1
call fcn.1000c740
add esp, 0x48
mov esi, dword [esp + 0x2c]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x1b4]
test eax, eax
je 0x1000c720
mov edx, dword [esp + 0x10]
mov dword [eax], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x180
ret