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

Disassembly:
push rbx
push rbp
push rsi
push r12
push r15
sub rsp, 0x50
mov rbp, qword [0x14004e960]
mov rbx, rcx
mov r12d, dword [rcx + 0xc]
mov rsi, rbp
mov dword [rcx + 0x44], 0xffffffff
test dword [rbp + 0x1b5c], 0x400
mov rax, qword [rbp + 0x1e80]
mov r15, qword [rax]
jne 0x140017cd0
mov qword [rcx + 0x30], r15
mov eax, dword [r15]
mov dword [rcx + 0x38], eax
cmp qword [r15 + 0x98], rcx
sete al
mov byte [rcx + 0xbe], al
add rsp, 0x50
pop r15
pop r12
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x90], r13
mov r13d, r12d
mov qword [rsp + 0x98], r14
movaps xmmword [rsp + 0x40], xmm6
mov byte [rcx + 0xbe], 0
and r13d, 0x6000000
je 0x140017d12
cmp byte [rcx + 0xc5], dil
je 0x140017d12
mov qword [rcx + 0x30], rdi
mov dword [rcx + 0x38], edi
test dword [rbp + 0x1d80], 0x100
jne 0x140017de1
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x140017de1
mov rax, qword [rcx + 0x3e0]
test rax, rax
je 0x140017d55
cmp byte [rax + 0xc7], dil
jne 0x140017d55
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
test rax, rax
jne 0x140017de1
mov r9d, dword [rcx + 0x38]
test r9d, r9d
je 0x140017de1
movsxd rax, dword [rbp + 0x1e78]
mov r8d, edi
test eax, eax
jle 0x140017d9b
mov r11, qword [rbp + 0x1e80]
mov r10, rax
mov rcx, r11
mov rdx, rdi
mov rax, qword [rcx]
cmp dword [rax], r9d
je 0x140017e4f
inc r8d
inc rdx
add rcx, 8
cmp rdx, r10
jl 0x140017d80
mov qword [rbx + 0x30], rdi
movss xmm0, dword [rbx + 0x3c]
lea r8, [rbx + 0x3c]
movss xmm1, dword [0x140046248]
ucomiss xmm0, xmm1
jp 0x140017db7
je 0x140017de1
movss xmm0, dword [rbx + 0x40]
ucomiss xmm0, xmm1
jp 0x140017dc3
je 0x140017de1
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], edi
call fcn.140017a00
mov rbp, qword [0x14004e960]
mov qword [rbx + 0x30], rax
movss xmm6, dword [0x140046268]
xor r14b, r14b
test dword [rsi + 0x1d80], 0x100
je 0x140017e6d
movsxd rax, dword [rbp + 0x1e78]
mov r8d, edi
test eax, eax
jle 0x140017e37
mov r11, qword [rbp + 0x1e80]
mov r9, rax
mov r10d, dword [rsi + 0x1de4]
mov rcx, r11
mov rdx, rdi
nop dword [rax]
mov rax, qword [rcx]
cmp dword [rax], r10d
je 0x140017e64
inc r8d
inc rdx
add rcx, 8
cmp rdx, r9
jl 0x140017e20
mov rcx, rdi
mov qword [rbx + 0x30], rcx
mov r14b, 1
mov eax, dword [rsi + 0x1de4]
mov dword [rbx + 0x38], eax
jmp 0x140017fa5
movsxd rax, r8d
mov rcx, qword [r11 + rax*8]
mov qword [rbx + 0x30], rcx
test rcx, rcx
jne 0x140017de1
jmp 0x140017d9f
movsxd rax, r8d
mov rcx, qword [r11 + rax*8]
jmp 0x140017e3a
test r12d, 0x11000000
jne 0x140017f96
bt r12d, 0x19
jae 0x140017e8d
mov rcx, qword [rsi + 0x1e98]
jmp 0x140017fa1
cmp byte [rbp + 0xcc], dil
jne 0x140017e9f
test dword [rbx + 0x1c], 0x100
je 0x140017ef4
test dword [rbp + 0x1b5c], 0x400
je 0x140017ef4
test byte [rbx + 0x472], 1
jne 0x140017ef4
mov eax, dword [rbx + 0xc]
test eax, 0x13000000
jne 0x140017ef4
and eax, 0xc000000
cmp eax, 0x4000000
je 0x140017ef4
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.140017a00
mov rbp, qword [0x14004e960]
mov rcx, rax
mov qword [rbx + 0x30], rax
jmp 0x140017fa5
mov rax, qword [rsi + 0x1cf8]
test rax, rax
je 0x140017f5d
cmp qword [rax + 0x3e8], rbx
jne 0x140017f5d
movss xmm0, dword [rbp + 0x120]
comiss xmm0, xmm6
movss xmm1, dword [rbp + 0x124]
jb 0x140017f5d
comiss xmm1, xmm6
jb 0x140017f5d
mov rax, qword [rbx + 0x30]
test rax, rax
je 0x140017f57
cmp qword [rax + 0x98], rbx
jne 0x140017f57
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], edi
mov rcx, rbx
call fcn.140017a00
mov rbp, qword [0x14004e960]
mov qword [rbx + 0x30], rax
mov rcx, qword [rbx + 0x30]
jmp 0x140017fa5
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140017faa
cmp rbx, qword [rcx + 0x98]
jne 0x140017fa5
cmp dword [rsi + 0x1d28], edi
jne 0x140017fa5
mov rdx, qword [rbp + 0x1e80]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140016ca0
mov rcx, qword [rbx + 0x30]
mov rbp, qword [0x14004e960]
jmp 0x140017fa5
mov rax, qword [rbx + 0x3e0]
mov rcx, qword [rax + 0x30]
mov qword [rbx + 0x30], rcx
test rcx, rcx
jne 0x140017fb1
mov qword [rbx + 0x30], r15
mov rcx, r15
test r14b, r14b
mov r14, qword [rsp + 0x98]
jne 0x1400181b9
test r13d, r13d
je 0x1400180fd
bt r12d, 0x19
jae 0x140017fdb
lea rcx, [rsi + 0x120]
jmp 0x140017ffb
mov eax, dword [rsi + 0x1e68]
dec eax
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x1e70]
add rax, 0x28
shl rcx, 4
add rcx, rax
movsd xmm0, qword [rcx]
movsd qword [rsp + 0x30], xmm0
cmp byte [rsi + 0x1f06], dil
jne 0x140018024
cmp byte [rsi + 0x1f07], dil
je 0x140018024
cmp qword [rsi + 0x1eb0], rdi
je 0x140018024
xor dl, dl
jmp 0x140018026
mov dl, 1
movss xmm0, dword [rsp + 0x30]
comiss xmm0, xmm6
jb 0x140018040
movss xmm0, dword [rsp + 0x34]
comiss xmm0, xmm6
jb 0x140018040
mov al, 1
jmp 0x140018042
xor al, al
cmp byte [rbx + 0xc5], dil
jne 0x140018054
test r12d, 0x12000000
je 0x14001805c
test dl, dl
je 0x140018080
test al, al
jne 0x14001806f
mov rax, qword [rbx + 0x30]
movsx edi, word [rax + 0x90]
mov dword [rbx + 0x44], edi
jmp 0x1400181b9
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
jmp 0x14001808a
lea rcx, [rsp + 0x30]
call fcn.1400129b0
movsxd rcx, dword [rbp + 0x1618]
test ecx, ecx
jle 0x1400180f0
movss xmm4, dword [rax]
mov r8, rcx
mov rcx, qword [rbp + 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 0x1400180e2
movss xmm0, dword [rax + 4]
comiss xmm0, xmm3
jb 0x1400180e2
comiss xmm1, xmm4
jbe 0x1400180e2
comiss xmm2, xmm0
ja 0x1400180f5
inc edi
inc rdx
add rcx, 0x24
cmp rdx, r8
jl 0x1400180b0
mov edi, 0xffffffff
mov dword [rbx + 0x44], edi
jmp 0x1400181b9
test rcx, rcx
je 0x1400181a3
mov rax, qword [rcx + 0x98]
cmp rbx, rax
je 0x1400181a3
test rax, rax
je 0x1400181a3
bt r12d, 0x18
jb 0x1400181a3
movzx eax, byte [rbx + 0x472]
test al, 1
je 0x140018139
test al, 2
jne 0x140018139
xor dl, dl
jmp 0x14001813b
mov dl, 1
test dword [rbx + 0xc], 0x20000000
je 0x14001816c
mov eax, dword [rsi + 0x1c58]
cmp dword [rcx + 0x6c], eax
jge 0x14001816c
test dl, dl
je 0x14001816c
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 0x1400181b9
mov rdx, qword [rbp + 0x1e80]
mov rcx, rbx
mov rdx, qword [rdx]
call fcn.140016ca0
test al, al
jne 0x1400181b9
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], 4
mov rcx, rbx
call fcn.140017a00
mov qword [rbx + 0x30], rax
jmp 0x1400181b9
cmp dword [rbx + 0x44], edi
jge 0x1400181b9
bt r12d, 0x18
jb 0x1400181b9
movsx eax, word [rcx + 0x90]
mov dword [rbx + 0x44], eax
mov rcx, qword [rbx + 0x30]
movaps xmm6, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
cmp rbx, qword [rcx + 0x98]
sete al
mov byte [rbx + 0xbe], al
mov eax, dword [rcx]
mov dword [rbx + 0x38], eax
add rsp, 0x50
pop r15
pop r12
pop rsi
pop rbp
pop rbx
ret