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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [0x1800a4620]
mov rbx, qword [rdi + 0x48d0]
test dword [rbx + 0x14], 0x40000
jne 0x1800472b4
cmp qword [rdi + 0x4a58], 0
jne 0x1800472b4
cmp byte [rdi + 0x2e74], 0
mov rax, rdi
mov qword [rsp + 0x50], rbp
jne 0x180047172
xor bpl, bpl
jmp 0x180047195
cmp byte [rdi + 0x474c], 0
je 0x180047184
cmp dword [rdi + 0x3f38], 0xffffffff
jne 0x18004718d
cmp dword [rdi + 0x3fbc], 0xffffffff
je 0x180047192
xor bpl, bpl
jmp 0x180047195
mov bpl, 1
cmp byte [rax + 0x2e84], 0
jne 0x1800471a3
xor sil, sil
jmp 0x1800471c6
cmp byte [rax + 0x474c], 0
je 0x1800471b5
cmp dword [rax + 0x3f38], 0xffffffff
jne 0x1800471be
cmp dword [rax + 0x3fc8], 0xffffffff
je 0x1800471c3
xor sil, sil
jmp 0x1800471c6
mov sil, 1
mov edx, 0xffffffff
mov ecx, 0x207
mov r8d, 1
call fcn.180040c50
mov edx, 0xffffffff
mov ecx, 0x208
mov r8d, 1
movzx r15d, al
call fcn.180040c50
cmp bpl, sil
movzx r14d, al
mov rbp, qword [rsp + 0x50]
jne 0x18004720b
cmp r15b, al
je 0x1800472b4
cmp dword [rdi + 0x4908], 0
je 0x18004721b
xor ecx, ecx
call fcn.1800452d0
cmp word [rbx + 0x15c], 0
jne 0x1800472ed
cmp byte [rbx + 0x162], 0
je 0x1800472ed
mov edx, 0xffffffff
mov ecx, 0x205
mov r8d, 1
call fcn.180040c50
test al, al
je 0x18004726d
movss xmm1, dword [rbx + 0x204]
subss xmm1, dword [rbx + 0x1fc]
movss xmm0, dword [rbx + 0x88]
subss xmm0, xmm1
jmp 0x18004729e
mov edx, 0xffffffff
mov ecx, 0x206
mov r8d, 1
call fcn.180040c50
test al, al
je 0x1800472cb
movss xmm0, dword [rbx + 0x204]
subss xmm0, dword [rbx + 0x1fc]
addss xmm0, dword [rbx + 0x88]
movss dword [rbx + 0x98], xmm0
xor eax, eax
mov dword [rbx + 0xa8], eax
mov dword [rbx + 0xa0], eax
xorps xmm0, xmm0
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
test r15b, r15b
je 0x1800472da
xor eax, eax
mov dword [rbx + 0x98], eax
jmp 0x1800472a8
test r14b, r14b
je 0x1800472b4
mov eax, dword [rbx + 0x90]
mov dword [rbx + 0x98], eax
jmp 0x1800472a6
mov rax, qword [rbx]
movsxd rsi, dword [rdi + 0x4908]
movss xmm2, dword [rbx + 0x204]
add rsi, rsi
subss xmm2, dword [rbx + 0x1fc]
movss xmm1, dword [rax + 0x3c14]
mov rax, qword [rbx + 0x368]
mulss xmm1, dword [rbx + 0x290]
movaps xmmword [rsp + 0x20], xmm6
test rax, rax
je 0x180047333
mulss xmm1, dword [rax + 0x290]
movss xmm0, dword [rbx + rsi*8 + 0x3b4]
subss xmm2, xmm1
subss xmm0, dword [rbx + rsi*8 + 0x3ac]
xorps xmm6, xmm6
xor edx, edx
mov ecx, 0x205
mov r8d, 1
xorps xmm5, xmm5
addss xmm0, xmm2
maxss xmm6, xmm0
call fcn.180040c50
test al, al
je 0x1800473a2
movaps xmm5, xmm6
mov dword [rdi + 0x4958], 3
xorps xmm5, xmmword [0x180093d10]
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm0, xmm5
mov dword [rdi + 0x4960], 2
mov dword [rdi + 0x494c], 0x830
jmp 0x1800472b7
xor edx, edx
mov ecx, 0x206
mov r8d, 1
call fcn.180040c50
test al, al
je 0x1800473d4
movaps xmm5, xmm6
mov dword [rdi + 0x4960], 3
mov dword [rdi + 0x494c], 0x830
jmp 0x180047479
test r15b, r15b
je 0x18004742b
movss xmm0, dword [rbx + rsi*8 + 0x3a8]
xor eax, eax
comiss xmm0, dword [rbx + rsi*8 + 0x3b0]
mov dword [rbx + rsi*8 + 0x3b4], eax
mov dword [rbx + rsi*8 + 0x3ac], eax
jbe 0x18004740a
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm0, xmm5
mov dword [rdi + 0x4958], 3
mov dword [rdi + 0x494c], 0x50
jmp 0x1800472b7
test r14b, r14b
je 0x180047483
movss xmm1, dword [rbx + 0x3c]
movss xmm0, dword [rbx + rsi*8 + 0x3a8]
comiss xmm0, dword [rbx + rsi*8 + 0x3b0]
movss dword [rbx + rsi*8 + 0x3b4], xmm1
movss dword [rbx + rsi*8 + 0x3ac], xmm1
ja 0x18004745f
comiss xmm1, xmm1
jbe 0x18004746f
xor eax, eax
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
mov dword [rdi + 0x494c], 0x50
mov dword [rdi + 0x4958], 2
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm0, xmm5
jmp 0x1800472b7