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

Disassembly:
push 0xffffffffffffffff
push 0x429f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
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.0042343a
mov eax, dword [eax + 4]
push eax
mov dword [esp + 0xb4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x68], eax
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0xd4]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x74]
xor edi, edi
lea eax, [esp + 0x10c]
push edi
mov dword [esp + 0xdc], ecx
push edi
push eax
lea ecx, [esp + 0xe0]
push edi
push ecx
push edi
mov dword [esp + 0xec], 0x28
mov dword [esp + 0xf4], edx
mov word [esp + 0xf8], 1
mov word [esp + 0xfa], 0x20
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
mov dword [esp + 0x110], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov edx, dword [esi + 0x68]
push eax
push edx
mov dword [esp + 0xb4], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x130]
cmp eax, edi
jl 0x403c42
cmp eax, 0x64
jle 0x403c4d
mov dword [esp + 0x130], 0x64
fild dword [esp + 0x130]
fmul qword [str.ffffff]
call fcn.0040d8a0
mov byte [esi + 0x66], 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 + 0x110]
mov dword [esp + 0x74], eax
push ecx
push edx
call ebx
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x114]
mov dword [esp + 0xbc], eax
mov eax, dword [esi + 0x68]
lea edx, [esp + 0x50]
mov dword [esp + 0xc0], 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 + 0xfc]
push ecx
push edx
mov dword [esp + 0x130], edi
call ebx
mov ebp, dword [esp + 0x104]
mov eax, dword [esp + 0xfc]
mov ebx, dword [esp + 0x100]
mov ecx, dword [esi + 0x180]
sub ebp, eax
mov eax, dword [esp + 0x108]
sub eax, ebx
cmp ecx, edi
mov dword [esp + 0x54], ebp
je 0x403d20
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 0x403d20
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x17c]
cmp ebx, edi
je 0x403da3
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 0x403d43
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x17c]
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 0x403d62
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 0x403d7c
mov ebx, dword [edx + 4]
jmp 0x403d7e
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 0x403da3
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x18c]
cmp ebx, edi
je 0x403e26
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 0x403dc6
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x18c]
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 0x403de5
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 0x403dff
mov ebx, dword [edx + 4]
jmp 0x403e01
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 0x403e26
mov dword [esp + 0x1c], eax
mov ebx, dword [esi + 0x184]
cmp ebx, edi
je 0x403ea5
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 0x403e49
mov dword [ebx + 8], eax
mov ebx, dword [esi + 0x184]
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 0x403e68
mov dword [ebx + 8], eax
mov eax, dword [esi + 0x184]
cmp eax, edi
je 0x403e77
mov edx, dword [eax + 4]
jmp 0x403e79
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.00404c70
mov ebx, dword [esi + 0x188]
cmp ebx, edi
je 0x403f3e
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.00404b10
mov ebx, dword [esi + 0x188]
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.00404b10
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 0x403f12
mov edx, dword [edx + 4]
jmp 0x403f14
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.00404c70
lea eax, [esp + 0x64]
mov dword [esp + 0x64], edi
push eax
push edi
push 0x4365c8
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 + 0x130], 2
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00404be0
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 + 0x98], eax
mov dword [esp + 0x94], ebx
mov eax, dword [esi + 0x80]
mov byte [esp + 0x128], 3
cmp eax, edi
je 0x40409b
push 6
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0x42b920
call fcn.00404b10
lea edx, [esp + 0x10]
mov dword [esp + 0x34], 0x42b918
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 + 0x128], 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
lea eax, [esp + 0x44]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push 0x4365b8
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.00404c70
mov edx, dword [esp + 0x38]
mov byte [esp + 0x128], 3
mov dword [esp + 0x34], 0x42b920
push edx
jmp 0x404150
lea ecx, [esp + 0x34]
call fcn.00404b00
lea eax, [esp + 0x10]
mov dword [esp + 0x34], 0x42b918
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 + 0x128], 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
push ecx
lea ecx, [esp + 0x48]
and edx, ebx
push ecx
push edx
mov edx, dword [esp + 0x28]
push 0xffffffffffffffff
push 0x4365a8
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.00404c70
mov eax, dword [esp + 0x38]
mov byte [esp + 0x128], 3
mov dword [esp + 0x34], 0x42b920
push eax
call sub.gdiplus.dll_GdipDeleteBrush
lea ecx, [esp + 0x34]
call fcn.00404b00
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0x42b918
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 + 0x128], 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
lea eax, [esp + 0x44]
and edx, ebx
push ecx
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0xffffffffffffffff
push 0x436598
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.00404c70
mov edx, dword [esp + 0x38]
mov dword [esp + 0x34], 0x42b920
push edx
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 + 0x128], 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.004020a0
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 0x404340
lea ecx, [esp + 0x58]
call fcn.00404b00
lea edx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42b918
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 + 0x128], 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.00404c70
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x128], 7
mov dword [esp + 0x58], 0x42b920
push edx
jmp 0x4043fd
lea ecx, [esp + 0x40]
call fcn.00404b00
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42b918
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 + 0x128], 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.00404c70
mov eax, dword [esp + 0x44]
mov byte [esp + 0x128], 7
mov dword [esp + 0x40], 0x42b920
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 0x404256
mov eax, dword [esi + 0x80]
mov dword [esp + 0x30], 0x1a9
cmp eax, edi
lea eax, [esi + 0x1c0]
je 0x404447
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.004020a0
mov edx, dword [esp + 0x1c]
mov ebp, eax
mov eax, dword [esi + 0x7c]
add edx, 5
add esp, 8
cmp edx, eax
jne 0x404535
lea ecx, [esp + 0x40]
call fcn.00404b00
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x42b918
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 + 0x128], 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.00404c70
mov eax, dword [esp + 0x44]
mov byte [esp + 0x128], 7
mov dword [esp + 0x40], 0x42b920
push eax
jmp 0x4045f2
lea ecx, [esp + 0x58]
call fcn.00404b00
lea ecx, [esp + 0x2c]
mov dword [esp + 0x58], 0x42b918
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 + 0x128], 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.00404c70
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x128], 7
mov dword [esp + 0x58], 0x42b920
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 0x40444f
mov eax, dword [esi + 0x178]
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x4046be
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.00404b10
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.00404b10
mov eax, dword [esp + 0x54]
lea ecx, [eax - 0x122]
mov eax, dword [esi + 0x178]
cmp eax, edi
je 0x40468c
mov eax, dword [eax + 4]
jmp 0x40468e
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.00404c70
mov ecx, dword [0x436748]
mov dword [esp + 0x80], ecx
mov edx, dword [esi + 0x84]
lea eax, [esp + 0x80]
push edx
push 0x436594
push eax
mov byte [esp + 0x134], 0xc
call fcn.0041c3db
add esp, 0xc
lea ecx, [esi + 0x94]
push ecx
lea ecx, [esp + 0x80]
call fcn.0041e389
mov edx, dword [esp + 0x7c]
push ebp
push edx
mov byte [esp + 0x130], 0xd
call fcn.004020a0
add esp, 8
mov ebp, eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], edi
push eax
push edi
push 0x436588
call sub.gdiplus.dll_GdipCreateFontFamilyFromName
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x24]
push 1
push ecx
mov byte [esp + 0x130], 0xe
call sub.gdiplus.dll_GdipSetStringFormatAlign
push eax
lea ecx, [esp + 0x28]
call fcn.00404be0
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 + 0xb8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x128], 0xf
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], 0xfee1f2ff
call fcn.00404b60
fild dword [esp + 0x54]
lea edx, [esp + 0x24]
push eax
push edx
push 0x41f00000
push ecx
lea ecx, [esp + 0x94]
mov byte [esp + 0x138], 0x10
fstp dword [esp]
push 0x43020000
push edi
call fcn.00404a50
push eax
lea eax, [esp + 0xc0]
push eax
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x30]
call fcn.00404c10
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x128], 0xf
push ecx
mov dword [esp + 0x44], 0x42b920
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 + 0xcc], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd8], edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, eax
and edx, 0x80000
cmp edx, 0x80000
je 0x404852
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 + 0xd4]
push edi
push edx
lea ecx, [esp + 0xd4]
push eax
mov eax, dword [esp + 0x88]
lea edx, [esp + 0xd0]
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.00404c70
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 + 0xb0]
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 + 0xb4]
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 + 0x128], 0xc
call fcn.0041e614
lea ecx, [esp + 0x80]
mov byte [esp + 0x128], 7
call fcn.0041e614
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 + 0x120]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 4