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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x158
mov eax, 4
mov eax, eax
mov ecx, dword [0x18004b028]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
mov eax, dword [rax + rcx]
cmp dword [0x1800467f4], eax
jle 0x1800074e4
lea rcx, [0x1800467f4]
call fcn.180040cfc
cmp dword [0x1800467f4], 0xffffffff
jne 0x1800074e4
lea rcx, [0x1800467e8]
call fcn.180006620
nop
lea rcx, [0x1800467f4]
call fcn.180040c9c
mov rcx, qword [rsp + 0x168]
call fcn.180006f70
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x180007503
jmp 0x180007a2d
mov rcx, qword [rsp + 0x28]
call fcn.180009710
mov dword [rsp + 0x20], eax
call fcn.180009590
movzx eax, al
test eax, eax
je 0x180007a03
cmp dword [0x180046454], 1
je 0x180007537
cmp dword [0x180046454], 2
jne 0x180007a03
lea rcx, [rsp + 0x58]
call fcn.180006620
lea rcx, [rsp + 0x38]
call fcn.180006620
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x168]
call fcn.180007070
movzx eax, al
test eax, eax
je 0x180007a01
cmp dword [rsp + 0x20], 0x57
je 0x18000757e
cmp dword [rsp + 0x20], 2
jne 0x180007583
jmp 0x180007a2d
cmp dword [rsp + 0x20], 0x5b
jne 0x180007593
mov byte [0x1800461a2], 1
jmp 0x18000759a
mov byte [0x1800461a2], 0
mov rcx, qword [rsp + 0x28]
call fcn.180038690
mov dword [rsp + 0x30], eax
movzx eax, byte [0x1800461a2]
test eax, eax
je 0x1800075c6
cmp dword [0x1800461b0], 0
jne 0x1800075c6
mov eax, dword [rsp + 0x30]
mov dword [0x1800461b0], eax
mov eax, dword [rsp + 0x30]
cmp dword [0x1800461b0], eax
jne 0x1800075d7
jmp 0x180007a2d
mov rcx, qword [rsp + 0x28]
call fcn.1800386d0
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x30], 1
jge 0x1800075f3
cmp dword [rsp + 0x20], 0x63
jne 0x1800075fa
cmp dword [rsp + 0x68], 0
je 0x1800075ff
jmp 0x180007a2d
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x168]
call fcn.180007c40
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x168]
call fcn.1800376c0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x168]
call fcn.180031a60
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x168]
call fcn.180008f70
mov rcx, qword [rsp + 0x28]
call fcn.180007b20
movss dword [rsp + 0x24], xmm0
movss xmm0, dword [rsp + 0x24]
comiss xmm0, dword [0x180042a80]
jbe 0x1800077e0
cmp dword [rsp + 0x20], 2
jne 0x1800076aa
mov rcx, qword [rsp + 0x28]
call fcn.18000a780
movss xmm1, dword [0x180042a8c]
mov ecx, eax
call fcn.180006140
cvtss2sd xmm1, dword [rsp + 0x24]
addsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x24], xmm0
mov rcx, qword [rsp + 0x28]
call fcn.180007ae0
movss dword [rsp + 0x48], xmm0
lea rdx, [rsp + 0xe4]
mov rcx, qword [rsp + 0x168]
call fcn.180007c40
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1800090c0
movss dword [rsp + 0x6c], xmm0
cvtss2sd xmm0, dword [rsp + 0x6c]
cvtss2sd xmm1, dword [rsp + 0x24]
cvtss2sd xmm2, dword [rsp + 0x24]
mulsd xmm2, qword [0x180042a70]
subsd xmm1, xmm2
divsd xmm0, xmm1
movsd qword [rsp + 0x50], xmm0
cmp dword [rsp + 0x20], 2
jne 0x180007754
movss xmm0, dword [0x180042af0]
mulss xmm0, dword [rsp + 0x48]
mulss xmm0, dword [0x180042a60]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x50]
mulsd xmm1, qword [rsp + 0x50]
mulsd xmm0, xmm1
cvtss2sd xmm1, dword [rsp + 0x60]
addsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
jmp 0x180007795
movss xmm0, dword [0x180042aec]
mulss xmm0, dword [rsp + 0x48]
mulss xmm0, dword [0x180042a60]
cvtss2sd xmm0, xmm0
movsd xmm1, qword [rsp + 0x50]
mulsd xmm1, qword [rsp + 0x50]
mulsd xmm0, xmm1
cvtss2sd xmm1, dword [rsp + 0x60]
addsd xmm1, xmm0
movaps xmm0, xmm1
cvtsd2ss xmm0, xmm0
movss dword [rsp + 0x60], xmm0
xor r8d, r8d
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x88]
call fcn.180006ef0
mov qword [rsp + 0x90], rax
cvtsd2ss xmm0, qword [rsp + 0x50]
movaps xmm2, xmm0
lea rdx, [rsp + 0xfc]
mov rcx, qword [rsp + 0x90]
call fcn.180006ae0
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.180006cd0
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x108]
call fcn.180007b60
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180006580
movzx eax, byte [0x18004647e]
test eax, eax
je 0x180007898
mov rcx, qword [rsp + 0x168]
call fcn.180031680
movzx eax, al
test eax, eax
je 0x180007887
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.180006d40
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x114]
lea rcx, [rsp + 0xa8]
call fcn.180006b50
mov qword [rsp + 0x98], rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x98]
call fcn.180006b50
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180006d40
jmp 0x180007896
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.180006d40
jmp 0x1800078f3
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.180006d40
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x12c]
lea rcx, [rsp + 0xa8]
call fcn.180006b50
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x138]
mov rcx, qword [rsp + 0xa0]
call fcn.180006b50
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.180006d40
lea rcx, [rsp + 0x38]
call fcn.180007c90
cmp dword [0x180046454], 1
jne 0x180007948
mov rax, qword [rsp + 0x160]
add rax, 0xc
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.180006580
movss xmm2, dword [0x180042a54]
movss xmm1, dword [0x180042afc]
mov rcx, qword [0x180046488]
call fcn.180031ab0
mov rax, qword [rsp + 0x160]
movss dword [rax + 0x14], xmm0
cmp dword [0x180046454], 2
jne 0x180007a01
mov rax, qword [0x180046490]
mov rax, qword [rax + 0x60]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x28]
call fcn.180039350
movzx eax, al
test eax, eax
je 0x1800079d7
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x38]
and eax, 1
test eax, eax
je 0x1800079d7
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x2028], 0xf
jae 0x1800079d7
mov byte [0x1800461a0], 0
mov rax, qword [rsp + 0x160]
mov byte [rax + 0x49], 1
mov rax, qword [rsp + 0x160]
movss xmm0, dword [rsp + 0x38]
movss dword [rax + 0xc], xmm0
mov rax, qword [rsp + 0x160]
movss xmm0, dword [rsp + 0x3c]
movss dword [rax + 0x10], xmm0
jmp 0x180007a01
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x2028], 0xf
jb 0x180007a01
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x38]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x160]
mov dword [rcx + 0x38], eax
jmp 0x180007a2d
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
lea rcx, [rsp + 0xd8]
call fcn.1800065d0
lea rdx, [rsp + 0xd8]
lea rcx, [0x1800467e8]
call fcn.180006580
add rsp, 0x158
ret