Function at 0x404060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x42a512
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDC]
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
push eax
call ebx
push eax
call fcn.0042391c
mov edi, dword [eax + 4]
push edi
mov dword [esp + 0xbc], edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x78]
push ecx
push edx
push edi
mov dword [esi + 0x68], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0xac], eax
push eax
mov eax, dword [esi + 0x68]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x104]
xor edi, edi
cmp eax, edi
jl 0x4040da
cmp eax, 0x64
jle 0x4040e5
mov dword [esp + 0x104], 0x64
fild dword [esp + 0x104]
fmul qword [str.ffffff]
call fcn.0040dd30
mov ecx, dword [esi + 0x1c]
mov byte [esi + 0x66], al
push ecx
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xe4]
push edx
push eax
call ebx
mov ecx, dword [esp + 0xe4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0xc4], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0xc8], edx
push ecx
push eax
mov dword [esp + 0x58], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov edx, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0xd4]
push eax
push ecx
mov dword [esp + 0x104], edi
call ebx
mov ebp, dword [esp + 0xdc]
mov eax, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd8]
mov ecx, dword [esi + 0x180]
sub ebp, eax
mov eax, dword [esp + 0xe0]
sub eax, ebx
cmp ecx, edi
mov dword [esp + 0x54], ebp
je 0x4041b8
push edi
push edi
mov ecx, dword [ecx + 4]
push edi
push 2
mov edx, dword [esp + 0x28]
push eax
push ebp
push edi
push edi
push eax
push ebp
push edi
push edi
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
cmp eax, edi
je 0x4041b8
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x17c]
cmp ebx, edi
je 0x40423b
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x4041db
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x17c]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 4]
push eax
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x4041fa
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x17c]
mov eax, ebp
sub eax, ecx
sub eax, 0x14
cmp edx, edi
je 0x404214
mov ebx, dword [edx + 4]
jmp 0x404216
xor ebx, ebx
mov edx, dword [esp + 0x14]
push edi
push edi
push edi
push 2
push edx
push ecx
push edi
push edi
push edx
push ecx
mov ecx, dword [esp + 0x40]
push 4
push eax
push ebx
push ecx
call sub.gdiplus.dll_GdipDrawImageRectRectI
cmp eax, edi
je 0x40423b
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x18c]
cmp ebx, edi
je 0x4042c0
mov eax, dword [ebx + 4]
lea edx, [esp + 0x10]
push edx
push eax
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x40425e
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x18c]
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], edi
mov edx, dword [ebx + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x40427d
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x18c]
mov eax, ebp
sub eax, ecx
sub eax, 0x24
cmp edx, edi
je 0x404297
mov ebx, dword [edx + 4]
jmp 0x404299
xor ebx, ebx
mov edx, dword [esp + 0x14]
push edi
push edi
push edi
push 2
push edx
push ecx
push edi
push edi
push edx
push ecx
push 4
push eax
mov eax, dword [esp + 0x48]
push ebx
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov ebx, dword [esi + 0x184]
cmp ebx, edi
je 0x404341
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
push ecx
push edx
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipGetImageWidth
push eax
mov ecx, ebx
call fcn.00404f00
mov ebx, dword [esi + 0x184]
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], edi
mov ecx, dword [ebx + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.00404f00
mov eax, dword [esi + 0x184]
cmp eax, edi
je 0x404313
mov edx, dword [eax + 4]
jmp 0x404315
xor edx, edx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push edi
push edi
push edi
push 2
push eax
push ecx
push edi
push edi
push eax
push ecx
push 0x28
push 0xa
push edx
mov edx, dword [esp + 0x4c]
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov ebx, dword [esi + 0x188]
cmp ebx, edi
je 0x4043da
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipGetImageWidth
push eax
mov ecx, ebx
call fcn.00404f00
mov ebx, dword [esi + 0x188]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 4]
push eax
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.00404f00
mov ecx, dword [esp + 0x10]
mov eax, ecx
cdq
sub eax, edx
mov ebx, eax
mov eax, ebp
cdq
sub eax, edx
mov edx, dword [esi + 0x188]
sar ebx, 1
sar eax, 1
sub eax, ebx
cmp edx, edi
je 0x4043ae
mov edx, dword [edx + 4]
jmp 0x4043b0
xor edx, edx
mov ebx, dword [esp + 0x14]
push edi
push edi
push edi
push 2
push ebx
push ecx
push edi
push edi
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push 0x9b
push eax
push edx
push ecx
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
lea edx, [esp + 0x64]
mov dword [esp + 0x64], edi
push edx
push edi
push 0x4376a4
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x68], eax
lea eax, [esp + 0x24]
xor ebp, ebp
push eax
push edi
push edi
mov dword [esp + 0x30], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
push edi
push ecx
mov byte [esp + 0x104], 2
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00405070
mov ecx, dword [esp + 0x64]
lea eax, [esp + 0x64]
neg eax
lea edx, [esp + 0x50]
mov dword [esp + 0x50], edi
sbb eax, eax
push edx
push 2
and eax, ecx
push 1
push 0x41500000
push eax
call sub.gdiplus.dll_GdipCreateFont
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov eax, dword [esi + 0x80]
mov byte [esp + 0xfc], 3
cmp eax, edi
je 0x40452d
lea ecx, [esp + 0x34]
call fcn.00404fb0
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 0x42c928
push eax
push 0xfeff7e00
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 4
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x98]
neg edx
sbb edx, edx
push ecx
lea ecx, [esp + 0x48]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push 0x437694
push edx
mov dword [esp + 0x5c], 0x420c0000
mov dword [esp + 0x60], 0x43c58000
mov dword [esp + 0x64], 0x43160000
mov dword [esp + 0x68], 0x41f00000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov eax, dword [esp + 0x38]
mov byte [esp + 0xfc], 3
mov dword [esp + 0x34], 0x42c920
push eax
jmp 0x4045e2
lea ecx, [esp + 0x34]
call fcn.00404fb0
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0x42c928
push ecx
push 0xfeff7e00
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 5
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x98]
neg edx
sbb edx, edx
lea eax, [esp + 0x44]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push 0x437684
push ecx
mov dword [esp + 0x5c], 0x420c0000
mov dword [esp + 0x60], 0x43c58000
mov dword [esp + 0x64], 0x43160000
mov dword [esp + 0x68], 0x41f00000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov edx, dword [esp + 0x38]
mov byte [esp + 0xfc], 3
mov dword [esp + 0x34], 0x42c920
push edx
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x34]
call fcn.00404fb0
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 0x42c928
push eax
push 0xfeff7e00
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x34]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 6
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x98]
neg edx
sbb edx, edx
push ecx
lea ecx, [esp + 0x48]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push 0x437674
push edx
mov dword [esp + 0x5c], 0x420c0000
mov dword [esp + 0x60], 0x43858000
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0x41f00000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], 0x42c920
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x64]
neg eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x78], edi
sbb eax, eax
push ecx
push 2
and eax, ebx
push edi
push 0x41500000
push eax
call sub.gdiplus.dll_GdipCreateFont
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
lea edx, [esi + 0x190]
mov byte [esp + 0xfc], 7
mov dword [esp + 0x30], 0x12a
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
push ebp
mov eax, dword [eax]
push eax
call fcn.00402100
mov ecx, dword [esp + 0x1c]
mov ebp, eax
add esp, 8
lea eax, [ecx + 1]
mov ecx, dword [esi + 0x7c]
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x4047d2
lea ecx, [esp + 0x58]
call fcn.00404fb0
lea edx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42c928
push edx
push 0xfeff0000
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 8
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0xa4]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
lea eax, [esp + 0xa0]
fstp dword [esp + 0xa8]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
mov dword [esp + 0xb8], 0x420c0000
mov dword [esp + 0xc4], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov edx, dword [esp + 0x5c]
mov byte [esp + 0xfc], 7
mov dword [esp + 0x58], 0x42c920
push edx
jmp 0x40488f
lea ecx, [esp + 0x40]
call fcn.00404fb0
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42c928
push eax
push 0xfe5f636e
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 9
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0x8c]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
push ecx
fstp dword [esp + 0x94]
lea ecx, [esp + 0x8c]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
push edx
mov dword [esp + 0xa0], 0x420c0000
mov dword [esp + 0xac], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov eax, dword [esp + 0x44]
mov byte [esp + 0xfc], 7
mov dword [esp + 0x40], 0x42c920
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
add eax, 0x1e
add edx, 8
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
cmp eax, 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4046e8
mov eax, dword [esi + 0x80]
mov dword [esp + 0x30], 0x1a9
cmp eax, edi
lea eax, [esi + 0x1c0]
je 0x4048d9
lea eax, [esi + 0x1a8]
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
push ebp
mov eax, dword [ecx]
push eax
call fcn.00402100
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0x7c]
add edx, 5
add esp, 8
cmp edx, eax
jne 0x4049c7
lea ecx, [esp + 0x40]
call fcn.00404fb0
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42c928
push eax
push 0xfeff0000
mov dword [esp + 0x28], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x40]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 0xa
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0x8c]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
push ecx
fstp dword [esp + 0x94]
lea ecx, [esp + 0x8c]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
push edx
mov dword [esp + 0xa0], 0x420c0000
mov dword [esp + 0xac], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov eax, dword [esp + 0x44]
mov byte [esp + 0xfc], 7
mov dword [esp + 0x40], 0x42c920
push eax
jmp 0x404a84
lea ecx, [esp + 0x58]
call fcn.00404fb0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42c928
push ecx
push 0xfe5f636e
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipCreateSolidFill
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x24]
neg eax
sbb eax, eax
mov byte [esp + 0xfc], 0xb
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0xa4]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
lea eax, [esp + 0xa0]
fstp dword [esp + 0xa8]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
mov dword [esp + 0xb8], 0x420c0000
mov dword [esp + 0xc4], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov edx, dword [esp + 0x5c]
mov byte [esp + 0xfc], 7
mov dword [esp + 0x58], 0x42c920
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
add edx, 0x1e
inc eax
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x10]
add edx, 8
cmp eax, 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x4048e1
mov eax, dword [esi + 0x178]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x404b50
mov edx, dword [eax + 4]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov dword [esp + 0x34], edi
call sub.gdiplus.dll_GdipGetImageWidth
mov ecx, dword [esp + 0x20]
push eax
call fcn.00404f00
mov eax, dword [esi + 0x178]
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x14], eax
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edi
push edx
call sub.gdiplus.dll_GdipGetImageHeight
mov ecx, dword [esp + 0x10]
push eax
call fcn.00404f00
mov eax, dword [esp + 0x54]
lea ecx, [eax - 0x122]
mov eax, dword [esi + 0x178]
cmp eax, edi
je 0x404b1e
mov eax, dword [eax + 4]
jmp 0x404b20
xor eax, eax
mov edx, dword [esp + 0x20]
push edi
push edi
push edi
push 2
push edx
mov edx, dword [esp + 0x40]
push edx
push edi
push edi
push 0x3c
push 0x118
push 0x23
push ecx
push eax
mov eax, dword [esp + 0x4c]
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov ecx, dword [0x437820]
mov dword [esp + 0x80], ecx
mov edx, dword [esi + 0x84]
lea eax, [esp + 0x80]
push edx
push 0x437670
push eax
mov byte [esp + 0x108], 0xc
call fcn.0041c86b
add esp, 0xc
lea ecx, [esi + 0x94]
push ecx
lea ecx, [esp + 0x80]
call fcn.0041e86d
mov edx, dword [esp + 0x7c]
push ebp
push edx
mov byte [esp + 0x104], 0xd
call fcn.00402100
add esp, 8
mov ebp, eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], edi
push eax
push edi
push 0x437664
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x24]
push 1
push ecx
mov byte [esp + 0x104], 0xe
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00405070
mov edx, dword [esp + 0x6c]
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
mov dword [esp + 0x20], edi
and eax, edx
lea edx, [esp + 0x20]
push edx
push 2
push 1
push 0x41900000
push eax
call sub.gdiplus.dll_GdipCreateFont
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb0], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0xfc], 0xf
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0xfee1f2ff
call fcn.00404ff0
fild dword [esp + 0x54]
lea edx, [esp + 0x24]
push eax
push edx
push 0x41f00000
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x10c], 0x10
fstp dword [esp]
push 0x43020000
push edi
call fcn.00404ee0
push eax
lea eax, [esp + 0xbc]
push eax
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
call fcn.004050a0
mov ecx, dword [esp + 0x44]
mov byte [esp + 0xfc], 0xf
push ecx
mov dword [esp + 0x44], 0x42c920
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
push 0xffffffffffffffec
push ecx
mov dword [esp + 0xd4], edx
mov dword [esp + 0xd8], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
and edx, 0x80000
cmp edx, 0x80000
je 0x404ce4
xor eax, 0x80000
push eax
mov eax, dword [esi + 0x1c]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x68]
lea ecx, [esi + 0x64]
push 2
push ecx
lea edx, [esp + 0xc4]
push edi
push edx
lea ecx, [esp + 0xdc]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0xd8]
push ecx
mov ecx, dword [esi + 0x1c]
push edx
push eax
push ecx
call dword [esi + 0x1dc]
mov edx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esi + 0x68]
push eax
push edx
call sub.gdiplus.dll_GdipReleaseDC
push eax
lea ecx, [esp + 0x1c]
call fcn.00405100
mov eax, dword [esp + 0x74]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0xb8]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0xac]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [esi + 0x68]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0xb0]
mov dword [esi + 0x68], edi
push eax
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x6c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
lea ecx, [esp + 0x7c]
mov byte [esp + 0xfc], 0xc
call fcn.0041eaf8
lea ecx, [esp + 0x80]
mov byte [esp + 0xfc], 7
call fcn.0041eaf8
push ebx
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x50]
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x24]
push eax
call sub.gdiplus.dll_GdipDeleteStringFormat
mov ecx, dword [esp + 0x64]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov edx, dword [esp + 0x18]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0xf4]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xf0
ret 4