Function at 0x140027a80
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rcx
mov byte [rsp + 0x2f], 4
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x18a9dcc
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
mov qword [rsp + rax*8 + 0x30], 0
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18a9dcc
jne 0x140027adc
lea rax, [rsp + 0x30]
cmp rax, 0x62b
ja 0x140027ad5
movabs eax, dword [0xf39eb2d2444b60f]
mov dh, 0x44
and al, 0x2d
movzx eax, byte [rsp + 0x2d]
jmp 0x140027b15
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18a9cdb
je 0x140027b00
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x62b
ja 0x140027b10
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x30]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140027e00
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, rsi
call fcn.140030440
mov rcx, rax
mov byte [rsp + 0x2f], 6
movzx eax, byte [rsp + 0x2f]
movzx r8d, al
mov eax, 0x191c686
xor edx, edx
div r8d
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
movabs rdx, 0x15a2e845d08a
mov qword [rsp + rax*8 + 0x30], rdx
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x191c686
jne 0x140027b97
lea rax, [rsp + 0x30]
cmp rax, 0x2a05
ja 0x140027b90
jmp 0x1644731a3
movzx eax, byte [rsp + 0x2d]
jmp 0x140027bd0
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x191c595
je 0x140027bbb
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x2a05
ja 0x140027bcb
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x30]
add eax, 0x17ba2f77
movsxd r8, eax
add r8, rcx
mov byte [rsp + 0x2f], 7
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x185e52f
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
movabs rcx, 0x74f13e655f4
mov qword [rsp + rax*8 + 0x30], rcx
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x185e52f
jne 0x140027c3c
lea rax, [rsp + 0x30]
cmp rax, 0x2f8e
ja 0x140027c35
movabs eax, dword [0xf39eb2d2444b60f]
mov dh, 0x44
and al, 0x2d
movzx eax, byte [rsp + 0x2d]
jmp 0x140027c75
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x185e43e
je 0x140027c60
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x2f8e
ja 0x140027c70
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x30]
add ecx, 0xec19aa0e
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
mov byte [rsp + 0x2f], 2
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x18f2388
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
mov qword [rsp + rax*8 + 0x30], 0
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18f2388
jne 0x140027ce2
lea rax, [rsp + 0x30]
cmp rax, 0x4627
ja 0x140027cdb
movabs eax, dword [0xf39eb2d2444b60f]
mov dh, 0x44
and al, 0x2d
movzx eax, byte [rsp + 0x2d]
jmp 0x140027d1b
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18f2297
je 0x140027d06
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x4627
ja 0x140027d16
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rax, qword [rsp + rax*8 + 0x30]
cmp rdi, rax
je 0x140027e5c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
mov rdx, rsi
call fcn.1400305c0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov byte [rsp + 0x2f], 4
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x1854d9a
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
movabs rcx, 0x134e86c80832
mov qword [rsp + rax*8 + 0x30], rcx
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x1854d9a
jne 0x140027da2
lea rax, [rsp + 0x30]
cmp rax, 0x3439
ja 0x140027d9b
jmp 0x1644733ae
movzx eax, byte [rsp + 0x2d]
jmp 0x140027ddb
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x1854ca9
je 0x140027dc6
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x3439
ja 0x140027dd6
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x30]
add ecx, 0x7937f7d5
mov rdx, rdi
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
add rsp, 0x78
pop rdi
pop rsi
ret
mov byte [rsp + 0x2f], 6
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x18b3fc8
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
movabs rcx, 0xbc213bef236
mov qword [rsp + rax*8 + 0x30], rcx
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18b3fc8
jne 0x140027ebe
lea rax, [rsp + 0x30]
cmp rax, 0xbe7
ja 0x140027e52
movabs eax, dword [0x9be92d2444b60f]
add byte [rax], al
movzx eax, byte [rsp + 0x2d]
jmp 0x140027ef7
call qword [sym.imp.USER32.dll_CloseClipboard]
mov byte [rsp + 0x2f], 6
movzx eax, byte [rsp + 0x2f]
movzx ecx, al
mov eax, 0x18db4fc
xor edx, edx
div ecx
mov byte [rsp + 0x2d], dl
movzx eax, byte [rsp + 0x2d]
movzx eax, al
movabs rcx, 0xf7a6fe100ae
mov qword [rsp + rax*8 + 0x30], rcx
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18db4fc
jne 0x140027f0a
lea rax, [rsp + 0x30]
cmp rax, 0x101b
ja 0x140027eb4
movabs eax, dword [0x85e92d2444b60f]
add byte [rax], al
movzx eax, byte [rsp + 0x2d]
jmp 0x140027f43
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18b3ed7
je 0x140027ee2
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0xbe7
ja 0x140027ef2
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x30]
add ecx, 0xec410dcb
call fcn.140034c40
movzx eax, byte [rsp + 0x2d]
mov byte [rsp + 0x2e], al
inc byte [rsp + 0x2e]
movzx eax, byte [rsp + 0x2d]
movzx eax, al
cmp qword [rsp + rax + 0x30], 0x18db40b
je 0x140027f2e
dec byte [rsp + 0x2e]
lea rax, [rsp + 0x2e]
cmp rax, 0x101b
ja 0x140027f3e
mov ebx, 0xb60f31f1
and al, 0x2e
movzx eax, byte [rsp + 0x2e]
movzx eax, al
mov rcx, qword [rsp + rax*8 + 0x30]
add ecx, 0x901eff53
call fcn.140034c40
int3