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

Disassembly:
push 0xffffffffffffffff
push 0x4287ad
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
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.00422d75
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0xac], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x6c], eax
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0xd0]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
xor edi, edi
lea eax, [esp + 0x108]
push edi
mov dword [esp + 0xd8], ecx
push edi
push eax
lea ecx, [esp + 0xdc]
push edi
push ecx
push edi
mov dword [esp + 0xe8], 0x28
mov dword [esp + 0xf0], edx
mov word [esp + 0xf4], 1
mov word [esp + 0xf6], 0x20
mov dword [esp + 0xf8], edi
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], edi
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], edi
mov dword [esp + 0x10c], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [esi + 0x6c]
push eax
push edx
mov dword [esp + 0xb4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x12c]
cmp eax, edi
jl 0x404202
cmp eax, 0x64
jle 0x40420d
mov dword [esp + 0x12c], 0x64
fild dword [esp + 0x12c]
fmul qword [str.ffffff]
call fcn.0040dcec
mov byte [esi + 0x6a], al
mov eax, dword [esi + 0x1c]
push eax
call ebx
mov edx, dword [esi + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea ecx, [esp + 0x10c]
mov dword [esp + 0x7c], eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x110]
mov dword [esp + 0xc0], eax
mov eax, dword [esi + 0x6c]
lea edx, [esp + 0x50]
mov dword [esp + 0xc4], ecx
push edx
push eax
mov dword [esp + 0x58], edi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xf8]
push ecx
push edx
mov dword [esp + 0x12c], edi
call ebx
mov ebp, dword [esp + 0x100]
mov eax, dword [esp + 0xf8]
mov ebx, dword [esp + 0xfc]
mov ecx, dword [esi + 0x184]
sub ebp, eax
mov eax, dword [esp + 0x104]
sub eax, ebx
cmp ecx, edi
mov dword [esp + 0x54], ebp
je 0x4042e0
push edi
push edi
mov ecx, dword [ecx + 4]
push edi
push 2
push eax
push ebp
push edi
push edi
push eax
mov eax, dword [esp + 0x3c]
push ebp
push edi
push edi
push ecx
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
cmp eax, edi
je 0x4042e0
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x180]
cmp ebx, edi
je 0x404363
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x404303
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x180]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x404322
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x180]
mov eax, ebp
sub eax, ecx
sub eax, 0x14
cmp edx, edi
je 0x40433c
mov ebx, dword [edx + 4]
jmp 0x40433e
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
mov edx, dword [esp + 0x3c]
push ecx
push 4
push eax
push ebx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
cmp eax, edi
je 0x404363
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x190]
cmp ebx, edi
je 0x4043e6
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 0x404386
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x190]
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 0x4043a5
mov dword [ebx + 8], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x190]
mov eax, ebp
sub eax, ecx
sub eax, 0x24
cmp edx, edi
je 0x4043bf
mov ebx, dword [edx + 4]
jmp 0x4043c1
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 0x4043e6
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x188]
cmp ebx, edi
je 0x404465
mov eax, dword [ebx + 4]
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], edi
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, edi
je 0x404409
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x188]
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], edi
mov edx, dword [ebx + 4]
push edx
call sub.gdiplus.dll_GdipGetImageHeight
cmp eax, edi
je 0x404428
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x188]
cmp eax, edi
je 0x404437
mov edx, dword [eax + 4]
jmp 0x404439
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
mov eax, dword [esp + 0x3c]
push ecx
push 0x28
push 0xa
push edx
push eax
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov ebx, dword [esi + 0x18c]
cmp ebx, edi
je 0x4044fe
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x18], edi
call sub.gdiplus.dll_GdipGetImageWidth
push eax
mov ecx, ebx
call fcn.00404fd0
mov ebx, dword [esi + 0x18c]
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x18], edi
mov ecx, dword [ebx + 4]
push ecx
call sub.gdiplus.dll_GdipGetImageHeight
push eax
mov ecx, ebx
call fcn.00404fd0
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 + 0x18c]
sar ebx, 1
sar eax, 1
sub eax, ebx
cmp edx, edi
je 0x4044d2
mov edx, dword [edx + 4]
jmp 0x4044d4
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
push 0x9b
push eax
push edx
mov edx, dword [esp + 0x4c]
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edi
push eax
push edi
push 0x4347a4
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x68], eax
lea ecx, [esp + 0x24]
xor ebp, ebp
push ecx
push edi
push edi
mov dword [esp + 0x30], edi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x24]
push edi
push edx
mov byte [esp + 0x12c], 2
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00405140
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x64]
neg eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], edi
sbb eax, eax
push ecx
push 2
and eax, ebx
push 1
push 0x41500000
push eax
call sub.gdiplus.dll_GdipCreateFont
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x94], eax
mov dword [esp + 0x90], ebx
mov eax, dword [esi + 0x84]
mov byte [esp + 0x124], 3
cmp eax, edi
je 0x404651
lea ecx, [esp + 0x34]
call fcn.00405080
lea edx, [esp + 0x10]
mov dword [esp + 0x34], 0x42aa20
push edx
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 + 0x124], 4
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x94]
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 0x434794
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.004051d0
mov edx, dword [esp + 0x38]
mov byte [esp + 0x124], 3
mov dword [esp + 0x34], 0x42aa18
push edx
jmp 0x404706
lea ecx, [esp + 0x34]
call fcn.00405080
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 0x42aa20
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 + 0x124], 5
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x94]
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 0x434784
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.004051d0
mov eax, dword [esp + 0x38]
mov byte [esp + 0x124], 3
mov dword [esp + 0x34], 0x42aa18
push eax
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x34]
call fcn.00405080
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0x42aa20
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 + 0x124], 6
and eax, ecx
lea ecx, [esp + 0x24]
neg ecx
sbb ecx, ecx
push eax
and ecx, edx
lea edx, [esp + 0x94]
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 0x434774
push ecx
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.004051d0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], 0x42aa18
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov ebx, dword [esp + 0x64]
lea eax, [esp + 0x64]
neg eax
lea ecx, [esp + 0x74]
mov dword [esp + 0x74], 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 + 0x74]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ebx
lea edx, [esi + 0x194]
mov byte [esp + 0x124], 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.004024e0
mov ecx, dword [esp + 0x1c]
mov ebp, eax
add esp, 8
lea eax, [ecx + 1]
mov ecx, dword [esi + 0x80]
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x4048f9
lea ecx, [esp + 0x58]
call fcn.00405080
lea edx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42aa20
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 + 0x124], 8
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0xa0]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
lea eax, [esp + 0x9c]
fstp dword [esp + 0xa4]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
mov dword [esp + 0xb4], 0x420c0000
mov dword [esp + 0xc0], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x124], 7
mov dword [esp + 0x58], 0x42aa18
push edx
jmp 0x4049b6
lea ecx, [esp + 0x40]
call fcn.00405080
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42aa20
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 + 0x124], 9
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0x88]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
push ecx
fstp dword [esp + 0x90]
lea ecx, [esp + 0x88]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
push edx
mov dword [esp + 0x9c], 0x420c0000
mov dword [esp + 0xa8], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x124], 7
mov dword [esp + 0x40], 0x42aa18
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 0x40480c
mov eax, dword [esi + 0x84]
mov dword [esp + 0x30], 0x1a9
cmp eax, edi
lea eax, [esi + 0x1c4]
je 0x404a00
lea eax, [esi + 0x1ac]
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.004024e0
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0x80]
add edx, 5
add esp, 8
cmp edx, eax
jne 0x404af1
lea ecx, [esp + 0x40]
call fcn.00405080
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42aa20
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 + 0x124], 0xa
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0x88]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
push ecx
fstp dword [esp + 0x90]
lea ecx, [esp + 0x88]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push ebp
push edx
mov dword [esp + 0x9c], 0x420c0000
mov dword [esp + 0xa8], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov eax, dword [esp + 0x44]
mov byte [esp + 0x124], 7
mov dword [esp + 0x40], 0x42aa18
push eax
jmp 0x404bae
lea ecx, [esp + 0x58]
call fcn.00405080
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42aa20
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 + 0x124], 0xb
and eax, ecx
lea ecx, [esp + 0x24]
fild dword [esp + 0x30]
neg ecx
sbb ecx, ecx
push eax
fstp dword [esp + 0xa0]
and ecx, edx
lea edx, [esp + 0x38]
fild dword [esp + 0x58]
neg edx
sbb edx, edx
lea eax, [esp + 0x9c]
fstp dword [esp + 0xa4]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push ebp
push ecx
mov dword [esp + 0xb4], 0x420c0000
mov dword [esp + 0xc0], 0x41d80000
call sub.gdiplus.dll_GdipDrawString
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x124], 7
mov dword [esp + 0x58], 0x42aa18
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 0x404a08
mov eax, dword [esi + 0x17c]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x404c7a
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.00404fd0
mov eax, dword [esi + 0x17c]
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.00404fd0
mov eax, dword [esp + 0x54]
lea ecx, [eax - 0x122]
mov eax, dword [esi + 0x17c]
cmp eax, edi
je 0x404c48
mov eax, dword [eax + 4]
jmp 0x404c4a
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.004051d0
mov ecx, dword [0x4348f8]
mov dword [esp + 0x78], ecx
mov edx, dword [esi + 0x88]
lea eax, [esp + 0x78]
push edx
push 0x434770
push eax
mov byte [esp + 0x130], 0xc
call fcn.0041c11b
mov eax, dword [esi + 0x98]
push ebp
push eax
call fcn.004024e0
add esp, 0x14
lea ecx, [esp + 0x6c]
mov ebp, eax
mov dword [esp + 0x6c], edi
push ecx
push edi
push 0x434764
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x70], eax
mov edx, dword [esp + 0x24]
push 1
push edx
mov byte [esp + 0x12c], 0xd
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00405140
mov ecx, dword [esp + 0x6c]
lea eax, [esp + 0x6c]
neg eax
sbb eax, eax
mov dword [esp + 0x20], edi
and eax, ecx
lea ecx, [esp + 0x20]
push ecx
push 2
push 1
push 0x41900000
push eax
call sub.gdiplus.dll_GdipCreateFont
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb0], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x128], 0xe
mov dword [esp + 0x30], 0xfee1f2ff
call fcn.004050c0
fild dword [esp + 0x54]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0x41f00000
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x134], 0xf
fstp dword [esp]
push 0x43020000
push edi
call fcn.00404fb0
lea edx, [esp + 0xb8]
push eax
push edx
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
call fcn.00405170
mov eax, dword [esp + 0x44]
mov byte [esp + 0x124], 0xe
push eax
mov dword [esp + 0x44], 0x42aa18
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x1c]
mov edx, dword [esi + 0x78]
push 0xffffffffffffffec
push eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xc4], edx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xd4], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, eax
and ecx, 0x80000
cmp ecx, 0x80000
je 0x404dec
mov edx, dword [esi + 0x1c]
xor eax, 0x80000
push eax
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [esi + 0x6c]
lea eax, [esi + 0x68]
push 2
push eax
lea ecx, [esp + 0xd0]
push edi
push ecx
lea eax, [esp + 0xc8]
push edx
mov edx, dword [esp + 0x90]
lea ecx, [esp + 0xd4]
push eax
mov eax, dword [esi + 0x1c]
push ecx
push edx
push eax
call dword [esi + 0x1e0]
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov eax, dword [esi + 0x6c]
push eax
push ecx
call sub.gdiplus.dll_GdipReleaseDC
push eax
lea ecx, [esp + 0x1c]
call fcn.004051d0
mov edx, dword [esp + 0x7c]
mov eax, dword [esi + 0x1c]
push edx
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0xac]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esi + 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov edx, dword [esp + 0xb0]
mov dword [esi + 0x6c], edi
push edx
call sub.gdiplus.dll_GdipDeleteFont
mov eax, dword [esp + 0x6c]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
lea ecx, [esp + 0x78]
mov byte [esp + 0x124], 7
call fcn.00420a28
push ebx
call sub.gdiplus.dll_GdipDeleteFont
mov ecx, dword [esp + 0x50]
push ecx
call sub.gdiplus.dll_GdipDeleteFont
mov edx, dword [esp + 0x24]
push edx
call sub.gdiplus.dll_GdipDeleteStringFormat
mov eax, dword [esp + 0x64]
push eax
call sub.gdiplus.dll_GdipDeleteFontFamily
mov ecx, dword [esp + 0x18]
push ecx
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x11c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 4