Function at 0x1000c190
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100690e5
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x10089430]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1cc], esi
mov dword [ebp - 0x1c4], ecx
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
xor ebx, ebx
mov dword [ebp - 0x1c8], ebx
mov ecx, esi
push eax
mov byte [ebp - 0x18], 0x5c
call fcn.1000cc70
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0x10]
dec ecx
cmp eax, ecx
je 0x1000c20e
push 1
push 0x1007ab08
lea ecx, [ebp - 0x48]
call fcn.10001990
push 3
push 0x1007d85c
lea ecx, [ebp - 0x48]
call fcn.10001990
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.1000d280
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18c]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
push ecx
cmovae eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x190], eax
cmp eax, 0xffffffff
je 0x1000c549
lea ebx, [ebx]
test byte [ebp - 0x18c], 0x10
je 0x1000c51f
cmp byte [ebp - 0x160], 0
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jne 0x1000c295
xor ecx, ecx
jmp 0x1000c2a9
lea ecx, [ebp - 0x160]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c2a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.100027a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c0]
mov esi, dword [ebp - 0x1b0]
or ebx, 1
cmp dword [ebp - 0x1ac], 0x10
mov eax, 1
mov dword [ebp - 0x1c8], ebx
cmovae ecx, dword [ebp - 0x1c0]
cmp esi, eax
cmovb eax, esi
push eax
push 0x1007d894
push ecx
call fcn.1000a3f0
add esp, 0xc
test eax, eax
jne 0x1000c314
cmp esi, 1
jae 0x1000c30a
or eax, 0xffffffff
jmp 0x1000c312
xor eax, eax
cmp esi, 1
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1000c3d3
cmp byte [ebp - 0x160], 0
mov dword [ebp - 0x194], 0xf
mov dword [ebp - 0x198], 0
mov byte [ebp - 0x1a8], 0
jne 0x1000c34c
xor ecx, ecx
jmp 0x1000c35e
lea ecx, [ebp - 0x160]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000c355
sub ecx, edx
push ecx
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.100027a0
mov edi, dword [ebp - 0x194]
lea ecx, [ebp - 0x1a8]
mov esi, dword [ebp - 0x198]
or ebx, 2
cmp edi, 0x10
mov eax, 2
cmovae ecx, dword [ebp - 0x1a8]
cmp esi, eax
cmovb eax, esi
push eax
push 0x1007d860
push ecx
call fcn.1000a3f0
add esp, 0xc
test eax, eax
jne 0x1000c3c1
cmp esi, 2
jae 0x1000c3b7
or eax, 0xffffffff
jmp 0x1000c3bf
xor eax, eax
cmp esi, 2
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x1000c3d9
mov byte [ebp - 0x18], 1
jmp 0x1000c3dd
mov edi, dword [ebp - 0x194]
mov byte [ebp - 0x18], 0
test bl, 2
je 0x1000c413
and ebx, 0xfffffffd
cmp edi, 0x10
jb 0x1000c3f8
push dword [ebp - 0x1a8]
call fcn.100498af
add esp, 4
mov dword [ebp - 0x194], 0xf
mov dword [ebp - 0x198], 0
mov byte [ebp - 0x1a8], 0
mov dword [ebp - 4], 1
test bl, 1
je 0x1000c439
and ebx, 0xfffffffe
cmp dword [ebp - 0x1ac], 0x10
jb 0x1000c439
push dword [ebp - 0x1c0]
call fcn.100498af
add esp, 4
cmp byte [ebp - 0x18], 0
je 0x1000c519
mov edx, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1e4]
push 0x1007ab08
call fcn.10003480
lea ecx, [ebp - 0x160]
mov byte [ebp - 4], 4
push ecx
push eax
lea eax, [ebp - 0x1a8]
push eax
call fcn.100033e0
push 0x1007ab08
push eax
lea eax, [ebp - 0x1c0]
mov byte [ebp - 4], 5
push eax
call fcn.100033e0
add esp, 0x1c
mov ecx, dword [ebp - 0x1c4]
push eax
mov byte [ebp - 4], 6
call fcn.10003360
cmp dword [ebp - 0x1ac], 0x10
jb 0x1000c4b1
push dword [ebp - 0x1c0]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x194], 0x10
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jb 0x1000c4e3
push dword [ebp - 0x1a8]
call fcn.100498af
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1d0], 0x10
mov dword [ebp - 0x194], 0xf
mov dword [ebp - 0x198], 0
mov byte [ebp - 0x1a8], 0
jb 0x1000c519
push dword [ebp - 0x1e4]
call fcn.100498af
add esp, 4
mov eax, dword [ebp - 0x190]
lea ecx, [ebp - 0x18c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
mov eax, dword [ebp - 0x190]
jne 0x1000c260
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov esi, 1
jmp 0x1000c54b
xor esi, esi
cmp dword [ebp - 0x1c], 0x10
jb 0x1000c55c
push dword [ebp - 0x30]
call fcn.100498af
add esp, 4
cmp dword [ebp - 0x34], 0x10
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
jb 0x1000c57f
push dword [ebp - 0x48]
call fcn.100498af
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100498b4
mov esp, ebp
pop ebp
ret