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

Disassembly:
sub esp, 0x7c
fldz
push ebx
push ebp
fst dword [esp + 0x1c]
mov ebp, dword [esp + 0x88]
fst dword [esp + 0x20]
mov ecx, dword [ebp + 0xfc]
fst dword [esp + 0x14]
push esi
fstp dword [esp + 0x1c]
push edi
mov esi, eax
lea eax, [esp + 0x24]
push eax
push ecx
lea ecx, [esp + 0x30]
lea ebx, [esp + 0x28]
lea edi, [esp + 0x24]
mov edx, ebp
call fcn.00c49b20
mov edx, dword [ebp + 0xa4]
shr edx, 7
add esp, 8
test dl, 1
je 0xc4d037
mov al, byte [ebp + 0x3b]
jmp 0xc4d04a
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0xc4d1ce
call fcn.00c182f0
test al, al
je 0xc4d1ce
lea eax, [esp + 0x70]
push eax
mov ecx, ebp
call fcn.00c18130
fld qword [eax + 0x10]
fmul qword [0xd64c38]
sub esp, 8
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
add esp, 8
call fcn.00d38790
lea ecx, [esp + 0x58]
push ecx
mov ecx, ebp
mov ebx, eax
call fcn.00c18130
fld qword [eax + 8]
fmul qword [0xd64c38]
sub esp, 8
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
add esp, 8
call fcn.00d38790
lea edx, [esp + 0x40]
push edx
mov ecx, ebp
mov dword [esp + 0x34], eax
call fcn.00c18130
fld qword [eax]
fmul qword [0xd64c38]
sub esp, 8
mov dword [esp + 0x3c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x20], 0
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
fnstcw word [esp + 0x1e]
add esp, 8
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov al, byte [esp + 0x2c]
movzx ecx, al
fldcw word [esp + 0x16]
fld qword [esp + 0xa8]
fmul qword [0xd64c38]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x2c], eax
fldcw word [esp + 0x2c]
fistp dword [esp + 0x2c]
mov dl, byte [esp + 0x2c]
movzx eax, dl
movzx edx, byte [esp + 0x30]
fldcw word [esp + 0x16]
shl eax, 8
or ecx, eax
shl ecx, 8
or ecx, edx
movzx eax, bl
shl ecx, 8
lea edx, [esp + 0x18]
or ecx, eax
push edx
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
mov eax, edi
test edi, edi
jne 0xc4d183
lea eax, [esp + 0x34]
fild dword [ebp + 0xb8]
push eax
lea eax, [esp + 0x44]
fadd qword [esp + 0x9c]
fstp dword [esp + 0x44]
fild dword [ebp + 0xbc]
fadd qword [esp + 0xa4]
fsub dword [esp + 0x20]
fstp dword [esp + 0x48]
fild dword [ebp + 0xc8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x24]
fstp dword [esp + 0x50]
call fcn.00c46150
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
jmp 0xc4d1d5
mov edi, dword [esp + 0x94]
mov ebx, dword [ebp + 0xa4]
mov eax, ebx
shr eax, 6
test al, 1
je 0xc4d1e9
mov al, byte [ebp + 0x3a]
jmp 0xc4d1fc
mov eax, dword [ebp + 0xa8]
test eax, eax
je 0xc4d42c
call fcn.00c18320
test al, al
je 0xc4d42c
fldz
shr ebx, 0xb
test bl, 1
je 0xc4d226
fstp st(0)
fld qword [ebp + 0x70]
fstp qword [esp + 0x40]
fld qword [ebp + 0x78]
fstp qword [esp + 0x48]
fld qword [ebp + 0x80]
jmp 0xc4d246
mov ecx, dword [ebp + 0xa8]
test ecx, ecx
je 0xc4d23e
lea edx, [esp + 0x40]
fstp st(0)
push edx
call fcn.00c18190
jmp 0xc4d24a
fst qword [esp + 0x40]
fst qword [esp + 0x48]
fstp qword [esp + 0x50]
fld qword [esp + 0x50]
sub esp, 8
fmul qword [0xd64c38]
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
add esp, 8
call fcn.00d38790
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0xa4]
shr eax, 0xb
test al, 1
je 0xc4d294
fld qword [ebp + 0x70]
fstp qword [esp + 0x58]
fld qword [ebp + 0x78]
fstp qword [esp + 0x60]
fld qword [ebp + 0x80]
jmp 0xc4d2b4
mov ecx, dword [ebp + 0xa8]
test ecx, ecx
je 0xc4d2aa
lea edx, [esp + 0x58]
push edx
call fcn.00c18190
jmp 0xc4d2b8
fldz
fst qword [esp + 0x58]
fst qword [esp + 0x60]
fstp qword [esp + 0x68]
fld qword [esp + 0x60]
sub esp, 8
fmul qword [0xd64c38]
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
add esp, 8
call fcn.00d38790
mov ebx, eax
mov eax, dword [ebp + 0xa4]
shr eax, 0xb
test al, 1
je 0xc4d300
fld qword [ebp + 0x70]
fstp qword [esp + 0x70]
fld qword [ebp + 0x78]
fstp qword [esp + 0x78]
fld qword [ebp + 0x80]
jmp 0xc4d320
mov ecx, dword [ebp + 0xa8]
test ecx, ecx
je 0xc4d316
lea edx, [esp + 0x70]
push edx
call fcn.00c18190
jmp 0xc4d327
fldz
fst qword [esp + 0x70]
fst qword [esp + 0x78]
fstp qword [esp + 0x80]
fld qword [esp + 0x70]
sub esp, 8
fmul qword [0xd64c38]
mov dword [esp + 0x3c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x28], 0
fadd qword [0xd7f450]
fstp qword [esp]
call fcn.00d38840
fnstcw word [esp + 0x1e]
add esp, 8
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp dword [esp + 0x30]
mov al, byte [esp + 0x30]
movzx ecx, al
fldcw word [esp + 0x16]
fld qword [esp + 0xa8]
fmul qword [0xd64c38]
fnstcw word [esp + 0x16]
movzx eax, word [esp + 0x16]
or eax, 0xc00
mov dword [esp + 0x30], eax
fldcw word [esp + 0x30]
fistp dword [esp + 0x30]
mov dl, byte [esp + 0x30]
movzx eax, dl
shl eax, 8
fldcw word [esp + 0x16]
or ecx, eax
movzx eax, byte [esp + 0x2c]
shl ecx, 8
movzx edx, bl
or ecx, edx
shl ecx, 8
lea edx, [esp + 0x20]
or ecx, eax
push edx
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], ebx
test edi, edi
jne 0xc4d3e3
lea edi, [esp + 0x34]
fild dword [ebp + 0xb8]
push edi
lea eax, [esp + 0x44]
fadd qword [esp + 0x9c]
fstp dword [esp + 0x44]
fild dword [ebp + 0xbc]
fadd qword [esp + 0xa4]
fsub dword [esp + 0x28]
fstp dword [esp + 0x48]
fild dword [ebp + 0xc8]
fstp dword [esp + 0x4c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x50]
call fcn.00c46150
push ebx
call dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x7c
ret 0x20