Function at 0x412af0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e588
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x537014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
push 0
push 0xb
call fcn.004128b0
mov ecx, dword [edi + 0x38]
call fcn.00411f20
mov esi, eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], esi
mov word [ebp - 0x50], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
push edi
call fcn.00411c90
mov eax, dword [edi + 0x38]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [ebx + 4], esi
push dword [ebx + 0x30]
mov dword [ebp - 0x2c], ecx
call fcn.0044c808
inc esi
mov dword [ebx + 0x30], 0
xor ecx, ecx
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044c957
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebx + 0x34]
call fcn.0044c808
add esp, 4
mov dword [ebx + 0x34], 0
push dword [ebp - 0x30]
call fcn.0044c957
add esp, 4
mov dword [ebx + 0x34], eax
push dword [ebx + 0x38]
call fcn.0044c808
xor ecx, ecx
mov dword [ebx + 0x38], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044c957
add esp, 4
mov dword [ebx + 0x38], eax
push dword [ebx + 0x2c]
call fcn.0044c808
xor ecx, ecx
mov dword [ebx + 0x2c], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044c957
mov esi, ebx
mov dword [ebp - 0x6c], 0
add esp, 4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [esi + 0x2c], eax
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
xor ecx, ecx
mov byte [ebp - 4], 2
mov ebx, dword [edi + 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x30], ecx
jbe 0x412ff3
mov ecx, dword [edi + 0x38]
mov eax, dword [ebp - 0x28]
mov edx, dword [esi + 0x38]
mov dword [ebp - 0x38], 0
lea edi, [eax*4]
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, ebx
mov dword [edi + edx], eax
mov dword [ebp - 0x4c], edi
xor edi, edi
mov dword [ebp - 0x10], edi
call fcn.00411f20
mov ecx, eax
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x413143
cmp ecx, 0x40
ja 0x413143
mov dword [ebp - 0x40], edi
test ecx, ecx
je 0x412e99
mov ecx, ebx
call fcn.00411d20
mov byte [ebp + 0xb], al
test al, 0xc0
jne 0x413143
movzx ebx, al
and ebx, 0xf
cmp ebx, 8
ja 0x413143
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 4]
sub eax, edx
mov dword [ebp - 0x1c], edx
cmp ebx, eax
ja 0x413148
mov eax, dword [ecx]
xorps xmm0, xmm0
add eax, edx
movlpd qword [ebp - 0x48], xmm0
mov edi, dword [ebp - 0x44]
xor ecx, ecx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x412d1f
movzx eax, byte [ecx + eax]
inc ecx
shld edi, esi, 8
cdq
shl esi, 8
or edi, edx
or esi, eax
mov eax, dword [ebp - 0x34]
cmp ecx, ebx
jb 0x412d04
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
lea eax, [edx + ebx]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ecx + 0x50]
cmp ebx, 0x80
jae 0x412dc4
lea eax, [ecx + 0x4c]
xor edx, edx
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x412d8a
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
nop dword [eax + eax]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebx + edx]
shr eax, 1
mov ecx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
mov ecx, dword [ebp - 0x44]
jne 0x412d6e
cmp edi, ecx
je 0x412dc4
cmp edi, ecx
ja 0x412d80
jb 0x412d7c
mov ecx, dword [ebp - 0x1c]
cmp esi, dword [ecx + eax*8]
jae 0x412d80
mov ebx, eax
jmp 0x412d83
lea edx, [eax + 1]
cmp edx, ebx
jne 0x412d50
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.00414c50
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
lea ecx, [eax + ebx*8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
sub eax, ebx
shl eax, 3
push eax
push ecx
lea eax, [ecx + 8]
push eax
call fcn.00450230
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
inc dword [ecx + 0x50]
mov cl, byte [ebp + 0xb]
mov eax, 1
mov ebx, dword [ebp - 0x18]
test cl, 0x10
je 0x412dfd
mov ecx, ebx
call fcn.00411f20
mov dword [ebp - 0x44], eax
cmp eax, 0x40
ja 0x413143
mov ecx, ebx
call fcn.00411f20
cmp eax, 1
jne 0x413143
mov eax, dword [ebp - 0x44]
mov cl, byte [ebp + 0xb]
mov edx, dword [ebp - 0x10]
add edx, eax
mov dword [ebp - 0x10], edx
cmp edx, 0x40
ja 0x413143
test cl, 0x20
je 0x412e81
mov ecx, ebx
call fcn.00411f20
mov ecx, dword [ebx + 4]
mov edx, eax
sub ecx, dword [ebx + 8]
cmp edx, ecx
ja 0x413148
cmp esi, 0x21
jne 0x412e53
test edi, edi
jne 0x412e53
cmp edx, 1
jne 0x412e7e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov al, byte [ecx + eax]
mov ecx, dword [ebp + 0xc]
cmp byte [ecx + 0x44], al
jae 0x412e7e
mov byte [ecx + 0x44], al
jmp 0x412e7e
cmp esi, 0x30101
jne 0x412e7e
test edi, edi
jne 0x412e7e
cmp edx, 5
jne 0x412e7e
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x38]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov eax, dword [ecx + eax + 1]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x48], eax
jae 0x412e7e
mov dword [ecx + 0x48], eax
add dword [ebx + 8], edx
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, ecx
jb 0x412cb2
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10]
cmp ecx, 1
jne 0x412eb0
cmp edi, ecx
jne 0x412eb0
mov dword [ebp - 0x38], 0
mov edi, ecx
jmp 0x412f9d
mov eax, dword [ebp - 0x10]
lea edi, [ecx - 1]
cmp eax, edi
jb 0x413143
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00411b60
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x60]
call fcn.00411b60
xor esi, esi
test edi, edi
je 0x412f33
nop dword [eax]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00411f20
cmp eax, dword [ebp - 0x10]
jae 0x413143
mov ecx, dword [ebp - 0x6c]
cmp byte [ecx + eax], 0
jne 0x413143
mov byte [ecx + eax], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x38]
call fcn.00411f20
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
jae 0x413143
mov edx, dword [ebp - 0x60]
cmp byte [edx + eax], 0
jne 0x413143
inc esi
mov byte [edx + eax], 1
cmp esi, edi
jb 0x412ee0
jmp 0x412f36
mov ecx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
lea eax, [ecx - 1]
sub edi, eax
cmp edi, 1
je 0x412f79
xor esi, esi
test edi, edi
je 0x412f79
nop dword [eax]
mov ecx, ebx
call fcn.00411f20
cmp eax, dword [ebp - 0x10]
jae 0x413143
mov ecx, dword [ebp - 0x6c]
cmp byte [ecx + eax], 0
jne 0x413143
inc esi
mov byte [ecx + eax], 1
cmp esi, edi
jb 0x412f50
mov ecx, dword [ebp - 0x20]
xor eax, eax
test ecx, ecx
je 0x412f92
mov edx, dword [ebp - 0x60]
cmp byte [edx + eax], 0
je 0x412f8f
inc eax
cmp eax, ecx
jb 0x412f82
jmp 0x412f92
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x413143
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x2c]
mov ebx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x24]
mov dword [ebx + eax], edx
add edx, ecx
mov eax, dword [esi + 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x24], edx
mov dword [ebx + eax], ecx
mov eax, dword [esi]
sub eax, ecx
cmp edi, eax
ja 0x41314d
mov eax, dword [esi + 0x34]
add ecx, edi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x28]
mov byte [eax + ecx], bl
inc ecx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebp - 0x30]
jae 0x412fe8
mov edi, dword [ebp - 0x14]
jmp 0x412c60
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 0x38]
mov eax, dword [esi + 0x2c]
jmp 0x412ff5
xor edx, edx
mov edi, dword [ebx + 8]
sub edi, dword [ebp - 0x2c]
add edi, dword [ebx]
mov ebx, dword [ebp - 0x14]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 0x30]
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebx + 0x38]
mov edx, dword [esi + 0x38]
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov dword [edx + ecx*4], eax
cmp edi, dword [esi + 0x40]
je 0x413056
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41303c
push eax
call fcn.0044c808
add esp, 4
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
test edi, edi
je 0x413069
push edi
call fcn.0044c957
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
test edi, edi
je 0x413069
push edi
push dword [ebp - 0x2c]
push dword [esi + 0x3c]
call fcn.0044e3d0
add esp, 0xc
push dword [ebp - 0x60]
call fcn.0044c808
add esp, 4
push dword [ebp - 0x6c]
call fcn.0044c808
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00411bf0
push 0
push 0xc
mov ecx, ebx
call fcn.004128b0
push dword [esi + 0x28]
call fcn.0044c808
mov eax, dword [ebp - 0x24]
xor ecx, ecx
add esp, 4
mov dword [esi + 0x28], 0
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044c957
xor edi, edi
mov dword [esi + 0x28], eax
add esp, 4
cmp dword [ebp - 0x24], edi
jbe 0x4130e9
mov ecx, dword [ebx + 0x38]
call fcn.00411ed0
mov ecx, dword [esi + 0x28]
mov dword [ecx + edi*8], eax
mov dword [ecx + edi*8 + 4], edx
inc edi
cmp edi, dword [ebp - 0x24]
jb 0x4130d1
mov ecx, dword [ebx + 0x38]
call fcn.00411ed0
mov edi, eax
mov ecx, edi
or ecx, edx
je 0x41312f
nop dword [eax]
cmp edi, 0xa
jne 0x413119
test edx, edx
jne 0x413119
lea eax, [esi + 0xc]
mov ecx, ebx
push eax
push dword [ebp - 0x30]
call fcn.00412960
jmp 0x413121
mov ecx, dword [ebx + 0x38]
call fcn.00411db0
mov ecx, dword [ebx + 0x38]
call fcn.00411ed0
mov edi, eax
or eax, edx
jne 0x413100
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.00411bc0
call fcn.00411bb0
call fcn.00411bb0
int3