Function at 0x40ee90
Capabilities:
Check os version
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x497903
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], vtable.CFont.0
mov ebx, dword [esp + 0x140]
push 0x48
push 0x5a
push ebx
mov dword [esp + 0x144], esi
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_MulDiv]
neg eax
mov dword [esp + 0x90], eax
mov edi, 0x4ba2ac
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x94], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
mov dword [esp + 0xa0], esi
lea edx, [esp + 0xac]
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0xa4], 0
shr ecx, 2
mov byte [esp + 0xa5], 0
mov byte [esp + 0xa6], 0
mov byte [esp + 0xa7], 0
mov byte [esp + 0xa8], 4
mov byte [esp + 0xa9], 0
mov byte [esp + 0xaa], 0
mov byte [esp + 0xab], 0x20
push 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.GDI32.dll_SetBkMode]
lea ecx, [esp + 0x90]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x44]
call fcn.00476be4
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x78]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0x40]
lea edx, [esp + 0xcc]
push ecx
push 0x4ba2f4
push edx
call fcn.00445f52
lea edi, [esp + 0xd8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
fld qword [0x49f460]
dec ecx
add ecx, 0xfffffffe
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
call fcn.00446620
call fcn.004461e8
mov esi, eax
mov eax, dword [ebp + 0x40]
cdq
idiv esi
mov edi, eax
inc edi
push edi
call fcn.0040a780
mov ecx, eax
mov eax, edi
cdq
idiv ecx
add esp, 0x10
mov dword [esp + 0x34], ecx
mov edx, eax
imul edx, ecx
cmp edx, edi
jge 0x40f024
inc eax
mov edx, eax
imul edx, ecx
imul edx, esi
lea esi, [eax + eax]
mov dword [ebp + 0x44], edx
cmp esi, 6
mov dword [esp + 0x1c], esi
jne 0x40f047
mov dword [esp + 0x1c], 0xc
mov esi, dword [esp + 0x1c]
mov eax, esi
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp + 0x4c]
sar edi, 1
lea eax, [eax + esi - 1]
mov dword [esp + 0x24], edi
cdq
idiv esi
lea edi, [edi + edi*4]
imul eax, esi
cdq
idiv edi
imul eax, dword [esp + 0x24]
lea edx, [eax + eax*4]
mov eax, esi
imul eax, ecx
mov dword [ebp + 0x50], edx
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], eax
fild dword [esp + 0x24]
fild dword [ebp + 0x44]
fmul qword [0x49f650]
fdivp st(1)
fcom qword [0x49f468]
fst qword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x40f0bd
fild dword [esp + 0x34]
fdiv st(1)
call fcn.004461e8
fstp st(0)
fld qword [0x49f468]
mov dword [esp + 0x34], eax
mov ecx, eax
fst qword [esp + 0x6c]
imul esi, ecx
mov dword [esp + 0x24], esi
fild dword [esp + 0x24]
fmul qword [0x49f648]
fdiv st(1)
call fcn.004461e8
mov dword [ebp + 0x44], eax
mov eax, dword [ebp + 0x40]
cmp eax, 0x186a0
fstp st(0)
jge 0x40f0f2
lea eax, [esp + 0x60]
push eax
push 4
push str.9999
jmp 0x40f0fe
lea ecx, [esp + 0x60]
push ecx
push 5
push str.19999
push ebx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x64]
push 1
lea edi, [edx + eax]
mov eax, dword [esp + 0x84]
sub eax, edx
mov edx, dword [esp + 0x88]
sub edx, ecx
mov dword [ebp + 0x70], eax
add edx, 0xfffffffc
sub eax, edi
mov dword [ebp + 0x74], edx
sub edx, ecx
push ebx
mov dword [esp + 0x40], ecx
mov dword [ebp + 0x68], edi
mov dword [esp + 0x84], ecx
mov dword [ebp + 0x6c], ecx
mov dword [ebp + 0x78], eax
mov dword [ebp + 0x7c], edx
call dword [sym.imp.GDI32.dll_SetBkMode]
mov ecx, dword [ebp + 0x7c]
xor edi, edi
cmp ecx, edi
jle 0x40f24c
mov dword [esp + 0x18], edi
mov eax, dword [esp + 0x18]
cdq
idiv ecx
mov esi, eax
test esi, esi
jge 0x40f175
xor esi, esi
jmp 0x40f182
cmp esi, 0xff
jle 0x40f182
mov esi, 0xff
mov ecx, eax
test ecx, ecx
jge 0x40f18c
xor ecx, ecx
jmp 0x40f199
cmp ecx, 0xff
jle 0x40f199
mov ecx, 0xff
test eax, eax
jge 0x40f1a1
xor eax, eax
jmp 0x40f1ad
cmp eax, 0xff
jle 0x40f1ad
mov eax, 0xff
xor edx, edx
and esi, 0xff
mov dh, al
mov dl, cl
lea ecx, [esp + 0x2c]
shl edx, 8
or edx, esi
push edx
push 1
push 0
call fcn.00476c51
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
mov esi, eax
mov eax, edi
add eax, edx
push 0
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp + 0x70]
mov edx, edi
add edx, ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x2c], vtable.CGdiObject.0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 1
call fcn.00476c3b
mov ecx, dword [esp + 0x18]
inc edi
add ecx, 0x40
mov byte [esp + 0x138], 0
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp + 0x7c]
cmp edi, ecx
jl 0x40f164
push 0
push 2
push 0
lea ecx, [esp + 0x64]
call fcn.00476c51
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x58]
neg eax
sbb eax, eax
mov byte [esp + 0x138], 2
and eax, esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x68]
dec ecx
push 0
dec edx
push ecx
push edx
push ebx
mov edi, eax
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x70]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
dec eax
inc ecx
push eax
push ecx
push ebx
call esi
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
inc edx
inc eax
push edx
push eax
push ebx
call esi
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x68]
inc ecx
dec edx
push ecx
push edx
push ebx
call esi
mov eax, dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x68]
dec eax
dec ecx
push eax
push ecx
push ebx
call esi
push edi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 6
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0x707070
push 1
push 0
lea ecx, [esp + 0x5c]
call fcn.00476c51
push 0x404040
push 1
push 0
lea ecx, [esp + 0x54]
mov byte [esp + 0x144], 3
call fcn.00476c51
xor edi, edi
mov byte [esp + 0x138], 4
mov dword [esp + 0x10], edi
mov ecx, edi
mov eax, 0x66666667
imul ecx, dword [ebp + 0x78]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [ebp + 0x68]
add edx, eax
mov eax, edi
and eax, 1
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], eax
jne 0x40f4a6
mov al, byte [ebp + 0x64]
test al, al
je 0x40f498
mov edi, dword [ebp + 0x60]
mov byte [esp + 0x17], 1
mov ecx, dword [edi + 0x628]
mov edx, dword [edi + 0x624]
mov eax, dword [edi + 0x650]
push ecx
mov ecx, dword [edi + 0x64c]
push edx
push eax
push ecx
call fcn.00446060
push 0
push 0xf4240
push edx
push eax
call fcn.00445fb0
mov dword [esp + 0x2c], eax
mov esi, eax
mov eax, dword [edi + 0x1bec]
mov dword [esp + 0x30], edx
test eax, eax
mov ecx, edx
jne 0x40f3c7
mov edi, dword [edi + 0x1bf0]
lea eax, [edi + edi*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
mov esi, eax
mov eax, dword [esp + 0x30]
mov ecx, edx
cmp ecx, eax
jl 0x40f3c7
jg 0x40f3c1
cmp esi, dword [esp + 0x2c]
jbe 0x40f3c7
mov esi, dword [esp + 0x2c]
mov ecx, eax
test ecx, ecx
jl 0x40f3ec
jg 0x40f3d5
cmp esi, 0x2710
jbe 0x40f3ec
push 0
push 0x3e8
push ecx
push esi
mov byte [esp + 0x27], 0
call fcn.00445fb0
mov esi, eax
mov ecx, edx
mov edi, dword [esp + 0x10]
push ecx
mov eax, edi
push esi
cdq
push edx
push eax
call fcn.00446060
push 0
push 0x14
push edx
push eax
call fcn.00445fb0
push edx
push eax
lea edx, [esp + 0xd4]
push str._I64d
push edx
call fcn.00445f52
add esp, 0x10
cmp edi, 0x14
jne 0x40f461
mov al, byte [esp + 0x17]
mov edi, 0x4ba298
test al, al
jne 0x40f435
mov edi, 0x4ba294
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xcc]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0xcc]
push ecx
mov ecx, dword [ebp + 0x74]
add ecx, 4
push eax
push ecx
push edx
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edi, dword [esp + 0x10]
mov esi, dword [sym.imp.GDI32.dll_LineTo]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
jmp 0x40f4b2
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x6c]
push 0
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov edx, dword [esp + 0x3c]
mov ecx, dword [ebp + 0x74]
lea eax, [edx + edx]
mov edx, dword [esp + 0x20]
sub ecx, eax
add ecx, 5
push ecx
push edx
push ebx
call esi
mov eax, dword [esp + 0x18]
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
inc edi
cmp edi, 0x15
mov dword [esp + 0x10], edi
jl 0x40f313
mov al, byte [ebp + 0x64]
test al, al
je 0x40f5a5
mov eax, dword [ebp + 0x60]
fld qword [0x49f228]
mov edx, dword [eax + 0x1bfc]
test edx, edx
jle 0x40f543
lea ecx, [eax + 0x1c00]
fld qword [ecx]
fst qword [esp + 0x2c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x40f53d
fstp st(0)
fld qword [esp + 0x2c]
add ecx, 8
dec edx
jne 0x40f528
fild dword [ebp + 0x50]
fld st(0)
fmul qword [0x4a03a8]
fld st(2)
fcompp
fnstsw ax
test ah, 1
je 0x40f575
fld st(1)
fcomp qword [0x49f228]
fnstsw ax
test ah, 0x41
jne 0x40f575
fstp st(0)
fstp st(0)
mov dword [ebp + 0x54], 0x64
jmp 0x40f5a5
fmul qword [0x49f478]
fld st(1)
fcompp
fnstsw ax
test ah, 1
je 0x40f59c
fcomp qword [0x49f228]
fnstsw ax
test ah, 0x41
jne 0x40f59e
mov dword [ebp + 0x54], 0xa
jmp 0x40f5a5
fstp st(0)
mov dword [ebp + 0x54], 1
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], 0
test eax, eax
jle 0x40f7d5
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x24]
neg eax
fstp qword [esp + 0x88]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
fild dword [ebp + 0x7c]
fimul dword [esp + 0x10]
fdiv qword [esp + 0x88]
fiadd dword [ebp + 0x6c]
call fcn.004461e8
mov edi, dword [esp + 0x10]
mov esi, eax
and edi, 1
mov dword [esp + 0x74], esi
mov dword [esp + 0x3c], edi
jne 0x40f769
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, edx
jge 0x40f769
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
fild dword [esp + 0x20]
fmul qword [0x49f640]
fstp qword [esp + 0x24]
fld qword [esp + 0x6c]
fcomp qword [0x49f468]
fnstsw ax
test ah, 0x40
je 0x40f654
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push eax
push ecx
lea edx, [esp + 0xd4]
push str._.0f
push edx
jmp 0x40f66f
fld qword [esp + 0x24]
fdiv qword [esp + 0x6c]
sub esp, 8
lea eax, [esp + 0xd4]
fstp qword [esp]
push str._.1f
push eax
call fcn.00445f52
mov eax, dword [esp + 0x48]
lea edi, [esp + 0xdc]
cdq
sub eax, edx
or ecx, 0xffffffff
sar eax, 1
sub esi, eax
xor eax, eax
add esp, 0x10
mov edx, dword [ebp + 0x68]
repne scasb al, byte es:[edi]
not ecx
dec ecx
sub edx, 5
push ecx
lea ecx, [esp + 0xd0]
push ecx
push esi
push edx
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov eax, dword [ebp + 0x54]
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0x34], eax
cmp eax, 1
mov eax, ecx
jne 0x40f6e9
imul eax, dword [esp + 0x10]
cdq
idiv dword [esp + 0x1c]
sub ecx, eax
lea eax, [esp + 0xcc]
push ecx
push 0x4ba2f4
push eax
call fcn.00445f52
add esp, 0xc
jmp 0x40f71c
imul eax, dword [esp + 0x10]
cdq
idiv dword [esp + 0x1c]
sub esp, 8
sub ecx, eax
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xd4]
fild dword [esp + 0x2c]
fidiv dword [esp + 0x3c]
fstp qword [esp]
push str._.2f
push ecx
call fcn.00445f52
add esp, 0x10
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x70]
not ecx
dec ecx
add eax, 5
push ecx
push edx
push esi
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
mov edx, dword [esp + 0x54]
lea eax, [esp + 0x50]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [esp + 0x3c]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x18], eax
jmp 0x40f783
mov edx, dword [esp + 0x4c]
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
and eax, edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x18], eax
mov ecx, dword [ebp + 0x68]
push 0
push esi
lea edx, [edi + ecx - 3]
push edx
push ebx
call dword [sym.imp.GDI32.dll_MoveToEx]
mov eax, dword [ebp + 0x70]
push esi
sub eax, edi
add eax, 3
push eax
push ebx
call dword [sym.imp.GDI32.dll_LineTo]
mov ecx, dword [esp + 0x18]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
inc eax
add esi, edx
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
jl 0x40f5d6
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov edi, 0x4bb644
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, dword [ebp + 0x68]
push ecx
lea ecx, [esp + 0xd0]
push ecx
mov ecx, dword [esp + 0x40]
sub edx, ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
push 2
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
mov edi, 0x4ba290
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x38]
mov eax, dword [ebp + 0x70]
not ecx
dec ecx
sub edx, edi
push ecx
lea ecx, [esp + 0xd0]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextAlign]
push 0xafafaf
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edi, 0x4bbbd0
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xcc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [ebp + 0x6c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xcc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x68]
not ecx
dec ecx
add eax, 3
push ecx
lea ecx, [esp + 0xd0]
push ecx
push edx
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutA]
push 0
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov ecx, dword [esp + 0x68]
push ecx
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov al, byte [ebp + 0x64]
test al, al
je 0x40f98e
mov eax, dword [ebp + 0x60]
xor esi, esi
mov ecx, dword [eax + 0x18b4]
test ecx, ecx
jle 0x40f94c
mov edi, 0x18b8
mov edx, dword [eax + edi]
mov ecx, ebp
push edx
push esi
call fcn.0040fa80
mov eax, dword [ebp + 0x60]
inc esi
add edi, 4
cmp esi, dword [eax + 0x18b4]
jl 0x40f931
mov eax, dword [ebp + 0x60]
xor esi, esi
mov ecx, dword [eax + 0x1bfc]
test ecx, ecx
jle 0x40f98e
mov ebx, 0x3500
mov edi, 0x1c00
fild dword [ebp + 0x54]
sub esp, 8
mov ecx, ebp
fmul qword [eax + edi]
mov eax, dword [eax + ebx]
fstp qword [esp]
push eax
call fcn.0040fbf0
mov eax, dword [ebp + 0x60]
inc esi
add edi, 8
add ebx, 4
cmp esi, dword [eax + 0x1bfc]
jl 0x40f965
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x138], 5
call fcn.00476c3b
mov dword [esp + 0x50], esi
lea ecx, [esp + 0x50]
mov byte [esp + 0x138], 6
call fcn.00476c3b
mov dword [esp + 0x58], esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x138], 7
call fcn.00476c3b
mov dword [esp + 0x40], esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x138], 8
call fcn.00476c3b
mov ecx, dword [esp + 0x130]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret 4