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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov edi, ecx
cmp dword [edi + 4], 0
je 0x48621d
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x48621d
cmp dword [edi + 0x18], 0
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x485e9a
test ebx, ebx
jne 0x485e9a
push dword [0x648fa4]
lea eax, [ebp - 0x10]
push ebx
push eax
mov dword [ebp - 0x10], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 0xc], 0xb93
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 0x485eaf
pop ebx
mov eax, 0x80070103
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 0x485ece
comiss xmm0, xmm2
jb 0x485edd
movss xmm2, dword [ebp + 0x20]
comiss xmm2, xmm1
jae 0x485eea
comiss xmm0, xmm2
jae 0x485eea
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
pop esi
addsd xmm0, qword [eax*8 + 0x647d60]
cvtpd2ps xmm1, xmm0
xorps xmm0, xmm0
movss dword [ebp - 0xc], xmm1
movss dword [ebp + 0x2c], xmm0
test ebx, ebx
jne 0x485f54
movss dword [ebp + 0x28], xmm0
movss dword [ebp - 4], xmm1
movss dword [ebp - 8], xmm1
jmp 0x485f87
movd xmm0, dword [ebx]
cvtdq2ps xmm0, xmm0
movss dword [ebp + 0x2c], xmm0
movd xmm0, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
movss dword [ebp + 0x28], xmm0
movd xmm0, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
movd xmm0, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movd xmm0, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
sub esp, 8
subss xmm0, dword [ebp + 0x14]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00631534
movd xmm0, dword [ebp + 0xc]
fstp qword [ebp - 0x18]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [ebp + 0x18]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call fcn.00631534
movsd xmm1, qword [ebp - 0x18]
fstp qword [ebp - 0x20]
movss xmm0, dword [ebp - 4]
subss xmm0, dword [ebp + 0x2c]
cvtpd2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.00631534
movsd xmm1, qword [ebp - 0x20]
fstp qword [ebp - 0x30]
movss xmm0, dword [ebp - 8]
subss xmm0, dword [ebp + 0x28]
cvtpd2ps xmm1, xmm1
addss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x28], xmm0
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.00631534
movsd xmm4, qword [ebp - 0x18]
fstp qword [ebp - 0x28]
movsd xmm7, qword [ebp - 0x28]
movsd xmm5, qword [ebp - 0x20]
movsd xmm6, qword [ebp - 0x30]
movss xmm0, dword [0x6ae4b4]
movss xmm1, dword [0x6ae530]
cvtpd2ps xmm7, xmm7
cvtpd2ps xmm4, xmm4
cvtpd2ps xmm5, xmm5
cvtpd2ps xmm6, xmm6
add esp, 8
cmp dword [edi + 0x18], 0
subss xmm4, xmm0
subss xmm5, xmm0
subss xmm6, xmm0
subss xmm7, xmm0
je 0x4860a1
divss xmm1, dword [ebp - 0xc]
movaps xmm0, xmm1
mulss xmm0, dword [ebp + 0x2c]
movaps xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp + 0x28]
movaps xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 4]
mulss xmm1, dword [ebp - 8]
jmp 0x4860b5
movss xmm2, dword [ebp + 0x2c]
movss xmm3, dword [ebp + 0x28]
movss xmm0, dword [ebp - 4]
movss xmm1, dword [ebp - 8]
mov ecx, dword [edi + 0xc]
mov eax, dword [ebp + 0x10]
imul ecx, ecx, 0xa8
add ecx, dword [edi + 4]
sub esp, 0x14
movss dword [ecx], xmm4
movss dword [ecx + 4], xmm5
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x3f800000
mov dword [ecx + 0x10], eax
movss dword [ecx + 0x14], xmm2
movss dword [ecx + 0x18], xmm3
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x30], xmm0
movss dword [ecx + 0x1c], xmm6
movss dword [ecx + 0x20], xmm5
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x28], 0x3f800000
mov dword [ecx + 0x2c], eax
movss dword [ecx + 0x34], xmm3
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x38], xmm4
movss dword [ecx + 0x3c], xmm7
mov dword [ecx + 0x40], 0
mov dword [ecx + 0x44], 0x3f800000
mov dword [ecx + 0x48], eax
movss dword [ecx + 0x4c], xmm2
movss dword [ecx + 0x50], xmm1
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x68], xmm0
movss dword [ecx + 0x54], xmm6
movss dword [ecx + 0x58], xmm5
mov dword [ecx + 0x5c], 0
mov dword [ecx + 0x60], 0x3f800000
mov dword [ecx + 0x64], eax
movss dword [ecx + 0x6c], xmm3
mov eax, dword [ebp + 0x10]
movss dword [ecx + 0x84], xmm0
movss xmm0, dword [ebp + 0x24]
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 + 0x70], xmm6
movss dword [ecx + 0x74], xmm7
mov dword [ecx + 0x78], 0
mov dword [ecx + 0x7c], 0x3f800000
mov dword [ecx + 0x80], eax
movss dword [ecx + 0x88], xmm1
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], xmm4
movss dword [ecx + 0x90], xmm7
mov dword [ecx + 0x94], 0
mov dword [ecx + 0x98], 0x3f800000
mov dword [ecx + 0x9c], eax
movss dword [ecx + 0xa0], xmm2
movss dword [ecx + 0xa4], xmm1
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 - 0x20]
push 0
push eax
mov dword [ebp - 0x20], str.CommonDirectGraphicsDrawSprite.cpp
mov dword [ebp - 0x1c], 0xb8c
call fcn.00437d10
add esp, 0xc
mov eax, 0x80040203
pop edi
mov esp, ebp
pop ebp
ret 0x28