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

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x50
mov rbp, qword [0x14010c048]
mov rbx, rcx
mov r14d, dword [rcx + 0xc]
mov dword [rcx + 0x44], 0xffffffff
mov rax, qword [0x14010c048]
test dword [rbp + 0x3d28], 0x400
mov rdx, qword [rax + 0x49d0]
mov r15, qword [rdx]
jne 0x14006a087
cmp byte [rcx + 0xe2], 0
je 0x14006a061
mov rax, qword [rcx + 0x30]
cmp qword [rax + 0x88], rcx
jne 0x14006a061
xor esi, esi
xorps xmm0, xmm0
mov dword [rax + 0x10], esi
movss dword [rax + 0x14], xmm0
mov qword [rcx + 0x30], r15
mov eax, dword [r15]
mov dword [rcx + 0x38], eax
cmp qword [r15 + 0x88], rbx
sete al
mov byte [rcx + 0xe2], al
add rsp, 0x50
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret
mov qword [rsp + 0x88], rdi
xor esi, esi
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r13
mov r13d, r14d
movaps xmmword [rsp + 0x40], xmm6
mov byte [rcx + 0xe2], 0
and r13d, 0x6000000
je 0x14006a0c9
cmp byte [rcx + 0xe9], sil
je 0x14006a0c9
mov qword [rcx + 0x30], rsi
mov dword [rcx + 0x38], esi
test dword [rbp + 0x48b0], 0x100
jne 0x14006a15d
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x14006a15d
mov rax, qword [rcx + 0x3a0]
test rax, rax
je 0x14006a10d
cmp byte [rax + 0xeb], sil
je 0x14006a100
cmp byte [rax + 0xe4], sil
je 0x14006a10d
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
test rax, rax
jne 0x14006a15d
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x14006a15d
call fcn.140056830
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14006a15d
movss xmm0, dword [rbx + 0x3c]
lea r8, [rbx + 0x3c]
movss xmm1, dword [0x1400dc1f4]
ucomiss xmm0, xmm1
jp 0x14006a13a
je 0x14006a15d
movss xmm0, dword [rbx + 0x40]
ucomiss xmm0, xmm1
jp 0x14006a146
je 0x14006a15d
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.140045620
mov qword [rbx + 0x30], rax
movss xmm6, dword [0x1400dc1fc]
xor r12b, r12b
test dword [rbp + 0x48b0], 0x100
je 0x14006a197
mov ecx, dword [rbp + 0x4914]
lea rdi, [rbx + 0x30]
call fcn.140056830
mov qword [rdi], rax
mov r12b, 1
mov eax, dword [rbp + 0x4914]
mov dword [rbx + 0x38], eax
jmp 0x14006a2c8
test r14d, 0x11000000
jne 0x14006a2b6
mov rax, qword [rbx + 0x430]
test rax, rax
je 0x14006a1cc
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14006a1cc
mov rax, qword [rax + 0x30]
lea rdi, [rbx + 0x30]
mov qword [rdi], rax
jmp 0x14006a2c8
bt r14d, 0x19
jae 0x14006a1e6
mov rax, qword [rbp + 0x49e8]
lea rdi, [rbx + 0x30]
mov qword [rdi], rax
jmp 0x14006a2c8
mov rcx, rbx
call fcn.140057e60
test al, al
je 0x14006a212
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
lea rdi, [rbx + 0x30]
call fcn.140045620
mov qword [rdi], rax
jmp 0x14006a2c8
mov rax, qword [rbp + 0x3ff0]
test rax, rax
je 0x14006a277
cmp qword [rax + 0x3c0], rbx
jne 0x14006a277
mov rax, qword [0x14010c048]
movss xmm0, dword [rax + 0xe04]
comiss xmm0, xmm6
movss xmm1, dword [rax + 0xe08]
jb 0x14006a277
comiss xmm1, xmm6
jb 0x14006a277
mov rax, qword [rbx + 0x30]
lea rdi, [rbx + 0x30]
test rax, rax
je 0x14006a2c8
cmp qword [rax + 0x88], rbx
jne 0x14006a2c8
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
call fcn.140045620
mov qword [rdi], rax
jmp 0x14006a2c8
mov rax, qword [rbx + 0x30]
lea rdi, [rbx + 0x30]
test rax, rax
je 0x14006a2c8
cmp rbx, qword [rax + 0x88]
jne 0x14006a2c8
cmp dword [rbp + 0x4038], esi
je 0x14006a29e
cmp byte [rbp + 0x4045], sil
je 0x14006a2c8
mov rax, qword [0x14010c048]
mov rdx, qword [rax + 0x49d0]
mov rdx, qword [rdx]
call fcn.140068710
jmp 0x14006a2c8
mov rax, qword [rbx + 0x3a0]
lea rdi, [rbx + 0x30]
mov rcx, qword [rax + 0x30]
mov qword [rdi], rcx
cmp qword [rdi], rsi
jne 0x14006a2f6
mov rdx, r15
mov rcx, rbx
call fcn.140068710
test al, al
jne 0x14006a2f6
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.140045620
mov qword [rdi], rax
test r12b, r12b
mov r12, qword [rsp + 0x90]
jne 0x14006a538
test r13d, r13d
je 0x14006a44d
bt r14d, 0x19
jae 0x14006a320
lea rcx, [rbp + 0xe04]
jmp 0x14006a339
movsxd rax, dword [rbp + 0x49b0]
imul rcx, rax, 0x38
mov rax, qword [rbp + 0x49b8]
add rax, 0xfffffffffffffff4
add rcx, rax
movsd xmm0, qword [rcx]
movsd qword [rsp + 0x80], xmm0
cmp byte [rbp + 0x4a6a], sil
jne 0x14006a365
cmp byte [rbp + 0x4a6b], sil
je 0x14006a365
cmp qword [rbp + 0x4a28], rsi
je 0x14006a365
xor dl, dl
jmp 0x14006a367
mov dl, 1
movss xmm0, dword [rsp + 0x80]
comiss xmm0, xmm6
jb 0x14006a387
movss xmm0, dword [rsp + 0x84]
comiss xmm0, xmm6
jb 0x14006a387
mov al, 1
jmp 0x14006a389
xor al, al
cmp byte [rbx + 0xe9], sil
jne 0x14006a39b
test r14d, 0x12000000
je 0x14006a3a3
test dl, dl
je 0x14006a3c6
test al, al
jne 0x14006a3b5
mov rax, qword [rdi]
movsx esi, word [rax + 0x80]
mov dword [rbx + 0x44], esi
jmp 0x14006a538
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
jmp 0x14006a3d3
lea rcx, [rsp + 0x80]
call fcn.14005a790
mov rcx, qword [0x14010c048]
movsxd rdx, dword [rcx + 0x38b0]
test edx, edx
jle 0x14006a440
movss xmm4, dword [rax]
mov r8, rdx
mov rcx, qword [rcx + 0x38b8]
mov rdx, rsi
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 0x14006a432
movss xmm0, dword [rax + 4]
comiss xmm0, xmm3
jb 0x14006a432
comiss xmm1, xmm4
jbe 0x14006a432
comiss xmm2, xmm0
ja 0x14006a445
inc esi
inc rdx
add rcx, 0x24
cmp rdx, r8
jl 0x14006a400
mov esi, 0xffffffff
mov dword [rbx + 0x44], esi
jmp 0x14006a538
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006a522
mov r9, qword [rcx + 0x88]
cmp rbx, r9
je 0x14006a522
test r9, r9
je 0x14006a522
bt r14d, 0x18
jb 0x14006a522
cmp qword [rbx + 0x430], rsi
jne 0x14006a522
movzx edx, byte [rbx + 0x415]
and dl, 5
test dword [rbx + 0xc], 0x20000000
je 0x14006a4e5
mov eax, dword [rbp + 0x3f58]
cmp dword [rcx + 0x64], eax
jge 0x14006a4e5
cmp dl, 1
je 0x14006a4e5
test byte [rbp + 0x5e44], 0x80
je 0x14006a4cb
mov r8d, dword [rcx]
lea rcx, str._viewport__Window__s_steal_Viewport__08X_from_Window__s_n
mov r9, qword [r9]
mov rdx, qword [rbx]
call fcn.14004c0d0
mov rax, qword [rdi]
mov qword [rax + 0x88], rbx
mov eax, dword [rbx + 8]
mov rcx, qword [rdi]
mov dword [rcx], eax
mov rax, qword [rdi]
mov dword [rax + 0x6c], esi
jmp 0x14006a538
mov rax, qword [0x14010c048]
mov rcx, rbx
mov rdx, qword [rax + 0x49d0]
mov rdx, qword [rdx]
call fcn.140068710
test al, al
jne 0x14006a538
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], 0x20
mov rcx, rbx
call fcn.140045620
mov qword [rdi], rax
jmp 0x14006a538
cmp dword [rbx + 0x44], esi
jge 0x14006a538
bt r14d, 0x18
jb 0x14006a538
movsx eax, word [rcx + 0x80]
mov dword [rbx + 0x44], eax
mov rcx, qword [rdi]
movaps xmm6, xmmword [rsp + 0x40]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x88]
cmp rbx, qword [rcx + 0x88]
sete al
mov byte [rbx + 0xe2], al
mov eax, dword [rcx]
mov dword [rbx + 0x38], eax
add rsp, 0x50
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret