joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400390c4
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.140030a44
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140030a44
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140039214
cmp rax, 0xffffffffffffffff
je 0x140039214
xor edi, edi
test rbp, rbp
jle 0x1400391bf
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14002bdb0
mov rbx, rax
test rax, rax
jne 0x14003914c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400391b5
mov edx, 0x8000
mov ecx, r14d
call fcn.140029bc4
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14002e4e4
cmp eax, 0xffffffff
je 0x140039195
cdqe
sub rbp, rax
test rbp, rbp
jg 0x14003915c
mov edx, r15d
mov ecx, r14d
call fcn.140029bc4
jmp 0x1400391b5
cmp byte [rsi + 0x38], dil
je 0x1400391ac
cmp dword [rsi + 0x34], 5
jne 0x1400391ac
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x1400391b5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14002cb18
jmp 0x140039228
jns 0x140039228
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140030a44
cmp rax, 0xffffffffffffffff
jne 0x1400391e0
cmp byte [rsi + 0x30], dil
je 0x140039228
mov edi, dword [rsi + 0x2c]
jmp 0x140039228
mov ecx, r14d
call fcn.140033c04
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140039228
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140039228
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140039221
mov eax, dword [rsi + 0x2c]
jmp 0x140039226
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140030a44
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140039700
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140039728
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140039728
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140003b70
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14007c080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140003b9d
xor eax, eax
jmp 0x140003ce3
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003bd7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003bd7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003ce3
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003cd6
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140003c1a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140003c29
movsx ecx, dil
jmp 0x140003c7d
lea r8, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x51]
lea r8, [rsp + 0x78]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x50]
call qword [rax + 0x38]
test eax, eax
js 0x140003cd6
cmp eax, 1
jle 0x140003c97
cmp eax, 3
jne 0x140003cd6
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call fcn.140011430
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003cdb
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003cc4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.1400139a0
cmp rsi, rax
jne 0x140003cd6
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov eax, edi
jne 0x140003cdb
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140009030
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret

