Function at 0x428120
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x482513
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4a4b70]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4b70]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xdc]
mov eax, dword [esp + 0xe0]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
xor ebx, ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0xd4], ebx
call fcn.0043d033
push ebx
push ebx
push ebx
push str.DISPLAY
mov byte [esp + 0xe4], 1
call dword [sym.imp.GDI32.dll_CreateICW]
push eax
lea ecx, [esp + 0x1c]
call fcn.0043d665
mov ecx, dword [0x4a9750]
xor eax, eax
cmp ecx, ebx
setne al
cmp eax, ebx
jne 0x4281c6
push 0x80004005
call fcn.00402a60
mov edi, dword [esp + 0xe4]
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4281f6
cmp dx, bx
je 0x4281f2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4281f6
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x4281d0
xor eax, eax
jmp 0x4281fb
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
setne al
cmp al, bl
mov esi, 0x64
jne 0x428212
cmp word [0x4a94e8], si
je 0x428285
push 0x5c
lea eax, [esp + 0x68]
push ebx
push eax
call fcn.0046a020
lea edx, [esp + 0x8c]
add esp, 0xc
mov eax, edi
sub edx, edi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x428230
mov ecx, 0x4a629c
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov byte [esp + 0x7b], 1
call fcn.0043d97f
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, 0x4a629c
call fcn.0043d92c
lea edx, [esp + 0xe4]
push edx
mov ecx, 0x4a9750
call fcn.00402de0
mov word [0x4a94e8], si
push 0x4a629c
lea ecx, [esp + 0x1c]
call fcn.0043da25
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_GetFontLanguageInfo]
mov dword [esp + 0x3c], eax
mov eax, ebp
mov dword [esp + 0x40], 0x24
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4282d3
sub eax, edx
sar eax, 1
mov esi, eax
xor ecx, ecx
lea ebp, [esi + esi*2 + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00430826
mov edi, eax
lea eax, [esi + esi*2]
lea ecx, [eax + eax + 2]
push ecx
push ebx
push edi
call fcn.0046a020
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
add esp, 0x10
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push ebx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x34]
push esi
push ecx
push edx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x74], ebp
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
push edi
mov esi, eax
call fcn.0043082b
add esp, 4
cmp esi, ebx
jne 0x4283a5
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], bl
call fcn.0043d6df
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4283a1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4283ff
mov ecx, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0043da25
lea ecx, [esp + 0x18]
call fcn.0043d6c9
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], bl
call fcn.0043d6df
mov dword [esp + 0xd4], 0xffffffff
mov eax, dword [esp + 0xe4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4283fa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00467f41
add esp, 0xc4
ret