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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x65c], 0
push esi
push edi
jne 0x456249
mov eax, dword [ebx + 0x5c]
mov ecx, dword [eax + 0x368]
mov dword [ebx + 0x65c], ecx
cmp dword [ebx + 0x660], 0
jne 0x456261
mov edx, dword [ebx + 0x5c]
mov eax, dword [edx + 0x364]
mov dword [ebx + 0x660], eax
mov eax, dword [ebx + 0x174]
mov ecx, dword [ebx + 0x178]
mov edx, dword [ebx + 0x17c]
mov esi, dword [ebx + 0x180]
add eax, dword [ebx + 0x66c]
sub edx, dword [ebx + 0x674]
add ecx, dword [ebx + 0x670]
sub esi, dword [ebx + 0x678]
cmp byte [ebx + 0x6a0], 0
mov dword [esp + 0x58], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], esi
jne 0x4563e4
mov ecx, dword [ebx + 0x1e4]
cmp word [ecx], 0
je 0x456be1
mov edx, dword [ebx]
mov eax, dword [edx + 0xe8]
mov ecx, ebx
mov dword [esp + 0x2c], 0
call eax
test al, al
je 0x45635f
cmp byte [ebx + 0x67c], 0
je 0x456326
mov ecx, dword [ebx + 0x668]
mov edx, dword [ebx + 0x664]
push ecx
mov ecx, dword [ebx + 0x65c]
push edx
mov edx, dword [ebx + 0x1e4]
lea eax, [esp + 0x34]
push eax
push 0
push 0
push ecx
mov ecx, dword [ebx + 0x5c]
push edx
mov edx, dword [ebp + 8]
lea eax, [esp + 0x74]
push eax
push ecx
push edx
call fcn.0045ffc0
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x668]
mov ecx, dword [ebx + 0x664]
mov edx, dword [ebx + 0x65c]
push eax
mov eax, dword [ebx + 0x1e4]
push ecx
push edx
mov edx, dword [ebp + 8]
push eax
lea ecx, [esp + 0x68]
push ecx
mov ecx, dword [ebx + 0x5c]
push edx
call fcn.0045feb0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp byte [ebx + 0x67c], 0
je 0x4563ab
mov eax, dword [ebx + 0x668]
mov ecx, dword [ebx + 0x664]
push eax
mov eax, dword [ebx + 0x660]
push ecx
mov ecx, dword [ebx + 0x1e4]
lea edx, [esp + 0x34]
push edx
push 0
push 0
push eax
mov eax, dword [ebx + 0x5c]
push ecx
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x74]
push edx
push eax
push ecx
call fcn.0045ffc0
add esp, 0x28
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebx + 0x668]
mov eax, dword [ebx + 0x664]
mov ecx, dword [ebx + 0x660]
push edx
mov edx, dword [ebx + 0x1e4]
push eax
push ecx
mov ecx, dword [ebp + 8]
push edx
lea eax, [esp + 0x68]
push eax
push ecx
mov ecx, dword [ebx + 0x5c]
call fcn.0045feb0
add esp, 0x18
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 0x664]
mov edx, dword [ebx + 0x5c]
call fcn.004424e0
mov edi, dword [ebp + 8]
push eax
lea esi, [esp + 0x48]
call fcn.00456e30
lea edx, [esp + 0x68]
push edx
xor esi, esi
push edi
mov dword [esp + 0x70], esi
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
push 4
push eax
mov dword [esp + 0x44], eax
call sub.gdiplus.dll_GdipSetTextRenderingHint
cmp eax, esi
je 0x45642c
mov dword [esp + 0x40], eax
lea eax, [esp + 0x24]
push eax
push esi
push esi
mov dword [esp + 0x30], esi
call sub.gdiplus.dll_GdipCreateStringFormat
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x668]
xor ecx, ecx
test al, 4
je 0x456453
mov ecx, 1
jmp 0x45645c
test al, 8
je 0x45645c
mov ecx, 2
push ecx
mov ecx, dword [esp + 0x28]
push ecx
call sub.gdiplus.dll_GdipSetStringFormatLineAlign
cmp eax, esi
je 0x45646f
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x668]
xor ecx, ecx
test al, 1
je 0x456482
mov ecx, 1
jmp 0x45648b
test al, 2
je 0x45648b
mov ecx, 2
mov edx, dword [esp + 0x24]
push ecx
push edx
call sub.gdiplus.dll_GdipSetStringFormatAlign
cmp eax, esi
je 0x45649e
mov dword [esp + 0x28], eax
fild dword [esp + 0x58]
mov edi, dword [ebx + 0x698]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x14]
mov eax, dword [esp + 0x14]
fild dword [esp + 0x5c]
mov dword [esp + 0x90], eax
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fst dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fild dword [esp + 0x60]
mov dword [esp + 0x94], ecx
fsubrp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x98], edx
fisubr dword [esp + 0x64]
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x20]
fld dword [esp + 0x14]
mov dword [esp + 0x9c], eax
fadd dword [ebx + 0x6b4]
fstp dword [esp + 0x90]
fld dword [ebx + 0x6b8]
fadd dword [esp + 0x94]
fstp dword [esp + 0x94]
cmp edi, esi
jne 0x456535
mov edi, dword [esp + 0x64]
sub edi, dword [esp + 0x5c]
mov ecx, dword [ebx + 0x6ac]
cmp ecx, 0xffffffff
jne 0x456546
mov ecx, dword [ebx + 0x6a8]
mov edx, dword [ebx + 0x69c]
mov eax, dword [ebx + 0x6a8]
mov dword [esp + 0xa0], edx
mov dword [esp + 0x10], ebx
mov ebx, ecx
lea edx, [esp + 0x2c]
push edx
mov edx, ecx
shr edx, 0x18
shl edx, 8
push esi
shr ebx, 0x10
mov dword [esp + 0xb8], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0x34], esi
movzx esi, bl
or edx, esi
mov ebx, ecx
shl edx, 8
movzx ecx, cl
shr ebx, 8
movzx esi, bl
or edx, esi
shl edx, 8
or edx, ecx
push edx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov edx, eax
shr edx, 0x18
shl edx, 8
or edx, ecx
mov ecx, eax
shr ecx, 8
shl edx, 8
movzx ecx, cl
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0xb4]
push edx
mov dword [esp + 0xcc], edi
call sub.gdiplus.dll_GdipCreateLineBrushI
mov ebx, dword [esp + 0x10]
mov ecx, dword [ebx + 0x6a4]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xd0], eax
cmp ecx, 0xffffffff
jne 0x456601
mov ecx, dword [ebx + 0x65c]
mov edx, dword [ebx + 0x69c]
mov eax, dword [ebx + 0x65c]
mov dword [esp + 0xb8], edx
mov dword [esp + 0x10], ebx
mov ebx, ecx
lea edx, [esp + 0x54]
push edx
mov edx, ecx
shr edx, 0x18
shl edx, 8
shr ebx, 0x10
mov dword [esp + 0xb0], edi
movzx edi, bl
or edx, edi
mov ebx, ecx
shl edx, 8
movzx ecx, cl
shr ebx, 8
movzx edi, bl
or edx, edi
shl edx, 8
or edx, ecx
xor esi, esi
push esi
push edx
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov edx, eax
shr edx, 0x18
shl edx, 8
or edx, ecx
mov ecx, eax
shr ecx, 8
shl edx, 8
movzx ecx, cl
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
lea ecx, [esp + 0xb8]
push ecx
lea edx, [esp + 0xcc]
push edx
mov dword [esp + 0xc0], esi
mov dword [esp + 0xd4], esi
mov dword [esp + 0x6c], esi
call sub.gdiplus.dll_GdipCreateLineBrushI
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0x6a1], 0
mov eax, dword [esp + 0x54]
mov dword [esp + 0xc4], eax
je 0x4568e1
fld dword [esp + 0x1c]
fld st(0)
fdiv dword [ebx + 0x694]
call fcn.00589860
mov edi, 1
cmp eax, edi
mov dword [esp + 0x34], eax
jge 0x4566dc
mov dword [esp + 0x34], edi
fld dword [esp + 0x20]
fld st(0)
fdiv dword [ebx + 0x694]
call fcn.00589860
cmp eax, edi
mov dword [esp + 0x38], eax
jge 0x4566f9
mov dword [esp + 0x38], edi
lea ecx, [esp + 0x74]
push ecx
push esi
push 0x26200a
push esi
mov dword [esp + 0x84], esi
call fcn.00589860
push eax
call fcn.00589860
push eax
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov edi, dword [esp + 0x74]
lea edx, [esp + 0x7c]
push edx
push edi
mov dword [esp + 0x84], esi
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov esi, dword [esp + 0x7c]
push 4
push esi
call sub.gdiplus.dll_GdipSetSmoothingMode
push 4
push esi
call sub.gdiplus.dll_GdipSetTextRenderingHint
push 4
push esi
call sub.gdiplus.dll_GdipSetCompositingQuality
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea eax, [esp + 0x78]
push eax
push 0
push 0x26200a
push 0
push ecx
push edx
mov dword [esp + 0x90], 0
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x10]
push ecx
push eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x18], 0
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov eax, dword [esp + 0x10]
push 7
push eax
mov dword [esp + 0x74], eax
call sub.gdiplus.dll_GdipSetInterpolationMode
mov edx, dword [esp + 0x6c]
push 3
push edx
call sub.gdiplus.dll_GdipSetPixelOffsetMode
mov ecx, dword [esp + 0x44]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x4c]
push eax
push ecx
call sub.gdiplus.dll_GdipGetFamily
test eax, eax
je 0x4567d6
mov dword [esp + 0x50], eax
mov dword [esp + 0x48], eax
mov ecx, dword [ebx + 0x658]
mov eax, ecx
lea edx, [eax + 2]
mov dword [esp + 0x30], edx
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4567e5
mov edx, dword [esp + 0x54]
sub eax, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x28]
push edx
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x50]
push edx
sar eax, 1
push eax
push ecx
push esi
call sub.gdiplus.dll_GdipDrawString
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x6c]
push eax
push ecx
push 0
push 0
push edi
push edx
call sub.gdiplus.dll_GdipDrawImageRectI
push 0
push esi
call sub.gdiplus.dll_GdipGraphicsClear
fld dword [esp + 0x20]
call fcn.00589860
fld dword [esp + 0x1c]
mov dword [esp + 0x30], eax
call fcn.00589860
fld dword [ebx + 0x6b8]
mov dword [esp + 0x34], eax
call fcn.00589860
fld dword [ebx + 0x6b4]
mov dword [esp + 0x38], eax
call fcn.00589860
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push eax
push edx
push esi
call sub.gdiplus.dll_GdipDrawImageRectI
push 4
push esi
call sub.gdiplus.dll_GdipSetTextRenderingHint
fld dword [esp + 0x18]
mov eax, dword [esp + 0x68]
sub esp, 8
fstp dword [esp + 4]
fld dword [esp + 0x1c]
fstp dword [esp]
push edi
push eax
call sub.gdiplus.dll_GdipDrawImage
test eax, eax
je 0x4568b2
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x4c]
push ecx
call sub.gdiplus.dll_GdipDeleteFontFamily
mov edx, dword [esp + 0x6c]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
mov eax, dword [esp + 0x84]
push eax
call sub.gdiplus.dll_GdipDisposeImage
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
push edi
call sub.gdiplus.dll_GdipDisposeImage
xor esi, esi
cmp byte [ebx + 0x6a2], 0
je 0x456b19
mov eax, dword [ebx + 0x6b0]
cmp eax, esi
jbe 0x456b19
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov ecx, eax
shr ecx, 0x18
shl ecx, 8
or ecx, edx
shl ecx, 8
mov edx, eax
shr edx, 8
movzx edx, dl
or ecx, edx
shl ecx, 8
movzx edx, al
or ecx, edx
mov dword [esp + 0x30], ecx
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 0x18
shl ecx, 8
movzx edx, dl
or ecx, edx
mov edx, eax
shl ecx, 8
shr edx, 8
movzx edx, dl
or ecx, edx
mov edx, dword [ebx + 0x69c]
shl ecx, 8
movzx eax, al
or ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x64]
sub ecx, dword [esp + 0x5c]
lea eax, [esp + 0x6c]
add ecx, 2
mov dword [esp + 0x70], ecx
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x70], esi
mov dword [esp + 0x54], esi
push ecx
lea eax, [esp + 0x38]
lea ecx, [esp + 0x18]
lea esi, [esp + 0x88]
mov dword [esp + 0x54], edx
call fcn.00456df0
mov ecx, dword [ebx + 0x1e4]
fld dword [esp + 0x14]
mov eax, ecx
fsub qword [0x610e18]
lea esi, [eax + 2]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd qword [0x610dd8]
fstp dword [esp + 0x18]
jmp 0x4569c0
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x4569c0
sub eax, esi
lea edx, [esp + 0x14]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
lea edi, [esp + 0x50]
lea esi, [esp + 0x48]
call fcn.00456c90
fld dword [esp + 0x14]
fadd qword [0x610e20]
mov ecx, dword [ebx + 0x1e4]
mov eax, ecx
lea esi, [eax + 2]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd qword [0x610dd8]
fstp dword [esp + 0x18]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x456a15
sub eax, esi
lea edx, [esp + 0x14]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
lea edi, [esp + 0x50]
lea esi, [esp + 0x48]
call fcn.00456c90
fld dword [esp + 0x14]
fld1
mov ecx, dword [ebx + 0x1e4]
fsub st(1), st(0)
mov eax, ecx
fxch st(1)
lea esi, [eax + 2]
fstp dword [esp + 0x14]
fsubr dword [esp + 0x18]
fstp dword [esp + 0x18]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x456a64
sub eax, esi
lea edx, [esp + 0x14]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
lea edi, [esp + 0x50]
lea esi, [esp + 0x48]
call fcn.00456c90
fld dword [esp + 0x14]
fadd qword [0x610dd8]
mov ecx, dword [ebx + 0x1e4]
mov eax, ecx
lea esi, [eax + 2]
fstp dword [esp + 0x14]
fld dword [esp + 0x18]
fadd qword [0x610e20]
fstp dword [esp + 0x18]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x456ac0
sub eax, esi
lea edx, [esp + 0x14]
sar eax, 1
push edx
push eax
push ecx
lea eax, [esp + 0x8c]
lea ecx, [esp + 0x30]
lea edi, [esp + 0x50]
lea esi, [esp + 0x48]
call fcn.00456c90
fld dword [esp + 0x14]
fadd qword [0x610dd8]
mov eax, dword [esp + 0x84]
push eax
fstp dword [esp + 0x18]
fld dword [esp + 0x1c]
fsub qword [0x610e18]
fstp dword [esp + 0x1c]
call sub.gdiplus.dll_GdipDeleteBrush
xor esi, esi
cmp byte [ebx + 0x6a3], 0
je 0x456b74
cmp dword [ebx + 0x6a8], esi
ja 0x456b32
cmp dword [ebx + 0x6ac], esi
jbe 0x456b74
mov edx, dword [ebx + 0x1e4]
mov eax, edx
lea edi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x456b40
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
push ecx
sub eax, edi
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x98]
push ecx
push edi
sar eax, 1
push eax
push edx
mov edx, dword [esp + 0x54]
push edx
call sub.gdiplus.dll_GdipDrawString
jmp 0x456b78
mov edi, dword [esp + 0x44]
mov ebx, dword [ebx + 0x1e4]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x456b83
mov ecx, dword [esp + 0xc4]
mov esi, dword [esp + 0x3c]
push ecx
sub eax, edx
mov edx, dword [esp + 0x28]
push edx
lea ecx, [esp + 0x1c]
push ecx
push edi
sar eax, 1
push eax
push ebx
push esi
call sub.gdiplus.dll_GdipDrawString
mov edx, dword [esp + 0xc4]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0xd0]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x24]
push ecx
call sub.gdiplus.dll_GdipDeleteStringFormat
push esi
call sub.gdiplus.dll_GdipDeleteGraphics
push edi
call sub.gdiplus.dll_GdipDeleteFont
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4