Function at 0x4707f0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x512a92
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
call fcn.004e0772
mov dword [esp + 0x9c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], vtable.CFont.0
mov eax, dword [0x5580c0]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0xa4]
mov byte [esp + 0x9c], 2
mov eax, dword [esi + 8]
cmp eax, ebp
je 0x47088d
mov ecx, dword [esi + 4]
mov ecx, dword [ecx]
cmp ecx, ebp
je 0x47087e
mov edx, dword [ecx]
push 1
call dword [edx + 4]
push 1
push ebp
mov ecx, esi
call fcn.004d7e03
cmp dword [esi + 8], ebp
jne 0x47086e
push 0x64
push ebp
mov ecx, esi
call fcn.004d72d5
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x4c]
call fcn.004e0829
call fcn.004f80f4
mov eax, dword [eax + 4]
add eax, 0x718
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x40]
call fcn.004e13cf
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x48]
push eax
call fcn.004e09bd
push ebp
push str.ListDiagnostic
push 0x5527ac
mov ecx, 0x55e088
mov dword [esp + 0x6c], eax
call fcn.004f837e
push 0x400
call fcn.004dda96
mov ebx, dword [esp + 0xb0]
mov dword [edi + 0x40c], ebp
mov esi, eax
add esp, 4
mov ecx, dword [ebx]
mov dword [esp + 0x44], esi
mov dword [esp + 0x2c], 1
mov edx, dword [ecx + 4]
mov ecx, dword [edx + ebx + 8]
cmp ecx, ebp
lea eax, [edx + ebx]
jne 0x470ca2
cmp dword [eax + 0x34], ebp
jge 0x47093a
add eax, 0x38
push eax
call fcn.004d1fd2
add esp, 4
mov edx, dword [ebx + 4]
push 0xa
inc edx
push 0x400
push esi
mov ecx, ebx
mov dword [ebx + 4], edx
call fcn.004d1fe8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
cmp dword [eax + 0x34], ebp
jge 0x470968
add eax, 0x38
push eax
call fcn.004d1fdd
add esp, 4
cmp dword [ebx + 8], ebp
je 0x470c8e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
cmp byte [ecx + esi], 0xd
jne 0x470989
mov byte [ecx + esi], 0
cmp dword [0x55e210], ebp
je 0x47099c
mov ecx, dword [esp + 0x18]
push ebp
push esi
call fcn.00452980
mov ecx, dword [0x5580c0]
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x9c], 3
cmp eax, ebp
je 0x470a01
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], ebp
call fcn.004dd5d6
lea ecx, [esp + 0x10]
call fcn.004d43b0
mov eax, dword [esp + 0x10]
cmp dword [eax - 8], ebp
je 0x4709ee
mov al, byte [eax]
cmp al, 0x6e
je 0x4709e0
cmp al, 0x4e
jne 0x4709ee
mov edx, dword [esp + 0x18]
mov dword [edx + 0x40c], 1
push esi
lea ecx, [esp + 0x20]
call fcn.004dd5d6
lea ecx, [esp + 0x1c]
call fcn.004d43b0
push 0x3c
call fcn.004dda96
add esp, 4
mov dword [esp + 0x58], eax
cmp eax, ebp
mov byte [esp + 0x9c], 4
je 0x470a24
mov ecx, eax
call fcn.0042a010
mov ebp, eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x9c], 3
test eax, eax
je 0x470a51
push 0x55cde0
lea ecx, [esp + 0x60]
call fcn.004dd4bb
or dword [esp + 0x14], 1
mov byte [esp + 0x9c], 5
jmp 0x470a55
lea eax, [esp + 0x1c]
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push eax
call fcn.004dd1c2
push esi
mov ecx, ebp
call fcn.0042a3b0
mov edi, eax
mov al, byte [esp + 0x14]
test al, 1
mov dword [esp + 0x9c], 3
je 0x470a92
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x5c]
and al, 0xfe
mov dword [esp + 0x14], eax
call fcn.004dd44d
test edi, edi
je 0x470d67
mov eax, dword [ebp + 0xc]
lea edi, [ebp + 0xc]
push 0x554bd8
push eax
call fcn.004c2aee
add esp, 8
test eax, eax
je 0x470d50
mov eax, dword [edi]
push 0x55497c
push eax
call fcn.004c2aee
add esp, 8
test eax, eax
je 0x470d50
mov eax, dword [ebp + 0x30]
test eax, eax
jne 0x470ade
push 0x2f
mov ecx, edi
call fcn.004d4277
mov ecx, dword [esp + 0xa4]
push ebp
mov eax, dword [ecx + 8]
push eax
call fcn.004d71f9
mov eax, dword [edi]
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x8c]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x20]
cmp eax, ecx
jle 0x470b1e
mov dword [esp + 0x20], eax
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd586
mov edi, dword [esp + 0x10]
cmp byte [edi], 0
je 0x470b4c
movsx edx, byte [edi]
push edx
call fcn.004c243a
add esp, 4
test eax, eax
je 0x470b60
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x470b34
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
add ecx, 0x274
call fcn.0042e3e0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x64]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
jle 0x470b85
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
lea ebx, [ebp + 0x14]
sub esp, 0x14
lea eax, [ecx + 0x274]
mov ecx, 5
mov esi, ebx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
call fcn.00431be0
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x74]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x34]
cmp eax, ecx
jle 0x470bd5
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
mov ecx, 5
sub esp, 0x14
mov esi, ebx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [edx + 0x274]
call fcn.00431b30
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x84]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jle 0x470c28
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x28]
lea edx, [esp + 0x6c]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x5c]
push eax
call esi
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
cmp eax, ecx
jle 0x470c4c
mov dword [esp + 0x30], eax
mov ebp, dword [ebp + 0x34]
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x7c]
mov eax, dword [ebp - 8]
push ecx
push eax
push ebp
push edx
call esi
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
cmp eax, ecx
jle 0x470c70
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0xac]
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c], 2
call fcn.004dd44d
xor ebp, ebp
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx + ebx]
mov ecx, dword [ecx + ebx + 8]
cmp ecx, ebp
je 0x470929
mov edx, dword [esp + 0x60]
lea ecx, [esp + 0x48]
push edx
call fcn.004e09bd
lea ecx, [esp + 0x3c]
call fcn.004e1426
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
push esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], edx
call fcn.004ddabf
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.004dd44d
mov dword [esp + 0x3c], vtable.CGdiObject.0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x9c], 6
call fcn.004e1426
lea ecx, [esp + 0x48]
mov dword [esp + 0x9c], 0xffffffff
call fcn.004e08a7
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret 0xc
test ebp, ebp
je 0x470c7b
mov eax, dword [ebp]
push 1
mov ecx, ebp
call dword [eax + 4]
jmp 0x470c7b
test ebp, ebp
je 0x470c7b
mov edx, dword [ebp]
push 1
mov ecx, ebp
call dword [edx + 4]
jmp 0x470c7b