Function at 0x10010660
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011a0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x2e0
mov eax, dword [0x10165034]
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 edi, dword [ebp + 8]
add ecx, 0x34
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b4], 0
mov dword [ebp - 0x2d0], edi
cmp dword [ecx + 0x14], 8
jb 0x100106b3
mov ecx, dword [ecx]
push ecx
lea eax, [ebp - 0x5c]
push str._sMozillaFirefoxProfiles
push eax
call fcn.1004df00
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x1012af78
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x2b4], 1
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.10007490
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x10010715
mov eax, dword [eax]
lea ecx, [ebp - 0x2ac]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp dword [ebp - 0x2b8], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
mov dword [ebp - 0x2b0], eax
jb 0x10010743
push dword [ebp - 0x2cc]
call esi
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
xor eax, eax
mov dword [ebp - 0x2b8], 7
mov dword [ebp - 0x2bc], 0
mov word [ebp - 0x2cc], ax
jmp 0x10010770
test byte [ebp - 0x2ac], 0x10
je 0x1001089e
xor eax, eax
mov dword [ebp - 0x30], 7
push 0xffffffffffffffff
push eax
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x44]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x34], 0
push eax
call fcn.10001d60
mov byte [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
cmp word [ebp - 0x280], ax
jne 0x100107c5
xor ecx, ecx
jmp 0x100107df
lea ecx, [ebp - 0x280]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100107d0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2c]
call fcn.10002100
push 1
push 0x1012ade4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x1c]
push 0
call fcn.100035e0
test eax, eax
je 0x1001086e
push 2
push 0x1012af80
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x2c]
push 0
call fcn.100035e0
test eax, eax
je 0x1001086e
lea eax, [ebp - 0x2c]
mov edx, 0x1012ae34
push eax
lea ecx, [ebp - 0x2e8]
call fcn.100115b0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.10003a40
mov byte [ebp - 4], 3
cmp dword [ebp - 0x2d4], 8
jb 0x10010863
push dword [ebp - 0x2e8]
call esi
add esp, 4
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.10006e40
cmp dword [ebp - 0x18], 8
jb 0x1001087c
push dword [ebp - 0x2c]
call esi
add esp, 4
mov byte [ebp - 4], 1
xor eax, eax
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 7
jb 0x1001089e
push dword [ebp - 0x44]
call esi
add esp, 4
lea eax, [ebp - 0x2ac]
push eax
push dword [ebp - 0x2b0]
call ebx
test eax, eax
jne 0x10010770
cmp dword [ebp - 0x48], 8
jb 0x100108c3
push dword [ebp - 0x5c]
call esi
add esp, 4
mov eax, edi
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.101176fb
mov esp, ebp
pop ebp
ret 4