Function at 0x140040110
Capabilities:
Open clipboard
Read clipboard data
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1401d6980], eax
jle 0x140040175
lea rcx, [0x1401d6980]
call fcn.1400f1cc8
cmp dword [0x1401d6980], 0xffffffff
jne 0x140040175
lea rcx, [0x1400f5f90]
call fcn.1400f2074
lea rcx, [0x1401d6980]
call fcn.1400f1c5c
mov rax, qword [0x1401d63a0]
or dword [rax + 0x3fa0], 2
mov dword [rax + 0x3fc0], 0x43fa0000
mov dword [rax + 0x3fc4], 0x43960000
mov dword [rax + 0x3fa8], 1
xor edx, edx
mov r8d, 2
lea rcx, str.Login
call fcn.14000fe50
movss xmm1, dword [0x140124610]
xorps xmm0, xmm0
call fcn.140014fb0
mov rdx, qword [0x1401d63a0]
mov rax, qword [rdx + 0x3ea0]
cmp byte [rax + 0x9b], 0
jne 0x1400401ee
mov eax, dword [rax + 0x19c]
neg eax
sbb ecx, ecx
add ecx, 6
call fcn.140035c30
mov qword [rbp + 0x67], 0
lea rdx, [rbp + 0x67]
lea rcx, str.Paste
call fcn.140032ed0
lea rsi, [0x1401d51e8]
test al, al
je 0x140040275
xor ecx, ecx
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140040275
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov rdi, rax
test rax, rax
jne 0x140040238
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140040275
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
call qword [sym.imp.USER32.dll_CloseClipboard]
test rbx, rbx
je 0x140040275
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x140040260
mov rdx, rbx
mov rcx, rsi
call fcn.1400389b0
cmp qword [reloc.WS2_32.dll_ntohs], 0xf
cmova rsi, qword [0x1401d51e8]
mov rdx, rsi
lea rcx, str.Pasted_Key:__s
call fcn.1400323a0
lea rax, [rbp - 0x69]
mov qword [rbp + 0x67], rax
mov qword [rbp - 0x61], 0
mov qword [rbp - 0x59], 7
mov qword [rbp - 0x51], reloc.WS2_32.dll_ntohs
mov rax, qword [str.license]
mov dword [rbp - 0x69], eax
movzx eax, word [0x14012189c]
mov word [rbp - 0x65], ax
movzx eax, byte [0x14012189e]
mov byte [rbp - 0x63], al
mov byte [rbp - 0x62], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.test.json]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1401218a8]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], 0
lea r8, [rbp - 0x69]
lea rdx, [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14003f820
nop
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 9]
call fcn.1400439d0
mov rdx, rax
lea rcx, [0x1401d6540]
call fcn.140063790
cmp byte [0x1401d6750], 0
je 0x14004055b
mov rbx, qword [0x1401d6680]
mov rax, qword [0x1401d6688]
cmp rbx, rax
je 0x140040533
sub rax, rbx
sar rax, 6
test rax, rax
je 0x14004058b
mov rdx, rbx
lea rcx, [rbp + 0x17]
call fcn.1400439d0
nop
lea rdx, [rbx + 0x20]
lea rcx, [rbp + 0x37]
call fcn.1400439d0
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rsi, rax
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 9]
call fcn.1400439d0
mov rbx, rax
mov rcx, rax
cmp qword [rax + 0x18], 0xf
jbe 0x1400403ae
mov rcx, qword [rax]
xor edx, edx
mov r8d, 0xa
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsxd rdi, eax
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x1400403f9
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x1400403f4
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040499
mov rcx, r8
call fcn.1400f2094
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdi, rsi
jle 0x1400404fd
mov byte [reloc.WS2_32.dll_accept], 0
mov byte [0x1401d639e], 1
call fcn.1400128f0
nop
mov rdx, qword [rbp + 0x4f]
cmp rdx, 0xf
jbe 0x140040460
inc rdx
mov rcx, qword [rbp + 0x37]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004045b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040492
call fcn.1400f2094
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x1400404a6
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400404a0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400f2094
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x1400404e4
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400404df
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400404df
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400f2094
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
jge 0x14004050b
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401218ac]
lea rdx, [0x1401218b8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401218ac]
lea rdx, [0x1401218d8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x1401d6758]
call fcn.140038870
mov rdx, rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [0x1401218f0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, listen
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140044db0
int3