Function at 0x555030
Capabilities:
Open clipboard

Disassembly:
mov r11, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2c0
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
movzx ebp, r8w
mov r14, rcx
xor r15d, r15d
mov ebx, r15d
mov dword [rsp + 0x20], ebx
lea rax, [r11 - 0x268]
mov qword [r11 - 0x228], rax
lea rax, [r11 - 0x268]
mov qword [r11 - 0x220], rax
mov word [r11 - 0x268], r15w
mov r13d, ebp
lea r9d, [r15 + 2]
or r8, 0xffffffffffffffff
mov edx, 0x100c
mov rcx, qword [rcx + 0x1d0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12, rax
mov esi, 0x100
cmp eax, 0xffffffff
je 0x5555cb
xor edx, edx
lea r8d, [rdx + 0x44]
lea rcx, [rsp + 0x274]
call fcn.006aba40
mov dword [rsp + 0x274], r12d
mov dword [rsp + 0x270], 4
lea r9, [rsp + 0x270]
xor r8d, r8d
mov edx, 0x104b
mov rcx, qword [r14 + 0x1d0]
call qword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb rdi, rdi
and rdi, qword [rsp + 0x298]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov word [rsp + 0x30], r15w
mov eax, 0x27a8
cmp bp, ax
je 0x5551bf
mov eax, 0x27a9
cmp bp, ax
je 0x5551bf
lea r8d, [r13 - 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rdi
call fcn.0054512c
nop
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x555172
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x30]
call fcn.00406d38
nop
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x138]
cmp rcx, rax
je 0x555470
cmp rcx, r15
je 0x555470
mov rax, qword [rsp + 0xf0]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x5551b5
call fcn.006a4944
jmp 0x555470
call fcn.006a3610
jmp 0x555470
lea r8, [rsp + 0xd0]
lea rdx, [rdi + 0x20]
mov rcx, qword [0x00862d18]
call fcn.005e0d14
cmp al, r15b
je 0x55546b
mov eax, 0x27a8
cmp bp, ax
jne 0x555240
mov r8b, 0x5c
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0xf0]
call fcn.004455f0
nop
or ebx, 1
mov dword [rsp + 0x20], ebx
mov r9, qword [rdi + 0x50]
mov r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x1e0]
call fcn.00560a04
nop
or ebx, 2
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.00401f00
nop
or ebx, 4
mov dword [rsp + 0x20], ebx
jmp 0x555294
mov r8b, 0x5c
lea rdx, [rdi + 0x20]
lea rcx, [rsp + 0x240]
call fcn.004455f0
nop
or ebx, 8
mov dword [rsp + 0x20], ebx
mov r9, qword [rdi + 0x50]
mov r8, rax
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x210]
call fcn.00560d54
nop
or ebx, 0x10
mov rdx, rax
lea rcx, [rsp + 0x190]
call fcn.00401f00
nop
or ebx, 0x20
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x30]
cmp rax, rcx
je 0x5552b1
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x30]
call fcn.00406d38
nop
test bl, 0x20
je 0x555301
and ebx, 0xffffffdf
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x190]
mov rcx, qword [rsp + 0x1d8]
cmp rcx, rax
je 0x55530f
cmp rcx, r15
je 0x555308
mov rax, qword [rsp + 0x190]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
mov esi, 0x100
cmp rdx, rsi
jbe 0x5552fa
call fcn.006a4944
jmp 0x555314
call fcn.006a3610
jmp 0x555314
mov esi, 0x100
jmp 0x555314
mov esi, 0x100
jmp 0x555314
mov esi, 0x100
test bl, 0x10
je 0x555357
and ebx, 0xffffffef
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x210]
mov rcx, qword [rsp + 0x238]
cmp rcx, rax
je 0x555357
cmp rcx, r15
je 0x555357
mov rdx, qword [rsp + 0x210]
sub rdx, rcx
cmp rdx, rsi
jbe 0x555351
call fcn.006a4944
jmp 0x555357
call fcn.006a3610
nop
test bl, 8
je 0x55539a
and ebx, 0xfffffff7
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x240]
mov rcx, qword [rsp + 0x268]
cmp rcx, rax
je 0x55539a
cmp rcx, r15
je 0x55539a
mov rdx, qword [rsp + 0x240]
sub rdx, rcx
cmp rdx, rsi
jbe 0x555394
call fcn.006a4944
jmp 0x55539a
call fcn.006a3610
nop
test bl, 4
je 0x5553e4
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x140]
mov rcx, qword [rsp + 0x188]
cmp rcx, rax
je 0x5553e4
cmp rcx, r15
je 0x5553e4
mov rax, qword [rsp + 0x140]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x5553de
call fcn.006a4944
jmp 0x5553e4
call fcn.006a3610
nop
test bl, 2
je 0x555427
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x208]
cmp rcx, rax
je 0x555427
cmp rcx, r15
je 0x555427
mov rdx, qword [rsp + 0x1e0]
sub rdx, rcx
cmp rdx, rsi
jbe 0x555421
call fcn.006a4944
jmp 0x555427
call fcn.006a3610
nop
test bl, 1
je 0x555470
and ebx, 0xfffffffe
mov dword [rsp + 0x20], ebx
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x118]
cmp rcx, rax
je 0x555470
cmp rcx, r15
je 0x555470
mov rdx, qword [rsp + 0xf0]
sub rdx, rcx
cmp rdx, rsi
jbe 0x555464
call fcn.006a4944
jmp 0x555470
call fcn.006a3610
jmp 0x555470
mov esi, 0x100
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0xc8], rax
jne 0x55549e
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x80]
call fcn.00406d38
jmp 0x555570
lea r8, [0x00794f6c]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x190]
call fcn.0040fd24
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x140]
call fcn.0040fc8c
nop
lea rcx, [rsp + 0x80]
cmp rax, rcx
je 0x5554f4
mov r8, qword [rax + 0x40]
mov rdx, qword [rax + 0x48]
lea rcx, [rsp + 0x80]
call fcn.00406d38
nop
lea rax, [rsp + 0x140]
mov rcx, qword [rsp + 0x188]
cmp rcx, rax
je 0x555532
cmp rcx, r15
je 0x555532
mov rax, qword [rsp + 0x140]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x55552c
call fcn.006a4944
jmp 0x555532
call fcn.006a3610
nop
lea rax, [rsp + 0x190]
mov rcx, qword [rsp + 0x1d8]
cmp rcx, rax
je 0x555570
cmp rcx, r15
je 0x555570
mov rax, qword [rsp + 0x190]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x55556a
call fcn.006a4944
jmp 0x555570
call fcn.006a3610
nop
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x78]
cmp rcx, rax
je 0x5555a4
cmp rcx, r15
je 0x5555a4
mov rax, qword [rsp + 0x30]
sub rax, rcx
sar rax, 1
lea rdx, [rax + rax]
cmp rdx, rsi
jbe 0x55559f
call fcn.006a4944
jmp 0x5555a4
call fcn.006a3610
movsxd r8, r12d
mov edx, 0x100c
mov r9d, 2
mov rcx, qword [r14 + 0x1d0]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r12d, eax
cmp eax, 0xffffffff
jne 0x5550be
mov rcx, qword [0x008669d0]
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, r15d
je 0x5555eb
lea rcx, [rsp + 0x80]
call fcn.0055cb24
nop
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0xc8]
cmp rcx, rax
je 0x555627
cmp rcx, r15
je 0x555627
mov rdx, qword [rsp + 0x80]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
cmp rdx, rsi
jbe 0x555622
call fcn.006a4944
jmp 0x555627
call fcn.006a3610
xor eax, eax
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret