joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400688cc
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov word [rbp - 0xc], 0x500
mov dword [rbp - 0x10], ebx
mov rdi, rdx
mov qword [rbp - 0x18], rbx
test rdx, rdx
jne 0x140068914
mov ecx, 0x80070057
mov ebx, ecx
call fcn.1400790f8
jmp 0x140068990
lea rax, [rbp - 0x18]
mov dword [rbp - 0x20], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
mov r8d, 0x20
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140068977
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140068965
mov ebx, 0x80004005
jmp 0x140068973
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
jmp 0x14006890d
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140068954
mov ecx, dword [rbp - 0x20]
mov dword [rdi], ecx
mov ecx, ebx
call fcn.140079118
lea rcx, [rbp - 0x18]
call fcn.140069668
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14006df10
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov r12, r9
mov rsi, r8
mov ebp, edx
mov r15, rcx
test r9, r9
jne 0x14006df50
mov ebx, 0x80070057
mov ecx, ebx
call fcn.1400790f8
jmp 0x14006e103
lea edi, [rdx + 2]
mov r14d, 0x80070216
cmp edi, ebp
jae 0x14006df67
mov ecx, r14d
call fcn.1400790f8
cmp edi, ebp
sbb ebx, ebx
and ebx, r14d
mov ecx, ebx
call fcn.140079118
cmp edi, ebp
jb 0x14006df44
mov eax, 0xaaaaaaab
mov ebx, r13d
mul edi
shr edx, 1
je 0x14006dfa4
mov ecx, edx
shl ecx, 2
mov eax, ecx
shr eax, 2
cmp eax, edx
je 0x14006dfa0
mov ecx, r14d
mov ebx, r14d
call fcn.1400790f8
jmp 0x14006dfa7
mov edi, ecx
jmp 0x14006dfa7
mov edi, r13d
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x14006df44
lea r14d, [rdi + 1]
test rsi, rsi
jne 0x14006dfec
cmp r14d, edi
jb 0x14006dfc9
mov dword [r12], r14d
mov ebx, r13d
jmp 0x14006dfd5
mov ebx, 0x80070216
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
test ebx, ebx
js 0x14006df44
mov ebx, r13d
jmp 0x14006e103
cmp r14d, edi
jae 0x14006dffe
mov ecx, 0x80070216
call fcn.1400790f8
cmp r14d, edi
sbb ebx, ebx
and ebx, 0x80070216
mov ecx, ebx
call fcn.140079118
cmp r14d, edi
jb 0x14006df44
cmp dword [r12], r14d
jae 0x14006e026
mov ebx, 0x8007007a
jmp 0x14006df44
lea r9, [rsi + r14*2]
test ebp, ebp
jle 0x14006e0f6
lea r8, [rsi + 6]
lea rdi, [0x1403b85e0]
mov r11b, byte [r15]
inc r15
mov word [rsp + 0x69], r13w
cmp ebp, 1
jbe 0x14006e061
mov cl, byte [r15]
inc r15
cmp ebp, 2
jbe 0x14006e065
mov dl, byte [r15]
inc r15
jmp 0x14006e069
mov cl, byte [rsp + 0x69]
mov dl, byte [rsp + 0x6a]
cmp r8, r9
jae 0x14006e129
movzx r10d, cl
movzx eax, r11b
mov ecx, r10d
shr rax, 2
shr rcx, 4
movzx eax, byte [rax + rdi]
mov word [rsi], ax
movzx eax, r11b
shl rax, 4
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + rdi]
mov word [rsi + 2], ax
cmp ebp, 1
jbe 0x14006e0c0
mov ecx, r10d
movzx eax, dl
shr rax, 6
shl ecx, 2
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + rdi]
jmp 0x14006e0c5
mov eax, 0x3d
mov word [rsi + 4], ax
cmp ebp, 2
jbe 0x14006e0da
movzx eax, dl
and eax, 0x3f
movzx ecx, byte [rax + rdi]
jmp 0x14006e0df
mov ecx, 0x3d
mov word [rsi + 6], cx
add r8, 8
add rsi, 8
add ebp, 0xfffffffd
test ebp, ebp
jg 0x14006e03d
cmp rsi, r9
jae 0x14006e129
mov word [rsi], r13w
mov dword [r12], r14d
mov ecx, ebx
call fcn.140079118
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x8000ffff
mov ebx, ecx
jmp 0x14006df46
Function at 0x14006e200
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
xor r15d, r15d
mov r14, r9
mov qword [rbp - 8], r15
mov ebx, r15d
mov qword [rbp + 0x30], rbx
mov rsi, rdx
mov qword [rbp - 0x10], r15
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14006e243
xor ecx, ecx
call fcn.140079118
lea rax, [rbp + 0x40]
mov qword [rbp + 0x40], r15
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006e2cb
mov edi, r15d
mov rbx, qword [rbp + 0x40]
mov qword [rbp + 0x30], rbx
mov rsi, rbx
mov qword [rbp + 0x40], r15
mov ecx, edi
call fcn.140079118
lea rcx, [rbp + 0x40]
call fcn.1400695f4
test edi, edi
js 0x14006e2fb
xor ecx, ecx
call fcn.140079118
mov eax, dword [rbp + 0x50]
lea rdx, str.ReferralId
mov dword [rsp + 0x28], eax
test rbx, rbx
mov r9d, 1
mov qword [rsp + 0x20], r14
cmove rsi, r15
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14006e2e9
mov edi, r15d
jmp 0x14006e302
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14006e26c
mov ecx, edi
call fcn.1400790f8
mov rsi, r15
jmp 0x14006e27b
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14006e302
mov ecx, edi
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
lea rcx, [rbp - 0x10]
call fcn.14006f380
lea rcx, [rbp - 8]
call fcn.1400695f4
lea rcx, [rbp + 0x30]
call fcn.1400695f4
mov rbx, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14006e340
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x40
xor edi, edi
lea rax, [r11 - 0x28]
mov r14, r9
mov qword [r11 - 0x20], rdi
xor r8d, r8d
mov qword [r11 - 0x28], rdi
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x38], rax
lea r9d, [rdi + 1]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006e3b3
mov ebx, edi
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov ecx, ebx
call fcn.140079118
lea rcx, [rsp + 0x30]
call fcn.1400695f4
test ebx, ebx
jns 0x14006e3d1
mov ecx, ebx
call fcn.1400790f8
jmp 0x14006e41d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14006e386
mov ecx, ebx
call fcn.1400790f8
mov rsi, rdi
jmp 0x14006e395
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
lea rdx, [0x1403b74b0]
mov qword [rsp + 0x20], rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006e415
cmp eax, 2
je 0x14006e41a
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x14006e41a
jmp 0x14006e3aa
mov edi, 1
mov dword [r14], edi
mov ecx, ebx
call fcn.140079118
lea rcx, [rsp + 0x38]
call fcn.1400695f4
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14006e88c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r14d, r14d
mov dword [rbp + 0x17], 0x25002f
lea rcx, [rbp - 0x29]
mov qword [rbp - 0x29], r14
mov rsi, rdx
mov dword [rbp + 0x1b], 0x2e0058
mov dword [rbp + 0x1f], 0x580025
mov dword [rbp + 0x23], 0x25002e
mov dword [rbp + 0x27], 0x2e0058
mov dword [rbp + 0x2b], 0x580025
mov dword [rbp + 0x2f], 0x25002e
mov dword [rbp + 0x33], 0x58
call fcn.14007159c
mov rbx, qword [rbp - 0x29]
mov edi, eax
test eax, eax
js 0x14006e94d
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.14007102c
mov edi, eax
test eax, eax
js 0x14006e94d
mov edx, dword [rbp - 0x15]
mov rcx, rsi
mov r8d, dword [rbp - 0x19]
movzx eax, dx
shr edx, 0x10
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
lea rdx, str._d._d._d._d
movzx r9d, r8w
shr r8d, 0x10
call fcn.140078210
mov edi, eax
test eax, eax
jns 0x14006e954
mov ecx, eax
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
test rbx, rbx
je 0x14006e97c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079118
mov eax, edi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400711ec
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and qword [rbp + 0x20], 0
lea rax, [rbp + 0x30]
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 0
mov r9d, 2
and qword [rbp + 0x30], 0
xor r8d, r8d
mov rcx, 0xffffffff80000003
mov qword [r11 - 0x38], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140071295
xor ebx, ebx
mov rdi, qword [rbp + 0x30]
and qword [rbp + 0x30], 0
mov qword [rbp + 0x20], rdi
mov ecx, ebx
call fcn.140079118
lea rcx, [rbp + 0x30]
call fcn.1400695f4
test ebx, ebx
js 0x1400712c4
xor ecx, ecx
call fcn.140079118
mov eax, dword [rbp + 0x40]
lea rdx, [0x1403b74b0]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400712b2
xor ebx, ebx
jmp 0x1400712cb
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x140071240
mov ecx, ebx
call fcn.1400790f8
xor edi, edi
jmp 0x14007124d
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
je 0x1400712cb
mov ecx, ebx
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
lea rcx, [rbp - 0x10]
call fcn.14006f380
lea rcx, [rbp - 8]
call fcn.1400695f4
lea rcx, [rbp + 0x20]
call fcn.1400695f4
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400713a0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor ebx, ebx
lea rax, [rsp + 0x68]
and qword [rsp + 0x68], rbx
mov r9d, 0x2000000
xor r8d, r8d
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x20], rax
mov r15, rdx
mov r14, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov r13d, 0x80070000
test eax, eax
jne 0x1400714e5
xor edi, edi
mov rbx, qword [rsp + 0x68]
and qword [rsp + 0x68], 0
mov rsi, rbx
mov qword [rsp + 0x70], rbx
mov ecx, edi
call fcn.140079118
lea rcx, [rsp + 0x68]
call fcn.1400695f4
test edi, edi
js 0x14007154f
and qword [rsp + 0x58], 0
lea rax, [rsp + 0x60]
and qword [rsp + 0x50], 0
xor r9d, r9d
and qword [rsp + 0x48], 0
xor r8d, r8d
and qword [rsp + 0x40], 0
xor edx, edx
and qword [rsp + 0x38], 0
mov rcx, rsi
and qword [rsp + 0x30], 0
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
je 0x140071495
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14007154f
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x140071506
dec eax
lea r8, [rbp - 0x80]
mov edx, eax
mov dword [rsp + 0x60], eax
mov r9d, 0x105
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x1400714cf
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
jne 0x14007154f
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400713a0
mov edi, eax
test eax, eax
jns 0x140071495
mov ecx, eax
jmp 0x140071551
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14007140d
mov ecx, edi
call fcn.1400790f8
xor esi, esi
jmp 0x140071420
test rbx, rbx
je 0x14007151a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x70], 0
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x14007152e
xor edi, edi
jmp 0x140071544
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140071544
mov ecx, edi
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
test edi, edi
jns 0x140071556
mov ecx, edi
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
lea rcx, [rsp + 0x70]
call fcn.1400695f4
mov eax, edi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
Function at 0x140073ea0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov r14, r9
mov qword [rbp - 0x10], r12
mov ebx, r12d
mov qword [rbp - 0x20], rbx
mov r15, r8
mov qword [rbp - 0x18], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140073ee7
xor ecx, ecx
call fcn.140079118
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140073f6b
mov edi, r12d
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x20], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
mov ecx, edi
call fcn.140079118
lea rcx, [rbp + 0x30]
call fcn.1400695f4
test edi, edi
js 0x140073f9b
xor ecx, ecx
call fcn.140079118
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 1
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140073f89
mov edi, r12d
jmp 0x140073fa2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140073f10
mov ecx, edi
call fcn.1400790f8
mov rsi, r12
jmp 0x140073f1f
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x140073fa2
mov ecx, edi
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
lea rcx, [rbp - 0x18]
call fcn.14006f380
lea rcx, [rbp - 0x10]
call fcn.1400695f4
lea rcx, [rbp - 0x20]
call fcn.1400695f4
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret

Function at 0x140075e94
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x24]
mov r8d, 0x110
call sub.msvcrt.dll_memset
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x140075f09
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140075ef2
mov ebx, 0x80004005
jmp 0x140075f00
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.1400790f8
jmp 0x140075f20
cmp dword [rsp + 0x30], 2
jne 0x140075f1c
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x140075f1e
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140368700
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x1400777a8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r14, rdx
mov edi, 0x104
xor ebx, ebx
lea rdx, [rsp + 0x30]
mov r8d, edi
mov qword [rsp + 0x20], rbx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
test eax, eax
jne 0x140077820
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140077806
mov edi, 0x80004005
jmp 0x140077814
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.1400790f8
jmp 0x1400778bd
cmp esi, edi
ja 0x14007786a
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140078cfc
mov edi, eax
test eax, eax
js 0x140077856
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.140078e54
mov edi, eax
test eax, eax
jns 0x14007785d
mov ecx, eax
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
test edi, edi
jns 0x1400778bd
jmp 0x140077814
mov rdx, rsi
lea r8, [rsp + 0x20]
call fcn.140077b50
mov edi, eax
test eax, eax
jns 0x14007788b
mov ecx, eax
call fcn.1400790f8
mov rbx, qword [rsp + 0x20]
jmp 0x1400778bd
mov rbx, qword [rsp + 0x20]
mov r8d, esi
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
test eax, eax
je 0x1400777f5
cmp eax, esi
je 0x1400778b5
mov edi, 0x8007007a
jmp 0x140077814
mov rax, rbx
xor ebx, ebx
mov qword [r14], rax
mov ecx, edi
call fcn.140079118
test rbx, rbx
je 0x1400778e5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rbx - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.140079118
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140084198
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 0x27], rax
lea rax, [0x140006938]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x140427810]
mov qword [rbp - 0x29], rax
lea rcx, [0x140411e0c]
mov r15, r9
mov r14, r8
call fcn.1400e9e10
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x17]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x50]
mov r8d, ebx
lea ecx, [rbx + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x140084250
mov ecx, esi
call fcn.1400790f8
lea rdx, [0x1404280e0]
lea rcx, [0x140412730]
call fcn.1400ea4ac
jmp 0x140084336
lea rax, [0x1400062b8]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x14042b654]
lea rax, [rbp - 0x45]
lea rcx, [0x14040d30c]
mov qword [rbp - 0x29], rax
call fcn.1400ea7f4
lea rax, [rbp + 0x17]
mov qword [rbp - 0x21], r12
mov qword [rbp - 9], rax
lea rdx, [rbp - 0x39]
lea rax, [rbp - 0x41]
mov qword [rbp - 0x19], rdi
xor r9d, r9d
mov qword [rbp + 0xf], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 3], 1
mov qword [rbp + 7], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x140084333
mov esi, ecx
test ecx, ecx
jns 0x1400842d4
call fcn.1400790f8
jmp 0x140084336
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x140084301
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x14008432e
lea rdx, [0x14042c1f0]
lea rcx, [0x140405ab8]
call fcn.1400ea158
cmp r14d, 0xc000
jne 0x140084333
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x140084333
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140079118
lea rdx, [0x1404296b0]
lea rcx, [0x14040b614]
call fcn.1400e8a6c
mov eax, esi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140368700
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
Function at 0x140086f7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xf8
mov rax, qword [0x140425b28]
xor rax, rsp
mov qword [rbp + 7], rax
xor r13d, r13d
mov dword [rsp + 0x40], 0x370035
mov r14d, r8d
mov dword [rsp + 0x44], 0x390042
xor r8d, r8d
mov dword [rsp + 0x48], 0x320044
mov dword [rsp + 0x4c], 0x370035
mov esi, r9d
mov dword [rsp + 0x50], 0x34002d
mov dword [rsp + 0x54], 0x360035
mov dword [rsp + 0x58], 0x2d0030
mov dword [rbp - 0x7d], 0x460034
mov dword [rbp - 0x79], 0x420044
mov dword [rbp - 0x75], 0x39002d
mov dword [rbp - 0x71], 0x430030
mov dword [rbp - 0x6d], 0x2d0036
mov dword [rbp - 0x69], 0x410042
mov dword [rbp - 0x65], 0x330034
mov dword [rbp - 0x61], 0x360046
mov dword [rbp - 0x5d], 0x440043
mov dword [rbp - 0x59], 0x440046
mov dword [rbp - 0x55], 0x450045
mov word [rbp - 0x51], r8w
mov dword [rbp - 0x49], 0x340038
mov dword [rbp - 0x45], 0x300039
mov dword [rbp - 0x41], 0x350045
mov dword [rbp - 0x3d], 0x350041
mov dword [rbp - 0x39], 0x34002d
mov dword [rbp - 0x35], 0x360044
mov dword [rbp - 0x31], 0x2d0030
mov dword [rbp - 0x2d], 0x390034
mov dword [rbp - 0x29], 0x410043
mov dword [rbp - 0x25], 0x42002d
mov dword [rbp - 0x21], 0x310042
mov dword [rbp - 0x1d], 0x2d0030
mov dword [rbp - 0x19], 0x440046
mov dword [rbp - 0x15], 0x450033
mov dword [rbp - 0x11], 0x450041
mov dword [rbp - 0xd], 0x380044
mov dword [rbp - 9], 0x390044
mov dword [rbp - 5], 0x320030
mov word [rbp - 1], r13w
test rcx, rcx
jne 0x1400870cd
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x140087154
mov rdi, qword [0x14042ead0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403af620]
mov r15d, 1
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], r15d
lea rdx, [rsp + 0x30]
mov r9d, r14d
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rbx
mov ebx, eax
test eax, eax
js 0x140087152
mov rdi, qword [0x14042ead0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403af620]
mov r9d, esi
mov dword [rsp + 0x28], r15d
lea r8, [rbp - 0x49]
mov dword [rsp + 0x20], r12d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call rbx
mov ebx, eax
test eax, eax
jns 0x140087159
mov ecx, eax
call fcn.1400790f8
mov ecx, ebx
call fcn.140079118
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140368700
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14008e594
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
xor r12d, r12d
mov r14, r9
mov qword [rbp - 0x10], r12
mov ebx, r12d
mov qword [rbp - 0x20], rbx
mov r15, r8
mov qword [rbp - 0x18], r12
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14008e5db
xor ecx, ecx
call fcn.140079118
lea rax, [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14008e65f
mov edi, r12d
mov rbx, qword [rbp + 0x30]
mov qword [rbp - 0x20], rbx
mov rsi, rbx
mov qword [rbp + 0x30], r12
mov ecx, edi
call fcn.140079118
lea rcx, [rbp + 0x30]
call fcn.1400695f4
test edi, edi
js 0x14008e68f
xor ecx, ecx
call fcn.140079118
mov eax, dword [rbp + 0x50]
test rbx, rbx
mov dword [rsp + 0x28], eax
mov r9d, 3
cmove rsi, r12
mov qword [rsp + 0x20], r14
mov rcx, rsi
xor r8d, r8d
mov rdx, r15
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x14008e67d
mov edi, r12d
jmp 0x14008e696
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008e604
mov ecx, edi
call fcn.1400790f8
mov rsi, r12
jmp 0x14008e613
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
je 0x14008e696
mov ecx, edi
call fcn.1400790f8
mov ecx, edi
call fcn.140079118
lea rcx, [rbp - 0x18]
call fcn.14006f380
lea rcx, [rbp - 0x10]
call fcn.1400695f4
lea rcx, [rbp - 0x20]
call fcn.1400695f4
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret