joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb3c750
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0xb3c75d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0xb3c76d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0xb3c755
lea eax, [rcx + 1]
jmp 0xb3c77b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0xb3c78e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0xb3c774
sub eax, 3
jb 0xb3c7ae
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0xb3c7fd
sar eax, 1
movsxd rbp, eax
jb 0xb3c7e4
jmp 0xb3c7bc
add ebx, ebx
jne 0xb3c7ba
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb3c7e4
inc ecx
add ebx, ebx
jne 0xb3c7ca
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0xb3c7e4
call r11
adc ecx, ecx
add ebx, ebx
jne 0xb3c7dd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0xb3c7cc
add ecx, 2
jmp 0xb3c7e9
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.00b3c712
jmp 0xb3c75d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x23d600
mov dl, 0x28
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0xb3c849
cmp rsi, rcx
jae 0xb3c851
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0xb3c830
cmp al, 0x8f
ja 0xb3c830
cmp byte [rsi - 2], 0xf
je 0xb3c836
sub al, 0xe8
cmp al, 1
ja 0xb3c81a
cmp rsi, rcx
jae 0xb3c851
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0xb3c820
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0xb3c851
lodsb al, byte [rsi]
jmp 0xb3c830
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x736000]
mov eax, dword [rdi]
or eax, eax
je 0xb3c8ae
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x73c000]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0xb3c85e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0xb3c8a8
mov qword [rbx], rax
add rbx, 8
jmp 0xb3c87e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0xb3c8f2
cmp al, 0xef
ja 0xb3c8da
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0xb3c8ba
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
or eax, eax
jne 0xb3c8c9
mov eax, dword [rdi]
add rdi, 4
jmp 0xb3c8c9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0xb3c946
sub rsp, 0xffffffffffffff80
jmp 0x4662a0
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
sbb dh, bl
invalid
Function at 0x14001b340
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x10090
call fcn.14001f010
sub rsp, rax
mov rax, qword [0x14005ca00]
xor rax, rsp
mov qword [rsp + 0x10080], rax
movzx edx, byte [rcx]
lea rbx, [rsp + 0x30]
xor eax, eax
mov rsi, rcx
mov word [rsp + 0x80], ax
mov word [rsp + 0x30], ax
lea edi, [rax + 0x28]
test dl, dl
je 0x14001b402
nop dword [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001b3ad
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14001b3a0
cmp rcx, 1
jb 0x14001b45a
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14001b3d0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14002e63c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14001b390
mov r8d, 0x10000
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
dec eax
cmp eax, 0xffff
ja 0x14001b433
lea rcx, [rsp + 0x80]
call fcn.140031350
jmp 0x14001b435
xor eax, eax
mov rcx, qword [rsp + 0x10080]
xor rcx, rsp
call fcn.14001ed40
lea r11, [rsp + 0x10090]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.14002e3e8
int3
Function at 0x14001e890
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14005ca00]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14001e935
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001e8ed
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14001e8e0
cmp rcx, 1
jb 0x14001e966
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14001e903
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14002e63c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14001e8d0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001ed40
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14002e3e8
int3
Function at 0x14001ea10
Capabilities:
Set environment variable

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0xb0
mov rax, qword [0x14005ca00]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [0x14005e680]
mov rbp, r8
mov rsi, rdx
mov r14, rcx
test rax, rax
jne 0x14001ea60
lea rcx, [0x14003fbcc]
call qword [sym.imp.python38.dll_PyImport_ImportModule]
mov qword [0x14005e680], rax
test rax, rax
je 0x14001ec9a
mov qword [rsp + 0xa8], rbx
lea rdx, str.environ
mov qword [rsp + 0xa0], rdi
mov rcx, rax
mov qword [rsp + 0x98], r13
mov qword [rsp + 0x90], r15
call qword [sym.imp.python38.dll_PyObject_GetAttrString]
mov rcx, rsi
mov r15, rax
call qword [sym.imp.python38.dll_PyUnicode_FromString]
movzx edx, byte [rsi]
lea rbx, [rsp + 0x30]
xor ecx, ecx
mov r13, rax
mov word [rsp + 0x30], cx
lea edi, [rcx + 0x28]
test rbp, rbp
je 0x14001eb96
test dl, dl
je 0x14001eb32
nop
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001eadd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14001ead0
cmp rcx, 1
jb 0x14001eca0
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14001eb00
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14002e63c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14001eac0
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, 0xffffffffffffffff
mov rcx, rbp
call qword [sym.imp.python38.dll_PyUnicode_FromWideChar]
mov rdx, r13
mov rcx, r15
mov r8, rax
mov rbx, rax
call qword [sym.imp.python38.dll_PyObject_SetItem]
test eax, eax
je 0x14001eb7d
mov ecx, 1
call qword [sym.imp.python38.dll_PyErr_PrintEx]
mov ecx, 1
call qword [sym.imp.python38.dll_Py_Exit]
int3
sub qword [rbx], 1
jne 0x14001ec37
mov rax, qword [rbx + 8]
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x14001ec37
test dl, dl
je 0x14001ec12
nop word [rax + rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14001ebbd
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14001ebb0
cmp rcx, 1
jb 0x14001ec94
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
nop word [rax + rax]
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14001ebe0
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14002e63c
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14001eba0
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rdx, r13
mov rcx, r15
call qword [sym.imp.python38.dll_PyObject_DelItem]
test eax, eax
je 0x14001ec37
mov rcx, r14
call fcn.14000cae0
sub qword [r13], 1
jne 0x14001ec48
mov rax, qword [r13 + 8]
mov rcx, r13
call qword [rax + 0x30]
sub qword [r15], 1
jne 0x14001ec58
mov rax, qword [r15 + 8]
mov rcx, r15
call qword [rax + 0x30]
mov r13, qword [rsp + 0x98]
mov rdi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0xa8]
mov r15, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14001ed40
add rsp, 0xb0
pop r14
pop rsi
pop rbp
ret
call fcn.14002e3e8
int3
call fcn.14002e3e8
int3
call fcn.14002e3e8
int3
Function at 0x14001f7a8
Capabilities:
Parse pe header

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

Function at 0x140024be8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x140024a53
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140024a53
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140024a53
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140024a53
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140024a53
cmp dword [rcx + 0x84], 0xe
jbe 0x140024a53
cmp dword [rcx + 0xf8], 0
je 0x140024a53
mov ecx, ebx
call fcn.140024b04
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1400248e0
nop
cmp dword [rbp + 0x20], 0
je 0x140024aa1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140024aac
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400249e4
Function at 0x1400364d0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140036557
mov rsi, rbx
cmp word [rax], bp
je 0x140036516
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140036500
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x1400364fc
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.14003143c
mov rdi, rax
test rax, rax
je 0x140036544
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14003c190
mov rbp, rdi
xor ecx, ecx
call fcn.140032370
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140039c70
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x140039c86
mov al, 1
jmp 0x140039ce6
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x140039c97
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140039ce4
mov ecx, dword [rcx + 0x18]
nop
call fcn.140036818
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140039ce4
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140039ce4
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140039ce4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140039ce6
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x14003bfe0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14003c008
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14003c008
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14002692c
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x14002671b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14002671b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14002671b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14002671b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14002671b
cmp dword [rcx + 0x84], 0xe
jbe 0x14002671b
cmp dword [rcx + 0xf8], 0
je 0x14002671b
mov ecx, ebx
call fcn.14002684c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400264a0
cmp dword [rbp + 0x20], 0
je 0x140026768
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140026770
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400266b4
Function at 0x140016714
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.140019184
test eax, eax
je 0x140016790
mov ecx, 1
call qword [sym.imp.USER32.dll_GetClipboardData]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x14001678a
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
je 0x14001678a
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.1400027e0
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 0x140019184
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 0x1400191a4
Capabilities:
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
sub rsp, 0x70
lea rbp, [rsp + 0x20]
mov rax, qword [0x14183f828]
xor rax, rbp
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x68], 0
je 0x1400191db
mov rcx, qword [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jne 0x1400191e2
xor eax, eax
jmp 0x140019340
lea rcx, [rbp]
call fcn.1400165d8
nop
mov dword [rbp + 0xc], 0
mov rcx, qword [rbp + 0x60]
call fcn.140019184
test eax, eax
je 0x14001932e
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rcx, qword [rbp + 0x68]
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 0x140019328
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x40], rax
call fcn.1400031a4
mov dword [rbp + 0x18], eax
mov rax, qword [rbp + 0x68]
mov qword [rbp + 0x20], rax
cmp qword [rbp + 0x20], 0
jne 0x140019267
mov qword [rbp + 0x30], 0
jmp 0x1400192e7
mov rcx, qword [rbp + 0x20]
call fcn.1401d1ce8
inc eax
mov dword [rbp + 4], eax
cmp dword [rbp + 4], 0x3fffffff
jle 0x140019288
mov qword [rbp + 0x28], 0
jmp 0x1400192df
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 0x1400192b0
movabs rdx, 0xffffffffffffff0
and rdx, 0xfffffffffffffff0
mov rax, rdx
call fcn.1401cc910
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.140009478
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.1401d5910
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 0x14001931b
mov dword [rbp + 8], 1
jmp 0x140019322
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.1400165f8
mov eax, dword [rbp + 0x1c]
mov rcx, qword [rbp + 0x48]
xor rcx, rbp
call fcn.1401cc970
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x140021198
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 0x1400211fe
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 0x140021369
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x10], 0
jne 0x1400212b4
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jle 0x1400212af
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 [0x141845c70]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140021277
xor eax, eax
jmp 0x14002136e
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.1401cdd40
jmp 0x1400211e6
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 0x1400212d5
xor eax, eax
jmp 0x14002136e
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 [0x141845c70]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x140021315
xor eax, eax
jmp 0x14002136e
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.1401cd690
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
jmp 0x1400211e6
mov eax, 1
add rsp, 0x48
ret
Function at 0x140021374
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 0x1400213b4
mov eax, dword [rsp + 0xc]
inc eax
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0xc], eax
jge 0x140021424
movzx eax, word [rsp + 4]
movzx ecx, word [rsp]
cmp eax, ecx
jne 0x1400213d1
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 0x1400213aa
add rsp, 0x18
ret