joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14006f0a0
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 ebx, ebx
lea rax, [r11 - 0x28]
and qword [r11 - 0x28], rbx
mov r14, r9
xor r8d, r8d
mov qword [r11 - 0x38], rax
mov rcx, 0xffffffff80000003
lea esi, [rbx + 1]
mov r9d, esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14006f0f1
mov rbx, qword [rsp + 0x30]
and qword [rsp + 0x30], 0
xor edi, edi
jmp 0x14006f106
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14006f123
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x30], 0
test edi, edi
jns 0x14006f130
mov ecx, edi
call fcn.14007ac40
jmp 0x14006f17c
xor ecx, ecx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x60]
test rbx, rbx
lea rdx, [0x1403dc500]
cmovne rcx, rbx
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14006f179
cmp eax, 2
je 0x14006f177
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x14006f127
xor esi, esi
mov dword [r14], esi
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14006f191
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x68]
mov eax, edi
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret
Function at 0x14006f668
Capabilities:
Encode data using base64

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
xor r13d, r13d
mov rdi, r9
mov r14d, edx
mov r15, rcx
test rcx, rcx
jne 0x14006f6aa
mov ecx, 0x80070057
mov ebx, ecx
call fcn.14007ac40
jmp 0x14006f865
mov r12, qword [rsp + 0x70]
test r12, r12
je 0x14006f699
lea esi, [rdx + 2]
mov ebp, 0x80070216
cmp esi, r14d
jb 0x14006f6c6
mov ebx, r13d
jmp 0x14006f6d3
mov ecx, ebp
mov ebx, ebp
call fcn.14007ac40
mov esi, dword [rsp + 0x60]
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
jns 0x14006f6e2
mov ecx, ebx
jmp 0x14006f6a0
mov eax, 0xaaaaaaab
mov ebx, r13d
mul esi
shr edx, 1
je 0x14006f70f
lea ecx, [rdx*4]
mov eax, ecx
shr eax, 2
cmp eax, edx
je 0x14006f70b
mov ecx, ebp
mov ebx, ebp
call fcn.14007ac40
jmp 0x14006f712
mov esi, ecx
jmp 0x14006f712
mov esi, r13d
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x14006f6de
lea ebp, [rsi + 1]
test rdi, rdi
jne 0x14006f751
cmp ebp, esi
jb 0x14006f732
mov dword [r12], ebp
mov ebx, r13d
jmp 0x14006f73e
mov ecx, 0x80070216
mov ebx, ecx
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x14006f6de
mov ebx, r13d
jmp 0x14006f865
cmp ebp, esi
jb 0x14006f75a
mov ebx, r13d
jmp 0x14006f76a
mov ecx, 0x80070216
mov ebx, ecx
call fcn.14007ac40
mov ebp, dword [rsp + 0x60]
mov ecx, ebx
call fcn.14007ace8
test ebx, ebx
js 0x14006f6de
cmp dword [r12], ebp
jae 0x14006f789
mov ebx, 0x8007007a
jmp 0x14006f6de
mov eax, ebp
lea r9, [rdi + rax*2]
test r14d, r14d
jle 0x14006f858
lea rdx, [rdi + 6]
lea rsi, [0x1403dd0d0]
movzx eax, byte [r15]
mov r10b, r13b
inc r15
mov r8b, r13b
cmp r14d, 1
jbe 0x14006f7c8
mov r10b, byte [r15]
inc r15
cmp r14d, 2
jbe 0x14006f7c8
mov r8b, byte [r15]
inc r15
cmp rdx, r9
jae 0x14006f88c
mov rcx, rax
movzx r11d, r10b
shr rax, 2
shl rcx, 4
movzx eax, byte [rax + rsi]
mov word [rdi], ax
mov eax, r11d
shr rax, 4
or rax, rcx
and eax, 0x3f
movzx eax, byte [rax + rsi]
mov word [rdi + 2], ax
cmp r14d, 1
jbe 0x14006f81e
movzx eax, r8b
lea ecx, [r11*4]
shr rax, 6
or rcx, rax
and ecx, 0x3f
movzx eax, byte [rcx + rsi]
jmp 0x14006f823
mov eax, 0x3d
mov word [rdi + 4], ax
cmp r14d, 2
jbe 0x14006f83a
movzx eax, r8b
and eax, 0x3f
movzx ecx, byte [rax + rsi]
jmp 0x14006f83f
mov ecx, 0x3d
mov word [rdi + 6], cx
add rdx, 8
add rdi, 8
add r14d, 0xfffffffd
test r14d, r14d
jg 0x14006f7a3
cmp rdi, r9
jae 0x14006f88c
mov word [rdi], r13w
mov dword [r12], ebp
mov ecx, ebx
call fcn.14007ace8
mov rbp, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, 0x8000ffff
jmp 0x14006f69e
Function at 0x140070cb8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x90
xor ebp, ebp
mov dword [rsp + 0x70], 0x25002f
lea rcx, [rax - 0x68]
mov qword [rax - 0x68], rbp
mov rsi, rdx
mov dword [rsp + 0x74], 0x2e0058
mov dword [rsp + 0x78], 0x580025
mov dword [rsp + 0x7c], 0x25002e
mov dword [rsp + 0x80], 0x2e0058
mov dword [rsp + 0x84], 0x580025
mov dword [rsp + 0x88], 0x25002e
mov dword [rsp + 0x8c], 0x58
call fcn.140073810
mov rbx, qword [rsp + 0x30]
mov edi, eax
test eax, eax
js 0x140070d7f
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.14007103c
mov edi, eax
test eax, eax
js 0x140070d7f
mov edx, dword [rsp + 0x44]
mov rcx, rsi
mov r8d, dword [rsp + 0x40]
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.140079e68
mov edi, eax
test eax, eax
jns 0x140070d86
mov ecx, eax
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140070dae
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.14007ace8
lea r11, [rsp + 0x90]
mov eax, edi
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140070dd0
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp - 8], rax
xor esi, esi
mov word [rbp - 0xc], 0x500
mov dword [rbp - 0x10], esi
mov rdi, r8
mov qword [rbp - 0x18], rsi
mov ebx, esi
test r8, r8
jne 0x140070e17
mov ebx, 0x80070057
mov ecx, ebx
call fcn.14007ac40
jmp 0x140070e88
lea rax, [rbp - 0x18]
mov r8d, edx
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x48], esi
xor r9d, r9d
mov dword [rsp + 0x40], esi
mov dl, 1
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x140070e6f
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140070e5f
mov ebx, 0x80004005
jmp 0x140070e0e
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x140070e0e
mov rdx, qword [rbp - 0x18]
lea r8, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x140070e4e
mov ecx, dword [rbp - 0x20]
mov dword [rdi], ecx
mov ecx, ebx
call fcn.14007ace8
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140070e9e
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007103c
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
xor r12d, r12d
mov r15, rdx
lea rdx, [rax - 0x38]
mov qword [rax - 0x38], r12
mov edi, r12d
mov ebx, r12d
call fcn.140079440
mov rsi, qword [rsp + 0x30]
mov ebp, eax
test eax, eax
jns 0x140071083
mov ecx, eax
call fcn.14007ac40
jmp 0x140071112
lea r8, [rsp + 0x80]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
mov r14d, eax
test eax, eax
jne 0x1400710c0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400710ae
mov ebp, 0x80004005
jmp 0x1400710bc
movzx ebp, ax
or ebp, 0x80070000
test eax, eax
cmovle ebp, eax
mov ecx, ebp
jmp 0x140071079
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x1400710e1
mov rbx, r12
jmp 0x1400710e6
test rbx, rbx
jne 0x1400710ed
mov ebp, 0x8007000e
jmp 0x1400710bc
mov r8d, dword [rsp + 0x80]
mov r9d, r14d
mov rdx, rsi
mov qword [rsp + 0x20], rbx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
test eax, eax
je 0x14007109d
mov rdi, rbx
mov rbx, r12
mov ecx, ebp
call fcn.14007ace8
test rbx, rbx
je 0x140071132
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
test rsi, rsi
je 0x140071153
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi - 4]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
call fcn.14007ace8
test ebp, ebp
jns 0x140071160
mov ecx, ebp
call fcn.14007ac40
jmp 0x1400711df
test rdi, rdi
lea r9, [rsp + 0x88]
mov rcx, r12
lea r8, [rsp + 0x38]
cmovne rcx, rdi
lea rdx, [0x1403d9ef0]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
test eax, eax
jne 0x1400711a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140071199
mov ebp, 0x80004005
jmp 0x140071157
movzx ebp, ax
or ebp, 0x80070000
test eax, eax
cmovle ebp, eax
jmp 0x140071157
cmp dword [rsp + 0x88], 0x34
jae 0x1400711ba
mov ebp, 0x8000ffff
jmp 0x140071157
mov rax, qword [rsp + 0x38]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [r15], xmm0
movups xmm0, xmmword [rax + 0x20]
mov eax, dword [rax + 0x30]
movups xmmword [r15 + 0x10], xmm1
movups xmmword [r15 + 0x20], xmm0
mov dword [r15 + 0x30], eax
mov ecx, ebp
call fcn.14007ace8
test rdi, rdi
je 0x1400711ff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x70]
mov eax, ebp
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140071220
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x30
xor ebx, ebx
lea rax, [r11 + 0x18]
and qword [r11 + 0x18], rbx
mov rsi, r9
xor r8d, r8d
mov qword [r11 - 0x18], rax
mov rcx, 0xffffffff80000003
lea r9d, [rbx + 2]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007126c
mov rbx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
xor edi, edi
jmp 0x140071281
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007129e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
test edi, edi
js 0x1400712eb
xor ecx, ecx
call fcn.14007ace8
mov eax, dword [rsp + 0x60]
lea rdx, [0x1403dc500]
xor ecx, ecx
mov dword [rsp + 0x28], eax
test rbx, rbx
mov qword [rsp + 0x20], rsi
mov r9d, 3
cmovne rcx, rbx
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x1400712dd
xor edi, edi
jmp 0x1400712f2
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140071307
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140071c44
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 - 0x190]
sub rsp, 0x290
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 0x180], rax
lea rax, [rsp + 0x68]
xor ebx, ebx
and qword [rsp + 0x68], rbx
mov r9d, 0x2000000
xor r8d, r8d
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 0x140071cb4
mov rbx, qword [rsp + 0x68]
xor edi, edi
and qword [rsp + 0x68], rdi
jmp 0x140071cc6
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140071ce3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x68], 0
test edi, edi
js 0x140071d48
xor esi, esi
lea rax, [rsp + 0x60]
test rbx, rbx
cmovne rsi, rbx
and qword [rsp + 0x58], 0
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 0x140071dc5
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140071d64
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140388a40
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
dec eax
lea r8, [rsp + 0x70]
mov edx, eax
mov dword [rsp + 0x60], eax
mov r9d, 0x105
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x140071d3d
lea rdx, [rsp + 0x70]
mov rcx, rsi
call fcn.140071c44
mov edi, eax
test eax, eax
js 0x140071df1
mov eax, dword [rsp + 0x60]
test eax, eax
jne 0x140071d92
test rbx, rbx
je 0x140071ddd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x140071df8
xor edi, edi
jmp 0x140071e0a
mov ecx, eax
jmp 0x140071d4a
movzx edi, ax
or edi, r13d
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x140071d4f
jmp 0x140071d48
Function at 0x140075bec
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rbp, r9
mov r14, r8
mov rsi, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x140075c1c
xor ecx, ecx
call fcn.14007ace8
and qword [rsp + 0x50], rbx
lea rax, [rsp + 0x50]
mov r9d, 2
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, 0x80070000
test eax, eax
jne 0x140075c58
mov rbx, qword [rsp + 0x50]
and qword [rsp + 0x50], 0
xor edi, edi
jmp 0x140075c69
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140075c86
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rsp + 0x50], 0
test edi, edi
js 0x140075ccb
xor ecx, ecx
call fcn.14007ace8
mov eax, dword [rsp + 0x70]
xor ecx, ecx
mov dword [rsp + 0x28], eax
test rbx, rbx
mov r9d, 1
mov qword [rsp + 0x20], rbp
cmovne rcx, rbx
mov rdx, r14
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140075cc1
xor edi, edi
jmp 0x140075cd2
movzx edi, ax
or edi, esi
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x140075ce7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x58]
mov eax, edi
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14007796c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x140451b38]
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 0x1400779e1
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400779ca
mov ebx, 0x80004005
jmp 0x1400779d8
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov ecx, ebx
call fcn.14007ac40
jmp 0x1400779f8
cmp dword [rsp + 0x30], 2
jne 0x1400779f4
cmp dword [rsp + 0x24], 6
mov eax, 1
jae 0x1400779f6
mov eax, ebx
mov dword [rdi], eax
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140388a40
mov rbx, qword [rsp + 0x168]
add rsp, 0x150
pop rdi
ret
Function at 0x140079440
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 [0x140451b38]
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 0x1400794b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14007949e
mov edi, 0x80004005
jmp 0x1400794ac
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov ecx, edi
call fcn.14007ac40
jmp 0x140079555
cmp esi, edi
ja 0x140079502
mov r8d, 0x7fffffff
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.14007a854
mov edi, eax
test eax, eax
js 0x1400794ee
mov edx, dword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov r8, r14
call fcn.14007a9ac
mov edi, eax
test eax, eax
jns 0x1400794f5
mov ecx, eax
call fcn.14007ac40
mov ecx, edi
call fcn.14007ace8
test edi, edi
jns 0x140079555
jmp 0x1400794ac
mov rdx, rsi
lea r8, [rsp + 0x20]
call fcn.140079700
mov edi, eax
test eax, eax
jns 0x140079523
mov ecx, eax
call fcn.14007ac40
mov rbx, qword [rsp + 0x20]
jmp 0x140079555
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 0x14007948d
cmp eax, esi
je 0x14007954d
mov edi, 0x8007007a
jmp 0x1400794ac
mov rax, rbx
xor ebx, ebx
mov qword [r14], rax
mov ecx, edi
call fcn.14007ace8
test rbx, rbx
je 0x14007957d
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.14007ace8
mov eax, edi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140388a40
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 0x1400866c4
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov rax, qword [0x140451b38]
xor rax, rsp
mov qword [rbp + 0x37], rax
lea rax, [0x14003cc5c]
mov qword [rbp - 0x11], rcx
mov qword [rbp - 0x21], rax
lea rcx, [0x140439ea8]
lea rax, [rbp - 0x39]
mov qword [rbp - 0x29], 3
mov r15, rdx
mov qword [rbp - 0x19], rax
lea rdx, [0x140453fb0]
mov r14, r9
mov rbx, r8
call fcn.1400f3d14
lea rdx, [0x140454658]
mov qword [rbp - 9], r15
lea rcx, [0x1404312b8]
call fcn.1400f50f4
lea rdx, [0x140458ba8]
mov qword [rbp - 1], rbx
lea rcx, [0x140434c08]
call fcn.1400f4a64
xor r9d, r9d
lea rax, [rbp + 0x27]
lea rdx, [rbp - 0x29]
mov qword [rbp + 7], rax
lea r8d, [r9 + 0x50]
lea ecx, [r8 + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x39]
xor edi, edi
test esi, esi
jns 0x14008678b
mov ecx, esi
call fcn.14007ac40
jmp 0x1400868d5
lea rax, [0x14003d2dc]
mov qword [rbp - 0x29], 3
mov qword [rbp - 0x21], rax
lea rdx, [0x140454b18]
lea rax, [rbp - 0x35]
mov qword [rbp - 0x11], r15
lea rcx, [0x14043aa60]
mov qword [rbp - 0x19], rax
call fcn.1400f43c0
lea rax, [rbp + 0x27]
mov qword [rbp - 9], rdi
lea rdx, [0x140456450]
mov qword [rbp + 7], rax
lea rcx, [0x140432b30]
mov qword [rbp - 1], rbx
call fcn.1400f470c
lea rax, [rbp - 0x31]
mov dword [rbp + 0xf], edi
mov r15d, 1
mov qword [rbp + 0x1f], rax
lea rdx, [0x140458048]
mov dword [rbp + 0x13], r15d
lea rcx, [0x14043d964]
mov qword [rbp + 0x17], rdi
call fcn.1400f4a64
lea r8d, [r15 + 0x4f]
xor r9d, r9d
lea rdx, [rbp - 0x29]
lea ecx, [r8 + 0x69]
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x35]
cmp ebx, 0xc004d304
je 0x1400868d2
lea rdx, [0x140456a20]
lea rcx, [0x14043c648]
call fcn.1400f4dac
mov esi, ebx
test ebx, ebx
jns 0x140086862
lea rdx, [0x140455468]
lea rcx, [0x140431fa0]
call fcn.1400f3670
mov ecx, ebx
jmp 0x140086781
mov ebx, dword [rbp - 0x31]
mov eax, ebx
and eax, 0xf000
cmp eax, 0xc000
jne 0x1400868bf
and ebx, 0xfff
lea eax, [rbx - 0x401]
cmp eax, 0x95
jbe 0x1400868a7
lea rdx, [0x140456828]
add ebx, 0xfffffb69
lea rcx, [0x140428fcc]
call fcn.1400f3318
cmp ebx, 0x169
ja 0x1400868bf
lea rdx, [0x14045bd00]
mov edi, r15d
lea rcx, [0x140430ea8]
call fcn.1400f39c8
jmp 0x1400868d2
lea rdx, [0x1404599f8]
lea rcx, [0x14042c3f0]
call fcn.1400f406c
mov dword [r14], edi
mov ecx, esi
call fcn.14007ace8
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140388a40
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008935c
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 [0x140451b38]
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 0x1400894ad
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x140089540
mov rdi, qword [0x14045c9a0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov r15d, 1
lea r8, [rsp + 0x40]
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, r14d
lea rdx, [rsp + 0x30]
mov rcx, rdi
lea r12d, [r15 + 1]
mov dword [rsp + 0x20], r12d
call rax
mov ebx, eax
test eax, eax
js 0x14008953e
mov rdi, qword [0x14045c9a0]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x40]
mov rax, qword [0x1403d25b8]
mov rcx, rbx
call rax
mov rax, rbx
mov dword [rsp + 0x28], r15d
mov r9d, esi
mov dword [rsp + 0x20], r12d
lea r8, [rbp - 0x49]
mov rcx, rdi
lea rdx, [rsp + 0x30]
call rax
mov ebx, eax
test eax, eax
jns 0x140089545
mov ecx, eax
call fcn.14007ac40
mov ecx, ebx
call fcn.14007ace8
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.140388a40
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret