joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ff62ffe8180
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [0x7ff630067940]
mov rbx, rcx
mov dword [rsp + 0x50], 0x4020
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x58], 4
test eax, eax
jne 0x7ff62ffe81e4
lea r9d, [rax + 2]
mov dword [rsp + 0x20], 3
xor r8d, r8d
lea ecx, [rax + 6]
xor edx, edx
call fcn.7ff62ffed910
test al, al
je 0x7ff62ffe81d8
mov dword [0x7ff630067940], 2
add rsp, 0x30
pop rbx
ret
mov dword [0x7ff630067940], 1
jmp 0x7ff62ffe81e9
cmp eax, 2
je 0x7ff62ffe823b
lea rax, [rsp + 0x58]
mov edx, 0xffff
lea r9, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockopt]
test eax, eax
jne 0x7ff62ffe821a
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
jg 0x7ff62ffe823b
lea r9, [rsp + 0x50]
mov dword [rsp + 0x20], 4
mov edx, 0xffff
mov r8d, 0x1001
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
add rsp, 0x30
pop rbx
ret

Function at 0x7ff62ffe8f60
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x1c0
mov rax, qword [0x7ff630065e28]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, qword [rcx + 0x10]
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rsp + 0x20], 0x80
mov rsi, rdx
lea rdx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
mov rcx, qword [rbx + 0x98]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x7ff62ffe9016
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, eax
mov ebx, eax
call fcn.7ff62ffcb2c0
mov r9, rax
lea rdx, str.getsockname___failed_with_errno__d:__s
mov r8d, ebx
mov rcx, rsi
call fcn.7ff62ffb67f0
mov eax, 2
jmp 0x7ff62ffe9088
mov edx, dword [rsp + 0x20]
lea r9, [rbx + 0x104]
lea r8, [rbx + 0xd4]
lea rcx, [rsp + 0x30]
call fcn.7ff62ffb77e0
test al, al
jne 0x7ff62ffe9086
mov qword [rsp + 0x1e0], rdi
call fcn.7ff63000dcb8
mov ebx, dword [rax]
call fcn.7ff63000dcb8
mov r8d, 0x100
lea rdx, [rsp + 0xb0]
mov ecx, ebx
mov rdi, rax
call fcn.7ff62ffcb2c0
mov r8d, dword [rdi]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
mov r9, rax
mov rcx, rsi
call fcn.7ff62ffb67f0
mov rdi, qword [rsp + 0x1e0]
mov eax, 2
jmp 0x7ff62ffe9088
xor eax, eax
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.7ff62ffbc1f0
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1c0
pop rsi
ret
Function at 0x7ff62ffeaac0
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbp, r8
mov rdi, rdx
mov r8d, 0x11
lea rdx, str.WWW_Authenticate:
mov rcx, r9
mov rbx, r9
call fcn.7ff62ffbabb0
test eax, eax
je 0x7ff62ffeab04
mov esi, dword [rdi + 0x148]
cmp esi, 0x191
je 0x7ff62ffeab2b
mov r8d, 0x13
lea rdx, str.Proxy_authenticate:
mov rcx, rbx
call fcn.7ff62ffbabb0
test eax, eax
je 0x7ff62ffeab71
mov esi, dword [rdi + 0x148]
cmp esi, 0x197
jne 0x7ff62ffeab71
mov rcx, rbx
call fcn.7ff62ffc26e0
mov rbx, rax
test rax, rax
jne 0x7ff62ffeab43
lea eax, [rbx + 0x1b]
jmp 0x7ff62ffead32
cmp esi, 0x197
mov r8, rbx
mov rcx, rdi
sete dl
call fcn.7ff62ffc4c20
mov rcx, rbx
mov edi, eax
call qword [fcn.7ff630014160]
test edi, edi
je 0x7ff62ffead30
mov eax, edi
jmp 0x7ff62ffead32
mov r8d, 0xf
lea rdx, str.Content_Length:
mov rcx, rbx
call fcn.7ff62ffbabb0
test eax, eax
je 0x7ff62ffeabcc
mov r8d, dword [rdi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff62ffeabb1
lea rdx, str.Ignoring_Content_Length_in_CONNECT__03d_response
mov rcx, rdi
call fcn.7ff62ffb6750
jmp 0x7ff62ffead30
xor edx, edx
lea r9, [rbp + 0x298]
lea rcx, [rbx + 0xf]
lea r8d, [rdx + 0xa]
call fcn.7ff62ffcc160
jmp 0x7ff62ffead30
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0xb
lea rdx, str.Connection:
mov rcx, rbx
call fcn.7ff62ffc2610
test al, al
jne 0x7ff62ffead29
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.7ff62ffbabb0
test eax, eax
je 0x7ff62ffeac89
mov r8d, dword [rdi + 0x148]
lea eax, [r8 - 0xc8]
cmp eax, 0x64
jae 0x7ff62ffeac39
lea rdx, str.Ignoring_Transfer_Encoding_in_CONNECT__03d_response
mov rcx, rdi
call fcn.7ff62ffb6750
jmp 0x7ff62ffead30
lea r9, str.chunked
mov qword [rsp + 0x20], 7
mov r8d, 0x12
lea rdx, str.Transfer_Encoding:
mov rcx, rbx
call fcn.7ff62ffc2610
test al, al
je 0x7ff62ffead30
lea rdx, str.CONNECT_responded_chunked
mov rcx, rdi
call fcn.7ff62ffb6750
mov rcx, rdi
mov byte [rbp + 0x2a4], 1
call fcn.7ff62ffede60
jmp 0x7ff62ffead30
lea r9, str.close
mov qword [rsp + 0x20], 5
mov r8d, 0x11
lea rdx, str.Proxy_Connection:
mov rcx, rbx
call fcn.7ff62ffc2610
test al, al
jne 0x7ff62ffead29
mov r8d, 7
lea rdx, str.HTTP_1.
mov rcx, rbx
call fcn.7ff630017f90
test eax, eax
jne 0x7ff62ffead30
movzx eax, byte [rbx + 7]
sub al, 0x30
cmp al, 1
ja 0x7ff62ffead30
cmp byte [rbx + 8], 0x20
jne 0x7ff62ffead30
movsx ecx, byte [rbx + 9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x7ff62ffead30
movsx edx, byte [rbx + 0xa]
lea eax, [rdx - 0x30]
cmp al, 9
ja 0x7ff62ffead30
movsx r8d, byte [rbx + 0xb]
lea eax, [r8 - 0x30]
cmp al, 9
ja 0x7ff62ffead30
movzx eax, byte [rbx + 0xc]
sub al, 0x30
cmp al, 9
jbe 0x7ff62ffead30
lea ecx, [rcx + rcx*4]
lea ecx, [rdx + rcx*2]
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0xa68]
lea ecx, [r8 + rcx*2]
mov dword [rdi + 0x148], ecx
mov dword [rdi + 0x1354], ecx
jmp 0x7ff62ffead30
mov byte [rbp + 0x2a5], 1
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x7ff62fffd970
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [fcn.7ff630014d30]
mov rdi, rax
test rax, rax
jne 0x7ff62fffd9b2
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x7ff62fffd9f9
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + 8]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + 0x10]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x7ff62fffda52
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + 8]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + 8]
sub rbp, 1
jne 0x7ff62fffda10
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x7ff62fffda93
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x7ff6300382cd]
mov r8d, 1
call qword [rbx + 8]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x7ff6300382ce]
mov r8d, 1
call qword [rbx + 8]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x7ff62fffda60
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x7ff63000b65c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x7ff63000b78c
Function at 0x7ff630026dd8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x7ff630026df8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.7ff63000dcf8
or eax, 0xffffffff
jmp 0x7ff630026dfa
xor eax, eax
add rsp, 0x28
ret
Function at 0x140001000
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xd0], rsi
cmp ecx, 1
jne 0x140001031
lea rsi, str.60568DGPStudio.SnapHutao_wbnnev551gwxy
jmp 0x1400010aa
xor eax, eax
mov qword [rsp + 0xc0], rbp
mov dword [rsp + 0x28], eax
mov rbp, 0xffffffffffffffff
mov qword [rsp + 0xd8], rdi
mov r9d, ebp
mov rdi, qword [rdx + 8]
xor ecx, ecx
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
mov eax, 2
mul rbx
cmovo rax, rbp
mov rcx, rax
call fcn.1400011e0
mov r9d, ebp
mov dword [rsp + 0x28], ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rdi, qword [rsp + 0xd8]
mov rbp, qword [rsp + 0xc0]
mov ecx, 0x208
call fcn.1400011e0
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rbx, rax
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbx - 2]
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x1400010d0
movups xmm0, xmmword [str.shell:AppsFolder_]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140003390]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x1400033a0]
mov dword [rcx + 0x20], eax
lea rax, [rbx - 2]
nop dword [rax]
cmp word [rax + 2], 0
lea rax, [rax + 2]
jne 0x140001100
xor edx, edx
nop dword [rax]
movzx ecx, word [rsi + rdx*2]
mov word [rax + rdx*2], cx
lea rdx, [rdx + 1]
test cx, cx
jne 0x140001110
mov rsi, qword [rsp + 0xd0]
lea rcx, [rbx - 2]
nop dword [rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140001130
movsd xmm0, qword [str._App]
movsd qword [rcx], xmm0
movzx eax, word [0x1400033b0]
mov word [rcx + 8], ax
lea rax, str.runas
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x30], 0x70
mov dword [rsp + 0x34], 0x40
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x60], 5
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400011c0
add rsp, 0xb0
pop rbx
ret

Function at 0x140001acc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001b16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001b16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001b16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001b16
cmp dword [rcx + 0x84], 0xe
jbe 0x140001b16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001b18
xor al, al
add rsp, 0x28
ret
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x14000ba40]
mov dword [rax], 1
mov rax, qword [0x14000ba50]
mov dword [rax], 1
mov rax, qword [0x14000ba60]
mov dword [rax], 1
mov rax, qword [0x14000b9f0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x140001af0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.140008a50
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.140008a50
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x1400027c2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x14000f168]
test eax, eax
je 0x14000285a
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x14000f170]
mov qword [rbp - 8], rax
jmp 0x14000283e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140002832
cmp qword [rbp - 0x10], 0
je 0x140002832
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x1400027f8
lea rax, [0x14000f140]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x14000285b
nop
add rsp, 0x30
pop rbp
ret
Function at 0x1400316bc
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140031734
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140031734
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140031734
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140031728
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140031746
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140031716
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140031736

Function at 0x140033280
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400332ca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400332ca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400332ca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400332ca
cmp dword [rcx + 0x84], 0xe
jbe 0x1400332ca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400332cc
xor al, al
add rsp, 0x28
ret

Function at 0x14003c014
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14003bd78

Function at 0x140045f30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140045f58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140045f58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x1800011a0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
cmp rdx, 1
jne 0x1800011e2
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x1800010e0]
mov qword [rsp + 0x28], rax
mov r9, rbx
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1800011e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add rsp, 0x30
pop rbx
ret
Function at 0x140016850
Capabilities:
Read clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call fcn.1400192d8
test eax, eax
je 0x1400168cc
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x1400168c6
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x1400168c6
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.14000256c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [rsp + 0x20]
add rsp, 0x48
ret

