joyce8/EMBER2024-capa huggingface dataset:
Function at 0x16a88
Capabilities:
Map section object

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xb0
xor esi, esi
mov rdi, rdx
lea rcx, [rax - 0x30]
lea r8d, [rsi + 0x28]
xor edx, edx
mov dword [rax - 0x38], esi
call fcn.0001a360
xor eax, eax
lea rdx, [0x0001ab80]
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x60], esi
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0xd0], rsi
mov qword [rsp + 0x58], rsi
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rax, [rsp + 0x70]
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0x50]
mov edx, 0x100020
mov dword [rsp + 0x28], 0x20
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x80], 0x30
mov qword [rsp + 0x88], rsi
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rsi
mov dword [rsp + 0x20], 1
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
cmp eax, esi
mov ebx, eax
jne 0x16c1b
mov rax, qword [rsp + 0x50]
lea r8, [rsp + 0x80]
lea edx, [rsi + 0xc]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0xd8]
xor r9d, r9d
mov dword [rsp + 0x28], 0x1000000
mov qword [rsp + 0x90], rsi
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.ntoskrnl.exe_ZwCreateSection]
cmp eax, esi
mov ebx, eax
jne 0x16c10
mov rcx, qword [rsp + 0xd8]
mov dword [rsp + 0x48], 2
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], 1
lea rax, [rsp + 0x58]
lea r8, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
xor r9d, r9d
or rdx, 0xffffffffffffffff
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ntoskrnl.exe_ZwMapViewOfSection]
cmp eax, esi
mov ebx, eax
je 0x16bf7
cmp eax, 0x40000003
jne 0x16c02
mov ebx, esi
mov rax, qword [rsp + 0xd0]
mov qword [rdi], rax
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
lea r11, [rsp + 0xb0]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x18f98
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov edi, ecx
mov rcx, qword [0x0001c5e8]
test rcx, rcx
je 0x18fc0
and qword [0x0001c5e8], 0
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov edx, 0xeac0
xor ecx, ecx
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
test rax, rax
mov rbx, rax
je 0x190f2
xor edx, edx
mov r8d, 0xeac0
mov rcx, rax
call fcn.0001a360
and dword [rbx + 0x30], 0
mov dword [rbx], 0xeac0
mov dword [rbx + 4], edi
mov rcx, qword gs:[0x188]
and dword [rsp + 0x48], 0
mov qword [rbx + 0x10], rcx
mov rcx, qword [0x0001c978]
xor r9d, r9d
mov qword [rbx + 0x18], rcx
lea rax, [fcn.00018f98]
lea r8, [rsp + 0x48]
and rax, 0xffffffffffff0000
lea edx, [r9 + 0xb]
xor ecx, ecx
mov qword [rbx + 0x20], rax
call fcn.0001517c
and dword [rbx + 0x34], 0
and dword [rbx + 0x40], 0
and dword [rbx + 0x50], 0
mov qword [rbx + 0x28], rax
lea rax, [rbx + 0x60]
mov qword [0x0001c5e8], rbx
mov qword [rbx + 0x38], rax
add rax, 0x320
mov qword [rbx + 0x48], rax
add rax, 0x1f40
cmp qword [0x0001c2f8], 0
mov qword [rbx + 0x58], rax
jne 0x190f2
cmp qword [0x0001c5f0], 0
jne 0x190f2
cmp qword [0x0001c5f8], 0
jne 0x190f2
and word [rsp + 0x20], 0
xor eax, eax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x22], rax
call fcn.0001a260
mov r11, qword [rsp + 0x22]
movzx eax, word [r11 + 0x16]
mov ecx, dword [r11 + 0x18]
lea rdx, [0x0001a282]
shl rcx, 0x10
or rcx, rax
movzx eax, word [r11 + 0x10]
mov qword [0x0001c5f8], rbx
shl rcx, 0x10
or rcx, rax
lea rax, [0x00018bf0]
mov qword [0x0001c2f8], rcx
mov ecx, 1
mov qword [0x0001c5f0], rax
call fcn.00018b90
call fcn.0001a268
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x19308
Capabilities:
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rsi
push rdi
push r12
sub rsp, 0xb0
and word [rsp + 0x60], 0
xor eax, eax
mov rbx, rcx
and dword [r11 - 0x48], eax
mov qword [r11 - 0x66], rax
lea rcx, [r11 - 0x40]
lea r8d, [rax + 0x28]
xor edx, edx
mov dword [rsp + 0x6a], eax
mov word [rsp + 0x6e], ax
call fcn.0001a360
and qword [rsp + 0xe0], 0
and dword [rsp + 0x70], 0
xor eax, eax
mov edx, 0x1000
and qword [rsp + 0xd8], rax
lea r12d, [rax + 1]
mov dword [rsp + 0x74], eax
mov ecx, r12d
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xe8], 0xffffffffff676980
call qword [sym.imp.ntoskrnl.exe_ExAllocatePool]
test rax, rax
mov rsi, rax
jne 0x19396
mov eax, 0xc000009a
jmp 0x194f3
lea rcx, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntoskrnl.exe_IoCreateNotificationEvent]
test rax, rax
mov rdi, rax
je 0x1938c
lea rcx, [rsp + 0x60]
mov rdx, rbx
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
and qword [rsp + 0x88], 0
and qword [rsp + 0xa0], 0
and qword [rsp + 0xa8], 0
lea rax, [rsp + 0x60]
mov ecx, r12d
mov dword [rsp + 0x80], 0x30
mov dword [rsp + 0x98], 0x40
mov qword [rsp + 0x90], rax
call fcn.00018f98
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x80]
lea rcx, [rsp + 0xe0]
mov edx, r12d
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
call qword [sym.imp.ntoskrnl.exe_ZwOpenFile]
test eax, eax
mov ebx, eax
jne 0x194bb
mov rdx, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0xe0]
mov byte [rsp + 0x50], r12b
and qword [rsp + 0x48], 0
mov byte [rsp + 0x40], al
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x70]
mov dword [rsp + 0x30], 0x1000
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ZwQueryDirectoryFile]
cmp eax, 0x103
mov ebx, eax
jne 0x194bb
mov rcx, qword [rsp + 0xd8]
lea r8, [rsp + 0xe8]
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_ZwWaitForSingleObject]
test eax, eax
mov ebx, eax
jne 0x194bb
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_KeClearEvent]
mov ebx, dword [rsp + 0x70]
call fcn.00019108
mov rcx, qword [rsp + 0xe0]
test rcx, rcx
je 0x194d3
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x194e6
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r12
pop rdi
pop rsi
ret
Function at 0x198bc
Capabilities:
Create thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x40
mov rsi, qword [0x0001c670]
mov rbx, r8
mov ebp, edx
test rsi, rsi
je 0x19b30
test rbx, rbx
je 0x19b30
call fcn.000196e0
test rax, rax
mov rdi, rax
je 0x19aa7
lea rax, [0x0001adc0]
mov r9, rbx
mov r8, rdi
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c320], rax
lea rax, [0x0001ade0]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c328], rax
lea rax, [0x0001adf0]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c330], rax
lea rax, [0x0001ae10]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c338], rax
lea rax, [0x0001ae30]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c340], rax
lea rax, [0x0001ae50]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c348], rax
lea rax, [0x0001ae60]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c350], rax
lea rax, [0x0001ae70]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c358], rax
lea rax, [0x0001ae80]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c360], rax
lea rax, [0x0001aea0]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov qword [0x0001c368], rax
lea rax, [0x0001aeb0]
mov r9, rbx
mov r8, rdi
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov r9, rbx
mov r8, rdi
mov qword [0x0001c370], rax
lea rax, [0x0001aec0]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.000197a4
mov qword [0x0001c378], rax
lea rcx, [0x0001c3a0]
xor r8d, r8d
xor edx, edx
mov byte [0x0001c3b8], 1
call qword [sym.imp.ntoskrnl.exe_KeInitializeEvent]
lea r11, [0x0001c388]
mov qword [rsp + 0x30], r11
lea rax, [0x00019624]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
test eax, eax
mov ebx, eax
jne 0x19b2c
mov rcx, qword [rsp + 0x50]
and qword [rsp + 0x28], 0
lea rax, [0x0001c380]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x50]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov eax, ebx
jmp 0x19b35
mov eax, 0xc0000001
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x1a268
Capabilities:
Check for trap flag exception

