joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400cc930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
mov dh, 0x4a
cmp byte [rdi], cl
mov dh, 0x42
cmp al, byte [rax + rax*8 - 0x3f6af0bf]

Function at 0x1400ccee0
Capabilities:
Query environment variable

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x4a8

Function at 0x1400cdf10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68

Function at 0x1400cf7f0
Capabilities:
Resolve dns

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x1e8
lea rbp, [rsp + 0x80]
mov rax, rdx
mov rsi, rcx
mov rdx, qword [rdx]
mov rdi, qword [rax + 8]
movzx eax, word [rax + 0x10]
mov word [rbp + 0x166], ax
mov rax, qword [0x140b18d10]
cmp rax, 3
jne 0x1400cf9e2
lea rax, [rbp + 0x166]
mov qword [rbp + 0x150], rax
cmp rdi, 0x17f
ja 0x1400cf9f2
lea rbx, [rbp - 0x60]
mov rcx, rbx
mov r8, rdi
call fcn.1400f7350
mov byte [rbp + rdi - 0x60], 0
lea rax, [rdi + 1]
cmp rdi, 0xe
ja 0x1400cf888
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400cf944
inc rdx
cmp rax, rdx
jne 0x1400cf870
jmp 0x1400cf9ad
lea rcx, [rbp - 0x59]
and rcx, 0xfffffffffffffff8
sub rcx, rbx
je 0x1400cf8be
xor edx, edx
nop word [rax + rax]
cmp byte [rbp + rdx - 0x60], 0
je 0x1400cf944
inc rdx
cmp rcx, rdx
jne 0x1400cf8a0
lea rdx, [rdi - 0xf]
cmp rcx, rdx
jbe 0x1400cf8c2
jmp 0x1400cf90e
lea rdx, [rdi - 0xf]
movdqa xmm0, xmmword [0x1400fd660]
movabs r8, 0x8080808080808080
nop word cs:[rax + rax]
movdqu xmm1, xmmword [rbp + rcx - 0x60]
movdqa xmm2, xmm1
paddq xmm2, xmm0
pandn xmm1, xmm2
pshufd xmm2, xmm1, 0xee
por xmm2, xmm1
movq r9, xmm2
test r9, r8
jne 0x1400cf90e
add rcx, 0x10
cmp rcx, rdx
jbe 0x1400cf8e0
sub rax, rcx
je 0x1400cf9ad
lea r8, [rcx + rbp]
add r8, 0xffffffffffffffa0
xor edx, edx
nop word cs:[rax + rax]
cmp byte [r8 + rdx], 0
je 0x1400cf941
inc rdx
cmp rax, rdx
jne 0x1400cf930
jmp 0x1400cf9ad
add rdx, rcx
cmp rdx, rdi
jne 0x1400cf9ad
pxor xmm0, xmm0
movdqa xmmword [rbp + 0x120], xmm0
movdqa xmmword [rbp + 0x140], xmm0
movdqa xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x128], 1
mov qword [rbp + 0x158], 0
lea rcx, [rbp - 0x60]
lea r8, [rbp + 0x120]
lea r9, [rbp + 0x158]
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400cf9c1
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400cf9d9
lea rax, [0x140aaf4b8]
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x1400cfa04
mov rax, qword [rbp + 0x158]
movzx ecx, word [rbp + 0x166]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
jmp 0x1400cfa04
mov rbx, rdx
call fcn.1400fb080
mov rdx, rbx
jmp 0x1400cf82c
lea r9, [rbp + 0x150]
mov rcx, rsi
mov r8, rdi
call fcn.1400fb0e0
nop
add rsp, 0x1e8
pop rbx
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d0100
Capabilities:
Create thread

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rsi, rcx
movzx eax, byte [0x140b18d98]
mov edx, 0x10
xor ecx, ecx
call fcn.1400d0590
test rax, rax
je 0x1400d01e0
mov rbx, rax
mov qword [rax], r14
mov qword [rax + 8], rdi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x10000
lea r8, [0x1400d0280]
xor edi, edi
xor ecx, ecx
mov rdx, rsi
mov r9, rax
call qword [sym.imp.kernel32.dll_CreateThread]
mov rdx, rax
test rax, rax
jne 0x1400d01d2
mov rax, qword [rbx]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x20], rbx
mov rax, qword [rbx + 8]
mov qword [rbp - 0x10], rax
mov rax, qword [rax]
test rax, rax
je 0x1400d0197
mov rcx, qword [rbp - 0x18]
call rax
mov rcx, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
cmp qword [rax + 8], 0
je 0x1400d01af
mov rdx, qword [rax + 0x10]
call fcn.14000a650
mov edx, 8
mov rcx, qword [rbp - 0x20]
call fcn.14000a650
call qword [sym.imp.kernel32.dll_GetLastError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov edi, 1
mov rax, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], rdi
mov ecx, 8
mov edx, 0x10
call fcn.1400f7e80
ud2

