Function at 0x441870
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4656a6
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x479008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
push 0xb
call fcn.004422d0
mov ecx, dword [ebx + 0x38]
call fcn.00443130
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], esi
mov word [ebp - 0x54], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
push ebx
call fcn.00442e90
mov eax, dword [ebx + 0x38]
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov dword [edi + 4], esi
push dword [edi + 0x30]
mov dword [ebp - 0x30], ecx
call fcn.0041bebc
inc esi
mov dword [edi + 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.0041bfdb
add esp, 4
mov dword [edi + 0x30], eax
push dword [edi + 0x34]
call fcn.0041bebc
add esp, 4
mov dword [edi + 0x34], 0
push dword [ebp - 0x28]
call fcn.0041bfdb
add esp, 4
mov dword [edi + 0x34], eax
push dword [edi + 0x38]
call fcn.0041bebc
xor ecx, ecx
mov dword [edi + 0x38], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [edi + 0x38], eax
push dword [edi + 0x2c]
call fcn.0041bebc
xor ecx, ecx
mov dword [edi + 0x2c], 0
add esp, 4
mov eax, esi
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
add esp, 4
mov dword [edi + 0x2c], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
xor esi, esi
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x38]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], esi
cmp dword [ebp - 0x28], esi
jbe 0x441e25
nop
mov eax, dword [ebp - 0x18]
mov edx, dword [edi + 0x38]
shl esi, 2
mov dword [ebp - 0x44], esi
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x38], 0
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x30]
add eax, dword [ecx]
mov ecx, ebx
mov dword [edx + esi], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
call fcn.00443130
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x44202a
cmp ecx, 0x40
ja 0x44202a
mov dword [ebp - 0x40], esi
test ecx, ecx
je 0x441c1c
nop
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp ecx, eax
jae 0x44202f
mov edx, dword [ebx]
mov bl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0xb], bl
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebx + 8], ecx
mov bl, byte [ebp + 0xb]
test bl, 0xc0
jne 0x44202a
movzx ebx, bl
and ebx, 0xf
cmp ebx, 8
ja 0x44202a
sub eax, ecx
cmp ebx, eax
ja 0x44202f
lea eax, [ecx + edx]
xorps xmm0, xmm0
movlpd qword [ebp - 0x50], xmm0
xor ecx, ecx
mov edi, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x441aaa
nop
movzx eax, byte [ecx + eax]
inc ecx
shld edi, esi, 8
cdq
shl esi, 8
or edx, edi
or esi, eax
mov edi, edx
mov eax, dword [ebp - 0x34]
cmp ecx, ebx
jb 0x441a90
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x24]
add eax, ebx
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax + 0x50]
cmp ebx, 0x80
jae 0x441b4f
add eax, 0x4c
xor edx, edx
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x441b12
mov ecx, dword [eax]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + edx]
shr eax, 1
mov ecx, dword [ecx + eax*8 + 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + eax*8]
mov ecx, dword [ebp - 0x4c]
jne 0x441af6
cmp edi, ecx
je 0x441b4c
cmp edi, ecx
ja 0x441b08
jb 0x441b04
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + eax*8]
jae 0x441b08
mov ebx, eax
jmp 0x441b0b
lea edx, [eax + 1]
cmp edx, ebx
jne 0x441ad8
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.00403dd0
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax]
lea ecx, [eax + ebx*8]
mov eax, dword [edx + 0x50]
sub eax, ebx
shl eax, 3
push eax
push ecx
lea eax, [ecx + 8]
push eax
call fcn.0041f340
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov eax, dword [eax]
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
mov eax, dword [ebp + 0xc]
inc dword [eax + 0x50]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp + 0xb]
mov ebx, 1
test dl, 0x10
je 0x441b80
call fcn.00443130
mov ebx, eax
cmp ebx, 0x40
ja 0x44202a
mov ecx, dword [ebp - 0x14]
call fcn.00443130
cmp eax, 1
jne 0x44202a
mov dl, byte [ebp + 0xb]
mov eax, dword [ebp - 0x1c]
add eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, 0x40
ja 0x44202a
mov ebx, dword [ebp - 0x14]
test dl, 0x20
je 0x441c07
mov ecx, ebx
call fcn.00443130
mov ecx, dword [ebx + 4]
mov edx, eax
sub ecx, dword [ebx + 8]
cmp edx, ecx
ja 0x44202f
cmp esi, 0x21
jne 0x441bd9
test edi, edi
jne 0x441bd9
cmp edx, 1
jne 0x441c04
mov eax, dword [ebp - 0x18]
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 0x441c04
mov byte [ecx + 0x44], al
jmp 0x441c04
cmp esi, 0x30101
jne 0x441c04
test edi, edi
jne 0x441c04
cmp edx, 5
jne 0x441c04
mov eax, dword [ebp - 0x18]
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 0x441c04
mov dword [ecx + 0x48], eax
add dword [ebx + 8], edx
mov edx, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x40], edx
cmp edx, ecx
jb 0x441a30
mov esi, dword [ebp - 0x1c]
cmp ecx, 1
jne 0x441c33
cmp esi, ecx
jne 0x441c33
mov dword [ebp - 0x38], 0
mov edi, ecx
jmp 0x441dce
lea eax, [ecx - 1]
cmp esi, eax
jb 0x44202a
mov dword [ebp - 0x6c], 0
cmp esi, dword [ebp - 0x68]
jbe 0x441c85
cmp esi, 0x7fffffff
ja 0x442034
push dword [ebp - 0x70]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
push esi
call fcn.0041bfdb
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 4
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], esi
jmp 0x441c88
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x441ca6
mov ecx, esi
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x60], 0
cmp ecx, dword [ebp - 0x5c]
jbe 0x441cef
cmp ecx, 0x7fffffff
ja 0x442034
push dword [ebp - 0x64]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x10]
call fcn.0041bfdb
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 4
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], ecx
jmp 0x441cf2
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x441d0e
mov edi, edx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x10]
lea edi, [ecx - 1]
xor esi, esi
test edi, edi
je 0x441d71
nop word [eax + eax]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.00443130
cmp eax, dword [ebp - 0x1c]
jae 0x44202a
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x44202a
mov byte [ecx + eax], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.00443130
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jae 0x44202a
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
jne 0x44202a
inc esi
mov byte [edx + eax], 1
cmp esi, edi
jb 0x441d20
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 1]
sub edi, eax
cmp edi, 1
je 0x441dad
xor esi, esi
test edi, edi
je 0x441dad
mov ecx, ebx
call fcn.00443130
cmp eax, dword [ebp - 0x1c]
jae 0x44202a
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x44202a
inc esi
mov byte [ecx + eax], 1
cmp esi, edi
jb 0x441d84
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
je 0x441dc6
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
je 0x441dc3
inc eax
cmp eax, ecx
jb 0x441db6
jmp 0x441dc6
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x44202a
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
mov eax, dword [edx + 0x2c]
mov dword [eax + ebx], esi
add esi, ecx
mov eax, dword [edx + 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x20], esi
mov esi, ebx
mov ebx, dword [ebp - 0x14]
mov dword [eax + esi], ecx
mov eax, dword [edx]
sub eax, ecx
cmp edi, eax
ja 0x442049
mov esi, dword [ebp - 0x2c]
add ecx, edi
mov edi, edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
mov eax, dword [edi + 0x34]
mov byte [eax + esi], cl
inc esi
mov dword [ebp - 0x2c], esi
cmp esi, dword [ebp - 0x28]
jb 0x4419e0
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x38]
mov eax, dword [edi + 0x2c]
mov esi, dword [ebx + 8]
mov ecx, dword [ebp - 0x2c]
sub esi, dword [ebp - 0x30]
add esi, dword [ebx]
mov edx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
mov dword [eax + ecx*4], edx
mov eax, dword [edi + 0x30]
mov edx, dword [ebp - 0x3c]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebx + 0x38]
mov edx, dword [edi + 0x38]
mov eax, dword [ecx + 8]
sub eax, dword [ebp - 0x30]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
cmp esi, dword [edi + 0x40]
je 0x441e8c
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x441e72
push eax
call fcn.0041bebc
add esp, 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test esi, esi
je 0x441e9f
push esi
call fcn.0041bfdb
add esp, 4
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
test esi, esi
je 0x441e9f
push esi
push dword [ebp - 0x30]
push dword [edi + 0x3c]
call fcn.0041f8c0
add esp, 0xc
push dword [ebp - 0x64]
call fcn.0041bebc
add esp, 4
push dword [ebp - 0x70]
call fcn.0041bebc
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x54], 0
je 0x441ef6
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x441ed4
mov byte [edx + 0x3c], 1
add dword [edx + 4], 0xffffffff
mov eax, dword [edx + 4]
je 0x441ef6
cmp byte [ebp - 0x53], 0
lea eax, [eax + eax*2]
lea ecx, [edx - 4]
lea ecx, [ecx + eax*4]
mov dword [edx + 0x38], ecx
je 0x441ef6
mov eax, dword [edx + eax*4 + 0x10]
add dword [ecx + 8], eax
push 0
push 0xc
mov ecx, ebx
call fcn.004422d0
push dword [edi + 0x28]
call fcn.0041bebc
mov eax, dword [ebp - 0x20]
xor ecx, ecx
add esp, 4
mov dword [edi + 0x28], 0
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041bfdb
xor esi, esi
mov dword [edi + 0x28], eax
add esp, 4
cmp dword [ebp - 0x20], esi
jbe 0x441f58
nop dword [eax]
mov ecx, dword [ebx + 0x38]
call fcn.00442bc0
mov ecx, dword [edi + 0x28]
mov dword [ecx + esi*8], eax
mov dword [ecx + esi*8 + 4], edx
inc esi
cmp esi, dword [ebp - 0x20]
jb 0x441f40
mov ecx, dword [ebx + 0x38]
call fcn.00442bc0
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x442016
nop dword [eax]
cmp esi, 0xa
jne 0x441fdf
test edx, edx
jne 0x441fdf
mov edx, dword [ebx + 0x38]
lea esi, [edi + 0xc]
mov edi, dword [edx + 8]
cmp edi, dword [edx + 4]
jae 0x44202f
mov eax, dword [edx]
mov cl, byte [edi + eax]
lea eax, [edi + 1]
mov dword [edx + 8], eax
test cl, cl
jne 0x441faf
push esi
push dword [ebp - 0x28]
mov ecx, ebx
call fcn.004410d0
push esi
mov ecx, ebx
call fcn.00442260
jmp 0x442000
mov edi, dword [ebp - 0x28]
mov ecx, esi
push edi
call fcn.00403cc0
test edi, edi
je 0x441fd5
mov ecx, edi
mov eax, 0x1010101
mov edi, dword [esi]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
push esi
mov ecx, ebx
call fcn.00442260
jmp 0x442000
mov esi, dword [ebx + 0x38]
mov ecx, esi
call fcn.00442bc0
mov ecx, dword [esi + 4]
mov edi, dword [esi + 8]
sub ecx, edi
test edx, edx
ja 0x44202f
jb 0x441ffb
cmp eax, ecx
ja 0x44202f
add eax, edi
mov dword [esi + 8], eax
mov ecx, dword [ebx + 0x38]
call fcn.00442bc0
mov esi, eax
or eax, edx
je 0x442016
mov edi, dword [ebp + 0xc]
jmp 0x441f70
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.00443050
call fcn.00443070
push 0x473048
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7e5
push eax
call fcn.0041db1a
call fcn.00443040
int3