joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e120
Capabilities:
Hash data using murmur3

Disassembly:
cmp rsp, qword [r14 + 0x18]
jbe 0x42e3c6
sub rsp, 0x40
mov qword [rsp + 0x38], rbp
lea rbp, [rsp + 0x38]
test byte [rax], al
lea rsi, [rax + 0x1270]
mov rcx, qword [rax + 0x1260]
sub rcx, rsi
shr rcx, 3
cmp rcx, 0x200
ja 0x42e3ba
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rcx
mov qword [rax + 0x1260], 0
cmp byte [0x006136f1], 0
jne 0x42e182
xor edx, edx
xor ebx, ebx
nop
jmp 0x42e1ca
xor edx, edx
jmp 0x42e1ad
mov qword [rsp + 0x28], rdx
mov rcx, qword [rax + rdx*8 + 0x1270]
mov rax, rcx
call fcn.0041da60
mov rdx, qword [rsp + 0x28]
inc rdx
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
cmp rdx, rcx
jl 0x42e186
add rax, 0x1260
call fcn.0042dfe0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
inc rdx
cmp rdx, rcx
jge 0x42e354
mov rsi, qword [rax + rdx*8 + 0x1270]
nop dword [rax + rax]
cmp rsi, 0x1000
jb 0x42e1c7
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbx
mov rax, rsi
xor ebx, ebx
mov rcx, rbx
nop dword [rax + rax]
call fcn.00412b00
test rax, rax
jne 0x42e222
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
nop
jmp 0x42e1c7
mov rsi, qword [rbx + 0x50]
test byte [rsi], al
nop
mov r8, rcx
shr rcx, 3
movzx r9d, byte [rsi + rcx]
and r8d, 7
mov rdx, rcx
mov rcx, r8
mov r10d, 1
shl r10d, cl
add rsi, rdx
test r10b, r9b
je 0x42e269
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42e1c7
nop
lock or byte [rsi], r10b
nop
nop
mov rcx, qword [rbx + 0x18]
nop
movabs rsi, 0x800000000000
lea r8, [rsi + rcx]
mov r9, r8
shr r8, 0x2a
cmp r8, 0x40
jae 0x42e3ad
lea r10, [0x005e5b30]
mov r8, qword [r10 + r8*8]
shr r9, 0x16
and r9d, 0xfffff
mov r9, qword [r8 + r9*8]
test byte [r9], al
test byte [r8], al
mov r8, rcx
shr rcx, 0x10
and ecx, 0x3f
movzx r10d, byte [r9 + rcx + 0x11440]
lea r9, [r9 + rcx]
lea r9, [r9 + 0x11440]
shr r8, 0xd
and r8d, 7
mov rcx, r8
mov r8d, 1
shl r8d, cl
test r8b, r10b
jne 0x42e2ef
lock or byte [r9], r8b
movzx r8d, byte [rbx + 0x62]
test r8b, 1
je 0x42e325
mov rax, qword [rsp + 0x48]
mov r8, qword [rax + 0x1248]
add r8, qword [rbx + 0x68]
mov qword [rax + 0x1248], r8
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
jmp 0x42e1c7
mov r8, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
cmp r8, rcx
jae 0x42e3a5
mov rbx, qword [rsp + 0x48]
mov qword [rbx + r8*8 + 0x1270], rax
inc r8
mov rax, rbx
mov rdx, qword [rsp + 0x28]
mov rbx, r8
jmp 0x42e1c7
cmp rbx, 0x200
ja 0x42e398
lea rdx, [rax + 0x1270]
lea rsi, [rax + 0x1238]
mov rcx, rbx
mov edi, 0x200
mov rbx, rdx
mov rax, rsi
call fcn.00423be0
mov rax, qword [rsp + 0x48]
add rax, 0x1260
call fcn.0042dfe0
mov rbp, qword [rsp + 0x38]
add rsp, 0x40
ret
mov rcx, rbx
mov edx, 0x200
call fcn.004602e0
mov rax, r8
call fcn.00460260
mov rax, r8
mov ecx, 0x40
call fcn.00460280
mov edx, 0x200
nop
call fcn.004602c0
nop
mov qword [rsp + 8], rax
call fcn.00462640
mov rax, qword [rsp + 8]
jmp fcn.0042e120
Function at 0x443060
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4431ca
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x443078
cmp edx, ecx
jne 0x4431b8
nop dword [rax]
test rsi, rsi
jne 0x4431b8
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x4430d4
nop
call fcn.00461c00
xorps xmm15, xmm15
mov r14, qword [0x006138f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00442f60
mov rcx, qword [0x005c0898]
mov rdx, qword [0x005c0890]
mov rbx, qword [rsp + 0x28]
mov esi, dword [rbx]
mov edi, esi
sar esi, 0x1f
shr esi, 0x1b
add esi, edi
mov r8d, esi
and esi, 0xffffffe0
sub edi, esi
test edi, edi
jl 0x4431b3
cmp edi, 0x20
sbb esi, esi
sar r8d, 5
mov rax, rcx
mov ecx, edi
mov r9d, 1
shl r9d, cl
and r9d, esi
movsxd rsi, r8d
cmp rax, rsi
jbe 0x4431a8
lea rcx, [rdx + rsi*4]
lock or dword [rcx], r9d
mov rcx, qword [0x005c13f0]
mov qword [rbx + 8], rcx
nop
mov rcx, rbx
mov qword [0x005c13f0], rbx
nop
mov edx, 1
lea rsi, [0x005c13f8]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1220]
shr rdx, 0x3d
test dl, dl
jne 0x443197
nop
nop
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
xchg qword [rcx + 0x1220], rdx
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
lea rax, [0x004f9ad6]
mov ebx, 0x28
call fcn.004348a0
mov rcx, rax
mov rax, rsi
call fcn.00460260
call fcn.00432ec0
lea rax, [0x004f89e2]
mov ebx, 0x23
call fcn.004348a0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dc00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00443060
Function at 0x44e1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e338
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44e1fc
test r8b, r8b
jne 0x44e1fc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44e20f
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e2f8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e2e6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44e2dc
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e263
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e2a6
mov eax, 1
cmp rax, rbx
ja 0x44e295
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.00460320
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e2d4
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44e29d
mov r8d, eax
mov eax, r10d
jmp 0x44e268
mov rcx, rbx
call fcn.00460260
xor eax, eax
mov rcx, rax
call fcn.00460260
mov eax, r8d
mov rcx, rbx
call fcn.00460320
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e32e
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e2f1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44e215
mov eax, edx
mov rcx, rbx
call fcn.00460260
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00460260
nop
int3
Function at 0x455b20
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455bd9
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00455c20]
mov qword [rsp + 0x10], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x18], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov rdx, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045dac0
xorps xmm15, xmm15
mov r14, qword [0x006138f8]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045dc00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455b20
Function at 0x45fca0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4030cf
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00409760
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045dc00
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4030a0
cmp byte [0x006136f0], 0
je 0x45fcb5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x45cd00
jmp 0x4030a0

