Function at 0x180033480
Capabilities:
Open clipboard

Disassembly:
test rdx, rdx
je 0x18003397c
mov rax, rsp
push rsi
push r12
push r13
push r14
sub rsp, 0x78
mov r13d, r9d
mov r14, r8
mov rsi, rdx
mov r12, rcx
test r8, r8
je 0x180033971
mov qword [rax - 0x28], r15
mov r15, qword [rdx + 0x30]
test r15, r15
je 0x18003396c
mov qword [rax + 0x18], rbp
mov rbp, qword [rdx + 0x38]
test rbp, rbp
je 0x180033964
test byte [rdx + 0x18], 4
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rdi
je 0x1800334f1
test r9d, r9d
je 0x1800334f1
cmp qword [r15 + 0x18], 0
je 0x1800334f1
mov rdx, qword [r8 + 8]
call fcn.18002a550
cmp dword [0x180154c70], 0
mov eax, dword [rsi + 0x48]
mov ebx, dword [rsi + 0xc]
mov edi, dword [rsi + 0x50]
mov dword [rsp + 0xa8], eax
je 0x180033538
mov dword [rsp + 0x30], eax
lea r8, str._t_tDoCallbackExtMy_________context:__08x___oriparams:__08x___after:__d___filter:__d_
lea rdx, [0x1800e96e0]
mov r9d, ebx
or ecx, 0xffffffff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbp
call fcn.180002110
mov eax, dword [rsp + 0xa8]
cmp ebx, 0x300006
je 0x18003391d
cmp ebx, 0x300005
je 0x18003391d
cmp ebx, 0x400300
je 0x18003391d
cmp ebx, 0x400301
je 0x18003391d
cmp ebx, 0x400302
je 0x18003391d
cmp ebx, 0x300103
je 0x18003391d
cmp ebx, 0x400303
je 0x18003391d
cmp ebx, 0x300015
jne 0x18003366e
test r13d, r13d
je 0x18003391d
test edi, edi
je 0x18003391d
mov rax, qword [r12]
xor edi, edi
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x60]
lea r9d, [rdi + 0x42]
mov rcx, r12
mov rdx, rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
call qword [rax + 0x38]
mov r11, qword [rsp + 0x60]
test r11, r11
je 0x1800335f9
mov rdx, r14
mov rcx, rsi
call r11
mov edi, 1
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
mov r10, qword [0x18014ef50]
test r10, r10
je 0x180033662
cmp qword [r10], rdi
je 0x180033662
mov eax, dword [rbp + 0x24]
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
mov dword [rsp + 0x40], 0x42
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x20], eax
call qword [r10]
mov edi, eax
test eax, eax
je 0x180033662
mov r9, qword [rsp + 0x68]
test r9, r9
je 0x180033662
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
call fcn.180017180
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
cmp ebx, 0x300016
jne 0x18003375e
test r13d, r13d
je 0x18003391d
test edi, edi
je 0x18003391d
mov rax, qword [r12]
xor edi, edi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x68]
lea r9d, [rdi + 0x42]
mov rcx, r12
mov rdx, rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
call qword [rax + 0x38]
mov r11, qword [rsp + 0x68]
test r11, r11
je 0x1800336db
mov rdx, r14
mov rcx, rsi
call r11
mov edi, 1
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
mov r10, qword [0x18014ef58]
test r10, r10
je 0x180033752
cmp qword [r10], rdi
je 0x180033752
mov eax, dword [rbp + 0x2c]
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
mov dword [rsp + 0x50], 0x42
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0x28]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x20], eax
call qword [r10]
mov edi, eax
test eax, eax
je 0x180033752
mov r9, qword [rsp + 0x60]
test r9, r9
je 0x180033752
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
call fcn.180017180
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
cmp ebx, 0x300081
jne 0x180033857
test r13d, r13d
je 0x18003391d
test edi, edi
je 0x18003391d
mov rax, qword [r12]
xor edi, edi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x68]
lea r9d, [rdi + 0x42]
mov rcx, r12
mov rdx, rsi
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x60], rdi
call qword [rax + 0x38]
mov r11, qword [rsp + 0x68]
test r11, r11
je 0x1800337cb
mov rdx, r14
mov rcx, rsi
call r11
mov edi, 1
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
mov r10, qword [0x18014ef60]
test r10, r10
je 0x18003384b
cmp qword [r10], rdi
je 0x18003384b
mov eax, dword [rbp + 0x34]
mov r9d, dword [rbp + 0x10]
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
mov dword [rsp + 0x58], 0x42
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0x30]
mov dword [rsp + 0x48], eax
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x40], rax
mov eax, dword [rbp + 0x24]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x20]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x20], eax
call qword [r10]
mov edi, eax
test eax, eax
je 0x18003384b
mov r9, qword [rsp + 0x60]
test r9, r9
je 0x18003384b
mov r8d, dword [rbp + 0xc]
mov edx, dword [rbp + 8]
mov rcx, qword [rbp]
call fcn.180017180
movsxd rax, edi
mov qword [r15 + 0x18], rax
jmp 0x18003391d
cmp ebx, 0x300080
je 0x18003391d
cmp ebx, 0x400304
je 0x18003391d
cmp ebx, 0x400202
jne 0x180033899
test r13d, r13d
je 0x18003391d
test eax, eax
je 0x18003391d
mov dword [r12 + 0x364], 1
jmp 0x18003391d
cmp ebx, 0x400203
jne 0x1800338b4
test r13d, r13d
je 0x18003391d
mov dword [r12 + 0x360], 1
jmp 0x18003391d
cmp ebx, 0x400201
jne 0x18003391d
test r13d, r13d
jne 0x1800338f0
cmp dword [r12 + 0x360], r13d
je 0x18003391d
call fcn.1800172a0
test eax, eax
je 0x1800338e4
call fcn.1800010c0
test eax, eax
je 0x1800338e4
mov ecx, eax
call fcn.180001ff0
xor edi, edi
mov dword [r12 + 0x360], edi
jmp 0x18003391d
cmp dword [r12 + 0x364], 0
je 0x18003391d
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x180033913
call qword [sym.imp.USER32.dll_EmptyClipboard]
call qword [sym.imp.USER32.dll_CloseClipboard]
xor edi, edi
mov dword [r12 + 0x364], edi
cmp dword [0x180154c70], 0
mov rdi, qword [rsp + 0xb8]
je 0x18003395c
mov eax, dword [rsp + 0xa8]
lea r8, str._t_tDoCallbackExtMy_____context:__08x___oriparams:__08x___after:__d___filter:__d_
lea rdx, [0x1800e96e0]
mov dword [rsp + 0x30], eax
mov r9d, ebx
or ecx, 0xffffffff
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rbp
call fcn.180002110
mov rbx, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
add rsp, 0x78
pop r14
pop r13
pop r12
pop rsi
repz ret