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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0
je 0x486f56
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x486f56
cmp dword [ebx + 0x18], 0
push edi
mov edi, dword [ebp + 0x14]
jne 0x486cca
test edi, edi
jne 0x486cca
push dword [0x648fa4]
lea eax, [ebp - 8]
push edi
push eax
mov dword [ebp - 8], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 4], 0xdf3
call fcn.00437d10
add esp, 0xc
mov eax, 0x80070057
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0xc]
ja 0x486cdf
pop edi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ebp + 0x1c]
mov edx, 0xff
cmp ax, dx
cmova eax, edx
mov edx, dword [ebp + 0x18]
movzx eax, al
push esi
mov esi, dword [ecx]
push eax
mov eax, edx
shr eax, 0x10
push eax
mov eax, edx
shr eax, 8
push eax
push edx
lea eax, [ebp + 0x14]
push eax
call dword [esi + 8]
mov eax, dword [ebx + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
xorps xmm3, xmm3
addsd xmm0, qword [eax*8 + 0x647d60]
cvtpd2ps xmm0, xmm0
test edi, edi
jne 0x486d38
movaps xmm4, xmm3
movaps xmm5, xmm0
movaps xmm6, xmm0
jmp 0x486d57
movd xmm3, dword [edi]
movd xmm4, dword [edi + 4]
movd xmm5, dword [edi + 8]
movd xmm6, dword [edi + 0xc]
cvtdq2ps xmm3, xmm3
cvtdq2ps xmm4, xmm4
cvtdq2ps xmm5, xmm5
cvtdq2ps xmm6, xmm6
cmp dword [ebx + 0x18], 0
movss xmm1, dword [0x6ae530]
je 0x486d82
divss xmm1, xmm0
mulss xmm6, xmm1
movaps xmm0, xmm1
mulss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm1
mulss xmm4, xmm0
mulss xmm5, xmm0
mov edi, dword [ebx + 0xc]
mov eax, dword [ebp + 0x14]
imul edi, edi, 0xa8
add edi, dword [ebx + 4]
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
movss xmm1, dword [esi + 4]
addss xmm1, dword [edx + 4]
movss xmm0, dword [esi]
addss xmm0, dword [edx]
movss xmm2, dword [0x6ae4b4]
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0x3f800000
mov dword [edi + 0x10], eax
movss dword [edi + 0x14], xmm3
movss dword [edi + 0x18], xmm4
mov ecx, dword [ebp + 0xc]
subss xmm1, xmm2
subss xmm0, xmm2
movss dword [edi + 4], xmm1
movss dword [edi], xmm0
movss xmm1, dword [edx + 4]
subss xmm1, dword [esi + 4]
movss xmm0, dword [edx]
subss xmm0, dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0x3f800000
mov dword [edi + 0x2c], eax
movss dword [edi + 0x30], xmm5
movss dword [edi + 0x34], xmm4
subss xmm1, xmm2
subss xmm0, xmm2
movss dword [edi + 0x20], xmm1
movss dword [edi + 0x1c], xmm0
movss xmm1, dword [ecx + 4]
addss xmm1, dword [esi + 4]
movss xmm0, dword [ecx]
addss xmm0, dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0x3f800000
mov dword [edi + 0x48], eax
movss dword [edi + 0x4c], xmm3
movss dword [edi + 0x50], xmm6
subss xmm1, xmm2
subss xmm0, xmm2
movss dword [edi + 0x3c], xmm1
movss dword [edi + 0x38], xmm0
movss xmm1, dword [edx + 4]
subss xmm1, dword [esi + 4]
movss xmm0, dword [edx]
subss xmm0, dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0x3f800000
mov dword [edi + 0x64], eax
movss dword [edi + 0x68], xmm5
movss dword [edi + 0x6c], xmm4
subss xmm1, xmm2
subss xmm0, xmm2
movss dword [edi + 0x58], xmm1
movss dword [edi + 0x54], xmm0
movss xmm1, dword [ecx + 4]
subss xmm1, dword [esi + 4]
movss xmm0, dword [ecx]
subss xmm0, dword [esi]
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x78], 0
subss xmm1, xmm2
mov dword [edi + 0x7c], 0x3f800000
subss xmm0, xmm2
mov dword [edi + 0x80], eax
movss dword [edi + 0x84], xmm5
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x88], xmm6
movss dword [edi + 0x70], xmm0
movss xmm1, dword [ecx + 4]
addss xmm1, dword [esi + 4]
mov eax, dword [ebp + 0x14]
subss xmm1, xmm2
movss xmm0, dword [ecx]
addss xmm0, dword [esi]
mov dword [edi + 0x9c], eax
pop esi
movss dword [edi + 0x90], xmm1
mov dword [edi + 0x94], 0
subss xmm0, xmm2
mov dword [edi + 0x98], 0x3f800000
movss dword [edi + 0xa0], xmm3
movss dword [edi + 0xa4], xmm6
movss dword [edi + 0x8c], xmm0
inc dword [ebx + 0xc]
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18
push dword [0x648fa4]
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 4], 0xdec
call fcn.00437d10
add esp, 0xc
mov eax, 0x80040203
pop ebx
mov esp, ebp
pop ebp
ret 0x18