Disassembly:
pushfq
pop rax
or eax, 0x100
push rax
popfq
nop
nop
nop
ret
Function at 0x1e008
Capabilities:
Create device object

Disassembly:
mov rax, qword [0x0001c100]
movabs r9, 0x2b992ddfa232
test rax, rax
je 0x1e023
cmp rax, r9
jne 0x1e052
lea r8, [0x0001c100]
movabs rax, 0xfffff78000000320
mov rax, qword [rax]
xor rax, r8
movabs r8, 0xffffffffffff
and rax, r8
cmove rax, r9
mov qword [0x0001c100], rax
not rax
mov qword [0x0001c108], rax
jmp 0x12844

Function at 0x1e023
Capabilities:
Contain obfuscated stackstrings
Create device object

Disassembly:
mov rax, qword [0x0001c100]
movabs r9, 0x2b992ddfa232
test rax, rax
je 0x1e023
cmp rax, r9
jne 0x1e052
lea r8, [0x0001c100]
movabs rax, 0xfffff78000000320
mov rax, qword [rax]
xor rax, r8
movabs r8, 0xffffffffffff
and rax, r8
cmove rax, r9
mov qword [0x0001c100], rax
not rax
mov qword [0x0001c108], rax
jmp 0x12844
Function at 0x140003850
Capabilities:
Enumerate network shares

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
nop
mov qword [rbp - 0x38], rdx
mov qword [rbp - 0x30], rcx
mov rsi, qword [rbp - 0x30]
mov dword [rbp], 0xffffffff
mov dword [rbp + 0x14], 0x4000
mov r9, qword [rbp - 0x38]
lea rax, [rbp - 0x20]
mov ecx, 2
xor edx, edx
xor r8d, r8d
mov qword [rsp + 0x20], rax
call sub.MPR.dll_WNetOpenEnumA
mov dword [rbp - 0xc], eax
cmp dword [rbp - 0xc], 0
je 0x1400038b3
nop
mov byte [rbp + 0x1f], 0
jmp 0x140003a17
nop
mov edx, dword [rbp + 0x14]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400038d7
nop
mov byte [rbp + 0x1f], 0
jmp 0x140003a17
jmp 0x1400038d9
nop
mov rcx, qword [rbp + 8]
mov r8d, dword [rbp + 0x14]
xor edx, edx
call fcn.140077bb0
mov r8, qword [rbp + 8]
mov rcx, qword [rbp - 0x20]
mov rdx, rbp
lea r9, [rbp + 0x14]
call sub.MPR.dll_WNetEnumResourceA
mov dword [rbp + 0x10], eax
cmp dword [rbp + 0x10], 0
jne 0x1400039dd
nop
mov dword [rbp + 0x18], 0
nop
mov eax, dword [rbp + 0x18]
cmp eax, dword [rbp]
jae 0x1400039db
mov rax, rsi
add rax, 0x60
mov qword [rbp - 0x18], rax
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 8]
call fcn.140001320
mov rcx, qword [rbp - 0x18]
lea rdx, [rbp - 0x28]
call fcn.140001360
lea rcx, [rbp - 8]
lea rdx, [rbp - 0x28]
call fcn.1400013a0
xor al, 0xff
test al, 1
jne 0x140003959
jmp 0x1400039cc
lea rcx, [rbp - 8]
call fcn.1400013e0
lea rcx, [rbp - 0x58]
mov rdx, rax
call fcn.140002df0
jmp 0x140003970
nop
mov rax, qword [rbp + 8]
mov ecx, dword [rbp + 0x18]
imul rcx, rcx, 0x30
add rax, rcx
mov rdx, qword [rax + 0x28]
lea rcx, [rbp - 0x58]
call fcn.140002f50
test al, 1
jne 0x140003992
jmp 0x1400039a0
nop
mov byte [rbp + 0x1f], 1
mov dword [rbp + 4], 1
jmp 0x1400039a8
nop
mov dword [rbp + 4], 0
jmp 0x1400039aa
lea rcx, [rbp - 0x58]
call fcn.140002f80
mov eax, dword [rbp + 4]
test eax, eax
je 0x1400039be
jmp 0x1400039bc
jmp 0x140003a15
lea rcx, [rbp - 8]
call fcn.140001580
jmp 0x140003944
nop
mov eax, dword [rbp + 0x18]
add eax, 1
mov dword [rbp + 0x18], eax
jmp 0x140003912
jmp 0x1400039eb
nop
cmp dword [rbp + 0x10], 0x103
je 0x1400039e9
jmp 0x1400039fb
jmp 0x1400039eb
nop
cmp dword [rbp + 0x10], 0x103
jne 0x1400038d9
jmp 0x1400039fb
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rbp - 0x20]
call sub.MPR.dll_WNetCloseEnum
mov byte [rbp + 0x1f], 0
jmp 0x140003a17
jmp 0x140003a17
nop
mov al, byte [rbp + 0x1f]
and al, 1
movzx eax, al
add rsp, 0xa8
pop rsi
pop rbp
ret
Function at 0x140011100
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push rsi
sub rsp, 0x40
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x20], rdx
mov qword [rsp + 0x38], rcx
mov rsi, qword [rsp + 0x38]
lea rax, str.expand_32_byte_k
mov qword [rsp + 0x28], rax
mov rcx, qword [rsp + 0x28]
call fcn.140011250
mov dword [rsi], eax
mov rcx, qword [rsp + 0x28]
add rcx, 4
call fcn.140011250
mov dword [rsi + 4], eax
mov rcx, qword [rsp + 0x28]
add rcx, 8
call fcn.140011250
mov dword [rsi + 8], eax
mov rcx, qword [rsp + 0x28]
add rcx, 0xc
call fcn.140011250
mov dword [rsi + 0xc], eax
mov rcx, qword [rsp + 0x20]
call fcn.140011250
mov dword [rsi + 0x10], eax
mov rcx, qword [rsp + 0x20]
add rcx, 4
call fcn.140011250
mov dword [rsi + 0x14], eax
mov rcx, qword [rsp + 0x20]
add rcx, 8
call fcn.140011250
mov dword [rsi + 0x18], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0xc
call fcn.140011250
mov dword [rsi + 0x1c], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x10
call fcn.140011250
mov dword [rsi + 0x20], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x14
call fcn.140011250
mov dword [rsi + 0x24], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x18
call fcn.140011250
mov dword [rsi + 0x28], eax
mov rcx, qword [rsp + 0x20]
add rcx, 0x1c
call fcn.140011250
mov dword [rsi + 0x2c], eax
mov dword [rsi + 0x30], 0
mov dword [rsi + 0x34], 0
mov rcx, qword [rsp + 0x30]
call fcn.140011250
mov dword [rsi + 0x38], eax
mov rcx, qword [rsp + 0x30]
add rcx, 4
call fcn.140011250
mov dword [rsi + 0x3c], eax
mov rax, rsi
add rsp, 0x40
pop rsi
ret
Function at 0x14002636c
Capabilities:
Read file on windows

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, 0x20
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test r8, r8
jg 0x14002639a
xor eax, eax
jmp 0x140026480
cmp qword [rcx + 0x68], 0
je 0x1400263ab
call fcn.140014900
jmp 0x140026480
mov rax, qword [rcx + 0x38]
mov rsi, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400263c2
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400263c4
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400263f6
cmp rax, rbp
mov rbx, rbp
mov rcx, r14
cmovb rbx, rax
mov r8, rbx
call fcn.140077510
mov rax, qword [rdi + 0x50]
add r14, rbx
sub rsi, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x38]
movsxd rax, ebx
add qword [rcx], rax
cmp qword [rdi + 0x80], 0
je 0x14002647a
mov r8, qword [rdi + 0x18]
lea rax, [rdi + 0x70]
cmp qword [r8], rax
jne 0x14002642d
mov rcx, qword [rdi + 0x88]
mov rdx, qword [rdi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rdi + 0x38]
mov qword [rax], rcx
mov rax, qword [rdi + 0x50]
mov dword [rax], edx
mov ebx, 0xfff
jmp 0x140026456
mov r9, qword [rdi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call fcn.1400602e4
add r14, rax
sub rsi, rax
cmp rax, rbx
jne 0x14002647a
cmp rsi, rbx
ja 0x140026434
test rsi, rsi
je 0x14002647a
mov r9, qword [rdi + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1400602e4
sub rsi, rax
sub rbp, rsi
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret

Function at 0x140027620
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14002765a
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14002765f
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400276a8
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x14007bd60]
cmp byte [rcx + rax], 0
je 0x1400276a8
dec r8
sub rdx, 1
jne 0x14002768e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140028d10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x140028d63
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x140028d57
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x140028d41
test rdi, rdi
jne 0x140028d8f
xor eax, eax
jmp 0x140028e12
mov rdx, rcx
test r8, r8
je 0x140028d57
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x140028d8a
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x140028d70
jmp 0x140028d57
mov ecx, 0x11
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x140028e0a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140028df9
cmp dword [rbx + 0x14], ebp
jne 0x140028df9
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x140028dea
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call fcn.140077410
test eax, eax
je 0x140028e01
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140028dd1
test rbx, rbx
je 0x140028e0a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14002c530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rbx, qword [r9 + 0x10]
mov rdi, r9
mov rsi, r8
mov r14, rdx
mov r15, rcx
cmp rbx, 0x20
ja 0x14002c627
xor r12d, r12d
nop dword [rax + rax]
mov r10, qword [rdi + 8]
mov r9, r12
test rbx, rbx
je 0x14002c5b8
lea rax, [rsp + 0x20]
sub r10, rax
nop dword [rax]
nop dword [rax + rax]
lea r8, [rsp + 0x20]
mov ecx, 0x20
add r8, r9
movzx edx, byte [r10 + r8]
lea eax, [rdx - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r9
xor cl, dl
mov byte [r8], cl
cmp r9, rbx
jb 0x14002c590
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14002c1d0
mov dword [r14], eax
test eax, eax
jne 0x14002c652
mov rcx, qword [r15]
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx ecx, byte [rcx + 0x48]
call fcn.14003e090
mov dword [r14], eax
test eax, eax
jne 0x14002c652
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14002bdb0
test eax, eax
je 0x14002c627
mov ecx, dword [rsi]
test eax, ecx
jne 0x14002c64b
or ecx, eax
xor r8d, r8d
mov dword [rsi], ecx
mov rdx, rdi
lea rcx, [r15 + 8]
call fcn.14003e120
cmp al, 2
jne 0x14002c627
mov rbx, qword [rdi + 0x10]
cmp rbx, 0x20
jbe 0x14002c570
mov eax, 0x1a
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
ret
mov eax, 0x37
jmp 0x14002c62c
xor r8d, r8d
lea rcx, [r15 + 8]
mov rdx, rdi
call fcn.14003e120
cmp al, 2
jne 0x14002c6c5
mov rdx, qword [rdi + 0x10]
cmp rdx, 0x20
ja 0x14002c6c5
mov r11, qword [rdi + 8]
mov r10, r12
test rdx, rdx
je 0x14002c6ad
lea rax, [rsp + 0x20]
sub r11, rax
lea r9, [rsp + 0x20]
mov ecx, 0x20
add r9, r10
movzx r8d, byte [r11 + r9]
lea eax, [r8 - 0x41]
cmp al, 0x19
cmova ecx, r12d
inc r10
xor cl, r8b
mov byte [r9], cl
cmp r10, rdx
jb 0x14002c683
lea rcx, [rsp + 0x20]
call fcn.14002bdb0
cmp eax, 0x10
jne 0x14002c6c5
or dword [rsi], eax
xor eax, eax
jmp 0x14002c62c
mov rax, qword [rdi + 8]
mov qword [r15 + 0x18], rax
xor eax, eax
jmp 0x14002c62c
Function at 0x14002d080
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0xa0
xorps xmm0, xmm0
mov qword [rax - 0x68], 0
mov rbx, rcx
mov rsi, r8
lea rcx, [rax - 0x40]
mov rdi, rdx
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
movups xmmword [rax - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, qword [rsp + 0x70]
lea rcx, [rdi - 1]
mov rax, qword [rsp + 0x40]
cmovb rbx, qword [rsp + 0x70]
cmp rcx, qword [rsp + 0x78]
mov qword [rsp + 0x60], 0
cmova rcx, qword [rsp + 0x78]
and rax, 0xffffffffffffff01
or rax, 1
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x40], rax
lea rcx, str.kernelbase.dll
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14002d15d
lea rdx, str.VirtualAlloc2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [rsp + 0x30], 1
mov r9d, 0x3000
mov rcx, rax
mov r8, rsi
lea rax, [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
call rbx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14002d180
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x80
xorps xmm0, xmm0
mov rbx, rcx
lea rcx, [rax - 0x38]
mov rsi, r8
movups xmmword [rax - 0x38], xmm0
mov rbp, rdx
movups xmmword [rax - 0x28], xmm0
movups xmmword [rax - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp rbx, rbp
jae 0x14002d255
mov r8d, 0x30
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14002d255
cmp dword [rsp + 0x40], 0x10000
mov rcx, qword [rsp + 0x38]
jne 0x14002d244
cmp rcx, rsi
jb 0x14002d244
mov rdi, qword [rsp + 0x20]
xor edx, edx
mov ecx, dword [rsp + 0x78]
mov rax, rdi
div rcx
test rdx, rdx
je 0x14002d20b
sub rdi, rdx
add rdi, rcx
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
jne 0x14002d257
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x677
jne 0x14002d23a
add rbx, rsi
jmp 0x14002d24c
mov rbx, qword [rsp + 0x38]
add rbx, rdi
jmp 0x14002d24c
mov rbx, qword [rsp + 0x20]
add rbx, rcx
cmp rbx, rbp
jb 0x14002d1c2
xor eax, eax
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret