Function at 0x14008af00
Capabilities:
Hide graphical window

Disassembly:
mov r11, rsp
push rbp
sub rsp, 0x80
mov rax, qword [0x140200260]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx eax, byte [rcx + 0x38]
mov rbp, rcx
cmp al, byte [rcx + 0x39]
je 0x14008b154
mov rdx, qword [rcx + 0x20]
xorps xmm0, xmm0
mov qword [r11 + 0x10], rbx
xorps xmm1, xmm1
mov qword [r11 + 0x18], rsi
xor esi, esi
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x10], r14
mov qword [r11 - 0x18], r15
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
test al, al
je 0x14008afcc
xor r8d, r8d
test rdx, rdx
je 0x14008af88
mov eax, dword [rdx + 8]
test eax, eax
je 0x14008af88
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14008af80
test eax, eax
jne 0x14008af70
jmp 0x14008af88
mov r8, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
xor eax, eax
mov r15, qword [r8 + 0x18]
xor edi, edi
lea ebx, [rax - 1]
test rdx, rdx
je 0x14008afc6
mov eax, dword [rdx + 8]
test eax, eax
je 0x14008afb1
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14008afbe
test eax, eax
jne 0x14008afa3
mov r14, qword [0x18]
jmp 0x14008b065
mov rax, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r14, qword [rax + 0x18]
jmp 0x14008b037
xor r14d, r14d
test rdx, rdx
je 0x14008aff8
mov eax, dword [rdx + 8]
test eax, eax
je 0x14008aff8
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14008aff0
test eax, eax
jne 0x14008afe0
jmp 0x14008aff8
mov r14, qword [rbp + 0x18]
mov rsi, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x30]
xor eax, eax
mov r14, qword [r14 + 0x18]
xor edi, edi
lea ebx, [rax - 1]
test rdx, rdx
je 0x14008b033
mov eax, dword [rdx + 8]
test eax, eax
je 0x14008b021
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14008b02b
test eax, eax
jne 0x14008b013
mov r15, qword [0x18]
jmp 0x14008b065
mov rax, qword [rbp + 0x28]
mov rdi, qword [rbp + 0x30]
mov r15, qword [rax + 0x18]
test rdi, rdi
je 0x14008b065
mov eax, ebx
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x14008b065
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
mov eax, ebx
lock xadd dword [rdi + 0xc], eax
cmp eax, 1
jne 0x14008b065
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rsi, rsi
je 0x14008b091
mov eax, ebx
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14008b091
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
lock xadd dword [rsi + 0xc], ebx
cmp ebx, 1
jne 0x14008b091
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_EqualRect]
mov rdi, qword [rsp + 0xa8]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
test eax, eax
jne 0x14008b10c
mov ecx, dword [rsp + 0x4c]
xor edx, edx
mov r9d, dword [rsp + 0x44]
sub ecx, r9d
mov eax, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
sub eax, r8d
mov dword [rsp + 0x30], reloc.OLEAUT32.dll_SafeArrayLock
mov dword [rsp + 0x28], ecx
mov rcx, r14
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
mov dword [rsp + 0x30], 0x97
xor r9d, r9d
mov dword [rsp + 0x28], 0
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0
mov rcx, r15
call qword [sym.imp.USER32.dll_SetWindowPos]
mov edx, 5
mov rcx, r14
call qword [sym.imp.USER32.dll_ShowWindow]
movzx eax, byte [rbp + 0x38]
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov byte [rbp + 0x39], al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140113660
add rsp, 0x80
pop rbp
ret