Function at 0x1006f450
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x101022be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x8c]
mov al, byte [ebx]
push ebp
push esi
push edi
mov edi, ecx
mov byte [edi], al
mov ecx, dword [ebx + 4]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x20], edi
jne 0x1006f48a
xor eax, eax
jmp 0x1006f492
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp eax, esi
jge 0x1006f498
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.1009e195
add esp, 4
mov dword [edi + 4], eax
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
mov ecx, edi
call fcn.1008b430
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dl, byte [esp + 0x13]
lea ebp, [edi + 0x10]
mov dword [esp + 0x90], esi
mov byte [ebp], dl
mov dword [ebp + 4], esi
mov dword [ebp + 8], esi
mov dword [ebp + 0xc], esi
mov al, byte [esp + 0x13]
lea esi, [edi + 0x20]
xor ecx, ecx
mov byte [esi], al
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov eax, dword [ebx + 0x24]
cmp eax, ecx
mov byte [esp + 0x90], 2
mov dword [esp + 0x18], ecx
jne 0x1006f508
mov dword [esp + 0x14], ecx
jmp 0x1006f514
mov edx, dword [ebx + 0x28]
sub edx, eax
sar edx, 2
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
cmp eax, ecx
je 0x1006f523
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, dword [esp + 0x14]
jae 0x1006f551
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.1003ac70
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.1008a4c0
jmp 0x1006f572
mov ecx, esi
call fcn.1003ac70
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x1006f572
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea ecx, [ecx + edx*4]
push eax
push ecx
mov ecx, esi
call fcn.10061960
lea edx, [esp + 0x13]
push edx
lea ecx, [esp + 0x28]
call fcn.1006e930
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 3
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
mov byte [esp + 0x36], 0
call fcn.1000c460
lea ecx, [esp + 0x44]
call fcn.1000c460
lea ecx, [esp + 0x50]
call fcn.1000c460
lea ecx, [esp + 0x5c]
call fcn.1000c460
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], 0x3f800000
call fcn.1000c460
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], 0x3f800000
call fcn.1000c460
mov eax, dword [ebx + 0x14]
test eax, eax
mov byte [esp + 0x90], 4
jne 0x1006f5f0
xor esi, esi
jmp 0x1006f608
mov ecx, dword [ebx + 0x18]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, edx
mov ecx, ebp
call fcn.10070c80
cmp eax, esi
jae 0x1006f637
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, ebp
call fcn.10070c80
sub esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.10070e70
jmp 0x1006f65a
mov ecx, ebp
call fcn.10070c80
cmp esi, eax
jae 0x1006f65a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
push eax
lea eax, [esi + esi*4]
lea edx, [eax + eax*4]
lea eax, [ecx + edx*4]
push eax
mov ecx, ebp
call fcn.100711e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 2
call fcn.10070a50
xor ecx, ecx
xor ebp, ebp
xor esi, esi
mov eax, dword [ebx + 0x24]
cmp eax, ecx
je 0x1006f6ab
mov edx, dword [ebx + 0x28]
sub edx, eax
sar edx, 2
cmp ebp, edx
jae 0x1006f6ab
mov ecx, dword [eax + ebp*4]
mov eax, dword [ecx + 0x170]
mov edx, dword [edi + 0x24]
mov dword [edx + ebp*4], eax
mov ecx, dword [ebx + 0x14]
add ecx, esi
push ecx
mov ecx, dword [edi + 0x14]
add ecx, esi
call fcn.10070a90
inc ebp
add esi, 0x64
xor ecx, ecx
jmp 0x1006f671
mov dword [edi + 0x48], ecx
mov dword [edi + 0x44], ecx
mov dword [edi + 0x40], ecx
mov dword [edi + 0x3c], ecx
mov dword [edi + 0x38], ecx
mov dword [edi + 0x34], ecx
mov dword [edi + 0x30], ecx
mov ecx, dword [esp + 0x88]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4