Function at 0x18014d539
Capabilities:
Hide graphical window

Disassembly:
test rdx, rdx
je 0x18014da2b
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 [0x1804e0010]
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.0x18014d5b3
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.0x18014d5b3
lea rax, [0x180000000]
mov edx, dword [rax + rcx*4 + 0x14da2c]
add rdx, rax
jmp rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803da28c]
lea rcx, [rbp - 0x38]
call fcn.180006050
nop
lea rcx, [rbp - 0x38]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014d62d
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014d628
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014d628
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
xor r9d, r9d
mov edx, VarUI4FromDisp
lea r8d, [r9 + 0x66]
jmp 0x18014da03
mov edx, edi
mov rcx, rbx
call fcn.18021e500
mov rbx, rax
test rax, rax
je case.default.0x18014d5b3
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 [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rax - 6]
lea rdx, [0x1803da288]
lea rcx, [rbp - 0x38]
call fcn.180006050
nop
lea rcx, [rbp - 0x38]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014d6f3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014d6ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014d6ee
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
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.0x18014d5b3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803d7fe4]
lea rcx, [rbp - 0x38]
call fcn.180006050
nop
lea rcx, [rbp - 0x38]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014d7a4
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014d79f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014d79f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm0
mov byte [rbp - 0x38], 0
mov edx, 0x76
mov rcx, rbx
call fcn.18021e500
test rax, rax
je 0x18014d7de
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.0x18014d5b3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
mov r8d, 3
lea rdx, [0x1803da298]
lea rcx, [rbp - 0x38]
call fcn.180006050
nop
lea rcx, [rbp - 0x38]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014d872
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014d86d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014d86d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
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.0x18014d5b3
mov edx, edi
mov rcx, rbx
call fcn.18021e500
mov r14, rax
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + 0x68]
test rax, rax
je case.default.0x18014d5b3
mov edx, 0x64
mov rcx, rax
call fcn.18021e500
test r14, r14
je case.default.0x18014d5b3
test rax, rax
je case.default.0x18014d5b3
cmp edi, 0x77
jne 0x18014d96d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x28], xmm0
movdqa xmm1, xmmword [0x1803f7250]
movdqu xmmword [rbp - 0x28], xmm1
mov byte [rbp - 0x38], 0
lea r8d, [rdi - 0x74]
lea rdx, [0x1803d839c]
lea rcx, [rbp - 0x38]
call fcn.180006050
nop
lea rcx, [rbp - 0x38]
call fcn.1800086c0
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x18014d95c
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18014d957
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18014d957
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7250]
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 0x18014d9c3
mov r8, rax
lea rdx, [rbp - 0x50]
mov rcx, rbx
call fcn.18021e240
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
test rax, rax
je 0x18014d9e0
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.18021e240
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.180393f50
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret