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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x57bbb4]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
mov edi, dword [0x592380]
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 [0x56ab20]
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 [0x56ab20]
mulsd xmm0, qword [0x56a968]
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 [0x56a968]
mulsd xmm0, qword [0x56ab20]
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 0x4ba459
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 0x4ba360
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.00459bc0
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.00459b90
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 [0x56a8e8]
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 0x4b9f35
mov dword [esp + 0x14], 0xff
jmp 0x4b9f68
comiss xmm2, xmm1
jb 0x4b9f44
mov dword [esp + 0x14], 0
jmp 0x4b9f68
movaps xmm0, xmm1
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
movaps xmm1, xmmword [esp + 0x30]
xorps xmm2, xmm2
mov dword [esp + 0x14], eax
movaps xmm0, xmm1
shufps xmm0, xmm1, 0x55
comiss xmm0, dword [0x56a8e8]
movups xmmword [esp + 0x40], xmm0
jb 0x4b9f87
mov dword [esp + 0x10], 0xff
jmp 0x4b9fb4
comiss xmm2, xmm0
jb 0x4b9f96
mov dword [esp + 0x10], 0
jmp 0x4b9fb4
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
movaps xmm1, xmmword [esp + 0x30]
mov dword [esp + 0x10], eax
movaps xmm0, xmm1
xorps xmm2, xmm2
shufps xmm0, xmm1, 0xaa
comiss xmm0, dword [0x56a8e8]
movups xmmword [esp + 0x50], xmm0
jb 0x4b9fd3
mov edi, 0xff
jmp 0x4b9ffb
comiss xmm2, xmm0
jb 0x4b9fdc
xor edi, edi
jmp 0x4b9ffb
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
movaps xmm1, xmmword [esp + 0x30]
mov edi, eax
xorps xmm2, xmm2
movaps xmm0, xmm1
shufps xmm0, xmm1, 0xff
comiss xmm0, dword [0x56a8e8]
movups xmmword [esp + 0x60], xmm0
jb 0x4ba017
mov ecx, 0xff
jmp 0x4ba03c
comiss xmm2, xmm0
jb 0x4ba020
xor ecx, ecx
jmp 0x4ba03c
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
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 [0x56a8e8]
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 0x4ba0cc
mov dword [esp + 0x10], 0xff
jmp 0x4ba0fa
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x4ba0de
mov dword [esp + 0x10], 0
jmp 0x4ba0fa
movaps xmm0, xmm1
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov dword [esp + 0x10], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x56a8e8]
jb 0x4ba115
mov dword [esp + 0x14], 0xff
jmp 0x4ba140
comiss xmm1, xmm0
jb 0x4ba124
mov dword [esp + 0x14], 0
jmp 0x4ba140
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov dword [esp + 0x14], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x56a8e8]
jb 0x4ba155
mov edi, 0xff
jmp 0x4ba175
comiss xmm1, xmm0
jb 0x4ba15e
xor edi, edi
jmp 0x4ba175
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
xorps xmm1, xmm1
comiss xmm0, dword [0x56a8e8]
jb 0x4ba18d
mov ecx, 0xff
jmp 0x4ba1b0
comiss xmm1, xmm0
jb 0x4ba196
xor ecx, ecx
jmp 0x4ba1b0
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
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 [0x56a8e8]
jb 0x4ba246
mov dword [esp + 0x18], 0xff
jmp 0x4ba26e
comiss xmm1, xmm0
jb 0x4ba255
mov dword [esp + 0x18], 0
jmp 0x4ba26e
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov dword [esp + 0x18], eax
movups xmm0, xmmword [esp + 0x40]
xorps xmm1, xmm1
comiss xmm0, dword [0x56a8e8]
jb 0x4ba289
mov dword [esp + 0x10], 0xff
jmp 0x4ba2b4
comiss xmm1, xmm0
jb 0x4ba298
mov dword [esp + 0x10], 0
jmp 0x4ba2b4
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov dword [esp + 0x10], eax
xorps xmm1, xmm1
movups xmm0, xmmword [esp + 0x50]
comiss xmm0, dword [0x56a8e8]
jb 0x4ba2c9
mov edi, 0xff
jmp 0x4ba2e9
comiss xmm1, xmm0
jb 0x4ba2d2
xor edi, edi
jmp 0x4ba2e9
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
mov edi, eax
movups xmm0, xmmword [esp + 0x60]
comiss xmm0, dword [0x56a8e8]
jb 0x4ba2fe
mov ecx, 0xff
jmp 0x4ba321
xorps xmm1, xmm1
comiss xmm1, xmm0
jb 0x4ba30a
xor ecx, ecx
jmp 0x4ba321
mulss xmm0, dword [0x56aaac]
addss xmm0, dword [0x56a8b0]
call fcn.00539e70
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 0x4ba437
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 0x4b9e40
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 [0x592218]
push dword [edi + 0x10]
mov eax, dword [eax + 0x2a3d8]
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xf4]
mov eax, dword [0x592218]
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 [0x592218]
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 0x4ba645
mov eax, dword [0x592218]
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 [0x592218]
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 0x4ba610
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.004c90dc
mov esp, ebp
pop ebp
ret 0x40