Function at 0x180021070
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 [0x18033b068]
mov rbx, qword [rdi + 0x48b8]
test dword [rbx + 0x14], 0x40000
jne 0x180021204
cmp qword [rdi + 0x4a40], 0
jne 0x180021204
cmp byte [rdi + 0x2e74], 0
mov rax, rdi
mov qword [rsp + 0x50], rbp
jne 0x1800210c2
xor bpl, bpl
jmp 0x1800210e5
cmp byte [rdi + 0x474c], 0
je 0x1800210d4
cmp dword [rdi + 0x3f38], 0xffffffff
jne 0x1800210dd
cmp dword [rdi + 0x3fbc], 0xffffffff
je 0x1800210e2
xor bpl, bpl
jmp 0x1800210e5
mov bpl, 1
cmp byte [rax + 0x2e84], 0
jne 0x1800210f3
xor sil, sil
jmp 0x180021116
cmp byte [rax + 0x474c], 0
je 0x180021105
cmp dword [rax + 0x3f38], 0xffffffff
jne 0x18002110e
cmp dword [rax + 0x3fc8], 0xffffffff
je 0x180021113
xor sil, sil
jmp 0x180021116
mov sil, 1
mov edx, 0xffffffff
mov ecx, 0x207
mov r8d, 1
call fcn.18001a6d0
mov edx, 0xffffffff
mov ecx, 0x208
mov r8d, 1
movzx r15d, al
call fcn.18001a6d0
cmp bpl, sil
movzx r14d, al
mov rbp, qword [rsp + 0x50]
jne 0x18002115b
cmp r15b, al
je 0x180021204
cmp dword [rdi + 0x48f0], 0
je 0x18002116b
xor ecx, ecx
call fcn.18001f240
cmp word [rbx + 0x15c], 0
jne 0x18002123d
cmp byte [rbx + 0x162], 0
je 0x18002123d
mov edx, 0xffffffff
mov ecx, 0x205
mov r8d, 1
call fcn.18001a6d0
test al, al
je 0x1800211bd
movss xmm1, dword [rbx + 0x204]
subss xmm1, dword [rbx + 0x1fc]
movss xmm0, dword [rbx + 0x88]
subss xmm0, xmm1
jmp 0x1800211ee
mov edx, 0xffffffff
mov ecx, 0x206
mov r8d, 1
call fcn.18001a6d0
test al, al
je 0x18002121b
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 0x18002122a
xor eax, eax
mov dword [rbx + 0x98], eax
jmp 0x1800211f8
test r14b, r14b
je 0x180021204
mov eax, dword [rbx + 0x90]
mov dword [rbx + 0x98], eax
jmp 0x1800211f6
mov rax, qword [rbx]
movsxd rsi, dword [rdi + 0x48f0]
add rsi, rsi
movaps xmmword [rsp + 0x20], xmm6
movss xmm0, dword [rax + 0x3c14]
mov rax, qword [rbx + 0x368]
mulss xmm0, dword [rbx + 0x290]
test rax, rax
je 0x180021273
mulss xmm0, dword [rax + 0x290]
movss xmm6, dword [rbx + 0x204]
xor edx, edx
subss xmm6, dword [rbx + 0x1fc]
xorps xmm5, xmm5
mov ecx, 0x205
lea r8d, [rdx + 1]
subss xmm6, xmm0
movss xmm0, dword [rbx + rsi*8 + 0x3b4]
subss xmm0, dword [rbx + rsi*8 + 0x3ac]
addss xmm6, xmm0
maxss xmm6, xmm5
call fcn.18001a6d0
test al, al
je 0x1800212ed
movaps xmm5, xmm6
mov dword [rdi + 0x4940], 3
xorps xmm5, xmmword [0x1802f9830]
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm0, xmm5
mov dword [rdi + 0x4948], 2
mov dword [rdi + 0x4934], 0x30
jmp 0x180021207
xor edx, edx
mov ecx, 0x206
lea r8d, [rdx + 1]
call fcn.18001a6d0
test al, al
je 0x18002131d
movaps xmm5, xmm6
mov dword [rdi + 0x4948], 3
mov dword [rdi + 0x4934], 0x30
jmp 0x1800213bd
test r15b, r15b
je 0x180021374
movss xmm0, dword [rbx + rsi*8 + 0x3b0]
xor eax, eax
comiss xmm0, dword [rbx + rsi*8 + 0x3a8]
mov dword [rbx + rsi*8 + 0x3b4], eax
mov dword [rbx + rsi*8 + 0x3ac], eax
jae 0x180021353
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 + 0x4940], 3
mov dword [rdi + 0x4934], 0x50
jmp 0x180021207
test r14b, r14b
je 0x1800213c7
movss xmm0, dword [rbx + 0x3c]
movss xmm1, dword [rbx + rsi*8 + 0x3b0]
comiss xmm1, dword [rbx + rsi*8 + 0x3a8]
movss dword [rbx + rsi*8 + 0x3b4], xmm0
movss dword [rbx + rsi*8 + 0x3ac], xmm0
jae 0x1800213b3
xor eax, eax
mov dword [rbx + rsi*8 + 0x3b0], eax
mov dword [rbx + rsi*8 + 0x3a8], eax
mov dword [rdi + 0x4934], 0x50
mov dword [rdi + 0x4940], 2
movaps xmm6, xmmword [rsp + 0x20]
movaps xmm0, xmm5
jmp 0x180021207