Function at 0x4163a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48d1e0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x4ace70]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x34]
push eax
call fcn.0041ad50
push eax
mov dword [esp + 0x7c], 0
call fcn.00412670
mov dword [esp + 0x7c], 0xffffffff
mov ebx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x41643a
push 0
lea ecx, [esp + 0x30]
call fcn.004683c9
mov eax, dword [ebx + 4]
test eax, eax
jbe 0x416418
cmp eax, 0xffffffff
jae 0x416418
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
not edi
lea ecx, [esp + 0x2c]
and edi, ebx
call fcn.004683f1
test edi, edi
je 0x41643a
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
mov edi, dword [esp + 0x30]
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 0x25
mov ecx, edi
call eax
mov cl, byte [esi + 0x68]
mov byte [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
push edx
movzx ebx, ax
push edi
mov edi, dword [ebp + 8]
push ebx
push edi
mov byte [esp + 0x21], 1
mov dword [esp + 0x30], 0xffffffff
call fcn.0041b220
add esp, 0x10
push eax
mov ecx, esi
call fcn.0041b030
xor eax, eax
movzx ecx, bx
push 1
push eax
lea edx, [esp + 0x34]
mov dword [esp + 0x34], ecx
push edx
mov ecx, edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov byte [esp + 0x1e], al
mov dword [esp + 0x24], eax
call fcn.0040d770
mov edi, eax
cmp edi, 0xffffffff
je 0x416843
movzx eax, bx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4164ce
lea ecx, [esi + 0x4c]
mov dword [esp + 0x28], ecx
jmp 0x4164ff
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
lea ebx, [eax - 1]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4164f1
call fcn.00469f76
mov ecx, dword [esi + 0xc]
imul ebx, ebx, 0x64
lea edx, [ebx + ecx + 0x20]
mov dword [esp + 0x28], edx
mov eax, dword [ebp + 8]
lea ecx, [edi + 1]
mov dword [esp + 0x24], ecx
cmp ecx, dword [eax + 0x14]
jbe 0x416516
call fcn.00469f76
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x416521
mov ebx, dword [eax + 4]
jmp 0x416526
lea ecx, [eax + 4]
mov ebx, ecx
cmp edi, dword [eax + 0x14]
jbe 0x416533
call fcn.00469f76
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 8
jb 0x41653e
mov ecx, dword [eax + 4]
jmp 0x416541
lea ecx, [eax + 4]
mov edx, dword [esp + 0x24]
mov bx, word [ebx + edx*2]
cmp bx, word [ecx + edi*2]
jne 0x416572
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
call fcn.0041b4b0
add esp, 0x10
add edi, 2
mov dword [esp + 0x14], edi
jmp 0x416820
cmp edi, dword [esp + 0x14]
je 0x416596
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
push edi
push eax
push ecx
push edx
call fcn.0041b4b0
mov eax, dword [ebp + 8]
add esp, 0x10
mov dword [esp + 0x14], edi
mov ebx, dword [eax + 0x18]
lea ecx, [eax + 4]
cmp ebx, 8
jb 0x4165a5
mov edi, dword [ecx]
jmp 0x4165a7
mov edi, ecx
test edi, edi
je 0x4165cb
cmp ebx, 8
jb 0x4165b4
mov edx, dword [ecx]
jmp 0x4165b6
mov edx, ecx
cmp edx, edi
ja 0x4165cb
cmp ebx, 8
jb 0x4165c1
mov ecx, dword [ecx]
mov edx, dword [eax + 0x14]
lea ecx, [ecx + edx*2]
cmp edi, ecx
jbe 0x4165d3
call fcn.00469f76
mov eax, dword [ebp + 8]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], edi
cmp eax, 0xfffffffc
je 0x416618
mov ecx, dword [eax + 0x18]
mov dword [esp + 0x28], ecx
cmp ecx, 8
lea ecx, [eax + 4]
jb 0x4165f3
mov ebx, dword [ecx]
jmp 0x4165f5
mov ebx, ecx
mov edx, dword [esp + 0x24]
mov eax, dword [eax + 0x14]
lea edx, [edi + edx*2]
lea eax, [ebx + eax*2]
cmp edx, eax
ja 0x416613
cmp dword [esp + 0x28], 8
jb 0x41660f
mov ecx, dword [ecx]
cmp edx, ecx
jae 0x416618
call fcn.00469f76
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x48]
lea eax, [edi + ecx*2]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x44], eax
mov al, byte [esi + 0x68]
mov byte [esp + 0x38], al
mov dword [esp + 0x40], edx
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x416656
call fcn.00469f76
mov ecx, dword [esi + 0xc]
mov eax, edi
mov edi, dword [ebp + 8]
imul eax, eax, 0x64
add ecx, eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [edi + 0x18]
add edi, 4
mov dword [esp + 0x28], eax
cmp ecx, 8
jb 0x41667a
mov ebx, dword [edi]
jmp 0x41667c
mov ebx, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
add eax, eax
add ebx, eax
je 0x4166a8
cmp ecx, 8
jb 0x416691
mov edx, dword [edi]
jmp 0x416693
mov edx, edi
cmp edx, ebx
ja 0x4166a8
cmp ecx, 8
jb 0x4166a0
mov ecx, dword [edi]
jmp 0x4166a2
mov ecx, edi
add ecx, eax
cmp ebx, ecx
jbe 0x4166ad
call fcn.00469f76
mov ecx, dword [esp + 0x38]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
push eax
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x6c], ebx
call fcn.0041b5d0
mov ecx, dword [ebp + 8]
mov byte [esp + 0x2b], al
mov eax, dword [ecx + 0x18]
add esp, 0x18
cmp eax, 8
jb 0x4166f1
mov ebx, dword [edi]
jmp 0x4166f3
mov ebx, edi
test ebx, ebx
je 0x41671a
cmp eax, 8
jb 0x416700
mov ecx, dword [edi]
jmp 0x416702
mov ecx, edi
cmp ecx, ebx
ja 0x41671a
cmp eax, 8
jb 0x41670d
mov edi, dword [edi]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
lea ecx, [edi + eax*2]
cmp ebx, ecx
jbe 0x41671f
call fcn.00469f76
mov eax, dword [esp + 0x40]
cmp eax, 0xfffffffc
je 0x416736
test eax, eax
je 0x416731
cmp eax, dword [ebp + 8]
je 0x416736
call fcn.00469f76
mov edi, dword [esp + 0x44]
sub edi, ebx
sar edi, 1
cmp byte [esp + 0x13], 0
je 0x416820
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, dword [esp + 0x18]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], edi
cmp ebx, eax
jb 0x416771
call fcn.00469f76
mov eax, dword [esi + 0xc]
add eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x60]
test cl, 1
je 0x4167ae
mov edx, dword [eax + 0x48]
test dl, 0x40
je 0x416790
and ecx, 0xfffffffe
mov dword [eax + 0x60], ecx
jmp 0x4167ae
and ecx, 0xfffffffd
and edx, 0xffffff3f
mov dword [eax + 0x60], ecx
mov ecx, 0x30
or edx, 0x100
mov word [eax + 0x44], cx
mov dword [eax + 0x48], edx
mov ecx, dword [eax + 0x60]
test cl, 2
je 0x4167c2
test byte [eax + 0x48], 0x20
je 0x4167c2
and ecx, 0xfffffffd
mov dword [eax + 0x60], ecx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x4167e2
call fcn.00469f76
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x28]
mov eax, dword [edx + ecx]
cmp eax, 0xfffffffd
je 0x416820
cmp eax, 0xffffffff
jne 0x4167fd
mov byte [esp + 0x11], 0
jmp 0x416813
cmp eax, 0xfffffffe
jne 0x416809
mov byte [esp + 0x12], 1
jmp 0x416813
cmp eax, dword [esp + 0x20]
jle 0x416813
mov dword [esp + 0x20], eax
mov eax, 1
add dword [esp + 0x1c], eax
add dword [esp + 0x18], eax
mov ecx, dword [ebp + 8]
push 1
push edi
lea eax, [esp + 0x34]
push eax
call fcn.0040d770
mov edi, eax
cmp edi, 0xffffffff
jne 0x4164bd
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x416848
lea ecx, [esi + 0x4c]
jmp 0x416873
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
dec edi
add ecx, edx
cmp edi, ecx
jb 0x416869
call fcn.00469f76
mov edx, dword [esi + 0xc]
imul edi, edi, 0x64
lea ecx, [edi + edx + 0x20]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
push eax
mov eax, dword [esp + 0x18]
push eax
push edx
push ecx
call fcn.0041b4b0
add esp, 0x10
xor edi, edi
cmp byte [esp + 0x11], 0
jne 0x41694c
mov ebx, dword [esp + 0x20]
cmp ebx, edi
jl 0x4168cf
test byte [esi + 0x68], 1
je 0x4168cf
lea ecx, [esp + 0x58]
call fcn.0046980e
mov dword [esp + 0x58], vtable.boost::io::bad_format_string.0
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], edi
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x7c], 1
call fcn.004127c0
cmp dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jle 0x416943
xor ebx, ebx
jmp 0x4168e0
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x416900
call fcn.00469f76
mov eax, dword [esi + 0xc]
cmp dword [ebx + eax], 0xffffffff
jne 0x416937
mov ecx, dword [esi + 0x10]
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp edi, ecx
jb 0x416928
call fcn.00469f76
mov eax, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
mov dword [ebx + edx], eax
inc eax
mov dword [esp + 0x2c], eax
inc edi
add ebx, 0x64
cmp edi, dword [esp + 0x1c]
jl 0x4168e0
xor edi, edi
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push 0x20
call eax
movzx ecx, ax
sub esp, 0x64
mov eax, esp
mov dword [eax], 0xffffffff
mov dword [eax + 0x18], edi
mov edx, 7
mov dword [eax + 0x1c], edx
xor ebx, ebx
mov word [eax + 8], bx
mov dword [eax + 0x38], edx
mov dword [eax + 0x34], edi
xor edx, edx
mov word [eax + 0x24], dx
mov byte [eax + 0x54], dl
mov word [eax + 0x44], cx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x40], 6
mov dword [eax + 0x48], 0x201
mov dword [eax + 0x50], edi
mov dword [eax + 0x4c], edi
mov dword [eax + 0x5c], SysReAllocStringLen
mov dword [eax + 0x60], edi
mov eax, dword [esp + 0x80]
mov dword [esp + 0xa0], esp
push eax
mov ecx, esi
call fcn.00419840
cmp byte [esp + 0x12], bl
je 0x4169cc
or dword [esi + 0x3c], 4
mov ecx, dword [esp + 0x20]
inc ecx
cmp byte [esp + 0x11], 0
mov dword [esi + 0x44], ecx
je 0x4169e1
or dword [esi + 0x3c], 1
jmp 0x4169e5
and dword [esi + 0x3c], 0xfffffffe
mov eax, esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4