Function at 0x4467a0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50877a
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x551644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
xor ebx, ebx
mov dword [ebp - 0x40], edi
cmp esi, dword [edi + 0x30]
je 0x446810
lea ebx, [ebx]
mov edx, dword [esi]
cmp edx, ebx
jne 0x4467ea
xor ecx, ecx
jmp 0x446800
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x4467f6
mov eax, dword [eax + 0xc]
jmp 0x4467f8
xor eax, eax
mov ecx, dword [esi + 4]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov edx, dword [eax + 0x44]
push ebx
call edx
add esi, 0xc
cmp esi, dword [edi + 0x30]
jne 0x4467e0
mov ecx, edi
call fcn.004459f0
mov ecx, dword [edi + 0x128]
mov esi, dword [edi + 0x124]
cmp esi, ecx
je 0x44684b
mov eax, ecx
sub eax, ecx
sar eax, 2
add eax, eax
add eax, eax
push eax
push ecx
push esi
mov dword [ebp - 0x34], eax
call fcn.004f5d30
mov eax, dword [ebp - 0x34]
add esp, 0xc
add eax, esi
mov dword [edi + 0x128], eax
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x58], vtable.CCriticalLock.0
mov dword [ebp - 0x54], ecx
call eax
mov dword [ebp - 0x50], 1
mov dword [ebp - 4], ebx
cmp dword [0x552af4], ebx
jne 0x4468e7
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 1
cmp esi, ebx
je 0x4468df
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4468e1
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov dword [ebp - 4], 0xffffffff
call eax
mov esi, dword [0x552af4]
mov ecx, dword [esi + 0x30]
sub ecx, dword [esi + 0x2c]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 2
jbe 0x446949
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x446949
mov edx, dword [eax + 0x20]
cmp edx, ebx
je 0x44693d
mov eax, dword [eax + 0x1c]
mov edx, dword [edx + 0xc]
imul eax, edx
add eax, ecx
jmp 0x44694b
mov eax, dword [eax + 0x1c]
xor edx, edx
imul eax, edx
add eax, ecx
jmp 0x44694b
xor eax, eax
mov edx, dword [eax + 4]
mov eax, dword [edx*4 + 0x545a40]
push eax
mov ecx, edi
call fcn.00445c10
mov ecx, edi
call fcn.00445e00
mov eax, dword [edi + 0x124]
mov edx, dword [edi]
mov edx, dword [edx + 0x98]
mov dword [edi + 0xf4], 1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x64]
push ecx
mov ecx, edi
call edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 4], 2
cmp eax, ebx
jne 0x446999
xor ecx, ecx
jmp 0x4469ad
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
je 0x4469a5
mov ecx, dword [ecx + 0xc]
jmp 0x4469a7
xor ecx, ecx
imul ecx, dword [ebp - 0x60]
add ecx, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
lea edx, [ebp - 0x20]
push edx
call eax
push eax
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + 0x134]
mov esi, dword [eax + 0x13c]
mov eax, dword [eax + 0x138]
mov ecx, dword [ebp - 0x30]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [0x545810]
sub edi, dword [0x54580c]
mov dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
add ecx, dword [0x545804]
mov eax, 0x55555556
imul esi
mov dword [ebp - 0x20], ecx
mov ecx, dword [0x545808]
add dword [ebp - 0x1c], ecx
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [ecx + ecx*2]
sub esi, edx
dec esi
je 0x446a31
dec esi
jne 0x446a40
mov eax, dword [ebp - 0x20]
sub eax, edi
jmp 0x446a3d
mov eax, edi
sub eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [ebp - 0x3c], eax
dec ecx
je 0x446a51
dec ecx
jne 0x446a61
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x14]
add dword [ebp - 0x38], ecx
jmp 0x446a61
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
neg eax
add dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
sub ecx, dword [ebp - 0x1c]
mov edx, eax
sub edx, dword [ebp - 0x20]
add dword [ebp - 0x14], ecx
add edi, edx
mov edx, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x54], eax
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x4c], vtable.CCriticalLock.0
mov dword [ebp - 0x48], ecx
call eax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 3
cmp dword [0x552af4], ebx
jne 0x446b14
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 4
cmp esi, ebx
je 0x446b0c
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x446b0e
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 2
call eax
mov ecx, dword [0x552af4]
cmp edi, dword [ecx + 0x18]
jle 0x446b4e
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x18]
sub eax, edi
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x38]
mov edx, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x50], eax
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x4c], vtable.CCriticalLock.0
mov dword [ebp - 0x48], 0x5452ec
call eax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 5
cmp dword [0x552af4], ebx
jne 0x446bf5
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x446bed
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x446bef
xor esi, esi
mov dword [0x552af4], esi
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 2
call eax
mov ecx, dword [0x552af4]
mov esi, dword [ebp - 0x14]
cmp esi, dword [ecx + 0x1c]
jle 0x446c32
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x1c]
sub eax, esi
add eax, dword [ebp - 0x38]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp ecx, ebx
jne 0x446c4c
xor eax, eax
jmp 0x446c5d
cmp edx, ebx
je 0x446c55
mov eax, dword [edx + 0xc]
jmp 0x446c57
xor eax, eax
imul eax, dword [ebp - 0x60]
add eax, ecx
mov eax, dword [eax + 0x64]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
cmp eax, ebx
jle 0x446f84
cmp ecx, ebx
jne 0x446c79
xor eax, eax
jmp 0x446c8a
cmp edx, ebx
je 0x446c82
mov eax, dword [edx + 0xc]
jmp 0x446c84
xor eax, eax
imul eax, dword [ebp - 0x60]
add eax, ecx
mov edi, dword [eax + 0x60]
mov eax, dword [ebp - 0x38]
mov edi, dword [edi + eax*8 + 4]
cmp edi, 0xffffffff
je 0x446d0f
mov edx, 1
cmp eax, ebx
jne 0x446ca6
xor edx, edx
jmp 0x446cb3
mov ecx, dword [ebp - 0x34]
dec ecx
cmp eax, ecx
jne 0x446cb3
mov edx, 2
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
dec edx
cmp edx, 1
ja 0x446cd6
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xcc]
sub eax, dword [edx]
add eax, dword [0x545808]
add eax, dword [ebp - 0x50]
mov edx, dword [esi + 0xb4]
sub edx, dword [0x545814]
push eax
sub edx, dword [0x54580c]
lea eax, [ebp - 0x30]
add ecx, edx
push ecx
push edi
push eax
mov ecx, esi
call fcn.00435440
push eax
lea ecx, [ebp - 0x20]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.USER32.dll_UnionRect]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp eax, dword [ebp - 0x34]
jl 0x446c71
cmp dword [ebp - 0x20], ebx
jne 0x446d34
cmp dword [ebp - 0x18], ebx
jne 0x446d34
cmp dword [ebp - 0x1c], ebx
jne 0x446d34
cmp dword [ebp - 0x14], ebx
je 0x446f84
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax]
mov ecx, 0x5452ec
mov dword [ebp - 0x4c], vtable.CCriticalLock.0
mov dword [ebp - 0x48], ecx
call edx
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 7
cmp dword [0x552af4], ebx
jne 0x446dd1
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 8
cmp esi, ebx
je 0x446dc6
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x446dc8
xor esi, esi
mov dword [0x552af4], esi
mov esi, dword [ebp - 0x40]
mov eax, dword [vtable.CCriticalSection.0]
mov edx, dword [eax + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 2
call edx
mov eax, dword [0x552af4]
mov eax, dword [eax + 0x18]
cmp dword [ebp - 0x18], eax
jle 0x446df7
mov dword [esi + 0xf4], ebx
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x4c], vtable.CCriticalLock.0
mov dword [ebp - 0x48], 0x5452ec
call eax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 9
cmp dword [0x552af4], ebx
jne 0x446e9b
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xa
cmp esi, ebx
je 0x446e90
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x446e92
xor esi, esi
mov dword [0x552af4], esi
mov esi, dword [ebp - 0x40]
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 2
call eax
mov ecx, dword [0x552af4]
mov eax, dword [ecx + 0x1c]
cmp dword [ebp - 0x14], eax
jle 0x446f84
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ecx, 0x5452ec
mov dword [ebp - 0x4c], vtable.CCriticalLock.0
mov dword [ebp - 0x48], ecx
call eax
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 0xb
cmp dword [0x552af4], ebx
jne 0x446f61
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x34], esi
mov byte [ebp - 4], 0xc
cmp esi, ebx
je 0x446f56
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x446f58
xor esi, esi
mov dword [0x552af4], esi
mov esi, dword [ebp - 0x40]
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx + 4]
mov ecx, 0x5452ec
mov byte [ebp - 4], 2
call eax
mov ecx, dword [0x552af4]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ebp - 0x14]
add dword [ebp - 0x50], eax
mov edx, dword [esi + 0xf4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x54]
push edx
mov edx, dword [esi + 0x124]
push eax
mov eax, dword [edx]
push ecx
push eax
mov ecx, esi
call fcn.00435610
mov ecx, dword [esi + 0x124]
mov edx, dword [ecx]
push edx
mov ecx, esi
call fcn.004358b0
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x446fe6
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x446fe6
cmp byte [ecx + 8], bl
je 0x446fd6
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x5c]
cmp ecx, ebx
je 0x446fe6
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f4f8b
mov esp, ebp
pop ebp
ret