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

Disassembly:
push rbx
push rbp
push rsi
push r14
push r15
sub rsp, 0x50
mov rbp, qword [0x1401d4a78]
mov rbx, rcx
mov r14d, dword [rcx + 0xc]
mov dword [rcx + 0x44], 0xffffffff
mov rax, qword [0x1401d4a78]
test dword [rbp + 0x3d40], 0x400
mov rdx, qword [rax + 0x4210]
mov r15, qword [rdx]
jne 0x14009ad87
cmp byte [rcx + 0xca], 0
je 0x14009ad61
mov rax, qword [rcx + 0x30]
cmp qword [rax + 0x88], rcx
jne 0x14009ad61
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 + 0xca], 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 + 0xca], 0
and r13d, 0x6000000
je 0x14009adc9
cmp byte [rcx + 0xd1], sil
je 0x14009adc9
mov qword [rcx + 0x30], rsi
mov dword [rcx + 0x38], esi
test dword [rbp + 0x40f0], 0x100
jne 0x14009ae5d
mov rax, qword [rcx + 0x30]
test rax, rax
jne 0x14009ae5d
mov rax, qword [rcx + 0x390]
test rax, rax
je 0x14009ae0d
cmp byte [rax + 0xd3], sil
je 0x14009ae00
cmp byte [rax + 0xcc], sil
je 0x14009ae0d
mov rax, qword [rax + 0x30]
mov qword [rcx + 0x30], rax
test rax, rax
jne 0x14009ae5d
mov ecx, dword [rcx + 0x38]
test ecx, ecx
je 0x14009ae5d
call fcn.140086bf0
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x14009ae5d
movss xmm0, dword [rbx + 0x3c]
lea r8, [rbx + 0x3c]
movss xmm1, dword [0x140178d00]
ucomiss xmm0, xmm1
jp 0x14009ae3a
je 0x14009ae5d
movss xmm0, dword [rbx + 0x40]
ucomiss xmm0, xmm1
jp 0x14009ae46
je 0x14009ae5d
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call fcn.140075ff0
mov qword [rbx + 0x30], rax
movss xmm6, dword [0x14017ac68]
xor r12b, r12b
test dword [rbp + 0x40f0], 0x100
je 0x14009ae97
mov ecx, dword [rbp + 0x4154]
lea rdi, [rbx + 0x30]
call fcn.140086bf0
mov qword [rdi], rax
mov r12b, 1
mov eax, dword [rbp + 0x4154]
mov dword [rbx + 0x38], eax
jmp 0x14009afc8
test r14d, 0x11000000
jne 0x14009afb6
mov rax, qword [rbx + 0x420]
test rax, rax
je 0x14009aecc
mov rax, qword [rax + 0x88]
test rax, rax
je 0x14009aecc
mov rax, qword [rax + 0x30]
lea rdi, [rbx + 0x30]
mov qword [rdi], rax
jmp 0x14009afc8
bt r14d, 0x19
jae 0x14009aee6
mov rax, qword [rbp + 0x4228]
lea rdi, [rbx + 0x30]
mov qword [rdi], rax
jmp 0x14009afc8
mov rcx, rbx
call fcn.140088310
test al, al
je 0x14009af12
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
lea rdi, [rbx + 0x30]
call fcn.140075ff0
mov qword [rdi], rax
jmp 0x14009afc8
mov rax, qword [rbp + 0x4000]
test rax, rax
je 0x14009af77
cmp qword [rax + 0x3b0], rbx
jne 0x14009af77
mov rax, qword [0x1401d4a78]
movss xmm0, dword [rax + 0xd9c]
comiss xmm0, xmm6
movss xmm1, dword [rax + 0xda0]
jb 0x14009af77
comiss xmm1, xmm6
jb 0x14009af77
mov rax, qword [rbx + 0x30]
lea rdi, [rbx + 0x30]
test rax, rax
je 0x14009afc8
cmp qword [rax + 0x88], rbx
jne 0x14009afc8
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
call fcn.140075ff0
mov qword [rdi], rax
jmp 0x14009afc8
mov rax, qword [rbx + 0x30]
lea rdi, [rbx + 0x30]
test rax, rax
je 0x14009afc8
cmp rbx, qword [rax + 0x88]
jne 0x14009afc8
cmp dword [rbp + 0x4034], esi
je 0x14009af9e
cmp byte [rbp + 0x4041], sil
je 0x14009afc8
mov rax, qword [0x1401d4a78]
mov rdx, qword [rax + 0x4210]
mov rdx, qword [rdx]
call fcn.140099430
jmp 0x14009afc8
mov rax, qword [rbx + 0x390]
lea rdi, [rbx + 0x30]
mov rcx, qword [rax + 0x30]
mov qword [rdi], rcx
cmp qword [rdi], rsi
jne 0x14009aff6
mov rdx, r15
mov rcx, rbx
call fcn.140099430
test al, al
jne 0x14009aff6
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + 0x20], esi
mov rcx, rbx
call fcn.140075ff0
mov qword [rdi], rax
test r12b, r12b
mov r12, qword [rsp + 0x90]
jne 0x14009b228
test r13d, r13d
je 0x14009b13d
bt r14d, 0x19
jae 0x14009b020
lea rcx, [rbp + 0xd9c]
jmp 0x14009b039
movsxd rax, dword [rbp + 0x41f0]
imul rcx, rax, 0x38
mov rax, qword [rbp + 0x41f8]
add rax, 0xfffffffffffffff4
add rcx, rax
movsd xmm0, qword [rcx]
movsd qword [rsp + 0x38], xmm0
cmp byte [rbp + 0x42aa], sil
jne 0x14009b062
cmp byte [rbp + 0x42ab], sil
je 0x14009b062
cmp qword [rbp + 0x4268], rsi
je 0x14009b062
xor dl, dl
jmp 0x14009b064
mov dl, 1
movss xmm0, dword [rsp + 0x38]
comiss xmm0, xmm6
jb 0x14009b07e
movss xmm0, dword [rsp + 0x3c]
comiss xmm0, xmm6
jb 0x14009b07e
mov al, 1
jmp 0x14009b080
xor al, al
cmp byte [rbx + 0xd1], sil
jne 0x14009b092
test r14d, 0x12000000
je 0x14009b09a
test dl, dl
je 0x14009b0bd
test al, al
jne 0x14009b0ac
mov rax, qword [rdi]
movsx esi, word [rax + 0x80]
mov dword [rbx + 0x44], esi
jmp 0x14009b228
movsd xmm0, qword [rcx]
lea rax, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm0
jmp 0x14009b0c7
lea rcx, [rsp + 0x38]
call fcn.14008abb0
mov rcx, qword [0x1401d4a78]
movsxd rdx, dword [rcx + 0x38c8]
test edx, edx
jle 0x14009b130
movss xmm4, dword [rax]
mov r8, rdx
mov rcx, qword [rcx + 0x38d0]
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 0x14009b122
movss xmm0, dword [rax + 4]
comiss xmm0, xmm3
jb 0x14009b122
comiss xmm1, xmm4
jbe 0x14009b122
comiss xmm2, xmm0
ja 0x14009b135
inc esi
inc rdx
add rcx, 0x24
cmp rdx, r8
jl 0x14009b0f0
mov esi, 0xffffffff
mov dword [rbx + 0x44], esi
jmp 0x14009b228
mov rcx, qword [rdi]
test rcx, rcx
je 0x14009b212
mov r9, qword [rcx + 0x88]
cmp rbx, r9
je 0x14009b212
test r9, r9
je 0x14009b212
bt r14d, 0x18
jb 0x14009b212
cmp qword [rbx + 0x420], rsi
jne 0x14009b212
movzx edx, byte [rbx + 0x401]
and dl, 5
test dword [rbx + 0xc], 0x20000000
je 0x14009b1d5
mov eax, dword [rbp + 0x3f60]
cmp dword [rcx + 0x64], eax
jge 0x14009b1d5
cmp dl, 1
je 0x14009b1d5
test byte [rbp + 0x560c], 0x40
je 0x14009b1bb
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.14007c890
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 0x14009b228
mov rax, qword [0x1401d4a78]
mov rcx, rbx
mov rdx, qword [rax + 0x4210]
mov rdx, qword [rdx]
call fcn.140099430
test al, al
jne 0x14009b228
mov edx, dword [rbx + 8]
lea r9, [rbx + 0x50]
lea r8, [rbx + 0x48]
mov dword [rsp + reloc.WLDAP32.dll_Ordinal_32], 0x20
mov rcx, rbx
call fcn.140075ff0
mov qword [rdi], rax
jmp 0x14009b228
cmp dword [rbx + 0x44], esi
jge 0x14009b228
bt r14d, 0x18
jb 0x14009b228
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 + 0xca], al
mov eax, dword [rcx]
mov dword [rbx + 0x38], eax
add rsp, 0x50
pop r15
pop r14
pop rsi
pop rbp
pop rbx
ret