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

Disassembly:
sub esp, 0x4c
mov eax, dword [0x100562c0]
xor eax, esp
mov dword [esp + 0x48], eax
movzx eax, word [esp + 0x5c]
mov dword [esp + 0x30], eax
mov al, byte [esp + 0x60]
mov byte [esp + 0x2c], al
mov eax, dword [esp + 0x6c]
push ebx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x74]
push ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x6c]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x78]
cmp word [eax], 0
mov dword [esp + 0x20], ecx
jle 0x10018e97
mov dword [esp + 0x14], 0
lea esi, [edi + 0x156298]
xor ebx, ebx
lea ebp, [edi + 0x15626c]
push dword [ecx + ebx*4]
mov ecx, dword [0x101b09c0]
call fcn.1001b130
lea ecx, [esp + 0x48]
mov dword [edi + 0x156294], eax
push ecx
mov ecx, eax
call fcn.1001b070
push eax
mov ecx, esi
call fcn.1001b050
movss xmm0, dword [esi]
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [edi + 0x15629c]
push eax
push ebp
movss dword [esp + 0x30], xmm0
call fcn.1001b1c0
mov eax, dword [0x10056228]
lea esi, [edi + 0x14c624]
add esp, 8
lea esi, [esi + ebx*8]
cmp byte [eax + 0x59], 0
push ebp
jne 0x100186bf
push esi
call fcn.1001b1b0
add esp, 8
jmp 0x1001871a
call fcn.1001b190
push ebp
push esi
fstp st(0)
call fcn.1001b1b0
mov eax, dword [0x10056114]
lea ecx, [edi + 0x14c628]
lea ecx, [ecx + ebx*8]
push ecx
push esi
movd xmm0, dword [eax + 4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [esi]
mulss xmm0, dword [0x10048200]
movss dword [esi], xmm0
mov eax, dword [0x10056114]
movd xmm0, dword [eax + 8]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ecx]
mulss xmm0, dword [0x10048204]
movss dword [ecx], xmm0
call fcn.1001b1a0
add esp, 0x14
mov eax, dword [esp + 0x14]
lea esi, [edi + 0x156298]
mov ecx, dword [esp + 0x20]
inc eax
movzx ebx, ax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x74]
movsx eax, word [eax]
cmp ebx, eax
jl 0x10018651
sub esp, 0x10
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.1001ae80
mov eax, dword [0x10056228]
cmp byte [eax + 0x59], 0
jne 0x100188a8
call fcn.1001aee0
test dword [eax + 0x24], 0x1000000
je 0x100188a8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0xbf800000
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], 0xbf800000
push eax
call fcn.1001b1b0
movss xmm0, dword [esp + 0x2c]
addss xmm0, dword [0x10048220]
mov dword [esp + 0x1c], 0x3f800000
mov dword [esp + 0x20], 0x3f800000
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x30]
subss xmm0, dword [0x10048220]
mov dword [esp + 0x50], eax
cvttss2si eax, xmm0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1001b1b0
movss xmm0, dword [esp + 0x34]
add esp, 0x10
subss xmm0, dword [0x10048220]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x28]
addss xmm0, dword [0x10048220]
mov dword [esp + 0x50], eax
cvttss2si eax, xmm0
mov dword [esp + 0x4c], eax
call fcn.10003da0
push 1
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
call fcn.10003da0
lea edx, [esp + 0x48]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x12c]
movd xmm0, dword [esp + 0x48]
movss xmm1, dword [esp + 0x2c]
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movd xmm0, dword [esp + 0x4c]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x2c], xmm1
movss xmm1, dword [esp + 0x38]
subss xmm1, xmm0
movd xmm0, dword [esp + 0x50]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm1
addss xmm0, dword [esp + 0x34]
movss dword [esp + 0x34], xmm0
movd xmm0, dword [esp + 0x54]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esp + 0x30]
movss dword [esp + 0x30], xmm0
mov eax, dword [0x10056110]
push 0
push 1
mov eax, dword [eax]
mov eax, dword [eax + 0x20]
call eax
sub esp, 0x28
mov ecx, esp
push edi
call fcn.10008d60
push dword [esp + 0x6c]
lea eax, [esp + 0x44]
push dword [esp + 0x74]
push eax
call fcn.100106a0
mov eax, dword [esp + 0xb0]
add esp, 0x3c
mov dword [edi + 0x156280], 0
xor ebp, ebp
movsx eax, word [eax]
dec eax
test eax, eax
jle 0x10018e01
lea ecx, [edi + 0xf]
xor ebx, ebx
nop dword [eax]
mov eax, dword [edi]
sub esp, 0x30
mov esi, esp
push ecx
mov dword [esi], eax
lea ecx, [esi + 0xf]
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov al, byte [edi + 8]
mov byte [esi + 8], al
mov al, byte [edi + 9]
mov byte [esi + 9], al
mov al, byte [edi + 0xa]
mov byte [esi + 0xa], al
mov al, byte [edi + 0xb]
mov byte [esi + 0xb], al
mov al, byte [edi + 0xc]
mov byte [esi + 0xc], al
mov al, byte [edi + 0xd]
mov byte [esi + 0xd], al
mov al, byte [edi + 0xe]
mov byte [esi + 0xe], al
call fcn.1001adb0
lea eax, [edi + 0x13]
push eax
lea ecx, [esi + 0x13]
call fcn.1001adb0
lea eax, [edi + 0x17]
push eax
lea ecx, [esi + 0x17]
call fcn.1001adb0
lea eax, [edi + 0x1b]
push eax
lea ecx, [esi + 0x1b]
call fcn.1001adb0
lea eax, [edi + 0x1f]
push eax
lea ecx, [esi + 0x1f]
call fcn.1001adb0
lea eax, [edi + 0x23]
push eax
lea ecx, [esi + 0x23]
call fcn.1001adb0
lea eax, [edi + 0x27]
push eax
lea ecx, [esi + 0x27]
call fcn.1001adb0
lea eax, [edi + 0x2b]
push eax
lea ecx, [esi + 0x2b]
call fcn.1001adb0
mov al, byte [edi + 0x2f]
push dword [esp + 0x6c]
mov byte [esi + 0x2f], al
lea eax, [esp + 0x58]
push dword [esp + 0x74]
push eax
call fcn.100106a0
add esp, 0x3c
lea ecx, [esp + 0x10]
push eax
call fcn.1001adb0
movss xmm0, dword [edi + ebx*8 + 0x14c62c]
lea esi, [edi + 0x14c624]
subss xmm0, dword [esi + ebx*8]
lea esi, [esi + ebx*8]
lea eax, [esp + 0x48]
push eax
lea ecx, [edi + 0x156274]
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [edi + ebx*8 + 0x14c630]
subss xmm0, dword [esi + 4]
movss dword [esp + 0x50], xmm0
call fcn.1001ae60
fld dword [edi + 0x156278]
fld dword [edi + 0x156274]
fpatan
fstp dword [esp + 0x14]
movss xmm2, dword [esp + 0x14]
movss dword [edi + 0x15627c], xmm2
mov eax, dword [0x10056228]
cmp byte [eax + 0x59], 0
jne 0x10018a80
cvtps2pd xmm2, xmm2
movaps xmm0, xmm2
subsd xmm0, qword [0x10048218]
addsd xmm2, qword [0x10048218]
cvtpd2ps xmm0, xmm0
cvtpd2ps xmm1, xmm2
call fcn.1001c640
movss xmm2, dword [edi]
movaps xmm3, xmm0
movaps xmm1, xmm0
shufps xmm3, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm2
mulss xmm1, xmm2
movss dword [edi + 0x156288], xmm0
movaps xmm0, xmm3
shufps xmm3, xmm3, 1
mulss xmm0, xmm2
mulss xmm3, xmm2
jmp 0x10018b23
movss xmm1, dword [0x10048230]
movss xmm0, dword [eax + 0x64]
subss xmm0, xmm1
comiss xmm1, xmm0
jbe 0x10018a9b
movaps xmm0, xmm1
jmp 0x10018aa3
minss xmm0, dword [0x10048238]
mulss xmm0, dword [0x100481f8]
cvtps2pd xmm2, xmm2
addss xmm0, dword [0x10048210]
movss dword [esp + 0x14], xmm0
movaps xmm0, xmm2
subsd xmm0, qword [0x10048218]
addsd xmm2, qword [0x10048218]
cvtpd2ps xmm0, xmm0
cvtpd2ps xmm1, xmm2
call fcn.1001c640
movss xmm2, dword [edi]
movaps xmm3, xmm0
movss xmm4, dword [esp + 0x14]
movaps xmm1, xmm0
shufps xmm3, xmm0, 0xe
shufps xmm1, xmm0, 1
mulss xmm0, xmm2
mulss xmm1, xmm2
mulss xmm0, xmm4
mulss xmm1, xmm4
movss dword [edi + 0x156288], xmm0
movaps xmm0, xmm3
shufps xmm3, xmm3, 1
mulss xmm0, xmm2
mulss xmm3, xmm2
mulss xmm0, xmm4
mulss xmm3, xmm4
movss dword [edi + 0x156284], xmm1
lea ecx, [esp + 0x2c]
movss dword [edi + 0x15628c], xmm3
push esi
movss dword [edi + 0x156290], xmm0
call fcn.1001aed0
test al, al
jne 0x10018b72
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esp + 0x30]
addss xmm0, dword [esp + 0x2c]
addss xmm0, dword [esp + 0x34]
ucomiss xmm0, dword [0x100481e4]
lahf
test ah, 0x44
jp 0x10018dea
movss xmm0, dword [edi + 0x156288]
addss xmm0, dword [edi + ebx*8 + 0x14c628]
mov eax, dword [edi + 0x156280]
mov ecx, dword [esp + 0x1c]
movss xmm2, dword [0x100481e8]
cvtps2pd xmm1, xmm0
lea edx, [eax*8]
sub edx, eax
movss xmm0, dword [edi + 0x156284]
addss xmm0, dword [esi]
mov dword [ecx + edx*4 + 0x18], 0
mov dword [ecx + edx*4 + 0x14], 0
movss dword [ecx + edx*4], xmm0
cvtpd2ps xmm0, xmm1
movss dword [ecx + edx*4 + 4], xmm0
mov eax, dword [0x10056210]
movss xmm0, dword [eax]
addss xmm0, xmm2
movss dword [ecx + edx*4 + 8], xmm0
mov eax, dword [0x10056214]
mov eax, dword [eax]
mov dword [ecx + edx*4 + 0xc], eax
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x12]
shl ecx, 8
or ecx, eax
mov eax, dword [esp + 0x1c]
mov dword [eax + edx*4 + 0x10], ecx
movss xmm0, dword [edi + 0x156290]
addss xmm0, dword [edi + ebx*8 + 0x14c628]
mov eax, dword [edi + 0x156280]
inc eax
cvtps2pd xmm1, xmm0
lea edx, [eax*8]
sub edx, eax
movss xmm0, dword [edi + 0x15628c]
addss xmm0, dword [esi]
mov esi, dword [esp + 0x1c]
movss dword [esi + edx*4], xmm0
mov dword [esi + edx*4 + 0x18], 0
mov dword [esi + edx*4 + 0x14], 0
cvtpd2ps xmm0, xmm1
movss dword [esi + edx*4 + 4], xmm0
mov eax, dword [0x10056210]
movss xmm0, dword [eax]
addss xmm0, xmm2
movss dword [esi + edx*4 + 8], xmm0
mov eax, dword [0x10056214]
mov eax, dword [eax]
mov dword [esi + edx*4 + 0xc], eax
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x12]
shl ecx, 8
or ecx, eax
mov dword [esi + edx*4 + 0x10], ecx
movss xmm0, dword [edi + ebx*8 + 0x14c630]
addss xmm0, dword [edi + 0x156288]
mov eax, dword [edi + 0x156280]
add eax, 2
cvtps2pd xmm1, xmm0
lea edx, [eax*8]
sub edx, eax
movss xmm0, dword [edi + ebx*8 + 0x14c62c]
addss xmm0, dword [edi + 0x156284]
mov dword [esi + edx*4 + 0x18], 0
mov dword [esi + edx*4 + 0x14], 0
movss dword [esi + edx*4], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esi + edx*4 + 4], xmm0
mov eax, dword [0x10056210]
movss xmm0, dword [eax]
addss xmm0, xmm2
movss dword [esi + edx*4 + 8], xmm0
mov eax, dword [0x10056214]
mov eax, dword [eax]
mov dword [esi + edx*4 + 0xc], eax
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x12]
shl ecx, 8
or ecx, eax
mov dword [esi + edx*4 + 0x10], ecx
movss xmm0, dword [edi + 0x156290]
addss xmm0, dword [edi + ebx*8 + 0x14c630]
mov eax, dword [edi + 0x156280]
add eax, 3
cvtps2pd xmm1, xmm0
lea edx, [eax*8]
sub edx, eax
movss xmm0, dword [edi + ebx*8 + 0x14c62c]
addss xmm0, dword [edi + 0x15628c]
mov dword [esi + edx*4 + 0x18], 0
mov dword [esi + edx*4 + 0x14], 0
movss dword [esi + edx*4], xmm0
cvtpd2ps xmm0, xmm1
movss dword [esi + edx*4 + 4], xmm0
mov eax, dword [0x10056210]
movss xmm0, dword [eax]
addss xmm0, xmm2
movss dword [esi + edx*4 + 8], xmm0
mov eax, dword [0x10056214]
mov eax, dword [eax]
mov dword [esi + edx*4 + 0xc], eax
movzx ecx, byte [esp + 0x13]
movzx eax, byte [esp + 0x10]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [esp + 0x12]
shl ecx, 8
or ecx, eax
mov dword [esi + edx*4 + 0x10], ecx
add dword [edi + 0x156280], 4
mov eax, dword [esp + 0x74]
lea ecx, [edi + 0xf]
inc ebp
movzx ebx, bp
movsx eax, word [eax]
dec eax
cmp ebx, eax
jl 0x10018900
push dword [edi + 0x156280]
mov eax, dword [esp + 0x20]
push eax
push 4
call fcn.1001aef0
mov eax, dword [0x10056228]
add esp, 0xc
cmp byte [eax + 0x59], 0
jne 0x10018e44
call fcn.1001aee0
test dword [eax + 0x24], 0x1000000
je 0x10018e44
call fcn.10003da0
push 0
push 0xae
push eax
mov ecx, dword [eax]
call dword [ecx + 0xe4]
mov eax, dword [esp + 0x20]
mov ecx, dword [0x101b09c0]
push dword [eax]
call fcn.1001b130
lea ecx, [esp + 0x48]
push ecx
mov ecx, eax
call fcn.1001b070
mov ecx, dword [edi + 0x14c60c]
push eax
mov edx, dword [ecx + 0x14]
add ecx, 4
test edx, edx
lea eax, [edx + 0x30]
cmove eax, ecx
mov ecx, 0x1005a5c0
push eax
call fcn.1000f950
mov eax, dword [esp + 0x44]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
addss xmm0, dword [eax]
movss dword [eax], xmm0
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1001c604
add esp, 0x4c
ret 0x24