Function at 0x1401d6480
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rbp
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov r13, rcx
mov edx, 0xffffffff
mov rcx, qword [rcx + 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0x98
call fcn.14018ef40
mov r14, rax
mov qword [rsp + 0x70], rax
xor edi, edi
test rax, rax
je 0x1401d6610
mov qword [rax + 0x80], rdi
mov qword [rax + 0x88], 7
mov word [rax + 0x70], di
mov byte [rax + 0x90], dil
mov dword [rax + 0x94], 0xffffffff
mov qword [rax + 0x18], rdi
mov qword [rax], rbp
mov qword [rax + 8], rsi
mov qword [rax + 0x10], rbx
mov eax, dword [rsp + 0xa8]
mov dword [r14 + 0x68], eax
mov eax, dword [rsp + 0xb0]
mov dword [r14 + 0x64], eax
mov eax, dword [rsp + 0x98]
mov dword [r14 + 0x20], eax
mov eax, dword [rsp + 0xa0]
mov dword [r14 + 0x24], eax
lea rcx, [r14 + 0x50]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_SetRect]
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x1401d660a
lea ecx, [rdi + 0x78]
call fcn.14018ef40
mov rbx, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x1401d6601
mov qword [rax + 8], rdi
mov qword [rax], rdi
lea rdx, [rsi + 0x20]
lea rcx, [rax + 0x20]
call qword [sym.imp.USER32.dll_CopyRect]
lea rdx, [rsi + 0x64]
lea rcx, [rbx + 0x64]
call qword [sym.imp.USER32.dll_CopyRect]
mov rcx, qword [rsi + 0x18]
mov qword [rbx + 0x18], rcx
mov rax, qword [rsi + 0x10]
mov qword [rbx + 0x10], rax
mov eax, dword [rsi + 0x30]
mov dword [rbx + 0x30], eax
mov eax, dword [rsi + 0x34]
mov dword [rbx + 0x34], eax
mov eax, dword [rsi + 0x38]
mov dword [rbx + 0x38], eax
mov eax, dword [rsi + 0x3c]
mov dword [rbx + 0x3c], eax
mov eax, dword [rsi + 0x40]
mov dword [rbx + 0x40], eax
mov eax, dword [rsi + 0x44]
mov dword [rbx + 0x44], eax
mov eax, dword [rsi + 0x48]
mov dword [rbx + 0x48], eax
mov eax, dword [rsi + 0x4c]
mov dword [rbx + 0x4c], eax
mov eax, dword [rsi + 0x58]
mov dword [rbx + 0x58], eax
mov eax, dword [rsi + 0x5c]
mov dword [rbx + 0x5c], eax
mov eax, dword [rsi + 0x60]
mov dword [rbx + 0x60], eax
mov eax, dword [rsi + 0x50]
mov dword [rbx + 0x50], eax
mov qword [r14 + 0x28], rbx
jmp 0x1401d660e
mov rbx, rdi
mov qword [r14 + 0x28], rbx
jmp 0x1401d660e
mov qword [r14 + 0x28], rdi
jmp 0x1401d6613
mov r14, rdi
mov rdi, qword [rsp + 0x90]
mov r10, rdi
mov rsi, qword [rdi + 0x18]
cmp rsi, 8
jb 0x1401d662b
mov r10, qword [rdi]
lea r15, [rdi + 0x10]
mov r11, qword [r15]
cmp r11, 0xe
jb 0x1401d66b6
lea rbx, [r11 - 0xd]
lea rbx, [r10 + rbx*2]
mov rcx, r10
lea rbp, str.type:marketing
nop word [rax + rax]
mov rax, rbx
sub rax, rcx
sar rax, 1
je 0x1401d66b6
cmp word [rcx], 0x74
je 0x1401d666b
add rcx, 2
sub rax, 1
jmp 0x1401d6659
test rcx, rcx
je 0x1401d66b6
mov r8d, SafeArrayGetDim
mov rdx, rbp
mov r9, rcx
sub r9, rbp
nop
movzx eax, word [rdx]
cmp word [r9 + rdx], ax
jne 0x1401d66b0
add rdx, 2
sub r8, 1
jne 0x1401d6680
sub rcx, r10
sar rcx, 1
cmp rcx, 0xffffffffffffffff
je 0x1401d66b6
mov dword [r14 + 0x94], 1
jmp 0x1401d673b
add rcx, 2
jmp 0x1401d6650
mov r10, rdi
cmp rsi, 8
jb 0x1401d66c2
mov r10, qword [rdi]
cmp r11, 9
jb 0x1401d673b
add r11, 0xfffffffffffffff8
lea r11, [r10 + r11*2]
mov rax, r10
lea rbx, str.type:auto
nop word [rax + rax]
mov rcx, r11
sub rcx, rax
sar rcx, 1
je 0x1401d673b
cmp word [rax], 0x74
je 0x1401d66fb
add rax, 2
sub rcx, 1
jmp 0x1401d66e9
test rax, rax
je 0x1401d673b
mov r8d, 9
mov rdx, rbx
mov r9, rax
sub r9, rbx
nop
movzx ecx, word [rdx]
cmp word [r9 + rdx], cx
jne 0x1401d6797
add rdx, 2
sub r8, 1
jne 0x1401d6710
sub rax, r10
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x1401d673b
mov dword [r14 + 0x94], 2
lea rcx, [r14 + 0x70]
cmp rcx, rdi
je 0x1401d6759
cmp qword [rdi + 0x18], 8
jb case.default.0x1401d6790
mov rdi, qword [rdi]
mov r8, qword [r15]
mov rdx, rdi
call fcn.1400b2b10
movzx eax, byte [rsp + 0xc0]
mov byte [r14 + 0x90], al
mov r9, r14
xor r8d, r8d
mov edx, 0x8000
mov rcx, qword [r13 + 0x38]
mov rbx, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop rdi
pop rsi
jmp qword [sym.imp.USER32.dll_PostMessageA]
add rax, 2
jmp 0x1401d66e0