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

Disassembly:
push 0xffffffffffffffff
push 0x100fd51e
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 0x1006dcda
xor eax, eax
jmp 0x1006dce2
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp eax, esi
jge 0x1006dce8
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.10099f75
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.10069020
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 0x1006dd58
mov dword [esp + 0x14], ecx
jmp 0x1006dd64
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 0x1006dd73
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, dword [esp + 0x14]
jae 0x1006dda1
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.1003a3f0
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.10086940
jmp 0x1006ddc2
mov ecx, esi
call fcn.1003a3f0
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x1006ddc2
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
lea ecx, [ecx + edx*4]
push eax
push ecx
mov ecx, esi
call fcn.10081660
lea edx, [esp + 0x13]
push edx
lea ecx, [esp + 0x28]
call fcn.1005c3d0
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.1000c180
lea ecx, [esp + 0x44]
call fcn.1000c180
lea ecx, [esp + 0x50]
call fcn.1000c180
lea ecx, [esp + 0x5c]
call fcn.1000c180
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], 0x3f800000
call fcn.1000c180
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], 0x3f800000
call fcn.1000c180
mov eax, dword [ebx + 0x14]
test eax, eax
mov byte [esp + 0x90], 4
jne 0x1006de40
xor esi, esi
jmp 0x1006de58
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.1006f4d0
cmp eax, esi
jae 0x1006de87
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, ebp
call fcn.1006f4d0
sub esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.1006f6c0
jmp 0x1006deaa
mov ecx, ebp
call fcn.1006f4d0
cmp esi, eax
jae 0x1006deaa
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.1006fa30
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 2
call fcn.1006f2a0
xor ecx, ecx
xor ebp, ebp
xor esi, esi
mov eax, dword [ebx + 0x24]
cmp eax, ecx
je 0x1006defb
mov edx, dword [ebx + 0x28]
sub edx, eax
sar edx, 2
cmp ebp, edx
jae 0x1006defb
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.1006f2e0
inc ebp
add esi, 0x64
xor ecx, ecx
jmp 0x1006dec1
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