Function at 0x45fcc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006139e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006136f0], 0
je 0x45fcf5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00613d20]
aesenc xmm0, xmmword [0x00613d30]
aesenc xmm0, xmmword [0x00613d40]
movq rax, xmm0
ret
jmp 0x409960

Function at 0x45fd00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x006139e0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x006136f0], 0
je 0x45fd36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00613d20]
aesenc xmm0, xmmword [0x00613d30]
aesenc xmm0, xmmword [0x00613d40]
movq rax, xmm0
ret
jmp 0x4099c0

Function at 0x461720
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x00613ca0]
mov qword [rsp + 8], rdx
lea r8d, [0x00613708]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045fbe0
add rsp, 0x30
ret

Function at 0x461c60
Capabilities:
Allocate thread local storage

Disassembly:
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x461c8c
call fcn.0045fbe0
shl rcx, 3
add rcx, 0x1480
mov qword [0x006138f8], rcx
ret
Function at 0x1400111fe
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f80
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret

Function at 0x14001128a
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400142d0
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400142f0
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014303
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x14001432d
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140014341
xor al, al
jmp 0x140014371
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140014353
xor al, al
jmp 0x140014371
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001436f
xor al, al
jmp 0x140014371
mov al, 1
add rsp, 0x38
ret
Function at 0x14000c740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebx, ecx
xor ecx, ecx
mov r14, r8
mov rdi, rdx
mov qword [r8], 0
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
mov r8, rdi
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_FindResourceW]
mov rbx, rax
test rax, rax
jne 0x14000c78c
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
mov rdx, rax
mov rcx, rsi
mov qword [rsp + 0x40], rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov rdx, rbx
mov rcx, rsi
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rdi, rax
test rax, rax
je 0x14000c85a
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r8, rbp
mov rdx, rdi
mov rcx, rax
call fcn.14003f480
lea r8, [rsp + 0x58]
mov edx, 1
mov rcx, rsi
call qword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov rbp, qword [rsp + 0x58]
mov ecx, 0x18
call qword [sym.imp.gdiplus.dll_GdipAlloc]
mov rbx, rax
test rax, rax
je 0x14000c836
lea rax, vtable.Gdiplus::Bitmap.0
lea rdx, [rsp + 0x50]
mov rcx, rbp
mov qword [rbx], rax
mov qword [rsp + 0x50], 0
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov rcx, qword [rsp + 0x50]
mov dword [rbx + 0x10], eax
mov qword [rbx + 8], rcx
jmp 0x14000c838
xor ebx, ebx
mov rcx, rsi
mov qword [r14], rbx
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov al, 1
mov rbp, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x14000cb10
Capabilities:
Get common file path
Get startup folder

Disassembly:
push rdi
sub rsp, 0x270
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rax, qword [0x14009f650]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [rbx + 5]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
mov word [rdi], bx
cmp word [rsp + 0x50], bx
je 0x14000cb8e
lea rax, [rsp + 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000cb84
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400060f0
mov dword [rsp + 0x30], 1
mov r8d, 0xd
lea rdx, str.FLiNGTrainer
mov rcx, rdi
call fcn.140003880
mov rax, rdi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14003f3e0
mov rbx, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
Function at 0x140011210
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
movsxd rbx, edx
cmp ebx, 0xff
jge 0x140011256
mov ecx, ebx
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
lea r8, [0x1400a92c0]
movzx edx, ax
shr edx, 0xf
and dl, 1
je 0x14001124f
cmp byte [rbx + r8], 0
jne 0x14001124f
mov byte [rbx + r8], 1
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rax, rbx
mov byte [rbx + r8], dl
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140011910
Capabilities:
Acquire debug privileges

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14009f650]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
xor bl, bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400119ca
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400119bf
mov rcx, qword [rsp + 0x30]
xor eax, eax
lea r8, [rsp + 0x40]
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x38]
mov r9d, 0x10
xor edx, edx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete bl
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14003f3e0
add rsp, 0x60
pop rbx
ret

Function at 0x140015020
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
xor eax, eax
mov rbx, rcx
mov qword [rcx + 0x28], rdx
xor ecx, ecx
mov qword [rsp + 0x24], rax
mov qword [rsp + 0x2c], rax
mov qword [rsp + 0x34], rax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x4c], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [rsp + 0x60], 0
lea rcx, [rsp + 0x20]
je 0x140015089
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
mov qword [rbx], 0x1000
add rsp, 0x50
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov qword [rbx], 0x1000
add rsp, 0x50
pop rbx
ret
Function at 0x1400168e0
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x40
mov rax, qword [rcx + 0x28]
mov rbx, rdx
mov rsi, rcx
test rax, rax
je 0x14001693c
mov rcx, qword [rax + 0x80]
test rcx, rcx
jne 0x140016949
cmp qword [0x1400a9418], 8
lea r8, [0x1400a9400]
lea rdx, [0x1400a95c0]
cmovae r8, qword [0x1400a9400]
cmp qword [0x1400a95d8], 8
cmovae rdx, qword [0x1400a95c0]
xor r9d, r9d
call qword [sym.imp.USER32.dll_MessageBoxW]
xor al, al
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rsi
ret
xor edx, edx
mov r9d, 0x3000
mov r8d, 0x800
mov qword [rsp + 0x50], rbp
mov dword [rsp + 0x20], 0x40
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor dil, dil
mov rbp, rax
test rax, rax
je 0x140016a46
cmp qword [rbx + 0x18], 8
mov r9, qword [rbx + 0x10]
jb 0x14001698c
mov rbx, qword [rbx]
mov rcx, qword [rsi + 0x28]
lea r9, [r9*2 + 2]
mov r8, rbx
mov rcx, qword [rcx + 0x80]
mov rdx, rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x140016a24
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14008afa8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsi + 0x28]
mov qword [rsp + 0x30], 0
mov rcx, qword [rcx + 0x80]
mov r9, rax
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov rbx, rax
test rax, rax
je 0x140016a24
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140016a46
mov rcx, qword [rcx + 0x80]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x60]
movzx eax, dil
mov rdi, qword [rsp + 0x58]
add rsp, 0x40
pop rsi
ret
Function at 0x140018eb0
Capabilities:
Enumerate processes

