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

Disassembly:
push 0xffffffffffffffff
push 0x478b53
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
push ebx
push ebp
push esi
push edi
mov eax, dword [0x496028]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x100]
fld dword [edi + 0x58]
mov eax, dword [edi + 0x108]
fstp dword [esp + 0x18]
mov esi, dword [edi + 0x104]
mov ecx, dword [edi + 0x10c]
sub eax, edx
sub ecx, esi
dec eax
dec ecx
mov dword [esp + 0x68], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x6c], ecx
mov edx, 1
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
call dword [sym.imp.USER32.dll_CopyRect]
mov eax, dword [edi + 0x100]
mov ecx, dword [edi + 0x104]
mov ebp, dword [edi + 0x108]
mov edx, dword [edi + 0x10c]
sub ebp, eax
sub edx, ecx
push 0x10
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], edx
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x436bcd
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x26200a
push ebx
push eax
push ebp
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x34], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromScan0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x44], esi
jmp 0x436bd3
mov dword [esp + 0x44], ebx
mov esi, ebx
push 8
call sub.gdiplus.dll_GdipAlloc
mov ebp, eax
cmp ebp, ebx
je 0x436c02
mov dword [esp + 0x1c], ebx
cmp esi, ebx
je 0x436bf9
mov eax, dword [esi + 4]
lea edx, [esp + 0x1c]
push edx
push eax
call sub.gdiplus.dll_GdipGetImageGraphicsContext
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
jmp 0x436c04
xor ebp, ebp
mov edx, dword [ebp]
push 2
push edx
call sub.gdiplus.dll_GdipSetSmoothingMode
cmp eax, ebx
je 0x436c16
mov dword [ebp + 4], eax
fild dword [esp + 0x68]
mov eax, dword [edi + 0xb0]
mov ecx, dword [edi + 0xac]
lea edx, [esp + 0x1c]
fstp dword [esp + 0x14]
push edx
fild dword [esp + 0x70]
push ebx
push eax
push ecx
fstp dword [esp + 0x50]
lea eax, [esp + 0x40]
fld dword [esp + 0x24]
push eax
fstp dword [esp + 0x44]
lea ecx, [esp + 0x64]
fld dword [esp + 0x54]
push ecx
fstp dword [esp + 0x4c]
mov dword [esp + 0x78], vtable.Gdiplus::LinearGradientBrush.0
fldz
mov dword [esp + 0x34], ebx
fst dword [esp + 0x68]
fstp dword [esp + 0x6c]
call sub.gdiplus.dll_GdipCreateLineBrush
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], esi
mov dword [esp + 0xdc], ebx
mov ecx, dword [edi + 0x7c]
mov eax, 0x1b4e81b5
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x70]
fild dword [esp + 0x14]
push ecx
push ebx
push ecx
fstp dword [esp + 0x20]
mov dword [esp + 0x7c], ebx
fld dword [esp + 0x20]
fstp dword [esp]
push esi
call sub.gdiplus.dll_GdipCreatePen2
mov dword [esp + 0x74], eax
push ebp
mov eax, edi
call fcn.00437ae0
mov eax, dword [esp + 0x28]
mov edx, eax
sub edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
fild dword [esp + 0x14]
cdq
sub eax, edx
fdiv qword [0x4886e8]
mov edx, dword [esp + 0x24]
sar eax, 1
mov dword [esp + 0x30], eax
mov dword [esp + 0x50], eax
lea eax, [esp + 0x48]
push eax
push ebx
push 0xff000000
mov dword [esp + 0x40], ecx
push 0xff000000
lea ecx, [esp + 0x40]
mov dword [esp + 0x64], edx
push ecx
lea edx, [esp + 0x64]
mov dword [esp + 0x94], vtable.Gdiplus::LinearGradientBrush.0
mov dword [esp + 0x5c], ebx
push edx
fstp dword [esp + 0x58]
call sub.gdiplus.dll_GdipCreateLineBrushI
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x84], eax
mov eax, dword [edi + 0xc8]
mov dl, byte [edi + 0xc8]
mov ecx, eax
shr eax, 0x10
movzx eax, al
shr ecx, 8
or eax, 0x6400
movzx ecx, cl
shl eax, 8
or eax, ecx
movzx edx, dl
shl eax, 8
lea ecx, [esp + 0x4c]
or eax, edx
push ecx
push eax
mov dword [esp + 0xbc], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x54], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edx, dword [esp + 0x4c]
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], edx
fld1
mov eax, dword [edi + 0xc8]
lea ecx, [esp + 0x78]
push ecx
push ebx
push ecx
fstp dword [esp]
push eax
mov dword [esp + 0x88], ebx
call sub.gdiplus.dll_GdipCreatePen1
mov dword [esp + 0x7c], eax
mov byte [esp + 0xdc], 4
mov eax, dword [edi + 0xf0]
mov eax, dword [eax]
mov esi, dword [edi + 0xd8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
jmp 0x436de0
mov edx, dword [edi + 0xf0]
mov eax, dword [edi + 0xd8]
mov dword [esp + 0x34], edx
cmp esi, ebx
je 0x436df8
cmp esi, eax
je 0x436dfe
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x3c], eax
je 0x43704d
cmp esi, ebx
jne 0x437046
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor esi, esi
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esi + 0x18]
jne 0x436e2b
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx + 0x10]
test ebx, ebx
je 0x437032
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x1c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push eax
call sub.gdiplus.dll_GdipSetLineColors
test eax, eax
je 0x436e57
mov dword [esp + 0x88], eax
fild dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
fstp dword [esp + 0xa4]
fild dword [esp + 0x24]
mov dword [esp + 0x14], ecx
sub esp, 8
lea eax, [esp + 0x88]
fstp dword [esp + 0xb0]
mov esi, ebp
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0xb4]
fild dword [esp + 0x1c]
fstp dword [esp + 0xb8]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push eax
lea eax, [esp + 0xb0]
call fcn.00434730
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x50]
push ecx
call sub.gdiplus.dll_GdipSetLineColors
test eax, eax
je 0x436edf
mov dword [esp + 0x88], eax
fild dword [esp + 0x20]
mov edx, dword [esp + 0x28]
fld dword [esp + 0x40]
sub edx, dword [esp + 0x20]
fld st(0)
mov eax, dword [esp + 0x2c]
faddp st(2)
sub eax, dword [esp + 0x24]
fxch st(1)
mov dword [esp + 0x14], edx
sub esp, 8
fstp dword [esp + 0x58]
lea ecx, [esp + 0x88]
fild dword [esp + 0x2c]
mov esi, ebp
fadd st(1)
fstp dword [esp + 0x5c]
fadd st(0), st(0)
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x58]
fsub st(1)
fstp dword [esp + 0x60]
fisubr dword [esp + 0x1c]
fstp dword [esp + 0x64]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.00434730
cmp dword [ebx + 0x44], 0
je 0x437027
fild dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
fstp dword [esp + 0x8c]
fild dword [esp + 0x24]
mov dword [esp + 0x14], edx
sub esp, 8
lea ecx, [esp + 0xbc]
fstp dword [esp + 0x98]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x94]
fstp dword [esp + 0x9c]
fild dword [esp + 0x1c]
fstp dword [esp + 0xa0]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.00434730
fild dword [esp + 0x20]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
fstp dword [esp + 0xc0]
fild dword [esp + 0x24]
sub eax, dword [esp + 0x24]
mov dword [esp + 0x14], edx
sub esp, 8
fstp dword [esp + 0xcc]
lea ecx, [esp + 0x80]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc8]
fstp dword [esp + 0xd0]
fild dword [esp + 0x1c]
fstp dword [esp + 0xd4]
fld dword [ebx + 0xc]
fstp dword [esp + 4]
fld dword [esp + 0x20]
fstp dword [esp]
push ecx
call fcn.00434640
fld dword [esp + 0x18]
fadd dword [ebx + 0xc]
fstp dword [esp + 0x18]
lea esi, [esp + 0x38]
call fcn.00403780
mov esi, dword [esp + 0x38]
xor ebx, ebx
jmp 0x436de0
mov esi, dword [esi]
jmp 0x436e1c
mov eax, dword [edi + 0xf0]
fld dword [edi + 0x58]
mov eax, dword [eax]
fstp dword [esp + 0x18]
mov esi, dword [edi + 0xd8]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
lea ebx, [ebx]
mov edx, dword [edi + 0xf0]
mov eax, dword [edi + 0xd8]
mov dword [esp + 0xa8], edx
cmp esi, ebx
je 0x43708b
cmp esi, eax
je 0x437091
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0xa8]
cmp dword [esp + 0x3c], eax
je 0x4371db
cmp esi, ebx
jne 0x4371d4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
xor esi, esi
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esi + 0x18]
jne 0x4370c1
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x10]
mov dword [esp + 0xa0], eax
cmp eax, ebx
je 0x4371c2
fld dword [eax + 0xc]
mov esi, dword [esp + 0x20]
fadd dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, esi
cdq
fmul qword [0x488648]
sub eax, edx
sar eax, 1
mov dword [esp + 0x40], eax
fdiv qword [0x488650]
fst qword [esp + 0x8c]
call sub.MSVCR90.dll__CIcos
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
lea eax, [esi + ecx]
cdq
sub eax, edx
fmulp st(1)
sar eax, 1
mov dword [esp + 0x14], eax
fiadd dword [esp + 0x40]
fstp dword [esp + 0x50]
fld qword [esp + 0x8c]
call sub.MSVCR90.dll__CIsin
mov eax, dword [esp + 0x2c]
sub eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x8c], eax
fild dword [esp + 0x8c]
mov edx, dword [esp + 0x70]
mov eax, dword [ebp]
sub esp, 0x10
fmulp st(1)
fiadd dword [esp + 0x24]
fstp dword [esp + 0x64]
fild dword [esp + 0x50]
fstp dword [esp + 0x40]
fild dword [esp + 0x24]
fstp dword [esp + 0x44]
fld dword [esp + 0x64]
fstp dword [esp + 0xc]
fld dword [esp + 0x60]
fstp dword [esp + 8]
fld dword [esp + 0x44]
fstp dword [esp + 4]
fld dword [esp + 0x40]
fstp dword [esp]
push edx
push eax
call sub.gdiplus.dll_GdipDrawLine
cmp eax, ebx
je 0x4371b0
mov dword [ebp + 4], eax
mov ecx, dword [esp + 0xa0]
fld dword [ecx + 0xc]
fadd dword [esp + 0x18]
fstp dword [esp + 0x18]
lea esi, [esp + 0x38]
call fcn.00403780
mov esi, dword [esp + 0x38]
jmp 0x437070
mov esi, dword [esi]
jmp 0x4370b2
push ebp
push edi
call fcn.00435b80
cmp dword [edi + 0xd4], ebx
je 0x4371f1
push ebp
push edi
call fcn.00436680
mov edx, dword [ebp]
push edx
call sub.gdiplus.dll_GdipDeleteGraphics
push ebp
call sub.gdiplus.dll_GdipFree
mov eax, dword [esp + 0xe4]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov dword [esp + 0x1c], ebx
call sub.gdiplus.dll_GdipCreateFromHDC
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebp
push 0xc
mov byte [esp + 0xe0], 5
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x437259
mov edx, dword [esp + 0x44]
lea eax, [esi + 4]
push eax
mov dword [esi], vtable.Gdiplus::CachedBitmap.0
mov dword [eax], ebx
mov eax, dword [edx + 4]
push ebp
push eax
call sub.gdiplus.dll_GdipCreateCachedBitmap
mov dword [esi + 8], eax
jmp 0x43725b
xor esi, esi
mov ebx, dword [esp + 0x44]
call fcn.00438860
mov ecx, ebx
test ecx, ecx
je 0x437272
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov ecx, dword [esi + 4]
push 0
push 0
push ecx
push ebp
call sub.gdiplus.dll_GdipDrawCachedBitmap
test eax, eax
je 0x437288
mov dword [esp + 0x34], eax
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
push ebp
call sub.gdiplus.dll_GdipDeleteGraphics
mov ecx, dword [esp + 0x78]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [esp + 0x4c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov eax, dword [esp + 0x48]
push eax
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x70]
push ecx
call sub.gdiplus.dll_GdipDeletePen
mov edx, dword [esp + 0x1c]
push edx
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcc
ret 4