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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x592c80]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x5a9510]
lea eax, [ebp + 8]
push eax
push 0
push eax
mov dword [esp + 0x2c], edi
call fcn.00405d4e
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 [0x581580]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062bc
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xb8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x581580]
mulsd xmm0, qword [0x5813a8]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062bc
movss xmm1, dword [edi + 0x34]
lea eax, [esp + 0xf8]
cvtps2pd xmm1, xmm1
sub esp, 0xc
movaps xmm0, xmm1
mulsd xmm1, qword [0x5813a8]
mulsd xmm0, qword [0x581580]
cvtpd2ps xmm0, xmm0
movss dword [esp + 8], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esp + 4], xmm0
mov dword [esp], 0
push eax
call fcn.004062bc
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x7c]
push eax
push eax
call fcn.0040583c
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xbc]
push eax
push eax
call fcn.0040583c
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0xfc]
push eax
push eax
call fcn.0040583c
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 0x4bad45
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 [edi + eax + 0x28]
comiss xmm2, xmm0
jb 0x4bac4c
movss xmm0, dword [edi + eax + 0x2c]
shufps xmm0, xmm0, 0
shufps xmm2, xmm2, 0
divps xmm2, xmm0
movups xmm1, xmmword [edi + eax + 0x30]
movss xmm0, dword [edi + eax + 0x18]
mulps xmm2, xmm1
cvtps2pd xmm0, xmm0
movaps xmmword [esp + 0x30], xmm2
call fcn.00555240
mov eax, dword [esp + 0x1c]
movaps xmm1, xmm0
movss xmm0, dword [edi + eax + 0x20]
cvtps2pd xmm0, xmm0
mulsd xmm1, xmm0
movss xmm0, dword [edi + eax]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [edi + eax + 0x18]
cvtps2pd xmm0, xmm0
call fcn.00555080
mov eax, dword [esp + 0x1c]
movaps xmm1, xmm0
movss xmm0, dword [edi + eax + 0x20]
movss xmm2, dword [edi + eax + 4]
cvtps2pd xmm0, xmm0
movss dword [esp + 0x24], xmm2
mulsd xmm1, xmm0
movss xmm0, dword [edi + eax + 8]
mov eax, dword [esp + 0xc]
cvtps2pd xmm0, xmm0
addsd xmm1, xmm0
movss xmm0, dword [esp + 0xb0]
addss xmm0, dword [esp + 0x18]
cvtsd2ss xmm1, xmm1
movss dword [esi + eax - 0x18], xmm0
movss xmm0, dword [esp + 0xac]
mov eax, dword [esp + 0xc]
addss xmm0, xmm2
movss dword [esp + 0x28], xmm1
xorps xmm2, xmm2
movss dword [esi + eax - 0x14], xmm0
movaps xmm0, xmm1
subss xmm0, dword [esp + 0xa8]
mov eax, dword [esp + 0xc]
movaps xmm1, xmmword [esp + 0x30]
comiss xmm1, dword [0x581318]
movss dword [esi + eax - 0x10], xmm0
jb 0x4ba821
mov dword [esp + 0x14], 0xff
jmp 0x4ba854
comiss xmm2, xmm1
jb 0x4ba830
mov dword [esp + 0x14], 0
jmp 0x4ba854
movaps xmm0, xmm1
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
movaps xmm1, xmmword [esp + 0x30]
xorps xmm2, xmm2
mov dword [esp + 0x14], eax
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm0, dword [0x581318]
movups xmmword [esp + 0x40], xmm0
jb 0x4ba873
mov dword [esp + 0x10], 0xff
jmp 0x4ba8a0
comiss xmm2, xmm0
jb 0x4ba882
mov dword [esp + 0x10], 0
jmp 0x4ba8a0
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmm1
xorps xmm2, xmm2
shufps xmm0, xmm1, 0xaa
comiss xmm0, dword [0x581318]
movups xmmword [esp + 0x50], xmm0
jb 0x4ba8bf
mov edi, 0xff
jmp 0x4ba8e7
comiss xmm2, xmm0
jb 0x4ba8c8
xor edi, edi
jmp 0x4ba8e7
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
movaps xmm1, xmmword [esp + 0x30]
mov edi, eax
xorps xmm2, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, dword [0x581318]
movups xmmword [esp + 0x60], xmm0
jb 0x4ba903
mov ecx, 0xff
jmp 0x4ba928
comiss xmm2, xmm0
jb 0x4ba90c
xor ecx, ecx
jmp 0x4ba928
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
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 [0x581318]
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 + 0x24]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 4], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0xe8]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 8], xmm0
jb 0x4ba9b8
mov dword [esp + 0x10], 0xff
jmp 0x4ba9e6
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x4ba9ca
mov dword [esp + 0x10], 0
jmp 0x4ba9e6
movaps xmm0, xmm1
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x581318]
jb 0x4baa01
mov dword [esp + 0x14], 0xff
jmp 0x4baa2c
comiss xmm1, xmm0
jb 0x4baa10
mov dword [esp + 0x14], 0
jmp 0x4baa2c
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov dword [esp + 0x14], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x581318]
jb 0x4baa41
mov edi, 0xff
jmp 0x4baa61
comiss xmm1, xmm0
jb 0x4baa4a
xor edi, edi
jmp 0x4baa61
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
xorps xmm1, xmm1
comiss xmm0, dword [0x581318]
jb 0x4baa79
mov ecx, 0xff
jmp 0x4baa9c
comiss xmm1, xmm0
jb 0x4baa82
xor ecx, ecx
jmp 0x4baa9c
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
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 + 0x24]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x1c], xmm0
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [esp + 0x128]
mov eax, dword [esp + 0xc]
movss dword [esi + eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x30]
comiss xmm0, dword [0x581318]
jb 0x4bab32
mov dword [esp + 0x18], 0xff
jmp 0x4bab5a
comiss xmm1, xmm0
jb 0x4bab41
mov dword [esp + 0x18], 0
jmp 0x4bab5a
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x581318]
jb 0x4bab75
mov dword [esp + 0x10], 0xff
jmp 0x4baba0
comiss xmm1, xmm0
jb 0x4bab84
mov dword [esp + 0x10], 0
jmp 0x4baba0
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x581318]
jb 0x4babb5
mov edi, 0xff
jmp 0x4babd5
comiss xmm1, xmm0
jb 0x4babbe
xor edi, edi
jmp 0x4babd5
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
comiss xmm0, dword [0x581318]
jb 0x4babea
mov ecx, 0xff
jmp 0x4bac0d
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x4babf6
xor ecx, ecx
jmp 0x4bac0d
mulss xmm0, dword [0x581504]
addss xmm0, dword [0x5812e0]
call fcn.00554730
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 0x4bad23
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 + 0x20]
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 0x4ba710
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 [0x5a942c]
push dword [edi + 0x10]
mov eax, dword [eax + 0x2a3d8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x5a942c]
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 [0x5a942c]
push 0x142
mov eax, dword [eax + 0x2a3d8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x130]
mov eax, dword [esp + 0x20]
xor edi, edi
mov esi, dword [eax + 4]
test esi, esi
jle 0x4baf35
mov eax, dword [0x5a942c]
mov edx, dword [eax + 0x2a490]
shr edx, 2
nop dword [eax + 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 [0x5a942c]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax + 0x2a490]
mov esi, dword [ecx + 4]
shr edx, 2
add edi, edx
cmp edi, esi
jl 0x4baf00
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.004c8873
mov esp, ebp
pop ebp
ret 0x40