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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x60148665
push eax
mov dword fs:[0], esp
sub esp, 0x16c
push ebx
mov ebx, dword [esp + 0x180]
push edi
push ebx
mov edi, ecx
call fcn.60104790
test al, al
jne 0x60107187
xor eax, eax
jmp 0x601074bd
push ebp
xor ebp, ebp
push esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x188], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
call fcn.601045b0
push 4
push str..
lea ecx, [esp + 0x18]
mov byte [esp + 0x18c], 1
call fcn.601044e0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x24], eax
je 0x601073e5
jmp 0x60107200
xor ebp, ebp
lea esp, [esp]
cmp ebx, ebp
jne 0x60107208
xor eax, eax
jmp 0x60107219
mov eax, ebx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60107210
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.60104370
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 4]
mov ebp, dword [edx - 0xc]
mov ecx, 1
sub ecx, eax
mov eax, dword [edx - 8]
lea esi, [ebp + 1]
sub eax, esi
or eax, ecx
jge 0x6010724f
push esi
lea ecx, [esp + 0x14]
call fcn.601042f0
mov edx, dword [esp + 0x10]
test esi, esi
mov byte [edx + ebp], 0x5c
jl 0x601074d6
mov eax, dword [esp + 0x10]
cmp esi, dword [eax - 8]
jg 0x601074d6
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x68]
mov byte [esi + edx], 0
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x60107280
sub eax, edx
push eax
lea eax, [esp + 0x6c]
push eax
lea ecx, [esp + 0x18]
call fcn.601044e0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0xe4]
test al, al
je 0x601073ac
test byte [esp + 0x3c], 0x10
je 0x601072f8
mov esi, dword [sym.imp.MSVCR71.dll__mbscmp]
lea eax, [esp + 0x68]
push eax
push 0x6014dfcc
call esi
add esp, 8
test eax, eax
je 0x60107394
lea ecx, [esp + 0x68]
push ecx
push 0x6014dfc8
call esi
add esp, 8
test eax, eax
je 0x60107394
mov edx, dword [esp + 0x10]
push edx
lea ecx, [esp + 0x2c]
call fcn.6010aef0
jmp 0x60107394
lea eax, [esp + 0x10]
push eax
mov ecx, edi
call fcn.60106480
test al, al
je 0x60107394
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, edi
call fcn.60105f40
mov edx, dword [esp + 0x10]
push 0
push edx
mov ecx, edi
call fcn.60106f60
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x5c]
mov edx, dword [esp + 0x1c]
or ecx, eax
mov eax, dword [edi + 0xac]
add esi, ebp
mov ebp, dword [esp + 0x20]
adc edx, 0
inc ebp
test eax, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ebp
je 0x60107394
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
add ecx, 0x12c
cmp eax, ecx
jbe 0x60107394
mov edx, dword [edi + 0x518]
push edx
mov dword [edi + 0xa8], eax
mov eax, dword [esp + 0x20]
push eax
push esi
push ebp
push ebx
call dword [edi + 0xac]
add esp, 0x14
mov dword [esp + 0x38], ebp
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x601071f7
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x20]
cmp dword [esp + 0x38], ecx
je 0x601073e3
mov eax, dword [edi + 0xac]
test eax, eax
je 0x601073e3
mov edx, dword [edi + 0x518]
push edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push edx
push ecx
push ebx
call eax
add esp, 0x14
xor ebp, ebp
mov esi, dword [esp + 0x2c]
cmp esi, ebp
je 0x60107439
lea ecx, [ecx]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xe4]
test al, al
je 0x60107439
mov eax, dword [esp + 0x2c]
dec esi
cmp esi, eax
jae 0x601074d6
mov ecx, dword [esp + 0x28]
mov ecx, dword [ecx + esi*4]
mov eax, ecx
lea ebp, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x60107417
sub eax, ebp
push eax
push ecx
mov ecx, edi
call fcn.60107150
mov ecx, dword [esp + 0x14]
or ecx, eax
xor ebp, ebp
test esi, esi
mov dword [esp + 0x14], ecx
jne 0x601073f0
lea ecx, [esp + 0x28]
call fcn.6010acb0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x184], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x60107468
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x28]
cmp edi, ebp
mov dword [esp + 0x184], 0xffffffff
je 0x601074b7
mov eax, dword [esp + 0x2c]
xor esi, esi
test eax, eax
mov ebp, eax
jbe 0x601074ad
mov eax, dword [edi + esi*4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x601074a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
inc esi
cmp esi, ebp
jb 0x60107487
mov edi, dword [esp + 0x28]
push edi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
mov eax, dword [esp + 0x14]
pop esi
pop ebp
mov ecx, dword [esp + 0x174]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x178
ret 8
push 0x80070057
call fcn.601040a0
int3