Function at 0x486340
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 0x486649
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x486649
cmp dword [edi + 0x18], 0
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x48639a
test ebx, ebx
jne 0x48639a
push dword [0x648fa4]
lea eax, [ebp - 8]
push ebx
push eax
mov dword [ebp - 8], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 4], 0xc38
call fcn.00437d10
add esp, 0xc
mov eax, 0x80070057
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [edi + 8]
cmp eax, dword [edi + 0xc]
ja 0x4863af
pop ebx
mov eax, 0x80004005
pop edi
mov esp, ebp
pop ebp
ret 0x28
movss xmm1, dword [0x6ae4e0]
movss xmm2, dword [ebp + 0x1c]
comiss xmm2, xmm1
movss xmm0, dword [0x64f4e4]
jae 0x4863ce
comiss xmm0, xmm2
jb 0x4863dd
movss xmm2, dword [ebp + 0x20]
comiss xmm2, xmm1
jae 0x4863ea
comiss xmm0, xmm2
jae 0x4863ea
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 0x28
mov eax, dword [ebp + 0x2c]
mov edx, 0xff
cmp ax, dx
cmova eax, edx
mov edx, dword [ebp + 0x28]
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 + 0x10]
push eax
call dword [esi + 8]
mov eax, dword [edi + 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
xorps xmm1, xmm1
addsd xmm0, qword [eax*8 + 0x647d60]
pop esi
cvtpd2ps xmm5, xmm0
movss dword [ebp + 0x2c], xmm5
test ebx, ebx
jne 0x486449
movaps xmm2, xmm1
movaps xmm3, xmm5
movaps xmm4, xmm5
jmp 0x48645c
movss xmm1, dword [ebx]
movss xmm2, dword [ebx + 4]
movss xmm3, dword [ebx + 8]
movss xmm4, dword [ebx + 0xc]
cmp dword [edi + 0x18], 0
movss xmm0, dword [ebp + 8]
movss xmm5, dword [ebp + 0xc]
subss xmm5, dword [ebp + 0x18]
subss xmm0, dword [ebp + 0x14]
movaps xmm6, xmm3
movaps xmm7, xmm4
subss xmm6, xmm1
subss xmm7, xmm2
movss dword [ebp + 0xc], xmm5
movss dword [ebp + 8], xmm0
addss xmm6, xmm0
movss xmm0, dword [0x6ae4b4]
addss xmm7, xmm5
movss xmm5, dword [ebp + 8]
subss xmm5, xmm0
subss xmm6, xmm0
subss xmm7, xmm0
movss dword [ebp + 8], xmm5
movss xmm5, dword [ebp + 0xc]
subss xmm5, xmm0
movss dword [ebp + 0xc], xmm5
movss xmm5, dword [ebp + 0x2c]
je 0x4864d7
divss xmm1, xmm5
divss xmm2, xmm5
divss xmm3, xmm5
divss xmm4, xmm5
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 0x10]
imul ecx, ecx, 0xa8
add ecx, dword [edi + 4]
movss xmm0, dword [ebp + 0xc]
movss xmm5, dword [ebp + 8]
movss dword [ecx + 4], xmm0
movss dword [ecx], xmm5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], eax
movss dword [ecx + 0x14], xmm1
movss dword [ecx + 0x18], xmm2
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x20], xmm0
movss dword [ecx + 0x1c], xmm6
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], eax
movss dword [ecx + 0x30], xmm3
movss dword [ecx + 0x34], xmm2
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x38], xmm5
movss dword [ecx + 0x3c], xmm7
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], eax
movss dword [ecx + 0x4c], xmm1
movss dword [ecx + 0x50], xmm4
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x58], xmm0
movss xmm0, dword [ebp + 0x24]
movss dword [ecx + 0x54], xmm6
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], eax
movss dword [ecx + 0x68], xmm3
movss dword [ecx + 0x6c], xmm2
mov eax, dword [ebp + 0x10]
sub esp, 0x14
movss dword [ecx + 0x70], xmm6
movss dword [esp + 0x10], xmm0
movss xmm0, dword [ebp + 0x20]
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp + 0x1c]
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp + 0x18]
movss dword [ecx + 0x74], xmm7
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], eax
movss dword [ecx + 0x84], xmm3
movss dword [ecx + 0x88], xmm4
mov eax, dword [ebp + 0x10]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
push ecx
movss dword [ecx + 0x8c], xmm5
movss dword [ecx + 0x90], xmm7
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], eax
movss dword [ecx + 0xa0], xmm1
movss dword [ecx + 0xa4], xmm4
call fcn.0048d6d0
inc dword [edi + 0xc]
add esp, 0x18
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0x28
push dword [0x648fa4]
lea eax, [ebp - 8]
push 0
push eax
mov dword [ebp - 8], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 4], 0xc31
call fcn.00437d10
add esp, 0xc
mov eax, 0x80040203
pop edi
mov esp, ebp
pop ebp
ret 0x28