Function at 0x1800998a0
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x1803320c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rdx
mov rsi, rcx
mov qword [rbp - 0x29], rcx
xor ebx, ebx
lea rax, vtable.Viewport.0
mov qword [rcx], rax
mov rax, qword [0x180338dd0]
test rax, rax
je 0x1800998fa
mov rcx, qword [rax + 0x30]
jmp 0x1800998fd
mov rcx, rbx
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], r12
lea rax, vtable.Window.0
mov qword [rsi], rax
mov qword [rsi + 0x20], rbx
mov qword [rsi + 0x28], r8
lea rdx, [rsi + 0x30]
lea rax, [0x18009a0e0]
mov qword [rdx], rax
mov byte [rsi + 0x38], 1
mov qword [rsi + 0x40], rsi
lea rax, str._accelerator
mov qword [rsi + 0x48], rax
mov qword [rsi + 0x50], rdx
lea rcx, [0x1802e0819]
call qword [0x180337408]
nop
mov qword [rsi + 0x58], rbx
mov qword [rsi + 0x60], rbx
lea r15, [rsi + 0x68]
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], rbx
mov r13d, 0xf
mov qword [r15 + 0x18], r13
mov byte [r15], 0
mov dword [rsi + 0x88], ebx
mov byte [rsi + 0x8c], 0
mov ecx, dword [0x18033650c]
mov rax, qword gs:[0x58]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x180354820], ecx
jg 0x180099cb2
mov rdx, qword [0x180354688]
test rdx, rdx
je 0x180099a3e
cmp dword [rdx + 8], 0
je 0x180099a3e
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov eax, dword [rdx + 8]
test eax, eax
je 0x1800999eb
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x1800999e0
test eax, eax
jne 0x1800999d0
jmp 0x1800999eb
movups xmm0, xmmword [0x180354680]
movups xmmword [rbp - 0x49], xmm0
mov rax, qword [rbp - 0x49]
mov qword [rsi + 0x58], rax
mov rdi, qword [rsi + 0x60]
mov rax, qword [rbp - 0x41]
mov qword [rsi + 0x60], rax
test rdi, rdi
je 0x180099b2c
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x180099b2a
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], ebx
cmp ebx, 1
jne 0x180099b2a
mov rax, qword [rdi]
mov rcx, rdi
jmp 0x180099b27
mov ecx, 0x20
call fcn.1801e5750
mov rdi, rax
mov qword [rbp - 0x49], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_PluginRegister_.0
mov qword [rdi], rax
lea rbx, [rdi + 0x10]
lea rax, str._hwnd_info
mov qword [rbx], rax
lea rdx, [0x18009a140]
mov qword [rbx + 8], rdx
lea rcx, [0x1802e0809]
call qword [0x180337408]
nop
mov qword [rsi + 0x58], rbx
mov r14, qword [rsi + 0x60]
mov qword [rsi + 0x60], rdi
mov ebx, 0xffffffff
test r14, r14
je 0x180099ad5
mov eax, ebx
lock xadd dword [r14 + 8], eax
cmp eax, 1
jne 0x180099ad5
mov rax, qword [r14]
mov rcx, r14
call qword [rax]
mov eax, ebx
lock xadd dword [r14 + 0xc], eax
cmp eax, 1
jne 0x180099ad5
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x49], xmm0
mov rax, qword [rsi + 0x60]
test rax, rax
je 0x180099af8
mov rcx, qword [rsi + 0x58]
mov qword [rbp - 0x49], rcx
mov qword [rbp - 0x41], rax
lock inc dword [rax + 0xc]
jmp 0x180099b00
mov rax, qword [rbp - 0x41]
mov rcx, qword [rbp - 0x49]
mov qword [0x180354680], rcx
mov rcx, qword [0x180354688]
mov qword [0x180354688], rax
test rcx, rcx
je 0x180099b2a
lock xadd dword [rcx + 0xc], ebx
cmp ebx, 1
jne 0x180099b2a
mov rax, qword [rcx]
call qword [rax + 8]
xor ebx, ebx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rsi + 8]
add rax, 0x98
cmp qword [rax + 0x18], 0xf
jbe 0x180099b44
mov rax, qword [rax]
lea rdx, str.::0X
mov qword [rbp - 0x39], rdx
mov qword [rbp - 0x31], 0xa
mov qword [rbp + 0x17], rax
movabs rax, 0xb000000000000000
mov qword [rbp - 1], rax
mov eax, dword [rcx]
mov dword [rbp + 0x1f], eax
movabs rax, 0x2000000000000008
mov qword [rbp + 7], rax
mov qword [rbp + 0x23], 8
movabs rax, 0x400000000000000c
mov qword [rbp + 0xf], rax
mov qword [rbp - 0x49], 3
lea rax, [rbp - 1]
mov qword [rbp - 0x41], rax
movaps xmm0, xmmword [rbp - 0x49]
movdqa xmmword [rbp - 0x49], xmm0
movaps xmm1, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x39], xmm1
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x21]
call fcn.1800548b0
lea rax, [rbp - 0x21]
cmp r15, rax
je 0x180099c2b
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x180099c08
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x180099c03
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180099cac
mov rcx, r8
call fcn.1801e578c
mov byte [r15], 0
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp - 0x11], rbx
mov qword [rbp - 9], r13
mov byte [rbp - 0x21], 0
jmp 0x180099c2f
mov r13, qword [rbp - 9]
cmp r13, 0xf
jbe 0x180099c63
lea rdx, [r13 + 1]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180099c5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180099cac
call fcn.1801e578c
mov rcx, qword [r12 + 0x60]
test rcx, rcx
je 0x180099c7c
mov ecx, dword [rcx + 0x14]
shr ecx, 0xc
and cl, 1
mov byte [rsi + 0x8c], cl
mov rax, rsi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1801e5610
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1801efd10
nop
lea rcx, [0x180354820]
call fcn.1801e56d8
cmp dword [0x180354820], 0xffffffff
jne 0x1800999a3
lea rcx, [0x180244750]
call fcn.1801e5b18
lea rcx, [0x180354820]
call fcn.1801e566c
jmp 0x1800999a3