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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x42613c]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
xor eax, eax
push esi
push edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x3c]
push eax
mov ebx, edx
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov edi, eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov dword [esp + 0x24], edi
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [esp + 0x30], eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea edx, [esp + 0x20]
push edx
xor ebx, ebx
push edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x3c], eax
call dword [sym.imp.gdiplus.dll_GdipGraphicsClear]
fild dword [esi + 0x94]
fmul dword [esi + 0x8c]
call fcn.00417ec0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0xffffffffffffffff
mov dword [esp + 0x20], ebx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ebx, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x1c], edi
jle 0x408cb3
fild dword [esp + 0x10]
fstp dword [esp + 0x10]
fld dword [esp + 0x10]
fld st(0)
fmul dword [esi + 0x80]
fnstcw word [esp + 0x10]
movzx eax, word [esp + 0x10]
fadd dword [esi + 0x74]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
mov cl, byte [esp + 0x14]
movzx ecx, cl
or ecx, 0xffffff00
fldcw word [esp + 0x10]
shl ecx, 8
fnstcw word [esp + 0x10]
fld st(0)
movzx eax, word [esp + 0x10]
fmul dword [esi + 0x84]
or eax, 0xc00
mov dword [esp + 0x14], eax
fadd dword [esi + 0x78]
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
or ecx, eax
shl ecx, 8
fldcw word [esp + 0x10]
fmul dword [esi + 0x88]
fnstcw word [esp + 0x10]
fadd dword [esi + 0x7c]
movzx eax, word [esp + 0x10]
or eax, 0xc00
mov dword [esp + 0x14], eax
fldcw word [esp + 0x14]
fistp dword [esp + 0x14]
movzx eax, byte [esp + 0x14]
or ecx, eax
push ecx
fldcw word [esp + 0x14]
push ebx
call dword [sym.imp.gdiplus.dll_GdipSetSolidFillColor]
mov ecx, dword [esp + 0x34]
push 0x1c
push 1
push 1
inc edi
push edi
push ebx
push ecx
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x1c]
jl 0x408be3
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x24]
sub edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
push esi
push edx
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edi, dword [esp + 0x34]
push esi
push edi
call dword [sym.imp.gdiplus.dll_GdipReleaseDC]
mov edx, dword [esp + 0x30]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x28]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.00414976
mov esp, ebp
pop ebp
ret