Function at 0x4bd960
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x51ba08
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56a260]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x37c], 0
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x40]
mov dword [esi + 0x36c], ebp
mov dword [esi + 0x368], edi
je 0x4bdbe5
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi + 0x380]
mov eax, dword [edx - 0xc]
lea ecx, [esi + 0x380]
add eax, 0xffffffff
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004bce30
mov dword [esp + 0x38], 0
call fcn.004daeb7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bd9f8
push 0x80004005
call fcn.00402980
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 1
call fcn.004daeb7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4bda27
push 0x80004005
call fcn.00402980
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
test edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [esp + 0x38], 2
jne 0x4bda65
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x28]
add ecx, ecx
sub edx, ecx
sub edx, dword [esp + 0x20]
lea eax, [esp + 0x40]
sub edx, 1
push edx
push str._width_d
push eax
jmp 0x4bda8d
mov eax, dword [esi + 0x94]
test eax, eax
jge 0x4bda7c
push edi
push str._width_d__
lea ecx, [esp + 0x48]
push ecx
jmp 0x4bda8d
push 0x64
push edi
push eax
call ebx
push eax
push str._width_d
lea edx, [esp + 0x48]
push edx
call fcn.0041b370
add esp, 0xc
test ebp, ebp
jne 0x4bdaab
mov eax, dword [esi + 0x78]
mov ecx, dword [esp + 0x2c]
add eax, eax
sub ecx, eax
sub ecx, dword [esp + 0x24]
push ecx
jmp 0x4bdace
cmp dword [esi + 0x94], 0
jge 0x4bdac1
push ebp
push str._height_d__
lea eax, [esp + 0x4c]
push eax
jmp 0x4bdad8
mov ecx, dword [esi + 0x98]
push 0x64
push ebp
push ecx
call ebx
push eax
push 0x53a1d8
lea edx, [esp + 0x4c]
push edx
call fcn.0041b370
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.004bcff0
push 0x53a1d4
push eax
lea eax, [esp + 0x2c]
mov bl, 3
push eax
mov byte [esp + 0x50], bl
call fcn.004bd0b0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 4
call fcn.004bcf40
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdb46
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x38], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdb6b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
push edi
mov ecx, esi
call fcn.004bd8d0
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdb9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
mov byte [esp + 0x38], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdbc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bdbe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 8