Function at 0x180147f39
Capabilities:
Hide graphical window

Disassembly:
test rdx, rdx
je 0x18014842b
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 [0x1804ca010]
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.0x180147fb3
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.0x180147fb3
lea rax, [0x180000000]
mov edx, dword [rax + rcx*4 + 0x14842c]
add rdx, rax
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803ca26c]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014802d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180148028
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180148028
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 0x66]
jmp 0x180148403
mov edx, edi
mov rcx, rbx
call fcn.18021fa90
mov rbx, rax
test rax, rax
je case.default.0x180147fb3
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 [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rax - 6]
lea rdx, [0x1803ca268]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1801480f3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801480ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1801480ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
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.0x180147fb3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803c8158]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x1801481a4
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014819f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014819f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov edx, 0x76
mov rcx, rbx
call fcn.18021fa90
test rax, rax
je 0x1801481de
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.0x180147fb3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803ca278]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x180148272
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014826d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014826d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
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.0x180147fb3
mov edx, edi
mov rcx, rbx
call fcn.18021fa90
mov r14, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
test rax, rax
je case.default.0x180147fb3
mov edx, 0x64
mov rcx, rax
call fcn.18021fa90
test r14, r14
je case.default.0x180147fb3
test rax, rax
je case.default.0x180147fb3
cmp edi, 0x77
jne 0x18014836d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803e6750]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rdi - 0x74]
lea rdx, [0x1803c8534]
lea rcx, [rbp - 0x38]
call fcn.1800051f0
nop
lea rcx, [rbp - 0x38]
call fcn.180007720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014835c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180148357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180148357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180385c70
movdqa xmm0, xmmword [0x1803e6750]
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 0x1801483c3
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18021f7d0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x1801483e0
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.18021f7d0
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.180385c10
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret