Function at 0x1801486c9
Capabilities:
Hide graphical window

Disassembly:
test rdx, rdx
je 0x180148bbb
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rsp + 0xb0], rbx
mov rax, qword [0x1804cd010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
lea rbx, [rcx - 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je case.default.0x180148743
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 8]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rsi, rax
mov edi, dword [rdi + 0x40]
lea ecx, [rdi - 0x73]
cmp ecx, 5
ja case.default.0x180148743
lea rax, [0x180000000]
mov edx, dword [rax + rcx*4 + 0x148bbc]
add rdx, rax
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803cc398]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1801487bd
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801487b8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801487b8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 0x66]
jmp 0x180148b93
mov edx, edi
mov rcx, rbx
call fcn.180220050
mov rbx, rax
test rax, rax
je case.default.0x180148743
movzx r14d, byte [rax + 0x180]
mov edi, 3
mov eax, 9
test r14b, r14b
cmovne edi, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rax - 6]
lea rdx, [0x1803cc378]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180148883
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014887e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014887e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov edx, edi
mov rcx, rsi
call qword [sym.imp.USER32.dll_ShowWindow]
test r14b, r14b
sete al
mov byte [rbx + 0x180], al
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0xd0]
jmp case.default.0x180148743
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803ca158]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180148934
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014892f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014892f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov edx, 0x76
mov rcx, rbx
call fcn.180220050
test rax, rax
je 0x18014896e
xor ecx, ecx
mov qword [rbp - 0x50], rcx
mov r8, qword [rax]
lea rdx, [rbp - 0x50]
mov rcx, rax
call qword [r8 + 0xa8]
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0x11be
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x180148743
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803cc37c]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180148a02
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801489fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801489fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
xor r9d, r9d
mov edx, VarUI4FromDisp
mov r8d, 0xf020
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x180148743
mov edx, edi
mov rcx, rbx
call fcn.180220050
mov r14, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
test rax, rax
je case.default.0x180148743
mov edx, 0x64
mov rcx, rax
call fcn.180220050
test r14, r14
je case.default.0x180148743
test rax, rax
je case.default.0x180148743
cmp edi, 0x77
jne 0x180148afd
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rdi - 0x74]
lea rdx, [0x1803ca6dc]
lea rcx, [rbp - 0x38]
call fcn.180005220
nop
lea rcx, [rbp - 0x38]
call fcn.180007750
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180148aec
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180148ae7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180148ae7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180388460
movdqa xmm0, xmmword [0x1803e8780]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov eax, 0x634
mov r15d, 0x637
cmp edi, 0x77
cmove r15d, eax
movups xmm0, xmmword [r14 + 0x2c]
movups xmmword [rbp - 0x38], xmm0
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x18]
call qword [sym.imp.USER32.dll_CopyRect]
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x50], rax
mov rax, qword [rbp - 0x10]
mov qword [rbp - 0x48], rax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x180148b53
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18021fd90
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x180148b70
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.18021fd90
movzx r9d, word [rbp - 0x44]
shl r9d, 0x10
movzx eax, word [rbp - 0x48]
or r9, rax
movzx r8d, word [rbp - 0x4c]
shl r8d, 0x10
movzx eax, word [rbp - 0x50]
or r8, rax
mov edx, r15d
mov rcx, rsi
call qword [sym.imp.USER32.dll_PostMessageW]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180388400
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret