Function at 0x4a61d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540920
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
push esi
push edi
mov eax, dword [0x58313c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 0xc]
mov ecx, dword [edi + 0x30]
test ecx, ecx
je 0x4a625f
lea eax, [ebp - 0x50]
push eax
call fcn.004745b0
movss xmm3, dword [ebx + 0x14]
movss xmm1, dword [ebx + 0x10]
movaps xmm2, xmm3
movaps xmm0, xmm1
mulss xmm2, dword [eax + 4]
mulss xmm3, dword [eax + 0x10]
mulss xmm0, dword [eax]
mulss xmm1, dword [eax + 0xc]
addss xmm2, xmm0
addss xmm3, xmm1
addss xmm2, dword [eax + 8]
addss xmm3, dword [eax + 0x14]
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x14], xmm3
jmp 0x4a6273
movss xmm0, dword [ebx + 0x10]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebx + 0x14]
movss dword [ebp - 0x14], xmm0
test byte [edi + 0x80], 1
lea esi, [ebp - 0x18]
movss xmm1, dword [esi]
movss xmm2, dword [esi + 4]
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x24], xmm2
je 0x4a6390
push edi
call fcn.004ddc20
add esp, 4
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4a6367
push dword [ebp - 0x24]
mov ecx, dword [eax]
lea eax, [ebp - 0x30]
push dword [ebp - 0x28]
push eax
mov esi, dword [ecx + 0x30]
call fcn.004a7a80
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
movss xmm0, dword [eax]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [eax + 4]
lea eax, [ebp - 0x38]
movss dword [ebp - 0x24], xmm0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push eax
call esi
movss xmm0, dword [eax]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x1c], xmm0
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 4], 0
mov eax, dword [eax + 0x40]
call eax
movss xmm0, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
ucomiss xmm1, dword [0x5520f8]
lahf
test ah, 0x44
jnp 0x4a6337
divss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x1c]
divss xmm0, xmm1
jmp 0x4a6341
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x1c]
mov eax, dword [ebx + 8]
movss dword [ebp - 0x24], xmm0
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov eax, dword [ebx + 8]
movss xmm0, dword [esi]
movss dword [eax], xmm0
movss xmm0, dword [esi + 4]
movss dword [eax + 4], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp dword [edi + 0x18], 0
jne 0x4a6450
push dword [ebp - 0x24]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push dword [ebp - 0x28]
push eax
call fcn.004a7a80
add esp, 0xc
mov ecx, edi
movss xmm0, dword [eax]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [eax + 4]
mov eax, dword [edi]
movss dword [ebp - 0x14], xmm0
mov eax, dword [eax + 0x40]
call eax
movss xmm0, dword [ebp - 0x1c]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
ucomiss xmm1, dword [0x5520f8]
lahf
test ah, 0x44
lea eax, [ebp - 0x28]
jnp 0x4a6400
divss xmm0, xmm1
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
divss xmm0, xmm1
jmp 0x4a640a
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
movd xmm1, dword [edi + 0x20]
movss dword [ebp - 0x24], xmm0
movd xmm0, dword [edi + 0x1c]
movss xmm2, dword [eax]
movss xmm3, dword [eax + 4]
mov eax, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
subss xmm2, xmm0
subss xmm3, xmm1
movss dword [eax], xmm2
movss dword [eax + 4], xmm3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
movd xmm0, dword [edi + 0x1c]
mov eax, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [edi + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [eax], xmm1
subss xmm2, xmm0
movss dword [eax + 4], xmm2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret