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

Disassembly:
push 0xffffffffffffffff
push 0x100f43ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
mov ebx, dword [esp + 0x8c]
push ebp
push esi
mov al, byte [ebx]
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 0x20], edi
mov byte [edi], al
mov ecx, dword [ebx + 4]
cmp ecx, esi
jne 0x10070b7a
xor eax, eax
jmp 0x10070b82
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 2
cmp eax, esi
jge 0x10070b88
xor eax, eax
lea ecx, [eax*4]
push ecx
call fcn.100ddb85
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.10053270
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]
mov byte [esp + 0x90], 2
cmp eax, ecx
mov dword [esp + 0x18], ecx
jne 0x10070bf8
mov dword [esp + 0x14], ecx
jmp 0x10070c04
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 0x10070c13
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, dword [esp + 0x14]
jae 0x10070c41
mov ecx, dword [esi + 8]
lea edx, [esp + 0x18]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, esi
call fcn.1002c950
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x20]
push ecx
push eax
mov ecx, esi
call fcn.100918f0
jmp 0x10070c62
mov ecx, esi
call fcn.1002c950
mov edx, dword [esp + 0x14]
cmp edx, eax
jae 0x10070c62
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push eax
lea ecx, [ecx + edx*4]
push ecx
mov ecx, esi
call fcn.10065b70
lea edx, [esp + 0x13]
lea ecx, [esp + 0x24]
push edx
call fcn.10084240
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.1000c3b0
lea ecx, [esp + 0x44]
call fcn.1000c3b0
lea ecx, [esp + 0x50]
call fcn.1000c3b0
lea ecx, [esp + 0x5c]
call fcn.1000c3b0
lea ecx, [esp + 0x6c]
mov dword [esp + 0x68], 0x3f800000
call fcn.1000c3b0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], 0x3f800000
call fcn.1000c3b0
mov eax, dword [ebx + 0x14]
mov byte [esp + 0x90], 4
test eax, eax
jne 0x10070ce0
xor esi, esi
jmp 0x10070cf8
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.100723a0
cmp eax, esi
jae 0x10070d27
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], ecx
push edx
mov ecx, ebp
call fcn.100723a0
sub esi, eax
mov eax, dword [esp + 0x20]
push esi
push eax
mov ecx, ebp
call fcn.10072590
jmp 0x10070d4a
mov ecx, ebp
call fcn.100723a0
cmp esi, eax
jae 0x10070d4a
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]
mov ecx, ebp
push eax
call fcn.10072910
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 2
call fcn.1006b710
xor ecx, ecx
xor ebp, ebp
xor esi, esi
mov eax, dword [ebx + 0x24]
cmp eax, ecx
je 0x10070d9b
mov edx, dword [ebx + 0x28]
sub edx, eax
sar edx, 2
cmp ebp, edx
jae 0x10070d9b
mov ecx, dword [eax + ebp*4]
mov edx, dword [edi + 0x24]
mov eax, dword [ecx + 0x170]
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.100721b0
inc ebp
add esi, 0x64
xor ecx, ecx
jmp 0x10070d61
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