Function at 0x1000fc70
Capabilities:
Enumerate files on windows
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x1024b8e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2dc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x93
xor eax, eax
lea edi, [esp + 0xa0]
mov dword [esp + 0x9c], ebx
rep stosd dword es:[edi], eax
push 0x102a82e0
lea eax, [esp + 0x24]
push esi
push eax
mov dword [esp + 0x34], esi
call fcn.10083cd0
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x9c]
push ecx
push edx
mov dword [esp + 0x2fc], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
push str.TMailCfg_
lea ecx, [esp + 0x20]
mov dword [esp + 0x30], ebp
call fcn.10082dc0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2f4], 1
call fcn.10084890
xor edi, edi
cmp ebp, 0xffffffff
je 0x10010028
mov ebx, dword [esp + 0x2fc]
test byte [esp + 0x9c], 0x10
jne 0x1001000a
lea eax, [esp + 0xc8]
lea ecx, [esp + 0x10]
push eax
call fcn.10082dc0
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push esi
push edx
mov byte [esp + 0x300], 2
call fcn.10083b00
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f4], 3
call fcn.10084890
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
push eax
call fcn.10084740
test eax, eax
jne 0x1000ffe8
push str..ini
lea ecx, [esp + 0x14]
call fcn.10084740
cmp eax, 0xffffffff
je 0x1000ffe8
lea ecx, [esp + 0x38]
call fcn.1000ef40
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x38]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2fc], 4
call fcn.100100a0
test eax, eax
je 0x1000ffd7
mov eax, dword [ebx + 4]
mov esi, dword [ebx]
mov ebp, eax
mov dword [esp + 0x30], ebp
inc ebp
test ebp, ebp
jne 0x1000fdf7
test esi, esi
je 0x1000fdea
mov ecx, eax
dec eax
test ecx, ecx
je 0x1000fdd9
lea edi, [eax + 1]
mov ecx, esi
call fcn.1000efe0
add esi, 0x64
dec edi
jne 0x1000fdcc
mov eax, dword [ebx]
push eax
call fcn.1023d925
add esp, 4
mov dword [ebx], 0
xor eax, eax
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
jmp 0x1000ffb1
test esi, esi
jne 0x1000fe47
lea eax, [ebp + ebp*4]
lea edi, [eax + eax*4]
shl edi, 2
push edi
call fcn.1023d8fc
mov edx, eax
mov ecx, edi
mov dword [ebx], edx
mov esi, edx
mov edi, edx
mov edx, ecx
xor eax, eax
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [ebp]
test esi, esi
je 0x1000fe36
mov ecx, esi
call fcn.1000ef40
add esi, 0x64
dec edi
jne 0x1000fe2b
mov dword [ebx + 8], ebp
mov dword [ebx + 4], ebp
jmp 0x1000ffb1
mov edi, dword [ebx + 8]
cmp ebp, edi
jg 0x1000fed4
cmp eax, ebp
jge 0x1000fea7
mov edx, ebp
sub edx, eax
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edi, [esi + eax*4]
lea eax, [edx + edx*4]
mov dword [esp + 0x14], edi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x1000fecc
mov esi, dword [esp + 0x14]
lea edi, [edx + 1]
test esi, esi
je 0x1000fe99
mov ecx, esi
call fcn.1000ef40
add esi, 0x64
dec edi
jne 0x1000fe8e
mov dword [ebx + 4], ebp
jmp 0x1000ffb1
jle 0x1000fecc
lea ecx, [ebp + ebp*4]
sub eax, ebp
lea edx, [ecx + ecx*4]
mov ecx, eax
dec eax
test ecx, ecx
lea esi, [esi + edx*4]
je 0x1000fecc
lea edi, [eax + 1]
mov ecx, esi
call fcn.1000efe0
add esi, 0x64
dec edi
jne 0x1000febf
mov dword [ebx + 4], ebp
jmp 0x1000ffb1
mov ecx, dword [ebx + 0xc]
test ecx, ecx
jne 0x1000feff
cdq
and edx, 7
add eax, edx
mov ecx, eax
sar ecx, 3
cmp ecx, 4
jge 0x1000fef2
mov ecx, 4
jmp 0x1000feff
cmp ecx, 0x400
jle 0x1000feff
mov ecx, 0x400
lea eax, [edi + ecx]
cmp ebp, eax
jge 0x1000ff0c
mov dword [esp + 0x18], eax
jmp 0x1000ff12
mov dword [esp + 0x18], ebp
mov eax, ebp
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 2
push edx
call fcn.1023d8fc
mov ecx, dword [ebx + 4]
mov esi, dword [ebx]
mov dword [esp + 0x18], eax
mov edi, eax
lea ecx, [ecx + ecx*4]
mov edx, ebp
add esp, 4
lea ecx, [ecx + ecx*4]
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 4]
sub edx, eax
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0x14]
lea edi, [eax + ecx*4]
lea eax, [edx + edx*4]
mov dword [esp + 0x34], edi
lea ecx, [eax + eax*4]
xor eax, eax
shl ecx, 2
mov esi, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, edx
dec edx
test ecx, ecx
je 0x1000ff96
mov esi, dword [esp + 0x34]
lea edi, [edx + 1]
test esi, esi
je 0x1000ff90
mov ecx, esi
call fcn.1000ef40
add esi, 0x64
dec edi
jne 0x1000ff85
mov eax, dword [ebx]
push eax
call fcn.1023d925
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
add esp, 4
mov dword [ebx], edx
mov dword [ebx + 4], ebp
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
mov eax, dword [ebx]
lea ecx, [eax + edx*4]
call fcn.1000f2c0
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x2f4], 3
call fcn.1000efe0
lea ecx, [esp + 0x24]
mov byte [esp + 0x2f4], 2
call fcn.10083560
lea ecx, [esp + 0x10]
mov byte [esp + 0x2f4], 1
call fcn.10083560
lea ecx, [esp + 0x9c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1000fd0f
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2f4], 0
call fcn.10083560
lea ecx, [esp + 0x20]
mov dword [esp + 0x2f4], 0xffffffff
call fcn.10083560
mov ecx, dword [esp + 0x2ec]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2e8
ret 4