Function at 0x1400192d8
Capabilities:
Open clipboard

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.USER32.dll_OpenClipboard]
add rsp, 0x28
ret
Function at 0x1400192f8
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x80
lea rbp, [rsp + 0x20]
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x141724cd0]
xor rax, rbp
mov qword [rbp + 0x50], rax
cmp qword [rbp + 0x78], 0
je 0x14001933a
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x140019341
xor eax, eax
jmp 0x14001949f
lea rcx, [rbp]
call fcn.140016704
nop
mov dword [rbp + 0xc], 0
mov rcx, qword [rbp + 0x70]
call fcn.1400192d8
test eax, eax
je 0x14001948d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cdqe
mov rdx, rax
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
je 0x140019487
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x40], rax
call fcn.14017f048
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0x78]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x1400193c6
mov qword [rbp + 0x30], 0
jmp 0x140019446
mov rcx, qword [rbp + 0x20]
call fcn.1401ed4a8
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x3fffffff
jle 0x1400193e7
mov qword [rbp + 0x28], 0
jmp 0x14001943e
movsxd rax, dword [rbp + 4]
shl rax, 1
mov qword [rbp + 0x38], rax
movsxd rcx, dword [rbp + 4]
shl rcx, 1
mov rdx, rcx
add rdx, 0xf
cmp rdx, rcx
ja 0x14001940f
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1401e8ac0
sub rsp, rax
lea rax, [rsp + 0x20]
mov r9d, dword [rbp + 0x18]
mov rcx, qword [rbp + 0x38]
mov r8d, ecx
mov rdx, qword [rbp + 0x20]
mov rcx, rax
call fcn.140008fec
mov qword [rbp + 0x28], rax
mov rax, qword [rbp + 0x28]
mov qword [rbp + 0x30], rax
mov rdx, qword [rbp + 0x30]
mov rcx, qword [rbp + 0x40]
call fcn.1401f10d0
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, qword [rbp + 0x10]
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14001947a
mov dword [rbp + 8], 1
jmp 0x140019481
mov dword [rbp + 8], 0
mov eax, dword [rbp + 8]
mov dword [rbp + 0xc], eax
call qword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [rbp + 0xc]
mov dword [rbp + 0x1c], eax
lea rcx, [rbp]
call fcn.140016724
mov eax, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x50]
xor rcx, rbp
call fcn.1401e8b30
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x14002141c
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
mov rax, qword [rsp + 0x68]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
jmp 0x140021482
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
add rax, 0x28
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x20], eax
jge 0x1400215ed
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x140021538
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x140021533
movsxd rax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov rdx, rax
call qword [0x14172b110]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1400214fb
xor eax, eax
jmp 0x1400215f2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
movsxd rax, dword [rsp + 0x24]
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x30]
call fcn.1401e9f40
jmp 0x14002146a
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x14]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x10]
add rax, rcx
cmp qword [rsp + 0x58], rax
jae 0x140021559
xor eax, eax
jmp 0x1400215f2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0xc]
mov rdx, qword [rsp + 0x38]
add rdx, rcx
mov rcx, rdx
mov r9d, 4
mov r8d, 0x1000
mov edx, eax
call qword [0x14172b110]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140021599
xor eax, eax
jmp 0x1400215f2
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x28]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
mov rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0x30]
call fcn.1401e9af0
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
jmp 0x14002146a
mov eax, 1
add rsp, 0x48
ret
Function at 0x1400215f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x18
movzx eax, word [rsp + 0x30]
mov word [rsp + 8], ax
mov eax, 1
mov word [rsp + 4], ax
xor eax, eax
mov word [rsp], ax
mov dword [rsp + 0xc], 0
jmp 0x140021638
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x1400216a8
movzx eax, word [rsp + 4]
movzx ecx, word [rsp]
cmp eax, ecx
jne 0x140021655
xor eax, eax
mov word [rsp], ax
movsxd rax, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rcx + rax]
add eax, 0x609
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0xc]
movzx ecx, word [rsp]
movzx ecx, word [rsp + rcx*2 + 8]
mov rdx, qword [rsp + 0x20]
movzx eax, byte [rdx + rax]
xor eax, ecx
movsxd rcx, dword [rsp + 0xc]
mov rdx, qword [rsp + 0x20]
mov byte [rdx + rcx], al
movzx eax, word [rsp]
inc ax
mov word [rsp], ax
jmp 0x14002162e
add rsp, 0x18
ret