Function at 0x140010170
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xb8
mov rcx, qword [rsp + 0xd0]
call fcn.14001a920
inc rax
mov rdx, rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x30], rax
movzx eax, byte [0x14004e004]
movsx eax, al
mov dword [rsp + 0x38], eax
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x38]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
call fcn.140017de0
movsx eax, al
imul eax, eax, 9
mov dword [rsp + 0x3c], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x3c]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x140010370
cmp qword [rsp + 0x30], 0
jne 0x140010223
mov qword [rsp + 0x88], 1
jmp 0x14001022f
mov qword [rsp + 0x88], 0
cvtsi2sd xmm0, qword [rsp + 0x88]
call fcn.140019e50
mov dword [rsp + 0x50], eax
movzx ecx, byte [0x14004e004]
movsx ecx, cl
mov dword [rsp + 0x44], ecx
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
call fcn.140017de0
movsx eax, al
imul eax, eax, 0xa
mov dword [rsp + 0x48], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x48]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x50]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x140010370
xor eax, eax
cmp eax, 5
je 0x140010370
mov dword [rsp + 0x20], 0
jmp 0x1400102d6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, byte [0x14004e004]
movsx eax, al
mov dword [rsp + 0x54], eax
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x54]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x5c], eax
call fcn.140017de0
movsx eax, al
mov dword [rsp + 0x58], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x58]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x5c]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140019e50
cmp dword [rsp + 0x20], eax
jge 0x140010370
mov dword [rsp + 0x24], 0
jmp 0x14001035d
cmp dword [rsp + 0x24], 0x4c
jae 0x14001036b
jmp 0x1400105da
jmp 0x1400102cc
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x98], rax
movzx eax, byte [0x14004e004]
movsx eax, al
mov dword [rsp + 0x60], eax
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x60]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x68], eax
call fcn.140017de0
movsx eax, al
imul eax, eax, 6
mov dword [rsp + 0x64], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x64]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x68]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
test eax, eax
je 0x14001056d
cmp qword [rsp + 0x98], 0
jne 0x140010408
mov qword [rsp + 0x90], 1
jmp 0x140010414
mov qword [rsp + 0x90], 0
cvtsi2sd xmm0, qword [rsp + 0x90]
call fcn.140019e50
mov dword [rsp + 0x78], eax
movzx ecx, byte [0x14004e004]
movsx ecx, cl
mov dword [rsp + 0x6c], ecx
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x6c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x74], eax
call fcn.140017de0
movsx eax, al
imul eax, eax, 7
mov dword [rsp + 0x70], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x70]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x74]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov ecx, dword [rsp + 0x78]
imul ecx, eax
mov eax, ecx
test eax, eax
je 0x14001056d
xor eax, eax
cmp eax, 2
je 0x14001056d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
nop
mov dword [rsp + 0x28], 0
jmp 0x1400104c7
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
movzx eax, byte [0x14004e004]
movsx eax, al
mov dword [rsp + 0x7c], eax
call fcn.140017e10
movsx eax, al
mov ecx, dword [rsp + 0x7c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
call fcn.140017de0
movsx eax, al
shl eax, 3
mov dword [rsp + 0x80], eax
call fcn.140017dd0
movsx eax, al
mov ecx, dword [rsp + 0x80]
imul ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
movzx ecx, byte [0x14004e003]
movsx ecx, cl
xor edx, edx
div ecx
movzx ecx, byte [section..data]
movsx ecx, cl
sub eax, ecx
mov eax, eax
cvtsi2sd xmm0, rax
call fcn.140019e50
cmp dword [rsp + 0x28], eax
jge 0x14001056d
mov dword [rsp + 0x2c], 0
jmp 0x14001055d
cmp dword [rsp + 0x2c], 0x61
jae 0x140010568
jmp 0x1400105da
jmp 0x1400104bd
mov rcx, qword [rsp + 0xd0]
call fcn.14001a920
inc rax
mov qword [rsp + 0xa0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.140018370
mov rdi, qword [rsp + 0x98]
mov rsi, rax
mov rax, qword [rsp + 0xa0]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, qword [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
nop
add rsp, 0xb8
pop rdi
pop rsi
ret