Function at 0x180148019
Capabilities:
Hide graphical window

Disassembly:
test rdx, rdx
je 0x18014850b
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 [0x1804cc010]
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.0x180148093
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.0x180148093
lea rax, [0x180000000]
mov edx, dword [rax + rcx*4 + 0x14850c]
add rdx, rax
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803cb308]
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 0x18014810d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180148108
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180148108
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 0x66]
jmp 0x1801484e3
mov edx, edi
mov rcx, rbx
call fcn.18021f800
mov rbx, rax
test rax, rax
je case.default.0x180148093
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 [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rax - 6]
lea rdx, [0x1803cb30c]
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 0x1801481d3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801481ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801481ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
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.0x180148093
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803c90c4]
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 0x180148284
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014827f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014827f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov edx, 0x76
mov rcx, rbx
call fcn.18021f800
test rax, rax
je 0x1801482be
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.0x180148093
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803cb310]
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 0x180148352
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014834d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014834d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
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.0x180148093
mov edx, edi
mov rcx, rbx
call fcn.18021f800
mov r14, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
test rax, rax
je case.default.0x180148093
mov edx, 0x64
mov rcx, rax
call fcn.18021f800
test r14, r14
je case.default.0x180148093
test rax, rax
je case.default.0x180148093
cmp edi, 0x77
jne 0x18014844d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e7610]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rdi - 0x74]
lea rdx, [0x1803c9628]
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 0x18014843c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180148437
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180148437
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180386950
movdqa xmm0, xmmword [0x1803e7610]
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 0x1801484a3
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18021f540
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x1801484c0
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.18021f540
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.1803868f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret