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

Disassembly:
push 0xffffffffffffffff
push 0x100b5500
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov edi, dword [ecx + 4]
mov ebx, dword [esp + 0x70]
cmp dword [edi + 0x28], 0
je 0x1006456f
push 1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
lea ecx, [edi + 0x18]
push eax
call fcn.10066a10
mov ecx, eax
call fcn.10062490
mov esi, dword [eax]
test esi, esi
je 0x10064551
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov eax, edx
mov ecx, dword [esi + 8]
shr eax, 2
dec ecx
and ecx, eax
mov eax, dword [esi + 4]
and edx, 3
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*4]
mov edi, dword [eax]
jmp 0x10064579
mov edi, dword [edi]
test edi, edi
je 0x10064830
test edi, edi
je 0x10064830
mov eax, dword [esp + 0x78]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x74]
movzx edx, al
shl edx, 8
movzx eax, cl
or edx, eax
movq qword [esp + 0x10], xmm0
mov eax, ecx
shl edx, 8
shr eax, 8
movzx eax, al
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
mov dword [esp + 0x18], 0
or edx, eax
mov dword [esp + 0x10], vtable.Gdiplus::Brush.0
mov dword [esp + 0x18], 6
mov dword [esp + 0x68], 0
lea eax, [esp + 0x58]
push eax
push edx
mov dword [esp + 0x18], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x60], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], 1
lea eax, [esp + 0x40]
push ebx
push eax
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jg 0x10064658
mov edx, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
sub edx, esi
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
sub eax, ecx
push edx
push eax
push esi
push ecx
push dword [esp + 0x24]
push dword [edi]
call sub.gdiplus.dll_GdipFillRectangleI
test eax, eax
je 0x1006464c
test eax, eax
mov dword [edi + 4], eax
sete bl
jmp 0x10064813
xor eax, eax
test eax, eax
sete bl
jmp 0x10064813
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0xffffffff
push eax
push dword [edi]
call sub.gdiplus.dll_GdipGetSmoothingMode
test eax, eax
je 0x10064673
mov dword [edi + 4], eax
push 2
push dword [edi]
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x10064683
mov dword [edi + 4], eax
mov esi, dword [esp + 0x48]
lea edx, [ebx + ebx]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x20]
dec eax
mov dword [esp + 0x1c], edx
dec esi
mov dword [esp + 0x4c], eax
sub eax, dword [esp + 0x44]
lea ebx, [esp + 0x24]
mov dword [esp + 0x48], esi
xorps xmm0, xmm0
sub esi, dword [esp + 0x40]
cmp esi, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], esi
lea eax, [esp + 0x1c]
cmovge ecx, ebx
movq qword [esp + 0x50], xmm0
mov dword [esp + 0x50], 0
cmp edx, dword [ecx]
cmovge eax, ecx
mov esi, dword [eax]
lea eax, [esp + 0x50]
push eax
push 0
call sub.gdiplus.dll_GdipCreatePath
mov dword [esp + 0x54], eax
mov byte [esp + 0x68], 2
sub esp, 8
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x43340000
push esi
push esi
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x68]
call sub.gdiplus.dll_GdipAddPathArcI
mov ecx, dword [esp + 0x54]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x48]
sub esp, 8
mov dword [esp + 0x5c], ecx
sub eax, esi
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x43870000
push esi
push esi
push dword [esp + 0x54]
push eax
push dword [esp + 0x68]
call sub.gdiplus.dll_GdipAddPathArcI
mov ecx, dword [esp + 0x54]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x4c]
sub esp, 8
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x50]
sub eax, esi
sub ecx, esi
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0
push esi
push esi
push eax
push ecx
push dword [esp + 0x68]
call sub.gdiplus.dll_GdipAddPathArcI
mov ecx, dword [esp + 0x54]
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x4c]
sub eax, esi
mov dword [esp + 0x54], ecx
sub esp, 8
mov dword [esp + 4], 0x42b40000
mov dword [esp], 0x42b40000
push esi
push esi
push eax
push dword [esp + 0x54]
push dword [esp + 0x68]
call sub.gdiplus.dll_GdipAddPathArcI
mov ecx, dword [esp + 0x54]
test eax, eax
push dword [esp + 0x50]
cmovne ecx, eax
mov dword [esp + 0x58], ecx
call sub.gdiplus.dll_GdipClosePathFigure
push dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
test eax, eax
push dword [esp + 0x18]
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
push dword [edi]
call sub.gdiplus.dll_GdipFillPath
test eax, eax
je 0x100647ec
mov dword [edi + 4], eax
jmp 0x100647ee
xor eax, eax
push dword [esp + 0x58]
test eax, eax
push dword [edi]
sete bl
call sub.gdiplus.dll_GdipSetSmoothingMode
test eax, eax
je 0x10064805
mov dword [edi + 4], eax
mov byte [esp + 0x68], 1
push dword [esp + 0x50]
call sub.gdiplus.dll_GdipDeletePath
mov dword [esp + 0x68], 0xffffffff
push dword [esp + 0x14]
mov dword [esp + 0x14], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov al, bl
jmp 0x10064832
xor al, al
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.10033901
add esp, 0x5c
ret 0x10