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

Disassembly:
sub esp, 0x2b0
mov eax, dword [0x9c48d0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebp
push esi
push edi
mov edi, edx
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
push eax
mov eax, dword [edi]
mov esi, ecx
mov ecx, dword [edi + 8]
push ecx
push edx
push eax
push esi
mov dword [esp + 0x70], edi
call dword [sym.imp.GDI32.dll_IntersectClipRect]
cmp byte [ebx + 0x84], 0
je 0x431da8
call fcn.0042b780
mov eax, dword [0x9f45cc]
test eax, eax
je 0x431da8
lea ecx, [esp + 0x10]
push ecx
call eax
test eax, eax
js 0x431da8
cmp dword [esp + 0x10], 0
je 0x431da8
mov eax, dword [ebx + 0x64]
call fcn.0042a690
jmp 0x431dc7
mov edx, dword [ebx + 0x9c]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebp, eax
push ebp
push edi
push esi
call dword [sym.imp.USER32.dll_FillRect]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
fld1
lea eax, [esp + 0x90]
fst dword [esp + 0x90]
push eax
fldz
push esi
fst dword [esp + 0x9c]
fst dword [esp + 0xa0]
fst dword [esp + 0xa8]
fstp dword [esp + 0xac]
fstp dword [esp + 0xa4]
call dword [sym.imp.GDI32.dll_SetWorldTransform]
lea ecx, [esp + 0x40]
push ecx
push esi
mov dword [esp + 0x48], 0
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov ebp, dword [esp + 0x40]
push 1
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetCompositingMode]
push 2
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetCompositingQuality]
push 2
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
push 5
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
push 2
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetPageUnit]
mov eax, dword [ebx + 0x58]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
lea edi, [esp + 0x54]
push edi
xor edi, edi
push edi
push ecx
push edx
push eax
mov dword [esp + 0x68], 0
call dword [sym.imp.gdiplus.dll_GdipCreatePath2]
lea edx, [esp + 0x2c]
push edx
push edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x34], edi
call dword [sym.imp.gdiplus.dll_GdipCreatePath]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x44], edi
call dword [sym.imp.gdiplus.dll_GdipCreatePathIter]
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0x48]
push eax
push 0xff000000
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], edi
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
fld1
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x34]
push ecx
push edi
push ecx
fstp dword [esp]
push eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x44], edi
call dword [sym.imp.gdiplus.dll_GdipCreatePen2]
mov dword [esp + 0x38], eax
mov eax, dword [0x9f4b30]
cmp eax, edi
jne 0x431f2b
push 0x1f0
lea edx, [esp + 0xc0]
push edi
push edx
call fcn.0065b340
add esp, 0xc
push edi
lea eax, [esp + 0xbc]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0xc8], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ecx, [esp + 0x250]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov dword [0x9f4b30], eax
mov edi, esi
push eax
lea esi, [esp + 0x64]
call fcn.004314f0
fld dword [0x9adbd8]
mov edx, dword [ebx + 0x5c]
fstp dword [esp + 0x74]
fld1
sub edx, 0x14
fstp dword [esp + 0x78]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
push 0x9f4674
fstp dword [esp + 0x80]
fild dword [ebx + 0x60]
fstp dword [esp + 0x84]
call dword [sym.imp.gdiplus.dll_GdipStringFormatGetGenericDefault]
mov ecx, dword [0x9f4674]
mov dword [0x9f4678], eax
lea eax, [esp + 0x24]
push eax
xor edi, edi
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.gdiplus.dll_GdipCloneStringFormat]
mov edx, dword [esp + 0x24]
push 0x1000
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatFlags]
cmp eax, edi
je 0x431faa
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
push 1
push eax
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
cmp eax, edi
je 0x431fbf
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x24]
push 3
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetStringFormatTrimming]
cmp eax, edi
je 0x431fd4
mov dword [esp + 0x28], eax
cmp byte [ebx + 0x84], 0
je 0x431fe1
fldz
jmp 0x432013
mov eax, dword [ebx + 0x64]
lea edx, [esp + 0xa8]
push edx
push eax
xor esi, esi
call dword [sym.imp.USER32.dll_GetClientRect]
test eax, eax
je 0x432007
mov esi, dword [esp + 0xb4]
sub esi, dword [esp + 0xac]
sub esi, dword [ebx + 0x60]
dec esi
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fstp dword [esp + 0x44]
mov dword [esp + 0x10], edi
cmp dword [ebx], edi
jle 0x43242e
push ebp
call dword [sym.imp.gdiplus.dll_GdipResetWorldTransform]
mov eax, dword [ebx + 0x5c]
inc eax
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov eax, dword [esp + 0x5c]
push 0
sub esp, 8
fimul dword [esp + 0x1c]
fadd qword [0x9ad778]
fisub dword [eax]
fstp dword [esp + 0x28]
fld dword [esp + 0x50]
fisub dword [eax + 4]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fstp dword [esp + 4]
fld dword [esp + 0x28]
fstp dword [esp]
push ebp
call dword [sym.imp.gdiplus.dll_GdipTranslateWorldTransform]
mov ecx, dword [ebx + 0x60]
mov eax, dword [ebx + 0x5c]
lea edx, [esp + 0x14]
push edx
inc ecx
push ecx
inc eax
push eax
push 0
push 0
push ebp
mov dword [esp + 0x2c], 1
call dword [sym.imp.gdiplus.dll_GdipIsVisibleRectI]
cmp dword [esp + 0x14], 0
je 0x432421
cmp byte [0x9f43f7], 0
je 0x432125
cmp dword [ebx + 0x68], edi
je 0x432125
cmp dword [ebx + 0x6c], edi
je 0x432125
mov esi, dword [sym.imp.gdiplus.dll_GdipSetTextRenderingHint]
push 3
push ebp
call esi
push 1
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetCompositingMode]
mov eax, dword [ebx + 0xa0]
movzx ecx, al
mov edx, eax
or ecx, 0xffffff00
shr edx, 8
shl ecx, 8
movzx edx, dl
or ecx, edx
shr eax, 0x10
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
mov ecx, dword [esp + 0x70]
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
mov edx, dword [ebx + 0xc]
mov eax, dword [edx + edi*4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x7c]
push ecx
push edx
push 0xffffffffffffffff
push eax
push ebp
call dword [sym.imp.gdiplus.dll_GdipDrawString]
push 5
push ebp
call esi
jmp 0x432421
mov eax, dword [ebx + 0x8c]
mov dword [esp + 0x14], eax
cmp dword [ebx + 0x68], edi
jne 0x432140
mov ecx, dword [ebx + 0x94]
mov dword [esp + 0x14], ecx
jmp 0x43214f
cmp dword [ebx + 0x6c], edi
jne 0x43214f
mov edx, dword [ebx + 0x90]
mov dword [esp + 0x14], edx
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
call fcn.00453130
fstp dword [esp + 0x10]
mov eax, dword [esp + 0x18]
call fcn.00453130
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fld dword [esp + 0x10]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x432193
fcom qword [0x9adbd0]
fnstsw ax
test ah, 5
jnp 0x4321a2
jmp 0x4321eb
fld dword [0x9adbc8]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x4321eb
fld st(1)
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4321e3
fstp st(0)
push ecx
fdivr qword [0x9ad798]
mov ecx, dword [esp + 0x1c]
fsub qword [0x9ad778]
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fstp dword [esp]
call fcn.00452e00
fld dword [esp + 0x20]
add esp, 4
fld dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x4321eb
mov dword [esp + 0x18], 0xffffff
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fabs
fstp dword [esp + 0x20]
fld dword [esp + 0x20]
fcomp dword [0x9adbc4]
fnstsw ax
test ah, 5
jp 0x432231
fcomp dword [0x9adbc0]
fnstsw ax
test ah, 5
jp 0x432227
mov dword [esp + 0x18], 0xffffff
jmp 0x432233
mov dword [esp + 0x18], 0
jmp 0x432233
fstp st(0)
push 1
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetCompositingMode]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x4c]
push ecx
lea edx, [esp + 0x90]
push edx
push eax
call dword [sym.imp.gdiplus.dll_GdipPathIterNextMarkerPath]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x6c]
movzx ecx, al
mov edx, eax
or ecx, 0xffffff00
shr edx, 8
shl ecx, 8
movzx edx, dl
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
push esi
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push ebp
call dword [sym.imp.gdiplus.dll_GdipFillPath]
push 0
push ebp
call dword [sym.imp.gdiplus.dll_GdipSetCompositingMode]
mov eax, dword [esp + 0x18]
movzx edx, al
mov ecx, eax
or edx, 0xffffff00
shr ecx, 8
shl edx, 8
movzx ecx, cl
shr eax, 0x10
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
push esi
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
mov ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x24]
mov eax, dword [ecx + edi*4]
push esi
push edx
mov edx, dword [esp + 0x68]
lea ecx, [esp + 0x7c]
push ecx
push edx
push 0xffffffffffffffff
push eax
push ebp
call dword [sym.imp.gdiplus.dll_GdipDrawString]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x88]
push ecx
push edx
call dword [sym.imp.gdiplus.dll_GdipPathIterNextMarkerPath]
cmp dword [ebx + 0x70], edi
jne 0x43232f
mov eax, dword [ebx + 0xa8]
movzx ecx, al
mov edx, eax
or ecx, 0xffffff00
shr edx, 8
shl ecx, 8
movzx edx, dl
shr eax, 0x10
or ecx, edx
movzx eax, al
shl ecx, 8
or ecx, eax
push ecx
jmp 0x43235c
cmp dword [ebx + 0x74], edi
jne 0x432370
mov eax, dword [ebx + 0xa4]
movzx edx, al
mov ecx, eax
or edx, 0xffffff00
shr ecx, 8
shl edx, 8
movzx ecx, cl
shr eax, 0x10
or edx, ecx
movzx eax, al
shl edx, 8
or edx, eax
push edx
push esi
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
mov ecx, dword [esp + 0x2c]
push ecx
push esi
push ebp
call dword [sym.imp.gdiplus.dll_GdipFillPath]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x4c]
push edx
lea eax, [esp + 0x8c]
push eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipPathIterNextMarkerPath]
cmp dword [ebx + 0x70], edi
je 0x4323ad
cmp dword [ebx + 0x74], edi
je 0x4323ad
fld dword [0x9adb60]
mov eax, dword [ebx + 0x98]
push ecx
lea esi, [esp + 0x38]
fstp dword [esp]
call fcn.00432730
jmp 0x432405
mov eax, dword [ebx + 0xac]
movzx edx, al
mov ecx, eax
or edx, 0xffffff00
shr ecx, 8
movzx ecx, cl
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x34]
shr eax, 0x10
movzx eax, al
shl edx, 8
or edx, eax
push edx
push ecx
call dword [sym.imp.gdiplus.dll_GdipSetPenColor]
test eax, eax
je 0x4323e8
mov dword [esp + 0x38], eax
fld dword [0x9adb60]
mov edx, dword [esp + 0x34]
push ecx
fstp dword [esp]
push edx
call dword [sym.imp.gdiplus.dll_GdipSetPenWidth]
test eax, eax
je 0x432405
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push eax
push ecx
push ebp
call dword [sym.imp.gdiplus.dll_GdipDrawPath]
mov edx, dword [esp + 0x4c]
push edx
call dword [sym.imp.gdiplus.dll_GdipPathIterRewind]
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [ebx]
jl 0x432023
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov ecx, dword [esp + 0x60]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
mov eax, dword [esp + 0x6c]
push eax
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov ecx, dword [esp + 0x4c]
push ecx
call dword [sym.imp.gdiplus.dll_GdipDeletePathIter]
mov edx, dword [esp + 0x2c]
mov esi, dword [sym.imp.gdiplus.dll_GdipDeletePath]
push edx
call esi
mov eax, dword [esp + 0x54]
push eax
call esi
push ebp
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x2b4]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0065865c
add esp, 0x2b0
ret