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

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