Function at 0x45d6c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5488
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x508164]
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.0045d5c0
mov ecx, dword [ebx + 0x38]
call fcn.0045cbd0
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], esi
mov word [ebp - 0x54], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
push ebx
call fcn.0045ca00
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 - 0x2c], ecx
call fcn.0048d8c3
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.0048d929
add esp, 4
mov dword [edi + 0x30], eax
push dword [edi + 0x34]
call fcn.0048d8c3
add esp, 4
mov dword [edi + 0x34], 0
push dword [ebp - 0x30]
call fcn.0048d929
add esp, 4
mov dword [edi + 0x34], eax
push dword [edi + 0x38]
call fcn.0048d8c3
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.0048d929
add esp, 4
mov dword [edi + 0x38], eax
push dword [edi + 0x2c]
call fcn.0048d8c3
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.0048d929
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 - 0x28], esi
cmp dword [ebp - 0x30], esi
jbe 0x45dc4a
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 - 0x2c]
add eax, dword [ecx]
mov ecx, ebx
mov dword [esi + edx], eax
xor esi, esi
mov dword [ebp - 0x1c], esi
call fcn.0045cbd0
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x45de00
cmp ecx, 0x40
ja 0x45de00
mov dword [ebp - 0x40], esi
test ecx, ecx
je 0x45da6c
nop
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp ecx, eax
jae 0x45de05
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 0x45de00
movzx ebx, bl
and ebx, 0xf
cmp ebx, 8
ja 0x45de00
sub eax, ecx
cmp ebx, eax
ja 0x45de05
lea eax, [edx + ecx]
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 0x45d8fa
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 0x45d8e0
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 0x45d99f
add eax, 0x4c
xor edx, edx
mov dword [ebp - 0x34], eax
test ebx, ebx
je 0x45d962
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 0x45d946
cmp edi, ecx
je 0x45d99c
cmp edi, ecx
ja 0x45d958
jb 0x45d954
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + eax*8]
jae 0x45d958
mov ebx, eax
jmp 0x45d95b
lea edx, [eax + 1]
cmp edx, ebx
jne 0x45d928
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.004600e0
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.004a5980
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 0x45d9d0
call fcn.0045cbd0
mov ebx, eax
cmp ebx, 0x40
ja 0x45de00
mov ecx, dword [ebp - 0x14]
call fcn.0045cbd0
cmp eax, 1
jne 0x45de00
mov dl, byte [ebp + 0xb]
mov eax, dword [ebp - 0x1c]
add eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, 0x40
ja 0x45de00
mov ebx, dword [ebp - 0x14]
test dl, 0x20
je 0x45da57
mov ecx, ebx
call fcn.0045cbd0
mov ecx, dword [ebx + 4]
mov edx, eax
sub ecx, dword [ebx + 8]
cmp edx, ecx
ja 0x45de05
cmp esi, 0x21
jne 0x45da29
test edi, edi
jne 0x45da29
cmp edx, 1
jne 0x45da54
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 0x45da54
mov byte [ecx + 0x44], al
jmp 0x45da54
cmp esi, 0x30101
jne 0x45da54
test edi, edi
jne 0x45da54
cmp edx, 5
jne 0x45da54
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 0x45da54
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 0x45d880
mov esi, dword [ebp - 0x1c]
cmp ecx, 1
jne 0x45da83
cmp esi, ecx
jne 0x45da83
mov dword [ebp - 0x38], 0
mov edi, ecx
jmp 0x45dbfe
lea eax, [ecx - 1]
cmp esi, eax
jb 0x45de00
mov dword [ebp - 0x6c], 0
cmp esi, dword [ebp - 0x68]
jbe 0x45dac9
push dword [ebp - 0x70]
call fcn.0048d8c3
add esp, 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
push esi
call fcn.0048d929
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 4
mov dword [ebp - 0x70], edx
mov dword [ebp - 0x68], esi
jmp 0x45dacc
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x45daea
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 0x45db27
push dword [ebp - 0x64]
call fcn.0048d8c3
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x10]
call fcn.0048d929
mov ecx, dword [ebp - 0x10]
mov edx, eax
add esp, 4
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], ecx
jmp 0x45db2a
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x45db46
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 0x45dba1
nop
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.0045cbd0
cmp eax, dword [ebp - 0x1c]
jae 0x45de00
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x45de00
mov byte [ecx + eax], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.0045cbd0
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jae 0x45de00
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
jne 0x45de00
inc esi
mov byte [edx + eax], 1
cmp esi, edi
jb 0x45db50
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 1]
sub edi, eax
cmp edi, 1
je 0x45dbdd
xor esi, esi
test edi, edi
je 0x45dbdd
mov ecx, ebx
call fcn.0045cbd0
cmp eax, dword [ebp - 0x1c]
jae 0x45de00
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x45de00
inc esi
mov byte [ecx + eax], 1
cmp esi, edi
jb 0x45dbb4
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
je 0x45dbf6
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
je 0x45dbf3
inc eax
cmp eax, ecx
jb 0x45dbe6
jmp 0x45dbf6
mov dword [ebp - 0x38], eax
cmp eax, ecx
je 0x45de00
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x20]
mov eax, dword [edx + 0x2c]
mov dword [ebx + eax], esi
add esi, ecx
mov eax, dword [edx + 0x30]
mov ecx, ebx
mov edx, dword [ebp - 0x3c]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], esi
mov esi, dword [ebp - 0x28]
mov dword [ecx + eax], edx
add edx, edi
mov edi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov eax, dword [edi + 0x34]
mov byte [eax + esi], cl
inc esi
mov dword [ebp - 0x28], esi
cmp esi, dword [ebp - 0x30]
jb 0x45d830
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x38]
mov eax, dword [edi + 0x2c]
mov esi, dword [ebx + 8]
mov ecx, dword [ebp - 0x28]
sub esi, dword [ebp - 0x2c]
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 - 0x2c]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov dword [edx + ecx*4], eax
cmp esi, dword [edi + 0x40]
je 0x45dcb1
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x45dc97
push eax
call fcn.0048d8c3
add esp, 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test esi, esi
je 0x45dcc4
push esi
call fcn.0048d929
add esp, 4
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
test esi, esi
je 0x45dcc4
push esi
push dword [ebp - 0x2c]
push dword [edi + 0x3c]
call fcn.004a5400
add esp, 0xc
push dword [ebp - 0x64]
call fcn.0048d8c3
add esp, 4
push dword [ebp - 0x70]
call fcn.0048d8c3
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x54], 0
je 0x45dd1b
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x45dcf9
mov byte [edx + 0x3c], 1
add dword [edx + 4], 0xffffffff
mov eax, dword [edx + 4]
je 0x45dd1b
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 0x45dd1b
mov eax, dword [edx + eax*4 + 0x10]
add dword [ecx + 8], eax
mov ecx, dword [ebx + 0x38]
call fcn.0045cae0
cmp eax, 0xc
jne 0x45dd30
test edx, edx
je 0x45dd51
nop dword [eax]
or eax, edx
je 0x45ddfb
mov ecx, dword [ebx + 0x38]
call fcn.0045caa0
mov ecx, dword [ebx + 0x38]
call fcn.0045cae0
cmp eax, 0xc
jne 0x45dd30
test edx, edx
jne 0x45dd30
push dword [edi + 0x28]
call fcn.0048d8c3
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.0048d929
xor esi, esi
mov dword [edi + 0x28], eax
add esp, 4
cmp dword [ebp - 0x20], esi
jbe 0x45dda8
nop dword [eax]
mov ecx, dword [ebx + 0x38]
call fcn.0045cae0
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 0x45dd90
mov ecx, dword [ebx + 0x38]
call fcn.0045cae0
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x45dde7
cmp esi, 0xa
jne 0x45ddd1
test edx, edx
jne 0x45ddd1
lea eax, [edi + 0xc]
mov ecx, ebx
push eax
push dword [ebp - 0x30]
call fcn.0045d610
jmp 0x45ddd9
mov ecx, dword [ebx + 0x38]
call fcn.0045caa0
mov ecx, dword [ebx + 0x38]
call fcn.0045cae0
mov esi, eax
or eax, edx
jne 0x45ddb8
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.0045c8f0
call fcn.0045c900
call fcn.0045c8f0
int3