Function at 0x1400d2f50
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
mov r9, rcx
mov ecx, 0xfffffff4
pop rbp
jmp fcn.1400c8360

Function at 0x1400d6227
Capabilities:
Set socket configuration

Disassembly:
push rbx
sub rsp, 0x30
mov ebx, edx
call fcn.1400d543e
mov rcx, qword [rax]
movzx eax, bl
lea r9, [rsp + 0x2c]
mov dword [r9], eax
mov dword [rsp + 0x20], 4
mov edx, 6
mov r8d, 1
call qword [sym.imp.ws2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x1400d6263
xor eax, eax
jmp 0x1400d6271
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
add rsp, 0x30
pop rbx
ret

Function at 0x1400d6277
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
dec dword [rcx + rcx*4 - 0x3a]
mov rbx, rdx
mov r14, rcx
lea r15, [rbp - 0x1e]
lea r12, [rbp - 0x2e]
ror byte gs:[rbx + rcx*4 + 0x69], cl
or byte [rdi + 0x7fffffff], bh
cmp r9, rdi
cmp ecx, edi
cmovb rdi, r9
mov rax, qword [rcx + 0x10]
adc byte [rax - 0x77], cl
mov r8d, 0x18418b48
mov qword [rbp - 0x40], rax
push 1
pop rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rdi

Function at 0x1400da6af
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
mov rax, qword [rcx]
mov rdx, rax
xor rdx, 3
lock cmpxchg qword [rcx], rdx
jne 0x1400da6b6
test al, 1
je 0x1400da6d5
test al, 2
jne 0x1400da6ed
xor rax, 3
add rsp, 0x28
ret
lea rcx, [0x140ab2368]
lea r8, [0x140ab2390]
mov edx, 0x23
call fcn.1400f83a0
lea rcx, [0x140ab23a8]
lea r8, [0x140ab23d0]
mov edx, 0x25
call fcn.1400f83a0
int3
Function at 0x1400e9ea0
Capabilities:
Parse pe header

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

Function at 0x1400ed604
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 0x1400ed673
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1400ed673
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400ed673
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400ed673
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400ed673
cmp dword [rcx + 0x84], 0xe
jbe 0x1400ed673
cmp dword [rcx + 0xf8], 0
je 0x1400ed673
mov ecx, ebx
call fcn.1400ed730
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.1400ed500
nop
cmp dword [rbp + 0x20], 0
je 0x1400ed6c1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400ed6cc
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1400ed604

Function at 0x1400ed814
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400ed604
Function at 0x1400f0880
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.kernel32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x1400f08b0
xor eax, eax
jmp 0x1400f0973
mov rbp, rbx
cmp word [rax], si
je 0x1400f08d5
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x1400f08bc
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x1400f08b8
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.1400f07d0
movsxd r14, eax
test eax, eax
jne 0x1400f0913
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
jmp 0x1400f08a9
mov rcx, r14
call fcn.1400f1734
mov rdi, rax
test rax, rax
jne 0x1400f092c
xor ecx, ecx
call fcn.1400eee60
jmp 0x1400f0908
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.1400f07d0
test eax, eax
jne 0x1400f095d
mov rcx, rdi
call fcn.1400eee60
jmp 0x1400f0967
xor ecx, ecx
call fcn.1400eee60
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x1400f3e3c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.1400ef8d4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1400f3ec6
cmp byte [rbp - 0x21], r15b
je 0x1400f3ec1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1400f3efc
call fcn.1400f1f54
test eax, eax
jne 0x1400f3ee8
cmp byte [rbp - 0x21], r15b
je 0x1400f3ee0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1400f3efc
cmp byte [rbp - 0x21], r15b
je 0x1400f3ef9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.1400eeeb0
test eax, eax
jne 0x1400f3f9c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400ef8d4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400f3f3b
cmp byte [rbp - 0x21], r15b
je 0x1400f3f70
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400f3f70
call fcn.1400f1f54
test eax, eax
jne 0x1400f3f5c
cmp byte [rbp - 0x21], r15b
je 0x1400f3f55
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400f3f70
cmp byte [rbp - 0x21], r15b
je 0x1400f3f6d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.1400eeeb0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1400f3f9c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1400f3f9f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1400f3fad
mov rcx, rdi
call fcn.1400eee60
cmp byte [rbp + 0x3f], r15b
je 0x1400f3fbc
mov rcx, qword [rbp + 0x27]
call fcn.1400eee60
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400f6ec0
Capabilities:
Parse pe header

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

Function at 0x1400fb0e0
Capabilities:
Resolve dns

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x80
lea rbp, [rsp + 0x80]
mov rbx, r9
mov rsi, rcx
lea rcx, [rbp - 0x28]
call fcn.14000a8b0
mov rax, qword [rbp - 0x28]
movabs rcx, 0x8000000000000000
cmp rax, rcx
jne 0x1400fb169
mov rdi, qword [rbp - 0x20]
mov r14, qword [rbp - 0x18]
xorps xmm0, xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x58], 1
mov qword [rbp - 8], 0
lea r8, [rbp - 0x60]
lea r9, [rbp - 8]
mov rcx, rdi
xor edx, edx
call qword [sym.imp.ws2_32.dll_getaddrinfo]
test eax, eax
je 0x1400fb19b
call qword [sym.imp.ws2_32.dll_WSAGetLastError]
shl rax, 0x20
or rax, 2
mov ecx, 1
jmp 0x1400fb1af
lea rcx, [0x140aaf4b8]
mov qword [rsi + 8], rcx
mov qword [rsi], 1
test rax, rax
je 0x1400fb1cb
mov rcx, qword [rbp - 0x20]
mov edx, 1
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.14000a650
mov rcx, qword [rbx]
mov rax, qword [rbp - 8]
movzx ecx, word [rcx]
mov qword [rsi + 0x10], rax
mov word [rsi + 0x18], cx
xor ecx, ecx
mov qword [rsi + 8], rax
mov qword [rsi], rcx
mov byte [rdi], 0
test r14, r14
je 0x1400fb1cb
mov edx, 1
mov rcx, rdi
call fcn.14000a650
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
Function at 0x140078290
Capabilities:
Move file
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x40
mov rbx, 0xffffffffffffffff
lea rsi, [0x14021c000]
mov rax, rbx
nop dword [rax + rax]
inc rax
cmp byte [rsi + rax], 0
jne 0x1400782b0
test rax, rax
jne 0x1400782e6
lea r8, str.Error_opening_log_file_n
mov word [0x14021bfe8], 0x100
xor edx, edx
lea rcx, vtable.VNCLog.0
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp fcn.140018d00
cmp byte [0x14021c200], 0
mov byte [0x14021bfe8], 1
jne 0x14007837d
mov qword [rsp + 0x50], rdi
mov rcx, rbx
inc rcx
cmp byte [rsi + rcx], 0
jne 0x140078302
add rcx, 5
call fcn.140147b5c
mov rdi, rax
mov rdx, rbx
nop word [rax + rax]
inc rdx
cmp byte [rsi + rdx], 0
jne 0x140078320
add rdx, 5
mov r8, rsi
mov rcx, rdi
call fcn.140150800
nop dword [rax + rax]
cmp byte [rsi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140078340
lea rdx, [rbx + 5]
mov rcx, rdi
lea r8, str..bak
call fcn.140150860
mov r8d, 1
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov rcx, rdi
call fcn.140147b10
mov rdi, qword [rsp + 0x50]
mov rcx, qword [0x14021bff8]
xor ebx, ebx
test rcx, rcx
je 0x140078398
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x14021bff8], rbx
xor r9d, r9d
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov edx, 0x40000000
mov rcx, rsi
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [0x14021bff8], rax
cmp rax, 0xffffffffffffffff
jne 0x1400783f7
mov r9, rsi
mov word [0x14021bfe8], 0x100
lea r8, str.Error_opening_log_file__s_n
xor edx, edx
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov rax, qword [0x14021bff8]
cmp byte [0x14021c200], bl
mov rcx, rax
je 0x14007841e
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
jmp qword [sym.imp.KERNEL32.dll_SetEndOfFile]

Function at 0x140078430
Capabilities:
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x30
cmp byte [rcx + 9], 0
mov rsi, rdx
mov rbp, rcx
je 0x140078454
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp byte [rbp + 0xa], 0
mov rbx, 0xffffffffffffffff
je 0x1400784a6
mov qword [rsp + 0x48], rdi
mov rdi, rbx
nop dword [rax]
inc rdi
cmp byte [rsi + rdi], 0
jne 0x140078470
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
mov rdi, qword [rsp + 0x48]
cmp byte [rbp + 8], 0
je 0x1400784d8
mov rcx, qword [rbp + 0x18]
test rcx, rcx
je 0x1400784d8
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400784b5
mov r8, rbx
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x40]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
Function at 0x140078660
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov r9d, dword [0x14022a7a8]
lea r8, str.RestoreDesktop_:_Restorewallpaper__i_n
mov edx, 8
lea rcx, vtable.VNCLog.0
call fcn.140018d00
mov r9d, dword [0x14022a7a8]
test r9d, r9d
je 0x14007875a
mov eax, dword [0x14022a7ac]
lea r8, str.RestoreDesktop_:_Restorewallpaper__i__i_n
mov edx, 8
mov dword [rsp + 0x20], eax
lea rcx, vtable.VNCLog.0
call fcn.140018d00
cmp dword [0x14022a7ac], 0
je 0x1400786d1
call fcn.140021da0
cmp eax, 0x40047
jb 0x1400786d1
mov cl, 1
call fcn.140021e40
xor edx, edx
lea r8, [0x14022a830]
mov r9d, 2
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoA]
lea rax, [rsp + 0x40]
mov r9d, 0x20006
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007875a
lea rcx, [0x14022ac30]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], 0
jne 0x140078722
mov dword [rsp + 0x28], eax
lea rdx, str.WallpaperStyle
mov qword [rsp + 0x20], rcx
mov r9d, 1
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x14022a7a8], 0
add rsp, 0x38
ret

