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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d769b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov esi, ecx
call fcn.005cb95c
mov edx, dword [esi + 0x1c]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
fild dword [ebp + 0xc]
fstp qword [esp + 0x2c]
fld qword [0x5e9fd0]
fld qword [esp + 0x2c]
call fcn.005304c0
fstp qword [esp + 0x24]
fild dword [esp + 0x5c]
fmul qword [esp + 0x24]
call fcn.00530020
fld qword [0x5e7c10]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x5c], eax
fst qword [esp + 0x34]
test ebx, ebx
mov ecx, 1
jle 0x49e2ca
cmp ebx, ecx
jl 0x49e2e2
mov eax, ecx
mov edi, 3
cdq
idiv edi
cmp edx, 2
jne 0x49e2bd
fmul qword [0x5e9fd8]
jmp 0x49e2bf
fadd st(0), st(0)
inc ecx
cmp ecx, ebx
jle 0x49e2a6
fstp qword [esp + 0x34]
jmp 0x49e2e4
test ebx, ebx
fstp st(0)
jge 0x49e2e4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
jmp 0x49e2e4
fstp st(0)
xor edi, edi
lea ecx, [esp + 0x60]
push edi
push 1
push edi
call fcn.005b7fd9
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x60]
push edx
mov ecx, ebx
mov dword [esp + 0xa4], edi
call fcn.005b7738
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], 0x5e7f28
push str.MS_Serif
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0x190
push edi
push 0x384
push 5
push 0xa
mov byte [esp + 0xd8], 1
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
lea ecx, [esp + 0x48]
call fcn.005b7f6c
mov eax, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
mov ecx, ebx
call dword [eax + 0x28]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
sub edx, ecx
mov dword [esp + 0xc], edx
fild dword [esp + 0xc]
fdiv qword [esp + 0x24]
fmul qword [0x5e7c48]
call fcn.00530020
mov edi, dword [esi + 0x48]
mov edx, dword [esi + 0x7c]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
fild dword [esp + 0xc]
test edx, edx
mov dword [esp + 0xc], edx
fst qword [esp + 0x3c]
fsub qword [0x5e7c38]
fmul qword [0x5e7c48]
fld qword [0x5e7c38]
fdiv qword [esp + 0x2c]
fmulp st(1)
fstp qword [esp + 0x1c]
fld qword [0x5e80e0]
fst qword [esp + 0x14]
je 0x49e3d2
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
fstp st(0)
fild dword [esp + 0xc]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
fst qword [esp + 0x14]
fild dword [esp + 0x5c]
mov ecx, dword [esi + 0xb4]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x4c], eax
fdiv qword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x74], 8
mov dword [esp + 0xc], ecx
fstp qword [esp + 0x24]
fld qword [esi + 0x68]
fcomp qword [esp + 0x34]
fnstsw ax
jle 0x49e5f0
test ah, 0x40
jne 0x49e520
test edx, edx
fstp st(0)
je 0x49e42b
mov eax, dword [esi + 0x5c]
sub eax, edx
add eax, ecx
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
jmp 0x49e42f
fild dword [esp + 0xc]
fmul qword [0x5e7c48]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0xc], ecx
fmul st(1)
fadd qword [esi + 0x74]
fstp qword [esp + 0x1c]
fstp st(0)
fild dword [esp + 0x54]
fsubr qword [esp + 0x24]
fild dword [esp + 0xc]
fmul qword [0x5e7c48]
fstp qword [esp + 0x2c]
fld qword [0x5e7c38]
fdiv qword [esp + 0x34]
fst qword [esp + 0x14]
fld st(0)
fmul qword [esp + 0x2c]
fsubr qword [esp + 0x1c]
fdiv qword [esp + 0x14]
fcom qword [0x5e80d8]
fld st(0)
fnstsw ax
test ah, 1
je 0x49e4c8
fsub qword [0x5e7c10]
call fcn.00530020
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x49e4f6
call fcn.00530020
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x24], eax
fmul st(1)
fstp qword [esp + 0x1c]
fstp st(0)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
sub edi, eax
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
jmp 0x49e7b0
mov eax, dword [esi + 0x5c]
cmp edi, eax
je 0x49e7b4
sub edi, eax
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
fstp qword [esp + 0x2c]
fild dword [esp + 0x54]
fsubr qword [esp + 0x24]
fmul qword [0x5e7c48]
call fcn.00530020
fcomp qword [0x5e80d8]
mov dword [esp + 0x10], eax
fnstsw ax
test ah, 1
je 0x49e5b3
fcom qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x49e7b4
fld st(0)
fsub qword [esp + 0x3c]
fmul qword [0x5e7c48]
call fcn.00530020
inc eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
lea eax, [eax + eax*4]
fmul qword [esp + 0x2c]
lea ecx, [eax + eax*4]
shl ecx, 2
fsubr qword [esp + 0x1c]
mov dword [esp + 0xc], ecx
fstp qword [esp + 0x1c]
fild dword [esp + 0xc]
fsubp st(1)
jmp 0x49e7b0
fld qword [esp + 0x3c]
fsub st(1)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0xc], eax
lea eax, [eax + eax*4]
fild dword [esp + 0xc]
lea edx, [eax + eax*4]
shl edx, 2
fmul qword [esp + 0x2c]
mov dword [esp + 0xc], edx
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fild dword [esp + 0xc]
faddp st(1)
jmp 0x49e7b0
test ah, 0x40
je 0x49e6e4
fld qword [esi + 0x98]
fcomp qword [esi + 0x88]
fnstsw ax
test ah, 0x40
je 0x49e6e4
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x49e61f
test edi, edi
je 0x49e7b4
sub edi, eax
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fld qword [0x5e7c38]
fdiv qword [esi + 0x68]
fstp qword [esp + 0x2c]
fild dword [esp + 0x54]
fsubr qword [esp + 0x24]
fmul qword [0x5e7c48]
call fcn.00530020
fcomp qword [0x5e80d8]
mov dword [esp + 0x10], eax
fnstsw ax
test ah, 1
je 0x49e6a7
fcom qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x49e7b4
fld st(0)
fsub qword [esp + 0x3c]
fmul qword [0x5e7c48]
call fcn.00530020
inc eax
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
lea eax, [eax + eax*4]
fmul qword [esp + 0x2c]
lea eax, [eax + eax*4]
shl eax, 2
fsubr qword [esp + 0x1c]
mov dword [esp + 0xc], eax
fstp qword [esp + 0x1c]
fild dword [esp + 0xc]
fsubp st(1)
jmp 0x49e7b0
fld qword [esp + 0x3c]
fsub st(1)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0xc], eax
lea eax, [eax + eax*4]
fild dword [esp + 0xc]
lea ecx, [eax + eax*4]
shl ecx, 2
fmul qword [esp + 0x2c]
mov dword [esp + 0xc], ecx
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fild dword [esp + 0xc]
faddp st(1)
jmp 0x49e7b0
fstp st(0)
fild dword [esp + 0x54]
fsubr qword [esp + 0x24]
fld qword [esi + 0x88]
fmul qword [0x5e7c48]
fstp qword [esp + 0x2c]
fld qword [0x5e7c38]
fdiv qword [esp + 0x34]
fst qword [esp + 0x14]
fld st(0)
fmul qword [esp + 0x2c]
fchs
fdiv qword [esp + 0x14]
fcom qword [0x5e80d8]
fld st(0)
fnstsw ax
test ah, 1
je 0x49e75d
fsub qword [0x5e7c10]
call fcn.00530020
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x24], eax
jmp 0x49e78b
call fcn.00530020
mov dword [esp + 0xc], eax
fild dword [esp + 0xc]
fstp qword [esp + 0x14]
fsub qword [esp + 0x14]
fmul qword [0x5e7c38]
fadd qword [0x5e7c18]
call fcn.00530020
fld qword [esp + 0x14]
mov dword [esp + 0x24], eax
fmul st(1)
fstp qword [esp + 0x1c]
fstp st(0)
fmul qword [0x5e7c48]
call fcn.00530020
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
sub edi, eax
mov dword [esp + 0xc], edi
fild dword [esp + 0xc]
fst qword [esp + 0x14]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
fst qword [esp + 0x7c]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xa0]
cmp eax, 1
mov dword [esp + 0x2c], edx
jne 0x49eae7
mov ecx, dword [esp + 0x10]
lea eax, [ecx + 1]
test eax, eax
jl 0x49eae7
inc eax
mov dword [esp + 0xc], eax
jmp 0x49e7f4
fld qword [esp + 0x14]
mov ebx, dword [ebp + 8]
fild dword [esi + 0x48]
fsubr st(1)
call fcn.00530020
push eax
lea edx, [esp + 0x94]
push 8
push edx
mov ecx, ebx
fstp st(0)
call fcn.005b7b1a
fild dword [esi + 0x48]
fsubr qword [esp + 0x14]
call fcn.00530020
push eax
push 0x10
mov ecx, ebx
call fcn.005b7b66
fild dword [esi + 0x48]
fld qword [esp + 0x14]
fadd qword [0x5ea000]
fsub st(1)
call fcn.00530020
fld qword [esp + 0x14]
fadd qword [0x5ebff8]
mov dword [esp + 0x70], eax
fsub st(1)
call fcn.00530020
fstp st(0)
fld qword [esp + 0x34]
fcomp qword [0x5e7c10]
mov dword [esp + 0x78], eax
fnstsw ax
test ah, 1
jne 0x49e885
fld qword [esp + 0x34]
call fcn.00530020
mov ecx, eax
mov eax, 0x64
cdq
idiv ecx
neg edx
sbb edx, edx
neg edx
mov dword [esp + 0x4c], edx
mov edx, dword [0x87a768]
mov dword [esp + 0x10], edx
fld qword [esp + 0x1c]
fcomp qword [0x5e80d8]
mov byte [esp + 0xa0], 2
fnstsw ax
test ah, 0x40
je 0x49e9f8
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x49e9dd
cmp eax, 3
je 0x49e9dd
cmp eax, 4
je 0x49e9dd
cmp eax, 1
je 0x49e8d6
cmp eax, 2
jne 0x49e8f4
fld qword [esp + 0x1c]
fchs
call fcn.00530020
push eax
lea eax, [esp + 0x14]
push 0x619450
push eax
call fcn.005ad17a
add esp, 0xc
mov eax, dword [esp + 0x68]
mov edx, dword [ebx]
mov ecx, dword [eax + 0x15c4]
push ecx
mov ecx, ebx
call dword [edx + 0x2c]
mov eax, dword [esp + 0x10]
mov edx, dword [ebx]
lea edi, [esp + 0x6c]
push 0x104
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, ebx
call dword [edx + 0x68]
mov edi, dword [esi + 0xb8]
mov ebx, 1
cmp edi, ebx
jle 0x49e998
mov dword [esp + 0x24], 0xa
fild dword [esp + 0x24]
fadd qword [esp + 0x14]
fisub dword [esi + 0x48]
call fcn.00530020
mov dword [esp + 0x3c], eax
push eax
mov eax, edi
mov ecx, ebx
cdq
sub eax, edx
mov edi, dword [ebp + 8]
sar eax, 1
sub ecx, eax
lea edx, [esp + 0x8c]
neg ecx
sbb ecx, ecx
and ecx, 3
add ecx, 9
push ecx
push edx
mov ecx, edi
call fcn.005b7b1a
mov eax, dword [esp + 0x3c]
mov ecx, edi
push eax
push 0x10
call fcn.005b7b66
mov ecx, dword [esp + 0x24]
mov edi, dword [esi + 0xb8]
inc ebx
add ecx, 0xa
cmp ebx, edi
mov dword [esp + 0x24], ecx
jl 0x49e937
fld qword [0x5e7c38]
fdiv qword [esp + 0x34]
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 1
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x14]
fadd qword [0x5e7c38]
fstp qword [esp + 0x14]
call fcn.005b4761
mov eax, dword [esp + 0xc]
dec eax
mov dword [esp + 0xc], eax
jne 0x49e7ed
jmp 0x49eae9
fld qword [esp + 0x1c]
fchs
call fcn.00530020
push eax
lea ecx, [esp + 0x14]
push 0x619450
push ecx
jmp 0x49e8ec
cmp dword [esp + 0x4c], 1
jne 0x49ea9e
fld qword [esp + 0x1c]
fcomp qword [0x5ebff0]
fnstsw ax
test ah, 0x41
jne 0x49ea36
fld qword [esp + 0x1c]
fcomp qword [0x5ebfe8]
fnstsw ax
test ah, 1
je 0x49ea36
push 0
lea edx, [esp + 0x14]
push 0x619450
push edx
jmp 0x49e8ec
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x49ea7b
cmp eax, 3
je 0x49ea7b
cmp eax, 4
je 0x49ea7b
cmp eax, 1
je 0x49ea58
cmp eax, 2
jne 0x49e8f4
fld qword [esp + 0x1c]
sub esp, 8
lea eax, [esp + 0x18]
fchs
fstp qword [esp]
push str._.2f
push eax
call fcn.005ad17a
add esp, 0x10
jmp 0x49e8f4
fld qword [esp + 0x1c]
fchs
sub esp, 8
lea ecx, [esp + 0x18]
fstp qword [esp]
push str._.2f
push ecx
call fcn.005ad17a
add esp, 0x10
jmp 0x49e8f4
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x49e8d6
cmp eax, 3
je 0x49e8d6
cmp eax, 4
je 0x49e8d6
cmp eax, 1
je 0x49eacc
cmp eax, 2
jne 0x49e8f4
fld qword [esp + 0x1c]
fchs
call fcn.00530020
push eax
lea edx, [esp + 0x14]
push 0x619450
push edx
jmp 0x49e8ec
fstp st(0)
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov dword [esi + 0x5c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x74], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x68], ecx
fld qword [esp + 0x7c]
mov dword [esi + 0x78], eax
mov dword [esi + 0x6c], edx
call fcn.00530020
mov ecx, dword [esi + 0x8c]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x88]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], ecx
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x44], esi
lea ecx, [esp + 0x44]
mov byte [esp + 0xa0], 3
call fcn.005b7fc3
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x60]
mov dword [esp + 0xa0], 4
call fcn.005b7fc3
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8