Function at 0x1014fb00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x101965bb
mov eax, dword fs:[0]
push eax
sub esp, 0x1ec
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
mov eax, dword [esp + 0x220]
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esp + 0x30], eax
je 0x1014fca9
mov ecx, dword [esp + 0x210]
mov eax, dword [esi + 0xc]
cmp ecx, eax
mov edx, ecx
jl 0x1014fb64
mov edx, eax
test edx, edx
jge 0x1014fb70
xor edi, edi
mov dword [esp + 0x14], edi
jmp 0x1014fb82
cmp ecx, eax
jge 0x1014fb7c
mov dword [esp + 0x14], ecx
mov edi, ecx
jmp 0x1014fb82
mov dword [esp + 0x14], eax
mov edi, eax
mov edx, dword [esp + 0x218]
cmp edx, eax
mov ecx, edx
jl 0x1014fb91
mov ecx, eax
test ecx, ecx
jge 0x1014fb9d
xor ebp, ebp
mov dword [esp + 0x18], ebp
jmp 0x1014fbaf
cmp edx, eax
jge 0x1014fba9
mov dword [esp + 0x18], edx
mov ebp, edx
jmp 0x1014fbaf
mov dword [esp + 0x18], eax
mov ebp, eax
mov ecx, dword [esp + 0x214]
mov eax, dword [esi + 0x10]
cmp ecx, eax
mov edx, ecx
jl 0x1014fbc1
mov edx, eax
test edx, edx
jge 0x1014fbc9
xor ecx, ecx
jmp 0x1014fbcf
cmp ecx, eax
jl 0x1014fbcf
mov ecx, eax
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esp + 0x21c]
cmp ecx, eax
mov dword [esp + 0x20], ebx
mov edx, ecx
jl 0x1014fbe6
mov edx, eax
test edx, edx
jge 0x1014fbee
xor ecx, ecx
jmp 0x1014fbf4
cmp ecx, eax
jl 0x1014fbf4
mov ecx, eax
sub eax, ecx
cmp edi, ebp
mov dword [esp + 0x24], eax
je 0x1014fca9
cmp ebx, eax
je 0x1014fca9
cmp edi, ebp
jle 0x1014fc1a
mov ecx, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov ebp, edi
cmp ebx, eax
jle 0x1014fc2c
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov ebx, eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x40]
movzx edx, word [esi + 0x16]
push ecx
mov edi, eax
push edx
sub edi, ebx
mov eax, ebp
sub eax, dword [esp + 0x1c]
push edi
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x44], eax
call fcn.1014c780
lea ecx, [esp + 0x38]
mov dword [esp + 0x208], 0
call fcn.1014df00
test al, al
jne 0x1014fcd5
lea ecx, [esp + 0x38]
call fcn.1014e0a0
lea edx, [esi + 0x44]
mov cl, byte [eax]
mov byte [edx], cl
add eax, 1
add edx, 1
test cl, cl
jne 0x1014fc76
lea ecx, [esp + 0x38]
mov dword [esp + 0x208], 0xffffffff
mov dword [esp + 0x38], 0x10198ae4
call fcn.1014c020
lea ecx, [esp + 0x38]
call fcn.1014bf70
xor al, al
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x1f8
ret 0x14
mov eax, dword [esi + 0x28]
push eax
mov ecx, esi
call fcn.1014ffa0
push eax
lea ecx, [esp + 0x40]
call fcn.101507b0
mov ecx, dword [esi + 0x14c]
movzx eax, word [esi + 0x16]
mov edx, dword [esi + 0x150]
mov dword [esp + 0x184], ecx
lea ecx, [eax - 1]
cmp ecx, 0x17
mov dword [esp + 0x188], edx
ja case.0x1014fd1b.2
movzx ecx, byte [ecx + 0x1014fec8]
jmp dword [ecx*4 + 0x1014febc]
cmp ebx, dword [esp + 0x24]
mov ebp, ebx
mov dword [esp + 0x1c], 0
jge case.0x1014fd1b.2
xor eax, eax
mov dword [esp + 0x28], eax
jmp 0x1014fd44
mov edi, dword [esp + 0x2c]
cdq
idiv edi
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor ebx, ebx
cmp edi, edx
mov dword [esi + 0x144], eax
jge 0x1014fd85
jmp 0x1014fd60
push ebp
push edi
mov ecx, esi
call fcn.10150020
lea ecx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x20]
push eax
push ebx
call fcn.10150430
add edi, 1
add ebx, 1
cmp edi, dword [esp + 0x18]
jl 0x1014fd60
mov eax, dword [esp + 0x28]
add dword [esp + 0x1c], 1
add ebp, 1
add eax, 0x64
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x28], eax
jl 0x1014fd40
jmp 0x1014fe0d
imul eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x30]
movzx ebp, word [esp + 0x4e]
imul ecx, ebx
imul ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x6c]
sar eax, 3
add eax, ecx
add eax, dword [esi + 0x34]
sar ebp, 3
cmp dword [esp + 0x20], edx
mov ebx, eax
jge 0x1014fe0d
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x2c]
push ebp
push ebx
push edi
mov dword [esi + 0x144], eax
call fcn.1012fbf0
add edi, dword [esp + 0x74]
add ebx, dword [esi + 0x30]
add dword [esp + 0x28], 0x64
add esp, 0xc
sub dword [esp + 0x28], 1
jne 0x1014fde0
mov ebx, dword [esp + 0x20]
mov ecx, esi
call fcn.101529f0
test al, al
je 0x1014fe72
lea ecx, [esp + 0x38]
call fcn.10152a00
lea ecx, [esp + 0x38]
call fcn.101529f0
test al, al
je 0x1014fc84
mov edi, dword [esi + 0xc]
mov ebp, dword [esp + 0x1f0]
imul edi, ebx
add edi, dword [esi + 0x1b8]
add edi, dword [esp + 0x14]
cmp ebx, dword [esp + 0x24]
jge 0x1014fe72
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ecx
push edi
push ebp
call fcn.1012fbf0
add ebp, dword [esp + 0x50]
add edi, dword [esi + 0xc]
add esp, 0xc
sub ebx, 1
jne 0x1014fe57
mov ecx, dword [esp + 0x30]
test ecx, ecx
push 1
je 0x1014fe83
lea edx, [esp + 0x3c]
push edx
jmp 0x1014fe8a
lea eax, [esp + 0x3c]
push eax
mov ecx, esi
call fcn.1014c1a0
lea ecx, [esp + 0x38]
mov dword [esp + 0x208], 0xffffffff
mov dword [esp + 0x38], 0x10198ae4
call fcn.1014c020
lea ecx, [esp + 0x38]
call fcn.1014bf70
mov al, 1
jmp 0x1014fcab