Disassembly:
push rbx
push rsi
push r12
push r14
push r15
sub rsp, 0x2c0
mov rax, qword [0x14009f650]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r14, rcx
xor r12d, r12d
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x234
mov dword [rsp + 0x20], 0x238
mov esi, r12d
mov ebx, r12d
call fcn.1400414d0
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x140018f22
cmp qword [r14 + 0x18], 8
jb 0x140018f1b
mov rcx, qword [r14]
call fcn.14003f3c4
xor eax, eax
jmp 0x14001909b
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140019081
mov qword [rsp + 0x2f8], rbp
mov qword [rsp + 0x300], rdi
mov rcx, r14
call fcn.140006240
lea rcx, [rsp + 0x4c]
mov rdx, rax
call fcn.140040e54
test eax, eax
jne 0x14001905b
test esi, esi
je 0x140019057
mov r8d, dword [rsp + 0x28]
xor eax, eax
xor edx, edx
mov ecx, 0x410
mov rdi, r12
mov dword [rsp + 0x260], 0x48
mov qword [rsp + 0x264], rax
mov qword [rsp + 0x26c], rax
mov qword [rsp + 0x274], rax
mov qword [rsp + 0x27c], rax
mov qword [rsp + 0x284], rax
mov qword [rsp + 0x28c], rax
mov qword [rsp + 0x294], rax
mov qword [rsp + 0x29c], rax
mov dword [rsp + 0x2a4], eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x140019009
lea rdx, [rsp + 0x260]
mov r8d, 0x48
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rbp
test eax, eax
cmovne rdi, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
jne 0x14001904f
mov r8d, esi
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbp, rax
test rax, rax
je 0x14001904f
lea r8d, [rbx + 0x48]
lea rdx, [rsp + 0x260]
mov rcx, rax
call qword [sym.imp.PSAPI.DLL_GetProcessMemoryInfo]
mov rcx, rbp
test eax, eax
cmovne rbx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, rbx
jbe 0x14001905b
mov rbx, rdi
mov esi, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140018f48
mov rdi, qword [rsp + 0x300]
mov rbp, qword [rsp + 0x2f8]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [r14 + 0x18], 8
jb 0x140019099
mov rcx, qword [r14]
call fcn.14003f3c4
mov eax, esi
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r12
mov word [r14], r12w
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14003f3e0
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rsi
pop rbx
ret
Function at 0x1400190d0
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x14009f650]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov r14d, r8d
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r12
mov word [rsp + 0x48], r12w
xor r8d, r8d
lea rdx, [0x140088b80]
lea rcx, [rsp + 0x48]
call fcn.1400060f0
nop
test r14d, r14d
je 0x140019235
mov ebx, r12d
nop dword [rax]
mov edx, r14d
mov ecx, 0x18
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019192
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x18
jne 0x140019235
inc ebx
cmp ebx, 0x64
jl 0x140019160
jmp 0x140019235
mov dword [rsp + 0x70], 0x438
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x14001922c
mov rcx, r15
call fcn.140006240
mov rcx, rax
lea rdx, [rbp - 0x60]
call fcn.140040e54
test eax, eax
je 0x1400191d8
lea rdx, [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x1400191a8
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov eax, dword [rbp - 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x40], rax
cmp word [rbp + 0x1a0], 0
jne 0x140019201
mov r8, r12
jmp 0x14001921b
lea rax, [rbp + 0x1a0]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140019210
lea rdx, [rbp + 0x1a0]
lea rcx, [rsp + 0x48]
call fcn.1400060f0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x30]
mov qword [rsi], rax
mov rax, qword [rsp + 0x38]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x40]
mov qword [rsi + 0x10], rax
lea rcx, [rsi + 0x18]
mov qword [rcx + 0x18], 7
mov qword [rcx + 0x10], r12
mov word [rcx], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
call fcn.140005d30
nop
cmp qword [rsp + 0x60], 8
jb 0x140019287
mov rcx, qword [rsp + 0x48]
call fcn.14003f3c4
mov rax, rsi
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.14003f3e0
add rsp, 0x4c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret