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

Disassembly:
push rbx
push rbp
push r12
push r15
sub rsp, 0x58
mov r11, qword [0x1400b29a0]
mov rbx, rcx
mov r15d, dword [rcx + 0xc]
mov rbp, r11
mov dword [rcx + 0x44], 0xffffffff
test dword [r11 + 0x1a1c], 0x400
mov rax, qword [r11 + 0x1d40]
mov r12, qword [rax]
jne 0x1400173c1
mov qword [rcx + 0x30], r12
mov eax, dword [r12]
mov dword [rcx + 0x38], eax
cmp qword [r12 + 0x98], rcx
sete al
mov byte [rcx + 0xbe], al
add rsp, 0x58
pop r15
pop r12
pop rbp
pop rbx
ret
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rdi
xor edi, edi
mov qword [rsp + 0x98], r13
mov r13d, r15d
mov qword [rsp + 0x50], r14
movaps xmmword [rsp + 0x40], xmm6
mov byte [rcx + 0xbe], 0
and r13d, 0x6000000
je 0x140017408
cmp byte [rcx + 0xc5], dil
je 0x140017408
mov qword [rcx + 0x30], rdi
mov dword [rcx + 0x38], edi
test dword [r11 + 0x1c40], 0x100
jne 0x1400174d4
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x1400174d4
mov rax, qword [rcx + 0x3e0]
test rax, rax
je 0x14001744c
cmp byte [rax + 0xc7], dil
jne 0x14001744c
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
test rax, rax
jne 0x1400174d4
mov r9d, dword [rcx + 0x38]
test r9d, r9d
je 0x1400174d4
movsxd rax, dword [r11 + 0x1d38]
mov r8d, edi
test eax, eax
jle 0x14001748e
mov rsi, qword [r11 + 0x1d40]
mov r10, rax
mov rcx, rsi
mov rdx, rdi
mov rax, qword [rcx]
cmp dword [rax], r9d
je 0x140017542
inc r8d
inc rdx
add rcx, 8
cmp rdx, r10
jl 0x140017473
mov qword [rbx + 0x30], rdi
movss xmm0, dword [rbx + 0x3c]
lea r8, [rbx + 0x3c]
movss xmm1, dword [0x1400ab3a8]
ucomiss xmm0, xmm1
jp 0x1400174aa
je 0x1400174d4
movss xmm0, dword [rbx + 0x40]
ucomiss xmm0, xmm1
jp 0x1400174b6
je 0x1400174d4
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140017040
mov r11, qword [0x1400b29a0]
mov qword [rbx + 0x30], rax
movss xmm6, dword [0x1400ab3c8]
xor r14b, r14b
test dword [rbp + 0x1c40], 0x100
je 0x140017560
movsxd rax, dword [r11 + 0x1d38]
mov r8d, edi
test eax, eax
jle 0x140017527
mov rsi, qword [r11 + 0x1d40]
mov r9, rax
mov r10d, dword [rbp + 0x1ca4]
mov rcx, rsi
mov rdx, rdi
mov rax, qword [rcx]
cmp dword [rax], r10d
je 0x140017557
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140017510
mov rcx, rdi
lea rsi, [rbx + 0x30]
mov r14b, 1
mov qword [rsi], rcx
mov eax, dword [rbp + 0x1ca4]
mov dword [rbx + 0x38], eax
jmp 0x140017680
movsxd rax, r8d
mov rcx, qword [rsi + rax*8]
mov qword [rbx + 0x30], rcx
test rcx, rcx
jne 0x1400174d4
jmp 0x140017492
movsxd rax, r8d
mov rcx, qword [rsi + rax*8]
jmp 0x14001752a
test r15d, 0x11000000
jne 0x14001766e
bt r15d, 0x19
jae 0x140017587
mov rax, qword [rbp + 0x1d58]
lea rsi, [rbx + 0x30]
mov qword [rsi], rax
jmp 0x140017680
cmp byte [r11 + 0xcc], dil
jne 0x140017599
test dword [rbx + 0x1c], 0x100
je 0x1400175cb
test dword [r11 + 0x1a1c], 0x400
je 0x1400175cb
test byte [rbx + 0x472], 1
jne 0x1400175cb
mov eax, dword [rbx + 0xc]
test eax, 0x13000000
jne 0x1400175cb
and eax, 0xc000000
cmp eax, 0x4000000
je 0x1400175cb
lea rsi, [rbx + 0x30]
jmp 0x140017612
mov rax, qword [rbp + 0x1bb8]
test rax, rax
je 0x140017635
cmp qword [rax + 0x3e8], rbx
jne 0x140017635
movss xmm0, dword [r11 + 0x120]
comiss xmm0, xmm6
movss xmm1, dword [r11 + 0x124]
jb 0x140017635
comiss xmm1, xmm6
jb 0x140017635
mov rax, qword [rbx + 0x30]
lea rsi, [rbx + 0x30]
test rax, rax
je 0x140017680
cmp qword [rax + 0x98], rbx
jne 0x140017680
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.140017040
mov r11, qword [0x1400b29a0]
mov qword [rsi], rax
jmp 0x140017680
mov rax, qword [rbx + 0x30]
lea rsi, [rbx + 0x30]
test rax, rax
je 0x140017680
cmp rbx, qword [rax + 0x98]
jne 0x140017680
cmp dword [rbp + 0x1be8], edi
jne 0x140017680
mov rdx, qword [r11 + 0x1d40]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400162b0
mov r11, qword [0x1400b29a0]
jmp 0x140017680
mov rax, qword [rbx + 0x3e0]
lea rsi, [rbx + 0x30]
mov rcx, qword [rax + 0x30]
mov qword [rsi], rcx
mov rcx, qword [rsi]
test rcx, rcx
jne 0x14001768e
mov qword [rsi], r12
mov rcx, r12
mov rsi, qword [rsp + 0x88]
test r14b, r14b
mov r14, qword [rsp + 0x50]
jne 0x140017899
test r13d, r13d
je 0x1400177dd
bt r15d, 0x19
jae 0x1400176bd
lea rax, [rbp + 0x120]
jmp 0x1400176da
movsxd rax, dword [rbp + 0x1d28]
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x1d30]
add rax, 0xfffffffffffffff8
shl rcx, 4
add rax, rcx
movsd xmm0, qword [rax]
movsd qword [rsp + 0x38], xmm0
cmp byte [rbp + 0x1dc6], dil
jne 0x140017703
cmp byte [rbp + 0x1dc7], dil
je 0x140017703
cmp qword [rbp + 0x1d70], rdi
je 0x140017703
xor dl, dl
jmp 0x140017705
mov dl, 1
movss xmm0, dword [rsp + 0x38]
comiss xmm0, xmm6
jb 0x14001771f
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, xmm6
jb 0x14001771f
mov cl, 1
jmp 0x140017721
xor cl, cl
cmp byte [rbx + 0xc5], dil
jne 0x140017733
test r15d, 0x12000000
je 0x14001773b
test dl, dl
je 0x14001775f
test cl, cl
jne 0x14001774e
mov rax, qword [rbx + 0x30]
movsx edi, word [rax + 0x90]
mov dword [rbx + 0x44], edi
jmp 0x140017899
movsd xmm0, qword [rax]
lea rax, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
jmp 0x140017769
lea rcx, [rsp + 0x38]
call fcn.140011ea0
movsxd rcx, dword [r11 + 0x1618]
test ecx, ecx
jle 0x1400177d0
movss xmm4, dword [rax]
mov r8, rcx
mov rcx, qword [r11 + 0x1620]
mov rdx, rdi
nop word [rax + rax]
movss xmm0, dword [rcx]
comiss xmm4, xmm0
movss xmm3, dword [rcx + 4]
movaps xmm1, xmm0
addss xmm1, dword [rcx + 8]
movaps xmm2, xmm3
addss xmm2, dword [rcx + 0xc]
jb 0x1400177c2
movss xmm0, dword [rax + 4]
comiss xmm0, xmm3
jb 0x1400177c2
comiss xmm1, xmm4
jbe 0x1400177c2
comiss xmm2, xmm0
ja 0x1400177d5
inc edi
inc rdx
add rcx, 0x24
cmp rdx, r8
jl 0x140017790
mov edi, 0xffffffff
mov dword [rbx + 0x44], edi
jmp 0x140017899
test rcx, rcx
je 0x140017883
mov rax, qword [rcx + 0x98]
cmp rbx, rax
je 0x140017883
test rax, rax
je 0x140017883
bt r15d, 0x18
jb 0x140017883
movzx eax, byte [rbx + 0x472]
test al, 1
je 0x140017819
test al, 2
jne 0x140017819
xor dl, dl
jmp 0x14001781b
mov dl, 1
test dword [rbx + 0xc], 0x20000000
je 0x14001784c
mov eax, dword [rbp + 0x1b18]
cmp dword [rcx + 0x6c], eax
jge 0x14001784c
test dl, dl
je 0x14001784c
mov qword [rcx + 0x98], rbx
mov eax, dword [rbx + 8]
mov rcx, qword [rbx + 0x30]
mov dword [rcx], eax
mov rax, qword [rbx + 0x30]
mov dword [rax + 0x7c], edi
jmp 0x140017899
mov rdx, qword [r11 + 0x1d40]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.1400162b0
test al, al
jne 0x140017899
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], 4
mov rcx, rbx
call fcn.140017040
mov qword [rbx + 0x30], rax
jmp 0x140017899
cmp dword [rbx + 0x44], edi
jge 0x140017899
bt r15d, 0x18
jb 0x140017899
movsx eax, word [rcx + 0x90]
mov dword [rbx + 0x44], eax
mov rcx, qword [rbx + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
cmp rbx, qword [rcx + 0x98]
sete al
mov byte [rbx + 0xbe], al
mov eax, dword [rcx]
mov dword [rbx + 0x38], eax
add rsp, 0x58
pop r15
pop r12
pop rbp
pop rbx
ret