Function at 0x4485d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x58662f
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x5ea2c4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
mov eax, dword [0x5ea2c4]
xor eax, esp
push eax
lea eax, [esp + 0x74]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [edi + 0xbc]
mov dword [esp + 0x10], edi
mov dword [edi], ebx
mov dword [edi + 4], 0xff
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov byte [edi + 0x54], bl
mov dword [edi + 0x70], ebx
mov byte [edi + 0xb4], bl
mov byte [edi + 0xb5], bl
mov dword [edi + 0xb8], ebx
call fcn.00464130
push 0x3b8
lea eax, [edi + 0x1a8]
push ebx
mov dword [esp + 0x84], ebx
push eax
mov byte [edi + 0x188], bl
call fcn.0052e300
mov byte [edi + 0x194], bl
mov byte [edi + 0x195], bl
mov byte [edi + 0x196], bl
mov dword [edi + 0x198], ebx
mov dword [edi + 0x1a4], ebx
mov dword [edi + 0x19c], 0x1c
lea eax, [edi + 0x5d0]
mov dword [edi + 0x560], ebx
mov dword [edi + 0x564], ebx
mov dword [edi + 0x568], ebx
mov dword [edi + 0x56c], ebx
mov dword [edi + 0x570], ebx
mov dword [edi + 0x5bc], 0x1000
mov byte [edi + 0x5c0], 1
mov byte [edi + 0x5c1], bl
mov byte [edi + 0x5c2], bl
mov byte [edi + 0x5c3], bl
mov byte [edi + 0x5c4], 1
mov byte [edi + 0x5c5], bl
mov byte [edi + 0x5c6], bl
mov byte [edi + 0x5c7], bl
mov byte [edi + 0x5c8], bl
mov byte [edi + 0x5c9], bl
xor ecx, ecx
mov dword [edi + 0x5cc], eax
mov word [eax], cx
mov dword [edi + 0x650], ebx
mov dword [edi + 0x654], ebx
mov dword [edi + 0x658], ebx
mov dword [edi + 0x65c], ebx
mov dword [edi + 0x660], ebx
mov dword [edi + 0x664], ebx
mov dword [edi + 0x668], ebx
mov dword [edi + 0x66c], ebx
mov dword [edi + 0x670], ebx
mov dword [edi + 0x674], ebx
mov dword [edi + 0x678], ebx
mov dword [edi + 0x67c], ebx
mov dword [edi + 0x680], ebx
mov dword [edi + 0x684], ebx
mov dword [edi + 0x688], ebx
mov dword [edi + 0x68c], ebx
mov dword [edi + 0x690], ebx
mov dword [edi + 0x694], ebx
mov dword [edi + 0x698], ebx
mov dword [edi + 0x69c], ebx
mov dword [edi + 0x6a0], ebx
mov dword [edi + 0x6a4], ebx
mov dword [edi + 0x6a8], ebx
mov dword [edi + 0x6ac], ebx
mov ebp, 0x53
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0x88], 0xa
mov dword [edi + 0x6b8], ebx
mov dword [edi + 0x6b4], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [edi + 0x6b0], eax
call fcn.0052e300
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0x98], 0xb
mov dword [edi + 0x6c4], ebx
mov dword [edi + 0x6c0], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [edi + 0x6bc], eax
call fcn.0052e300
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0xa8], 0xc
lea esi, [edi + 0x6c8]
mov dword [esi + 8], ebx
mov dword [esi + 4], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [esi], eax
call fcn.0052e300
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0xb8], 0xd
mov dword [edi + 0x6d4], ebx
mov dword [edi + 0x6e0], ebx
mov dword [edi + 0x6dc], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
add esp, 0x40
push 0x14c
push ebx
push eax
mov dword [edi + 0x6d8], eax
call fcn.0052e300
mov byte [esp + 0x88], 0xe
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov dword [edi + 0x6ec], ebx
mov dword [edi + 0x6e8], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [edi + 0x6e4], eax
call fcn.0052e300
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0x98], 0xf
mov dword [edi + 0x6f8], ebx
mov dword [edi + 0x6f4], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [edi + 0x6f0], eax
call fcn.0052e300
lea eax, [edi + 0x71c]
mov dword [edi + 0x6fc], ebx
xor ecx, ecx
mov dword [edi + 0x718], eax
mov word [eax], cx
mov dword [edi + 0x7e0], ebx
mov dword [edi + 0x7e4], ebx
mov dword [edi + 0x7e8], ebx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0xa8], 0x12
mov dword [edi + 0x7f4], ebx
mov dword [edi + 0x7f0], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
push 0x14c
push ebx
push eax
mov dword [edi + 0x7ec], eax
call fcn.0052e300
xor ecx, ecx
mov eax, ebp
mov edx, 4
mul edx
seto cl
mov byte [esp + 0xb8], 0x13
mov dword [edi + 0x800], ebx
mov dword [edi + 0x7fc], ebp
neg ecx
or ecx, eax
push ecx
call fcn.0052680d
add esp, 0x40
push 0x14c
push ebx
push eax
mov dword [edi + 0x7f8], eax
call fcn.0052e300
add esp, 0xc
mov dword [edi + 0x804], ebx
mov dword [edi + 0x808], ebx
mov dword [edi + 0x80c], ebx
mov byte [esp + 0x7c], 0x15
mov dword [edi + 0x6d4], esi
mov dword [edi + 0x700], 0xffa7a6aa
mov dword [edi + 0x704], 0xff000001
mov dword [edi + 0x708], 0xff0000ff
mov dword [edi + 0x70c], 0xffd3215f
mov dword [edi + 0x710], 0xffbae4ff
mov eax, dword [edi + 0x5cc]
lea esi, [edi + 0x5d0]
cmp eax, esi
je 0x448a23
push eax
call fcn.005282dc
add esp, 4
push 0x58
lea ecx, [esp + 0x1c]
xor eax, eax
push ebx
push ecx
mov dword [edi + 0x5cc], esi
mov word [esi], ax
mov dword [esp + 0x20], ebx
call fcn.0052e300
add esp, 0xc
lea edx, [esp + 0x14]
push edx
push 0x5c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
mov esi, dword [0x5ecc68]
mov eax, esi
mov byte [esp + 0x2b], 1
lea edx, [eax + 2]
jmp 0x448a70
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x448a70
sub eax, edx
sar eax, 1
cmp eax, ebx
jle 0x448a93
push esi
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.00528d7e
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
or ebp, 0xffffffff
push ebp
lea edx, [esp + 0x34]
push edx
lea esi, [edi + 0x718]
mov dword [edi + 0x714], eax
call fcn.004671e0
mov eax, dword [esp + 0x14]
neg eax
cmp dword [esp + 0x24], 0x2bc
push 0x3c
setge cl
cmp byte [esp + 0x2d], 1
mov byte [edi + 0x7a0], cl
sete dl
cmp byte [esp + 0x2c], 1
mov dword [edi + 0x79c], eax
lea ecx, [edi + 0x7a4]
sete al
push ebx
push ecx
mov byte [edi + 0x7a1], dl
mov byte [edi + 0x7a2], al
call fcn.0052e300
add esp, 0xc
cmp dword [0x5efd1c], ebx
jne 0x448b2f
push 0xdc
push 1
push ebx
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [0x5efd1c], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x10
call fcn.0052747b
add esp, 4
cmp eax, ebx
je 0x448b4e
mov dword [eax], 1
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
jmp 0x448b50
xor eax, eax
push ebx
push eax
lea edx, [edi + 0x18c]
push edx
mov dword [edi + 0x190], eax
call sub.gdiplus.dll_GdiplusStartup
mov dword [edi + 0x57c], ebx
mov dword [edi + 0x580], ebx
mov dword [edi + 0x584], ebx
mov dword [edi + 0x588], ebx
mov dword [edi + 0x58c], ebx
mov dword [edi + 0x590], ebx
mov dword [edi + 0x5a8], ebx
mov dword [edi + 0x5a4], ebx
xor eax, eax
mov dword [edi + 0x594], eax
mov dword [edi + 0x598], eax
mov dword [edi + 0x59c], eax
mov dword [edi + 0x5a0], eax
mov dword [edi + 0x5ac], eax
mov dword [edi + 0x5b0], eax
mov dword [edi + 0x5b4], eax
mov dword [edi + 0x5b8], eax
mov dword [edi + 0xa4], eax
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], eax
mov dword [edi + 0x24], eax
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], eax
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], ebx
mov dword [edi + 0x4c], ebx
lea eax, [edi + 0x58]
mov dword [edi + 0x50], ebx
push eax
mov dword [edi + 0x578], ebp
mov dword [edi + 0x574], ebp
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, edi
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.005273c3
add esp, 0x70
ret