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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x57bc74]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x592440]
lea eax, [ebp + 8]
push eax
push 0
push eax
mov dword [esp + 0x30], edi
call fcn.00405d43
movss xmm0, dword [edi + 0x34]
lea eax, [esp + 0x78]
cvtps2pd xmm0, xmm0
sub esp, 0xc
mov dword [ebp + 0x38], 0
mov dword [ebp + 0x3c], 0
mov dword [ebp + 0x40], 0
mulsd xmm0, qword [0x56ad68]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062b1
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xb8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x56ad68]
mulsd xmm0, qword [0x56abb0]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062b1
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xf8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x56abb0]
mulsd xmm0, qword [0x56ad68]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062b1
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.00405831
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call fcn.00405831
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.00405831
mov eax, dword [edi + 8]
lea edx, [esp + 0xc]
push 0
push edx
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x2c]
mov ecx, dword [edi + 4]
xor edx, edx
mov dword [esp + 0x2c], edx
test ecx, ecx
jle 0x4ba569
xor eax, eax
lea esi, [edx + 0x18]
mov dword [esp + 0x1c], eax
xorps xmm0, xmm0
nop dword [eax + eax]
mov edi, dword [edi + 0xc]
movss xmm2, dword [eax + edi + 0x28]
comiss xmm2, xmm0
jb 0x4ba470
movss xmm0, dword [eax + edi + 0x2c]
shufps xmm2, xmm2, 0
shufps xmm0, xmm0, 0
divps xmm2, xmm0
push ecx
movups xmm1, xmmword [eax + edi + 0x30]
movss xmm0, dword [eax + edi + 0x20]
mulps xmm2, xmm1
movss xmm1, dword [eax + edi + 0x18]
movss dword [esp + 0x14], xmm0
movss dword [esp], xmm1
movaps xmmword [esp + 0x34], xmm2
call fcn.00459bb0
fmul dword [esp + 0x14]
mov eax, dword [esp + 0x20]
fadd dword [eax + edi]
movss xmm0, dword [eax + edi + 0x18]
fstp dword [esp + 0x1c]
movss dword [esp], xmm0
call fcn.00459b80
fmul dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x1c]
xorps xmm2, xmm2
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x18]
movss xmm1, dword [eax + edi + 4]
fadd dword [eax + edi + 8]
mov eax, dword [esp + 0xc]
movss dword [esp + 0x28], xmm1
movss dword [esi + eax - 0x18], xmm0
movss xmm0, dword [esp + 0xac]
mov eax, dword [esp + 0xc]
addss xmm0, xmm1
movaps xmm1, xmmword [esp + 0x30]
comiss xmm1, dword [0x56ab30]
movss dword [esi + eax - 0x14], xmm0
mov eax, dword [esp + 0xc]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
subss xmm0, dword [esp + 0xa8]
movss dword [esi + eax - 0x10], xmm0
jb 0x4ba045
mov dword [esp + 0x14], 0xff
jmp 0x4ba078
comiss xmm2, xmm1
jb 0x4ba054
mov dword [esp + 0x14], 0
jmp 0x4ba078
movaps xmm0, xmm1
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
movaps xmm1, xmmword [esp + 0x30]
xorps xmm2, xmm2
mov dword [esp + 0x14], eax
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm0, dword [0x56ab30]
movups xmmword [esp + 0x40], xmm0
jb 0x4ba097
mov dword [esp + 0x10], 0xff
jmp 0x4ba0c4
comiss xmm2, xmm0
jb 0x4ba0a6
mov dword [esp + 0x10], 0
jmp 0x4ba0c4
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmm1
xorps xmm2, xmm2
shufps xmm0, xmm1, 0xaa
comiss xmm0, dword [0x56ab30]
movups xmmword [esp + 0x50], xmm0
jb 0x4ba0e3
mov edi, 0xff
jmp 0x4ba10b
comiss xmm2, xmm0
jb 0x4ba0ec
xor edi, edi
jmp 0x4ba10b
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
movaps xmm1, xmmword [esp + 0x30]
mov edi, eax
xorps xmm2, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, dword [0x56ab30]
movups xmmword [esp + 0x60], xmm0
jb 0x4ba127
mov ecx, 0xff
jmp 0x4ba14c
comiss xmm2, xmm0
jb 0x4ba130
xor ecx, ecx
jmp 0x4ba14c
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
movaps xmm1, xmmword [esp + 0x30]
mov ecx, eax
mov eax, dword [esp + 0xc]
shl ecx, 8
or ecx, dword [esp + 0x14]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, edi
comiss xmm1, dword [0x56ab30]
mov dword [esi + eax - 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 8], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 4], 0
movss xmm0, dword [esp + 0xf0]
addss xmm0, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
movss dword [esi + eax], xmm0
movss xmm0, dword [esp + 0xec]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 4], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0xe8]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 8], xmm0
jb 0x4ba1dc
mov dword [esp + 0x10], 0xff
jmp 0x4ba20a
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x4ba1ee
mov dword [esp + 0x10], 0
jmp 0x4ba20a
movaps xmm0, xmm1
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x56ab30]
jb 0x4ba225
mov dword [esp + 0x14], 0xff
jmp 0x4ba250
comiss xmm1, xmm0
jb 0x4ba234
mov dword [esp + 0x14], 0
jmp 0x4ba250
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [esp + 0x14], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x56ab30]
jb 0x4ba265
mov edi, 0xff
jmp 0x4ba285
comiss xmm1, xmm0
jb 0x4ba26e
xor edi, edi
jmp 0x4ba285
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
xorps xmm1, xmm1
comiss xmm0, dword [0x56ab30]
jb 0x4ba29d
mov ecx, 0xff
jmp 0x4ba2c0
comiss xmm1, xmm0
jb 0x4ba2a6
xor ecx, ecx
jmp 0x4ba2c0
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov ecx, eax
xorps xmm1, xmm1
mov eax, dword [esp + 0xc]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, dword [esp + 0x14]
shl ecx, 8
or ecx, edi
mov dword [esi + eax + 0xc], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x10], 0x3f800000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x14], 0
movss xmm0, dword [esp + 0x130]
addss xmm0, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x18], xmm0
movss xmm0, dword [esp + 0x12c]
addss xmm0, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x1c], xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x30]
comiss xmm0, dword [0x56ab30]
jb 0x4ba356
mov dword [esp + 0x18], 0xff
jmp 0x4ba37e
comiss xmm1, xmm0
jb 0x4ba365
mov dword [esp + 0x18], 0
jmp 0x4ba37e
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x56ab30]
jb 0x4ba399
mov dword [esp + 0x10], 0xff
jmp 0x4ba3c4
comiss xmm1, xmm0
jb 0x4ba3a8
mov dword [esp + 0x10], 0
jmp 0x4ba3c4
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x56ab30]
jb 0x4ba3d9
mov edi, 0xff
jmp 0x4ba3f9
comiss xmm1, xmm0
jb 0x4ba3e2
xor edi, edi
jmp 0x4ba3f9
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
comiss xmm0, dword [0x56ab30]
jb 0x4ba40e
mov ecx, 0xff
jmp 0x4ba431
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x4ba41a
xor ecx, ecx
jmp 0x4ba431
mulss xmm0, dword [0x56acf4]
addss xmm0, dword [0x56aaf8]
call fcn.00539fc0
mov ecx, eax
mov eax, dword [esp + 0xc]
xorps xmm0, xmm0
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, dword [esp + 0x18]
shl ecx, 8
or ecx, dword [esp + 0x10]
shl ecx, 8
or ecx, edi
mov dword [esi + eax + 0x24], ecx
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x2c], 0x3f800000
jmp 0x4ba547
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x18], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x10], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0x14], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 8], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax - 4], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 8], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 4], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0xc], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x10], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x14], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x18], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x20], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x1c], 0xc47a0000
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x24], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x28], 0
mov eax, dword [esp + 0xc]
mov dword [esi + eax + 0x2c], 0
mov edi, dword [esp + 0x24]
inc edx
mov eax, dword [esp + 0x1c]
add esi, 0x48
add eax, 0x40
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 4]
cmp edx, ecx
jl 0x4b9f50
mov eax, dword [esp + 0xc]
lea ecx, [ecx + ecx*2]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 4], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0xc], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x10], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x14], 0
mov eax, dword [edi + 4]
inc eax
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x20], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x1c], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x24], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x28], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x2c], 0
mov eax, dword [edi + 4]
add eax, 2
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x38], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x34], 0xc47a0000
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x3c], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x40], 0
mov eax, dword [edi + 4]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0xc]
mov dword [eax + ecx*8 + 0x44], 0
mov eax, dword [edi + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov eax, dword [0x5922d8]
push dword [edi + 0x10]
mov eax, dword [eax + 0x2a3d8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x5922d8]
push 0x18
push dword [edi + 8]
mov eax, dword [eax + 0x2a3d8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14c]
mov eax, dword [0x5922d8]
push 0x142
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [esp + 0x24]
xor edi, edi
mov esi, dword [eax + 4]
test esi, esi
jle 0x4ba755
mov eax, dword [0x5922d8]
mov edx, dword [eax + 0x2a490]
shr edx, 2
nop dword [eax]
mov eax, dword [eax + 0x2a3d8]
sub esi, edi
cmp edx, esi
cmovae edx, esi
mov ecx, dword [eax]
push edx
push edi
push 4
push eax
call dword [ecx + 0x118]
mov eax, dword [0x5922d8]
mov ecx, dword [esp + 0x24]
mov edx, dword [eax + 0x2a490]
mov esi, dword [ecx + 4]
shr edx, 2
add edi, edx
cmp edi, esi
jl 0x4ba720
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.004c922c
mov esp, ebp
pop ebp
ret 0x40