Function at 0x140031720
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add rsp, 0x28
ret
Function at 0x140047494
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140057d30
mov word [rsp + 0x10], dx
mov qword [rsp + 8], rcx
sub rsp, 0x48
movzx eax, word [rsp + 0x58]
movd xmm0, eax
movdqa xmmword [rsp + 0x20], xmm0
pshuflw xmm0, xmmword [rsp + 0x20], 0
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmm0, xmmword [rsp + 0x20]
pshufd xmm0, xmm0, 0
movdqa xmmword [rsp + 0x20], xmm0
mov rax, qword [rsp + 0x50]
and rax, 0xfff
cmp rax, 0xff0
ja 0x140057e41
mov rax, qword [rsp + 0x50]
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pxor xmm0, xmmword [rsp + 0x10]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pcmpeqw xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x30]
pcmpeqw xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x30], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
por xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rsp + 0x10]
pmovmskb eax, xmm0
mov dword [rsp], eax
cmp dword [rsp], 0
je 0x140057e31
mov eax, dword [rsp]
bsf eax, eax
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
add rax, qword [rsp + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x140057e21
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
jmp 0x140057e2a
mov qword [rsp + 8], 0
mov rax, qword [rsp + 8]
jmp 0x140057e7c
mov rax, qword [rsp + 0x50]
add rax, 0x10
mov qword [rsp + 0x50], rax
jmp 0x140057e77
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
movzx ecx, word [rsp + 0x58]
cmp eax, ecx
jne 0x140057e59
mov rax, qword [rsp + 0x50]
jmp 0x140057e7c
mov rax, qword [rsp + 0x50]
movzx eax, word [rax]
test eax, eax
jne 0x140057e69
xor eax, eax
jmp 0x140057e7c
mov rax, qword [rsp + 0x50]
add rax, 2
mov qword [rsp + 0x50], rax
jmp 0x140057d6b
add rsp, 0x48
ret
Function at 0x140001e84
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001ece
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001ece
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001ece
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001ece
cmp dword [rcx + 0x84], 0xe
jbe 0x140001ece
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001ed0
xor al, al
add rsp, 0x28
ret
Function at 0x1400031a3
Capabilities:
Access peb ldr_data
Get process filename

Disassembly:
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x20], 0
jmp 0x14000415a
mov rax, qword [rsp + 0x48]
add rsp, 0x68
ret
mov qword [rsp + 8], rcx
sub rsp, 0x68
mov rax, qword gs:[0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov rax, qword [rax + 0x20]
sub rax, 0x10
jmp 0x140007017
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jne 0x14000164b
jmp 0x140005a9b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
je 0x140006c71
jmp 0x140005e4f
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x10]
sub rax, 0x10
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x40]
cmp qword [rsp + 0x30], rax
jne 0x1400034b1
jmp 0x140002c85
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
cmp eax, 0x5c
je 0x140005ef2
jmp 0x140006a4b
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0x38], rax
jmp 0x140006778
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
call fcn.1400053d3
jmp 0x140007c31
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rcx + rax*2]
test eax, eax
jne 0x140005e4f
jmp 0x140006c71
jmp 0x140006778
mov rcx, qword [rsp + 0x70]
call fcn.140002395
jmp 0x140006428
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x48], 0
jmp 0x1400034b1
test eax, eax
je 0x140007c48
jmp 0x140005a9b
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x48], rax
jmp 0x140002c85
Function at 0x140003cf4
Capabilities:
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov ecx, 0xc1
call qword [0x14007e420]
xor eax, eax
jmp 0x14000238b
test eax, eax
jne 0x1400038e8
jmp 0x140006a5d
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x100]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
jmp 0x140006231
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x140002c54
jmp 0x140007421
test eax, eax
je 0x1400079f1
jmp 0x140003ef2
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x30], rax
mov edx, 0x40
mov rcx, qword [rsp + 0x108]
call fcn.140006f57
jmp 0x140005df7
xor eax, eax
jmp 0x14000238b
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
add rax, 0x108
mov rdx, rax
mov rcx, qword [rsp + 0x108]
call fcn.140006f57
jmp 0x1400032dc
xor eax, eax
jmp 0x14000238b
Function at 0x140005c05
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1400069d6
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x88]
jmp 0x140007b54
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
movzx eax, word [rax + 6]
cmp dword [rsp + 0x24], eax
jl 0x1400024b7
jmp 0x140002f74
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
mov rcx, qword [rcx]
movzx ecx, word [rcx + 0x14]
lea rax, [rax + rcx + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x24], 0
jmp 0x1400015f4
Function at 0x14000a000
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], rdi
mov rax, qword [0x1400246e0]
xor rax, rbp
mov qword [rbp + 0x10], rax
and qword [rbp + 8], 0
lea rax, [rbp]
xor r9d, r9d
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], 0
lea rdx, [rbp + 8]
mov ecx, 0xe6
lea edi, [r9 + 8]
mov r8d, edi
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
nop dword [rax + rax]
mov ecx, eax
cmp eax, 0xc0000023
jne 0x14000a0f3
mov edx, dword [rbp]
lea rcx, [rdx + 0xf]
cmp rcx, rdx
ja 0x14000a076
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call sub.ntdll.dll___chkstk
sub rsp, rcx
lea rax, [rbp]
mov r8d, edi
mov ecx, 0xe6
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x20], edx
mov r9, rbx
lea rdx, [rbp + 8]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformationEx]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
js 0x14000a0f3
mov edx, dword [rbx]
xor edi, edi
test dx, dx
je 0x14000a0f3
mov r8, rbx
bt edx, 0x11
jae 0x14000a0e5
bt edx, 0x12
jb 0x14000a0e5
bt edx, 0x14
jae 0x14000a0e5
movzx ecx, word [r8]
call fcn.14000b6f0
mov ecx, eax
test eax, eax
js 0x14000a0f3
inc edi
lea r8, [rbx + rdi*4]
mov edx, dword [r8]
test dx, dx
jne 0x14000a0c4
mov eax, ecx
mov rcx, qword [rbp + 0x10]
xor rcx, rbp
call fcn.14000e710
mov rbx, qword [rbp + 0x30]
mov rdi, qword [rbp + 0x38]
lea rsp, [rbp + 0x20]
pop rbp
ret
Function at 0x14000b6f0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push r12
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov edx, 0x14c
mov r15d, ebp
cmp cx, dx
je 0x14000b734
movzx ecx, cx
mov r12b, 1
sub ecx, edx
je 0x14000b72b
cmp ecx, 0x78
jne 0x14000b737
lea r15, [0x140017a80]
jmp 0x14000b737
lea r15, [0x140017a70]
jmp 0x14000b737
xor r12b, r12b
mov qword [rsp + 0x60], rsi
lea rbx, [0x1400170b0]
mov qword [rsp + 0x68], rdi
nop dword [rax + rax]
test r12b, r12b
je 0x14000b899
movzx ecx, word [r15]
mov eax, 0x18
movzx edi, word [rbx + 2]
sub eax, ecx
mov rcx, qword gs:[0x60]
cdq
movzx esi, word [rbx + 0x12]
xor eax, edx
sub eax, edx
xor edx, edx
add ax, ax
mov rcx, qword [rcx + 0x30]
add di, ax
movzx r8d, di
add si, ax
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
xorps xmm0, xmm0
movzx r8d, si
movups xmmword [rsp + 0x20], xmm0
mov word [rsp + 0x22], di
xor edx, edx
mov qword [rsp + 0x28], rax
mov rcx, qword gs:[0x60]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
nop dword [rax + rax]
cmp qword [rsp + 0x28], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x32], si
mov qword [rsp + 0x38], rax
je 0x14000b8fc
test rax, rax
je 0x14000b8dc
mov rdx, rbx
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
nop dword [rax + rax]
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x30]
call qword [sym.imp.ntdll.dll_RtlCopyUnicodeString]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov rdx, r15
lea rcx, [0x140017a70]
call fcn.14001614c
lea r8, [rsp + 0x30]
mov rdx, r15
lea rcx, [0x140017a70]
call fcn.14001614c
lea rsi, [rsp + 0x20]
lea r14, [rsp + 0x30]
mov rcx, rsi
mov rdx, r14
call fcn.14000b910
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsi + 8]
mov edi, eax
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [r14 + 8]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
jmp 0x14000b8a7
lea rdx, [rbx + 0x10]
mov rcx, rbx
call fcn.14000b910
mov edi, eax
test edi, edi
js 0x14000b8ba
inc ebp
add rbx, 0x20
cmp ebp, 0x4e
jb 0x14000b750
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov rcx, qword gs:[0x60]
xor edx, edx
mov r8, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
nop dword [rax + rax]
mov eax, 0xc0000017
jmp 0x14000b8bc
Function at 0x14000b910
Capabilities:
Delete registry key
Query or enumerate registry key
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1400246e0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rcx
xor r14d, r14d
mov r8, rcx
mov qword [rbp - 0x29], r14
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x21], r14
mov r9b, 1
mov rdi, rdx
call fcn.14000bac0
cmp eax, 0xc0000022
je 0x140010c8c
mov qword [rsp + 0xd0], rsi
cmp eax, 0xc0000035
je 0x14000ba13
test eax, eax
js 0x140010ce0
movzx eax, word [rdi]
lea rdx, [0x1400246d0]
mov rcx, qword [rbp - 0x29]
mov r9d, 6
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtSetValueKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
mov ebx, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test ebx, ebx
js 0x14000b9e8
xor r9d, r9d
lea rcx, [rbp - 0x21]
mov r8, rdi
call fcn.14000bac0
mov ebx, eax
test eax, eax
js 0x140010cf0
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rsi, qword [rsp + 0xd0]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000e710
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret
movups xmm0, xmmword [rbx]
lea rax, [rbp - 0x11]
mov dword [rbp - 1], 0x30
lea r8, [rbp - 1]
mov qword [rbp + 7], r14
movups xmmword [rbp - 0x11], xmm0
mov dword [rbp + 0x17], 0x140
mov edx, 0x3001f
xorps xmm0, xmm0
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x29]
movdqu xmmword [rbp + 0x1f], xmm0
call qword [sym.imp.ntdll.dll_NtOpenKey]
nop dword [rax + rax]
test eax, eax
js 0x14000b9ea
mov rcx, qword [rbp - 0x29]
lea rax, [rbp - 0x19]
mov r9d, 0xc
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x2f]
lea edx, [r9 - 7]
call qword [sym.imp.ntdll.dll_NtQueryKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
mov esi, eax
test eax, eax
js 0x140010c96
mov eax, dword [rbp + 0x33]
and al, 3
cmp al, 2
je 0x140010ca9
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
jmp 0x14000b9bf
mov eax, 0xc0000022
jmp 0x14000b9f2
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, esi
jmp 0x14000b9ea
call qword [sym.imp.ntdll.dll_NtDeleteKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
mov esi, eax
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
test esi, esi
js 0x140010ca2
mov r9b, 1
lea rcx, [rbp - 0x29]
mov r8, rbx
call fcn.14000bac0
nop
jmp 0x14000b971
cmp eax, 0xc0000035
jne 0x14000b9ea
jmp 0x14000b9bf
cmp eax, 0xc0000035
je 0x140010d02
cmp eax, 0xc0000022
jne 0x14000b9e8
mov ebx, r14d
jmp 0x14000b9e8
Function at 0x14000c488
Capabilities:
Encode data using xor
Hash data with crc32
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400246e0]
xor rax, rsp
mov qword [rbp - 0x10], rax
lea rax, [0x140018e58]
mov dword [rbp - 0x48], 0x2e002c
mov qword [rbp - 0x40], rax
lea r9, [rbp - 0x38]
lea rax, [rbp - 0x50]
mov rdi, r8
mov r14, rdx
mov qword [rsp + 0x28], rax
mov esi, ecx
mov dword [rsp + 0x20], 0x24
mov rcx, qword [0x1400255f0]
lea rdx, [rbp - 0x48]
mov r8d, 4
call qword [sym.imp.ntdll.dll_NtQueryValueKey]
nop dword [rax + rax]
test eax, eax
jns 0x140011b10
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14000e710
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
cmp dword [rbp - 0x38], 3
jne 0x140011bcc
mov r8d, 0x18
cmp dword [rbp - 0x34], r8d
jne 0x140011bcc
lea rcx, [rbp - 0x2c]
lea edx, [r8 - 4]
mov al, byte [rbp - 0x30]
xor byte [rcx], al
inc rcx
sub rdx, 1
jne 0x140011b32
cmp dword [rbp - 0x2c], 3
jne 0x140011bc2
cmp byte [rbp - 0x24], 1
ja 0x140011bc2
mov ebx, dword [rbp - 0x30]
xor ecx, ecx
and dword [rbp - 0x30], edx
lea rdx, [rbp - 0x30]
call qword [sym.imp.ntdll.dll_RtlComputeCrc32]
nop dword [rax + rax]
mov dword [rbp - 0x30], eax
cmp eax, ebx
jne 0x140011bc2
movzx edx, byte [rbp - 0x24]
xor r8d, r8d
test dl, dl
je 0x140011b8e
movzx ecx, word [rbp + r8*8 - 0x1c]
dec ecx
cmp ecx, 0xfd
ja 0x140011bc2
inc r8d
cmp r8d, edx
jb 0x140011b76
xor ecx, ecx
test dl, dl
je 0x140011ba0
cmp dword [rbp + rcx*8 - 0x20], esi
je 0x140011ba0
inc ecx
cmp ecx, edx
jb 0x140011b94
cmp ecx, edx
jae 0x140011bcc
mov ecx, dword [rbp + rcx*8 - 0x1c]
movzx eax, cx
mov dword [r14], eax
test rdi, rdi
je 0x140011bbb
shr ecx, 0x10
and ecx, 1
mov dword [rdi], ecx
xor eax, eax
jmp 0x14000c502
mov eax, 0xc000007b
jmp 0x14000c502
mov eax, 0xc0000225
jmp 0x14000c502

Function at 0x14000c640
Capabilities:
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400246e0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r8
mov dword [rsp + 0x20], 5
mov rdi, rdx
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov r9d, 0x18
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
nop dword [rax + rax]
mov r8d, eax
test eax, eax
js 0x140011be0
mov rax, qword [rsp + 0x40]
mov qword [rbx], rax
xor eax, eax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14000e710
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov eax, 1
lock xadd dword [0x1400255a0], eax
inc eax
mov ecx, 0x20
cdq
idiv ecx
lea rax, [0x1400253a0]
movsxd rcx, edx
add rcx, rcx
mov dword [rax + rcx*8], 0x10c0
mov dword [rax + rcx*8 + 4], r8d
mov qword [rax + rcx*8 + 8], rdi
mov eax, r8d
jmp 0x14000c698
Function at 0x140012398
Capabilities:
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
and qword [rbp - 0x28], 0
lea r9, [rbp - 0x40]
mov eax, 0x40
mov qword [rbp - 0x20], rcx
xorps xmm0, xmm0
mov dword [rsp + 0x28], eax
lea r8, [rbp - 0x30]
mov dword [rsp + 0x20], 7
mov edx, 0x10000
mov dword [rbp - 0x30], 0x30
lea rcx, [rbp + 0x18]
mov dword [rbp - 0x18], eax
movdqu xmmword [rbp - 0x10], xmm0
call qword [sym.imp.ntdll.dll_NtOpenFile]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140012430
mov eax, 1
lock xadd dword [0x1400255a0], eax
inc eax
lea r8, [0x1400253a0]
cdq
mov ecx, 0x20
idiv ecx
movsxd rax, edx
add rax, rax
and qword [r8 + rax*8 + 8], 0
mov dword [r8 + rax*8], 0x106e
mov dword [r8 + rax*8 + 4], ebx
jmp 0x1400124d5
mov rcx, qword [rbp + 0x18]
lea r8, [rbp + 0x10]
mov r9d, 1
mov byte [rbp + 0x10], 1
lea rdx, [rbp - 0x40]
mov dword [rsp + 0x20], 0xd
call qword [sym.imp.ntdll.dll_NtSetInformationFile]
nop dword [rax + rax]
mov ebx, eax
mov eax, 1
lock xadd dword [0x1400255a0], eax
inc eax
mov ecx, 0x20
cdq
mov r9d, ebx
idiv ecx
mov r10d, 0x1081
mov eax, edx
mov r8d, edx
test ebx, ebx
jns 0x14001248b
mov r10d, 0x1089
movsxd rdx, edx
lea rcx, [0x1400253a4]
shl rdx, 4
add rdx, rcx
movsxd rcx, eax
shl rcx, 4
lea rax, [0x1400253a8]
add rcx, rax
movsxd rax, r8d
add rax, rax
lea r8, [0x1400253a0]
mov dword [r8 + rax*8], r10d
mov dword [rdx], r9d
and qword [rcx], 0
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.ntdll.dll_NtClose]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rbp
ret