Function at 0x415420
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456c5d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x46a008]
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.004152f0
mov ecx, dword [ebx + 0x38]
call fcn.00414850
mov esi, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x54], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0
push ebx
call fcn.00414670
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 - 0x28], ecx
call fcn.0044824b
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.00448381
add esp, 4
mov dword [edi + 0x30], eax
push dword [edi + 0x34]
call fcn.0044824b
add esp, 4
mov dword [edi + 0x34], 0
push dword [ebp - 0x2c]
call fcn.00448381
add esp, 4
mov dword [edi + 0x34], eax
push dword [edi + 0x38]
call fcn.0044824b
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.00448381
add esp, 4
mov dword [edi + 0x38], eax
push dword [edi + 0x2c]
call fcn.0044824b
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.00448381
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 edx, edx
mov byte [ebp - 4], 2
mov ebx, dword [ebx + 0x38]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x2c], edx
jbe 0x4159a3
nop
mov eax, dword [ebp - 0x18]
xor esi, esi
shl edx, 2
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x38]
mov dword [ebp - 0x1c], esi
mov ecx, dword [eax + 8]
sub ecx, dword [ebp - 0x28]
add ecx, dword [eax]
mov eax, dword [edi + 0x38]
mov dword [edx + eax], ecx
mov ecx, ebx
call fcn.00414850
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x415b72
cmp ecx, 0x40
ja 0x415b72
mov dword [ebp - 0x38], esi
test ecx, ecx
je 0x4157c7
nop
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
cmp ecx, eax
jae 0x415b53
mov edx, dword [ebx]
mov bl, byte [edx + ecx]
inc ecx
mov byte [ebp + 0xb], bl
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x44], ecx
mov dword [ebx + 8], ecx
mov bl, byte [ebp + 0xb]
test bl, 0xc0
jne 0x415b72
movzx ebx, bl
and ebx, 0xf
cmp ebx, 8
ja 0x415b72
sub eax, ecx
cmp ebx, eax
ja 0x415b53
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 - 0x24], eax
test ebx, ebx
je 0x415658
nop
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 - 0x24]
cmp ecx, ebx
jb 0x415640
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp + 0xc]
add eax, ebx
mov dword [ecx + 8], eax
cmp dword [edx + 0x50], 0x80
jae 0x4156fa
mov ebx, dword [edx + 0x50]
lea eax, [edx + 0x4c]
xor edx, edx
mov dword [ebp - 0x4c], eax
test ebx, ebx
je 0x4156c1
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 - 0x44], ecx
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + eax*8]
mov ecx, dword [ebp - 0x44]
jne 0x4156a5
cmp edi, ecx
je 0x4156f7
cmp edi, ecx
ja 0x4156b7
jb 0x4156b3
mov ecx, dword [ebp - 0x24]
cmp esi, dword [ecx + eax*8]
jae 0x4156b7
mov ebx, eax
jmp 0x4156ba
lea edx, [eax + 1]
cmp edx, ebx
jne 0x415687
mov eax, dword [ebp - 0x4c]
mov ecx, eax
call fcn.00417c60
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x4c]
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.00449190
mov edx, dword [ebp + 0xc]
add esp, 0xc
mov eax, dword [edx + 0x4c]
mov dword [eax + ebx*8], esi
mov dword [eax + ebx*8 + 4], edi
inc dword [edx + 0x50]
mov ecx, dword [ebp - 0x14]
mov dl, byte [ebp + 0xb]
mov ebx, 1
test dl, 0x10
je 0x41572b
call fcn.00414850
mov ebx, eax
cmp ebx, 0x40
ja 0x415b72
mov ecx, dword [ebp - 0x14]
call fcn.00414850
cmp eax, 1
jne 0x415b72
mov dl, byte [ebp + 0xb]
mov eax, dword [ebp - 0x1c]
add eax, ebx
mov dword [ebp - 0x1c], eax
cmp eax, 0x40
ja 0x415b72
mov ebx, dword [ebp - 0x14]
test dl, 0x20
je 0x4157b2
mov ecx, ebx
call fcn.00414850
mov ecx, dword [ebx + 4]
mov edx, eax
sub ecx, dword [ebx + 8]
cmp edx, ecx
ja 0x415b53
cmp esi, 0x21
jne 0x415784
test edi, edi
jne 0x415784
cmp edx, 1
jne 0x4157af
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 0x4157af
mov byte [ecx + 0x44], al
jmp 0x4157af
cmp esi, 0x30101
jne 0x4157af
test edi, edi
jne 0x4157af
cmp edx, 5
jne 0x4157af
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 0x4157af
mov dword [ecx + 0x48], eax
add dword [ebx + 8], edx
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0x38], edx
cmp edx, ecx
jb 0x4155e0
mov esi, dword [ebp - 0x1c]
cmp ecx, 1
jne 0x4157de
cmp esi, ecx
jne 0x4157de
mov dword [ebp - 0x30], 0
mov edi, ecx
jmp 0x41594f
lea edi, [ecx - 1]
cmp esi, edi
jb 0x415b72
mov dword [ebp - 0x6c], 0
cmp esi, dword [ebp - 0x68]
jbe 0x41582e
cmp esi, 0x7fffffff
ja 0x415b58
push dword [ebp - 0x70]
call fcn.0044824b
add esp, 4
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x68], 0
push esi
call fcn.00448381
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], esi
jmp 0x415831
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], esi
test esi, esi
je 0x415847
push esi
push 0
push eax
call fcn.00449710
mov ecx, dword [ebp - 0x10]
add esp, 0xc
mov dword [ebp - 0x60], 0
cmp ecx, dword [ebp - 0x5c]
jbe 0x415882
push dword [ebp - 0x64]
call fcn.0044824b
add esp, 4
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
push dword [ebp - 0x10]
call fcn.00448381
mov ecx, dword [ebp - 0x10]
add esp, 4
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x5c], ecx
jmp 0x415885
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x60], ecx
test ecx, ecx
je 0x41589b
push ecx
push 0
push eax
call fcn.00449710
mov ecx, dword [ebp - 0x10]
add esp, 0xc
xor esi, esi
test edi, edi
je 0x4158f2
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.00414850
cmp eax, dword [ebp - 0x1c]
jae 0x415b72
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x415b72
mov byte [ecx + eax], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x38]
call fcn.00414850
mov ecx, dword [ebp - 0x10]
cmp eax, ecx
jae 0x415b72
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
jne 0x415b72
inc esi
mov byte [edx + eax], 1
cmp esi, edi
jb 0x4158a1
mov edi, dword [ebp - 0x1c]
lea eax, [ecx - 1]
sub edi, eax
cmp edi, 1
je 0x41592e
xor esi, esi
test edi, edi
je 0x41592e
mov ecx, ebx
call fcn.00414850
cmp eax, dword [ebp - 0x1c]
jae 0x415b72
mov ecx, dword [ebp - 0x70]
cmp byte [ecx + eax], 0
jne 0x415b72
inc esi
mov byte [ecx + eax], 1
cmp esi, edi
jb 0x415905
mov ecx, dword [ebp - 0x10]
xor eax, eax
test ecx, ecx
je 0x41594f
mov edx, dword [ebp - 0x64]
cmp byte [edx + eax], 0
je 0x415944
inc eax
cmp eax, ecx
jb 0x415937
jmp 0x415947
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x415b72
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x3c]
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, dword [ebp - 0x34]
mov dword [ebp - 0x20], esi
mov esi, ebx
mov ebx, dword [ebp - 0x14]
mov dword [esi + eax], ecx
mov eax, dword [edx]
sub eax, ecx
cmp edi, eax
ja 0x415b6d
add ecx, edi
mov edi, edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
mov eax, dword [edi + 0x34]
mov byte [edx + eax], cl
inc edx
mov dword [ebp - 0x40], edx
cmp edx, dword [ebp - 0x2c]
jb 0x415590
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + 0x38]
mov esi, dword [ebx + 8]
mov eax, dword [edi + 0x2c]
sub esi, dword [ebp - 0x28]
add esi, dword [ebx]
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x18]
mov dword [eax + edx*4], ecx
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 0x34]
mov dword [eax + edx*4], ecx
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 8]
sub ecx, dword [ebp - 0x28]
add ecx, dword [eax]
mov eax, dword [edi + 0x38]
mov dword [eax + edx*4], ecx
cmp esi, dword [edi + 0x40]
je 0x415a09
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x4159ed
push eax
call fcn.0044824b
add esp, 4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
test esi, esi
je 0x415a1c
push esi
call fcn.00448381
add esp, 4
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], esi
jmp 0x415a0d
test esi, esi
je 0x415a1c
push esi
push dword [ebp - 0x28]
push dword [edi + 0x3c]
call fcn.00449190
add esp, 0xc
push dword [ebp - 0x64]
call fcn.0044824b
add esp, 4
push dword [ebp - 0x70]
call fcn.0044824b
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0x54], 0
je 0x415a73
mov edx, dword [ebp - 0x58]
mov eax, dword [edx + 0x38]
mov ecx, dword [eax + 4]
sub ecx, dword [eax + 8]
je 0x415a51
mov byte [edx + 0x3c], 1
add dword [edx + 4], 0xffffffff
mov eax, dword [edx + 4]
je 0x415a73
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 0x415a73
mov eax, dword [edx + eax*4 + 0x10]
add dword [ecx + 8], eax
mov ecx, dword [ebx + 0x38]
call fcn.00414760
cmp eax, 0xc
jne 0x415a84
test edx, edx
je 0x415aa5
or eax, edx
je 0x415b6d
mov ecx, dword [ebx + 0x38]
call fcn.00414720
mov ecx, dword [ebx + 0x38]
call fcn.00414760
cmp eax, 0xc
jne 0x415a84
test edx, edx
jne 0x415a84
push dword [edi + 0x28]
call fcn.0044824b
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.00448381
xor esi, esi
mov dword [edi + 0x28], eax
add esp, 4
cmp dword [ebp - 0x20], esi
jbe 0x415af8
nop dword [eax]
mov ecx, dword [ebx + 0x38]
call fcn.00414760
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 0x415ae0
mov ecx, dword [ebx + 0x38]
call fcn.00414760
mov esi, eax
mov ecx, esi
or ecx, edx
je 0x415b3f
cmp esi, 0xa
jne 0x415b29
test edx, edx
jne 0x415b29
lea esi, [edi + 0xc]
mov ecx, ebx
push esi
push dword [ebp - 0x2c]
call fcn.00416400
push esi
mov ecx, ebx
call fcn.00415340
jmp 0x415b31
mov ecx, dword [ebx + 0x38]
call fcn.00414720
mov ecx, dword [ebx + 0x38]
call fcn.00414760
mov esi, eax
or eax, edx
jne 0x415b08
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.00414560
push 0x4685e0
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x7e5
push eax
call fcn.0044b1e1
call fcn.00414560
call fcn.00414570
int3