Function at 0x140078e60
Capabilities:
Find taskbar

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 0x698], 0
mov rbx, rcx
je 0x140078f0c
xor edx, edx
lea rcx, str.SYSTEM
nop
movzx eax, byte [rbx + rdx + 0x698]
inc rdx
cmp al, byte [rcx + rdx - 1]
jne 0x140078e9d
cmp rdx, 7
jne 0x140078e80
add rsp, 0x20
pop rbx
ret
xor edx, edx
lea rcx, str.Shell_TrayWnd
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x140078ec3
inc dword [rbx + 0x7c8]
mov byte [rbx + 0x7c4], al
add rsp, 0x20
pop rbx
ret
cmp byte [rbx + 0x7c4], 0
jne 0x140078ed4
mov rcx, rbx
call fcn.140078f20
mov rcx, rbx
call fcn.140079500
lea r8, [rbx + 0x7ce]
mov edx, 0x80
lea rcx, [rbx + 0x2b8]
call fcn.14015b9d4
lea rdx, [rbx + 0x290]
mov ecx, 1
add rsp, 0x20
pop rbx
jmp qword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
add rsp, 0x20
pop rbx
ret
Function at 0x140086f10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x20
lea rbp, [rcx + 0x548]
mov rbx, rcx
mov rcx, rbp
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x108]
test rcx, rcx
je 0x140086fdc
mov rcx, qword [rcx + 0xe4b8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140086fd6
call qword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x140086fd6
mov rbx, 0xffffffffffffffff
mov qword [rsp + 0x30], rsi
mov rdx, rbx
inc rdx
cmp byte [rdi + rdx], 0
jne 0x140086f73
inc rdx
mov ecx, 0x2002
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rsi, rax
test rax, rax
je 0x140086fd1
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x140086fd1
cmp byte [rdi + rbx + 1], 0
lea rbx, [rbx + 1]
jne 0x140086fa0
lea rdx, [rbx + 1]
mov r8, rdi
mov rcx, rax
call fcn.140150800
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rdx, rsi
mov ecx, 1
call qword [sym.imp.USER32.dll_SetClipboardData]
mov rsi, qword [rsp + 0x30]
call qword [sym.imp.USER32.dll_CloseClipboard]
mov rcx, rbp
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x414f60
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4150f0
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00435c60
xorps xmm15, xmm15
mov r14, qword [0x00596a98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
jne 0x414fc5
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x414fe0
add rsp, 0x48
pop rbp
ret
call fcn.0046a480
mov rbx, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x38]
sub rbx, rcx
nop dword [rax]
test rbx, rbx
jbe 0x414fff
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x41500f
cmp rbx, 0x1000
jae 0x414fcb
jmp 0x41507a
add rsp, 0x48
pop rbp
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
cmp rbx, 0x1000
jae 0x415022
xor edx, edx
nop
jmp 0x415071
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00435c60
xorps xmm15, xmm15
mov r14, qword [0x00596a98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
test dl, dl
jne 0x415005
jmp 0x414ff4
call fcn.00470f60
xorps xmm15, xmm15
mov r14, qword [0x00596a98]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.00439f80
lea rax, [0x004c27af]
mov ebx, 0x18
call fcn.0043a7c0
mov rax, qword [rsp + 0x38]
call fcn.0043a520
lea rax, [0x004c2b48]
mov ebx, 0x19
call fcn.0043a7c0
mov rax, qword [rsp + 0x30]
call fcn.0043a520
call fcn.0043a1a0
call fcn.00439fe0
lea rax, [0x004c4aee]
mov ebx, 0x21
call fcn.00468ca0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0046d980
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00414f60