Function at 0x492381
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a6a93
push eax
mov eax, dword [ebp + 0x14]
mov dword fs:[0], esp
sub esp, 0xe0
movss xmm0, dword [0x503bf8]
movss xmm1, dword [0x51b92c]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
xor ecx, ecx
inc ecx
comiss xmm0, xmm1
push edi
mov dword [eax], ecx
jbe 0x492416
push 0x473
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x4013
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0041e77e
push ebx
push ebx
push 0x839
mov ecx, dword [eax]
call fcn.00476edb
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x492439
comiss xmm1, dword [0x503c04]
jbe 0x492429
subss xmm1, dword [0x503bcc]
jmp 0x492431
subss xmm1, dword [0x503bf0]
movss dword [0x51b92c], xmm1
mov eax, dword [esi + 0x54]
push dword [esi + 4]
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0xc8
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x7c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 9
pop ecx
mov ebx, eax
lea edi, [esp + 0xa8]
xor eax, eax
mov dword [esp + 0x5c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x70]
xor edi, edi
mov eax, dword [esp + 0x74]
mov edx, ecx
shl edx, 5
mov dword [esp + 0xa8], ecx
add edx, 0x1f
push 0x20
xor ecx, ecx
sar edx, 3
inc ecx
mov dword [esp + 0xb0], eax
mov word [esp + 0xb4], cx
and edx, 0xfffffffc
pop ecx
push edi
imul edx, eax
lea eax, [esp + 0x88]
push edi
push eax
push edi
lea eax, [esp + 0xb4]
mov dword [esp + 0xb4], 0x28
push eax
push edi
mov word [esp + 0xca], cx
mov dword [esp + 0xcc], edi
mov dword [esp + 0xdc], edi
mov dword [esp + 0xd0], edx
mov dword [esp + 0x9c], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push ebx
mov dword [esp + 0xa0], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x60]
push eax
push edi
push 0x4f2760
mov dword [esp + 0x6c], edi
call dword [sym.imp.gdiplus.dll_GdipCreateFontFamilyFromName]
mov dword [esp + 0x64], eax
lea eax, [esp + 0x24]
mov dword [esp + 0xf4], edi
movss xmm0, dword [esi + 0x44]
push eax
push 2
push edi
push ecx
movss dword [esp], xmm0
push dword [esp + 0x70]
mov dword [esp + 0x38], edi
call dword [sym.imp.gdiplus.dll_GdipCreateFont]
mov ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x7c], eax
mov cl, byte [esi + 0x24]
mov byte [esp + 0x18], cl
mov edx, dword [esi + 0x24]
mov ecx, edx
push dword [esp + 0x18]
cvttss2si eax, dword [0x51b92c]
shr ecx, 8
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x38]
shr edx, 0x10
mov byte [esp + 0x38], dl
push dword [esp + 0x40]
movzx eax, al
push dword [esp + 0x3c]
push eax
call fcn.004236d0
push eax
lea ecx, [esp + 0xd0]
call fcn.004237ad
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edi
push eax
push dword [esp + 0x60]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
push 8
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov edi, eax
test edi, edi
je 0x4925f2
xor eax, eax
push edi
push eax
push eax
mov dword [edi], eax
call dword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [edi + 4], eax
jmp 0x4925f4
xor edi, edi
and dword [esp + 0x10], 0
test edi, edi
je 0x492601
mov eax, dword [edi]
jmp 0x492603
xor eax, eax
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov dword [esp + 0x14], eax
xor edi, edi
mov byte [esp + 0xf4], 4
inc edi
push edi
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
push edi
push dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x14], ecx
call fcn.0041e77e
xor ecx, ecx
mov eax, dword [eax + 0x38]
cmp byte [eax + 0x10], cl
setne cl
or ecx, 0x2000
push ecx
push dword [esp + 0x14]
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
mov ecx, dword [esp + 0x14]
test eax, eax
cmovne ecx, eax
and dword [esp + 0x1c], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], ecx
push eax
push 0
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
mov edi, dword [esp + 0x24]
and dword [esp + 0x50], 0
and dword [esp + 0x54], 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x50]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipGetFamily]
test eax, eax
je 0x4926b6
mov dword [esp + 0x54], eax
mov ebx, eax
lea eax, [esp + 0x34]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipGetFontSize]
movss xmm0, dword [esp + 0x34]
test eax, eax
movss dword [esp + 0x3c], xmm0
cmovne ebx, eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.gdiplus.dll_GdipGetFontStyle]
test eax, eax
lea edi, [esi + 0x28]
cmovne ebx, eax
cmp dword [edi + 0x14], 8
mov dword [esp + 0x80], ebx
jb 0x4926f8
mov eax, dword [edi]
jmp 0x4926fa
mov eax, edi
push dword [esp + 0x10]
lea ecx, [esp + 0xdc]
xorps xmm0, xmm0
push ecx
push ecx
movups xmmword [esp + 0xe4], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp], xmm0
push dword [esp + 0x24]
push dword [esp + 0x60]
push 0xffffffffffffffff
push eax
push dword [esp + 0x38]
call dword [sym.imp.gdiplus.dll_GdipAddPathString]
mov ecx, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
and dword [esp + 0x4c], 0
and dword [esp + 0x48], 0
lea eax, [esp + 0x40]
and dword [esp + 0x44], 0
xor ebx, ebx
and dword [esp + 0x40], 0
push ebx
push ebx
push eax
push dword [esp + 0x28]
mov dword [esp + 0x30], ecx
call dword [sym.imp.gdiplus.dll_GdipGetPathWorldBounds]
mov ecx, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
cvttss2si eax, dword [esp + 0x4c]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x2c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x503be8]
cvttsd2si eax, xmm0
push eax
cvttss2si eax, dword [esp + 0x4c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x503be0]
cvttsd2si eax, xmm0
push eax
push ebx
push ebx
push dword [esi + 0x50]
call fcn.004218bb
cvttss2si eax, dword [esp + 0x48]
movd xmm0, dword [esi + 0x54]
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x503be0]
comisd xmm1, xmm0
jbe 0x4927f5
cvttsd2si eax, xmm1
push 0x12
push 0x64
push eax
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 4]
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
push 4
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
mov ecx, dword [esp + 0x30]
test eax, eax
movss xmm2, dword [esp + 0x48]
movd xmm0, dword [esi + 0x54]
cmovne ecx, eax
cvttss2si eax, xmm2
mov dword [esp + 0x30], ecx
cvtdq2pd xmm0, xmm0
movd xmm1, eax
cvtdq2pd xmm1, xmm1
mulsd xmm1, qword [0x503be0]
comisd xmm1, xmm0
jbe 0x492856
cvttsd2si eax, xmm1
push 0x12
push 0x64
push eax
push ebx
push ebx
push 0xfffffffffffffffe
push dword [esi + 4]
mov dword [esi + 0x54], eax
call dword [sym.imp.USER32.dll_SetWindowPos]
movss xmm2, dword [esp + 0x48]
cmp dword [edi + 0x14], 8
cvtps2pd xmm0, xmm2
mulsd xmm0, qword [0x503be0]
mulsd xmm0, qword [0x503bd0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x34], xmm0
movss xmm0, dword [esp + 0x4c]
cvtps2pd xmm0, xmm0
mulsd xmm0, qword [0x503bd8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 0x38], xmm0
jb 0x492896
mov edi, dword [edi]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x88]
push eax
push ecx
push edi
lea ecx, [esp + 0x44]
call fcn.00426779
cvttss2si eax, dword [0x51b92c]
mov edi, dword [esp + 0x78]
push 0xcc0020
push ebx
push ebx
mov word [esp + 0x34], bx
mov ebx, dword [esp + 0x68]
push ebx
push 0xc8
push dword [esi + 0x54]
mov byte [esp + 0x42], al
xor eax, eax
push 0
push 0
inc eax
push edi
mov byte [esp + 0x4f], al
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x88]
xorps xmm0, xmm0
push eax
push dword [esi + 0x48]
movdqu xmmword [esp + 0x90], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cvttss2si ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x90]
push 2
sub eax, ecx
sub eax, dword [esp + 0x8c]
cvttss2si ecx, dword [esp + 0x50]
sub eax, 0x28
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x98]
sub eax, ecx
sub eax, dword [esp + 0x90]
sub eax, 0x1a
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x90]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0xa8]
push eax
push ebx
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x80]
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push ebx
push dword [esp + 0x30]
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
push dword [esp + 0x58]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x98]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x58]
call esi
push dword [esp + 0x50]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeleteFontFamily]
call esi
push dword [esp + 0x1c]
call dword [sym.imp.gdiplus.dll_GdipDeletePath]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
push dword [esp + 0xd0]
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
push dword [esp + 0x60]
call esi
mov ecx, dword [esp + 0xec]
xor eax, eax
pop edi
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10