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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
cmp dword [esi + 0x18c], 0
je 0x47a3db
movups xmm0, xmmword [ebp + 0xc]
sub esp, 0x10
mov eax, esp
push dword [ebp + 8]
movups xmmword [eax], xmm0
call fcn.0042c5b0
mov eax, dword [esi + 0x13c]
xor edi, edi
mov ecx, dword [esi + 0x130]
mov dword [esp + 8], ecx
sub eax, edi
je 0x47a14e
sub eax, 1
je 0x47a138
sub eax, 1
jne 0x47a154
mov eax, dword [esi + 0x138]
mov edi, dword [esi + 0x12c]
test eax, eax
je 0x47a154
mov dword [esp + 8], eax
jmp 0x47a154
mov ecx, dword [esi + 0x134]
mov edi, dword [esi + 0x128]
test ecx, ecx
je 0x47a154
mov dword [esp + 8], ecx
jmp 0x47a154
mov edi, dword [esi + 0x124]
cmp dword [esi + 0x140], 0
je 0x47a1bb
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esp + 0x20], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x78]
call eax
mov ecx, dword [esp + 0xc]
sub esp, 0x10
cdq
sub eax, edx
mov esi, eax
mov ecx, dword [ecx + 0x144]
mov eax, ecx
cdq
sub eax, edx
sar esi, 1
sar eax, 1
sub esi, eax
mov eax, dword [ebp + 0x14]
add esi, dword [ebp + 0x10]
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], esi
lea eax, [esi + ecx]
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x30]
mov ecx, dword [esi + 0x140]
push dword [ebp + 8]
movups xmmword [eax], xmm0
mov edx, dword [ecx]
call dword [edx + 0x30]
test edi, edi
je 0x47a211
mov eax, dword [esi + 0x158]
sub esp, 0x10
add eax, dword [ebp + 0xc]
mov ecx, edi
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x15c]
add eax, 5
add eax, edx
add edx, 0xfffffffb
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x160]
add eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x164]
add eax, edx
mov edx, dword [edi]
mov dword [esp + 0x3c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x30]
push dword [ebp + 8]
movups xmmword [eax], xmm0
call dword [edx + 0x30]
mov eax, dword [ebp + 0xc]
mov ecx, esi
add eax, 2
mov dword [esp + 0x1c], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x78]
call eax
cdq
mov ecx, esi
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
add eax, 2
add eax, dword [esi + 0x158]
mov dword [esp + 0x14], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x78]
call eax
cdq
sub eax, edx
mov dword [esp + 0xc], 0
sar eax, 1
add eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.gdiplus.dll_GdipCreateFromHDC]
mov edi, dword [esp + 0xc]
push 3
push edi
call dword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
movzx eax, word [esi + 0x190]
lea ecx, [esp + 0x20]
push ecx
push 0
push ecx
movzx ecx, al
and eax, 0xffffff00
or ecx, 0xffffff00
mov dword [esp], 0x3f800000
shl ecx, 0x10
or ecx, eax
mov dword [esp + 0x2c], 0
movzx eax, byte [esi + 0x192]
or ecx, eax
push ecx
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
movd xmm0, dword [esi + 0x144]
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp + 0x28], eax
movss dword [esp], xmm0
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipSetPenWidth]
mov ecx, dword [esp + 0x24]
test eax, eax
push 2
push dword [esp + 0x24]
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
call dword [sym.imp.gdiplus.dll_GdipSetPenStartCap]
test eax, eax
je 0x47a2f9
mov dword [esp + 0x24], eax
push 2
push dword [esp + 0x24]
call dword [sym.imp.gdiplus.dll_GdipSetPenEndCap]
push dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
test eax, eax
push dword [esp + 0x18]
cmovne ecx, eax
push dword [esp + 0x20]
mov dword [esp + 0x30], ecx
push dword [esp + 0x28]
push dword [esp + 0x30]
push edi
call dword [sym.imp.gdiplus.dll_GdipDrawLineI]
push dword [esp + 0x20]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
push edi
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x47a3db
movups xmm0, xmmword [ebp + 0xc]
mov eax, dword [ecx]
lea edx, [esp + 0x20]
push edx
movaps xmmword [esp + 0x34], xmm0
call dword [eax + 0x34]
mov ecx, dword [esi + 0x158]
sub esp, 0x10
mov eax, dword [esi + 0x160]
movaps xmm0, xmmword [esp + 0x40]
sub eax, ecx
sub eax, dword [esp + 0x30]
cdq
sub eax, edx
sar eax, 1
lea edi, [ecx + eax]
mov eax, dword [esi + 0x164]
movd ecx, xmm0
psrldq xmm0, 4
add edi, ecx
mov ecx, dword [esi + 0x15c]
mov esi, dword [esp + 0x34]
sub eax, ecx
sub eax, esi
mov dword [esp + 0x40], edi
cdq
sub eax, edx
sar eax, 1
lea edx, [ecx + eax]
mov eax, dword [esp + 0x30]
movd ecx, xmm0
add eax, edi
mov dword [esp + 0x48], eax
add edx, ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x44], edx
lea eax, [esi + edx]
mov edx, dword [ecx]
mov dword [esp + 0x4c], eax
mov eax, esp
movups xmm0, xmmword [esp + 0x40]
push dword [ebp + 8]
movups xmmword [eax], xmm0
call dword [edx + 0x30]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x14