joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140083698
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
and dword [rbp - 0x20], 0
lea r8, [rbp + 0x20]
xor eax, eax
mov rsi, rcx
and dword [rcx + 8], eax
xor r9d, r9d
and qword [rbp + 0x20], rax
lea rcx, str.D:PAI_A_OICI_FA___WD_
and qword [rbp + 0x28], rax
xor ebx, ebx
lea edx, [rax + 1]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
call qword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
test eax, eax
jne 0x140083700
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
call fcn.140075fa0
jmp 0x1400837d0
mov rax, qword [rbp + 0x20]
lea r8, str.Global552FFA80_3393_423d_8671_7BA046BB5906
and dword [rbp - 0x10], ebx
lea rcx, [rbp - 0x20]
xor edx, edx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0x20], reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140073320
mov rdi, qword [rbp + 0x28]
test rdi, rdi
jne 0x140083770
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x140083797
lea r8, str.Global552FFA80_3393_423d_8671_7BA046BB5906
xor edx, edx
lea ecx, [rdi + 1]
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rdx, rax
lea rcx, [rbp + 0x28]
call fcn.140073320
mov rdi, qword [rbp + 0x28]
test rdi, rdi
je 0x1400836e5
mov edx, 0x2710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400837ba
cmp eax, 0x80
je 0x1400837b3
cmp eax, 0x102
jne 0x1400837c1
mov ebx, 0x800705b4
jmp 0x1400837ac
test eax, eax
jg 0x14008379f
mov ebx, eax
jmp 0x1400837a8
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
jns 0x1400837d0
mov ecx, ebx
jmp 0x1400836f6
mov ebx, 0x8000ffff
jmp 0x1400837ac
mov dword [rsi + 8], 1
and qword [rbp + 0x28], rbx
mov rdx, rdi
mov rcx, rsi
call fcn.140073320
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp + 0x28]
call fcn.140072cf0
lea rcx, [rbp + 0x20]
call fcn.140093fdc
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140085220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov r14, rcx
mov dword [rsp + 0x40], 0x370035
xor ecx, ecx
mov dword [rsp + 0x44], 0x390042
xor r12d, r12d
mov word [rbp - 0x41], cx
mov r15, r8
mov dword [rsp + 0x48], 0x320044
mov ebx, edx
mov dword [rbp - 0x7d], 0x370035
mov dword [rbp - 0x79], 0x34002d
mov dword [rbp - 0x75], 0x360035
mov dword [rbp - 0x71], 0x2d0030
mov dword [rbp - 0x6d], 0x460034
mov dword [rbp - 0x69], 0x420044
mov dword [rbp - 0x65], 0x39002d
mov dword [rbp - 0x61], 0x430030
mov dword [rbp - 0x5d], 0x2d0036
mov dword [rbp - 0x59], 0x410042
mov dword [rbp - 0x55], 0x330034
mov dword [rbp - 0x51], 0x360046
mov dword [rbp - 0x4d], 0x440043
mov dword [rbp - 0x49], 0x440046
mov dword [rbp - 0x45], 0x450045
mov dword [rbp - 0x39], 0x340038
mov dword [rbp - 0x35], 0x300039
mov dword [rbp - 0x31], 0x350045
mov dword [rbp - 0x2d], 0x350041
mov dword [rbp - 0x29], 0x34002d
mov dword [rbp - 0x25], 0x360044
mov dword [rbp - 0x21], 0x2d0030
mov dword [rbp - 0x1d], 0x390034
mov dword [rbp - 0x19], 0x410043
mov dword [rbp - 0x15], 0x42002d
mov dword [rbp - 0x11], 0x310042
mov dword [rbp - 0xd], 0x2d0030
mov dword [rbp - 9], 0x440046
mov dword [rbp - 5], 0x450033
mov dword [rbp - 1], 0x450041
mov dword [rbp + 3], 0x380044
mov dword [rbp + 7], 0x390044
mov dword [rbp + 0xb], 0x320030
mov word [rbp + 0xf], r12w
call fcn.1400c53f4
test ebx, ebx
lea rdi, [rsp + 0x40]
mov rsi, rax
mov rcx, qword [rax]
lea rax, [rbp - 0x39]
cmovne rdi, rax
mov rbx, qword [rcx + 0x38]
mov rcx, rbx
call qword [0x1403b0a10]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r12
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call rbx
mov ebx, eax
test eax, eax
jns 0x1400853aa
mov ecx, eax
call fcn.140075fa0
jmp 0x1400853c5
mov ecx, dword [rsp + 0x30]
lea rdx, [rsp + 0x34]
call fcn.14018711c
mov ebx, eax
test eax, eax
js 0x1400853a1
mov eax, dword [rsp + 0x34]
mov dword [r15], eax
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.14006f500
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x140085890
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x48
xor r9d, r9d
mov qword [r11 - 0x10], rcx
lea rax, [0x14001d080]
mov qword [r11 - 0x28], 3
mov qword [r11 - 0x20], rax
lea rdx, [r11 - 0x28]
lea rax, [r11 + 8]
mov ecx, 0xb9
lea r8d, [r9 + 0x20]
mov qword [r11 - 0x18], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov eax, dword [rsp + 0x50]
add rsp, 0x48
ret
Function at 0x14008a024
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
and qword [rbp - 0x29], 0
mov r15, rdx
and dword [rbp - 0x21], 0
lea rdx, [0x14042836c]
mov rdi, rcx
mov rsi, r9
lea rcx, [0x14040d3a0]
mov r14, r8
call fcn.14006cf50
and qword [rbp - 0x31], 0
lea rcx, [rbp + 0xf]
call fcn.140071930
lea rdx, [0x140427a58]
lea rcx, [0x14040caa8]
call fcn.14006e3c0
test rsi, rsi
jne 0x14008a0a2
mov ebx, 0x80070057
mov ecx, ebx
call fcn.140075fa0
jmp 0x14008a162
mov rbx, qword [0x14042ae50]
lea rdx, [0x14042799c]
lea rcx, [0x14040ca44]
call fcn.14006d290
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x29]
call fcn.140083630
lea rax, [0x14001c380]
mov qword [rbp + 0x2f], rdi
mov qword [rbp - 0x11], rax
lea rdx, [rbp - 0x19]
lea rax, [rbp + 0x7f]
mov qword [rbp + 0x37], rbx
mov qword [rbp - 9], rax
xor r9d, r9d
lea rax, [rbp + 0xf]
mov qword [rbp - 0x19], 3
mov qword [rbp - 1], rax
mov ecx, 0xb9
lea rax, [rbp - 0x31]
lea r8d, [r9 + 0x28]
mov qword [rbp + 7], rax
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp + 0x7f]
test ebx, ebx
js 0x14008a096
mov rbx, qword [rbp - 0x31]
lea rdx, [0x140425a0c]
lea rcx, [0x1404038d4]
mov rdi, qword [rbx]
call fcn.14006e060
mov rcx, qword [rdi + 0x18]
call qword [0x1403b0a10]
lea r9, [rbp - 0x39]
mov r8, r14
mov rdx, r15
mov rcx, rbx
call qword [rdi + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
test eax, eax
jns 0x14008a15d
mov ecx, eax
jmp 0x14008a098
mov eax, dword [rbp - 0x39]
mov dword [rsi], eax
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp + 0xf]
call fcn.140072a28
lea rdx, [0x140426be4]
lea rcx, [0x140412ab0]
call fcn.14006dce0
lea rcx, [rbp - 0x31]
call fcn.140072510
lea rcx, [rbp - 0x29]
call fcn.140072004
lea r11, [rsp + 0xa0]
mov eax, ebx
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 0x1400902f0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x10], 0
mov rsi, r9
and qword [rbp - 0x18], 0
mov r14, rdx
and qword [rbp - 0x20], 0
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x14009034c
lea rdx, [rbp - 0x18]
call fcn.140070a30
mov ebx, eax
test eax, eax
jns 0x140090341
mov ecx, eax
jmp 0x1400903c8
mov rax, qword [rbp - 0x18]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 0x10]
mov r8d, 2
mov rdx, r14
mov rcx, rdi
call fcn.140070ac0
mov ebx, eax
test eax, eax
js 0x14009033a
lea r8, [rbp + 0x20]
lea rdx, [rbp - 0x20]
call fcn.14008e870
mov dword [rbp + 0x30], eax
mov ebx, eax
test eax, eax
js 0x14009033a
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x14009038b
mov eax, dword [rbp + 0x40]
jmp 0x140090391
mov rsi, rax
mov eax, dword [rbp + 0x20]
mov rcx, qword [rbp - 0x10]
lea rdx, str.ReferralId
mov dword [rsp + 0x28], eax
mov r9d, 1
xor r8d, r8d
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x30]
call fcn.140075580
mov ebx, dword [rbp + 0x30]
test eax, eax
jne 0x1400903cd
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x20]
call fcn.1400726b8
lea rcx, [rbp - 0x18]
call fcn.140072d18
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x1400905a8
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
mov qword [rax + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 0x18], 0
mov rdi, r9
and qword [rbp - 0x10], 0
lea r9, [rbp - 0x18]
and qword [rbp - 0x20], 0
mov rcx, 0xffffffff80000003
mov r8d, 2
call fcn.140070ac0
mov ebx, eax
test eax, eax
jns 0x1400905f5
mov ecx, eax
jmp 0x140090656
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x20]
call fcn.14008e870
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400905f1
mov rax, qword [rbp - 0x20]
test rax, rax
jne 0x140090619
mov eax, dword [rbp + 0x30]
jmp 0x14009061f
mov rdi, rax
mov eax, dword [rbp + 0x10]
mov rcx, qword [rbp - 0x18]
lea rdx, [0x1403b9100]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.140075580
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x14009065b
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x20]
call fcn.1400726b8
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea rcx, [rbp - 0x18]
call fcn.140072d18
mov rdi, qword [rsp + 0x78]
mov eax, ebx
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rbp
ret
Function at 0x140090cd0
Capabilities:
Get system information on windows

Disassembly:
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x58], 0
mov r14, r8
and qword [rbp - 0x50], 0
mov rdi, rcx
and dword [rcx], 0
cmp qword [rcx + 0x18], 0
jne 0x140090d0f
mov ebx, 0xc004f07a
mov ecx, ebx
call fcn.140075fa0
jmp 0x140090e04
mov edx, 1
lea r8, [rbp + 0x30]
lea ecx, [rdx + 2]
call fcn.14008e650
mov ebx, eax
test eax, eax
jns 0x140090d2a
mov ecx, eax
jmp 0x140090d05
mov esi, dword [rbp + 0x30]
lea r8, [rbp + 0x30]
mov ecx, esi
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14008e7f0
mov ebx, eax
test eax, eax
js 0x140090d26
mov rdx, qword [rbp + 0x30]
mov ebx, 0x40
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140072fb8
mov rax, qword [rbp - 0x58]
test rax, rax
jne 0x140090d70
mov ebx, 0x8007000e
jmp 0x140090d03
movups xmm0, xmmword [r14]
mov dword [rbp + 0x48], 0x10000
lea rcx, [rbp + 0x48]
movups xmm1, xmmword [r14 + 0x10]
mov dword [rax], 4
lea rdx, [rbp - 0x48]
mov qword [rax + 8], rcx
xor r9d, r9d
movups xmmword [rax + 0x10], xmm0
lea rcx, [0x140024240]
mov r8, rbx
movups xmm0, xmmword [r14 + 0x20]
movups xmmword [rax + 0x20], xmm1
movups xmmword [rax + 0x30], xmm0
mov qword [rbp - 0x20], rax
mov rax, qword [rdi + 0x18]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x38]
mov qword [rbp - 0x40], rcx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x18], rax
lea rax, [rdi + 4]
mov qword [rbp - 0x38], rcx
mov ecx, 0xb9
mov qword [rbp - 0x10], rax
mov dword [rbp + 0x38], SafeArrayGetElement
mov qword [rbp - 0x48], 3
mov dword [rbp - 0x28], esi
call sub.ntdll.dll_NtQuerySystemInformation
mov ebx, dword [rbp - 0x60]
test ebx, ebx
js 0x140090d03
mov eax, dword [rbp + 0x38]
mov dword [rdi], eax
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x50]
call fcn.140093fdc
lea rcx, [rbp - 0x58]
call fcn.140072718
mov eax, ebx
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14009c4fc
Capabilities:
Delete registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x20
and qword [rax + 8], 0
lea r9, [rax + 8]
mov rdi, r8
lea rdx, [0x1403baca0]
mov r8d, 2
mov rcx, 0xffffffff80000002
call fcn.140070ac0
mov dword [rsp + 0x38], eax
mov ebx, eax
test eax, eax
jns 0x14009c543
mov ecx, eax
jmp 0x14009c567
mov rcx, qword [rsp + 0x30]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, eax
lea rdx, [rsp + 0x38]
call fcn.140075580
mov ebx, dword [rsp + 0x38]
test eax, eax
jne 0x14009c56c
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x30]
call fcn.140072d18
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14009dee8
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 [0x140422d38]
xor rax, rsp
mov qword [rbp + 0x2f], rax
lea rax, [0x140022840]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
mov r12, rdx
lea rax, [rbp - 0x49]
mov rbx, rcx
lea rdx, [0x1404243d0]
mov qword [rbp - 0x29], rax
lea rcx, [0x140410468]
mov r15, r9
mov r14, r8
call fcn.14006e060
xor r9d, r9d
mov qword [rbp - 0x21], rbx
lea rax, [rbp + 0x1f]
mov qword [rbp - 0x19], r12
lea rdx, [rbp - 0x39]
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], rax
lea ebx, [r9 + 0x58]
mov r8d, ebx
lea ecx, [rbx + 0x61]
call sub.ntdll.dll_NtQuerySystemInformation
mov esi, dword [rbp - 0x49]
xor edi, edi
test esi, esi
jns 0x14009dfa0
mov ecx, esi
call fcn.140075fa0
lea rdx, [0x140424af0]
lea rcx, [0x140410c00]
call fcn.14006cf50
jmp 0x14009e086
lea rax, [0x1400221c0]
mov qword [rbp - 0x39], 3
mov qword [rbp - 0x31], rax
lea rdx, [0x140427650]
lea rax, [rbp - 0x45]
lea rcx, [0x14040c74c]
mov qword [rbp - 0x29], rax
call fcn.14006d290
lea rax, [rbp + 0x1f]
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 + 0x17], rax
mov r8, rbx
mov qword [rbp - 0x11], r14
mov ecx, 0xb9
mov dword [rbp - 1], edi
mov dword [rbp + 7], 1
mov qword [rbp + 0xf], rdi
call sub.ntdll.dll_NtQuerySystemInformation
mov ecx, dword [rbp - 0x45]
cmp ecx, 0xc004d304
je 0x14009e083
mov esi, ecx
test ecx, ecx
jns 0x14009e024
call fcn.140075fa0
jmp 0x14009e086
mov ebx, dword [rbp - 0x41]
mov r12d, 0xfff
mov r14d, ebx
and r14d, 0xf000
cmp r14d, 0xc000
jne 0x14009e051
mov eax, ebx
and eax, r12d
sub eax, 0x401
cmp eax, 0x95
jbe 0x14009e07e
lea rdx, [0x140427f80]
lea rcx, [0x140406320]
call fcn.14006dce0
cmp r14d, 0xc000
jne 0x14009e083
and ebx, r12d
sub ebx, 0x497
cmp ebx, 0x169
ja 0x14009e083
mov edi, 1
mov dword [r15], edi
mov ecx, esi
call fcn.140083bac
lea rdx, [0x140425cd8]
lea rcx, [0x14040afb0]
call fcn.14006e3c0
mov eax, esi
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14006f500
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 0x14009f3bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x40
xor edi, edi
lea rdx, [0x1403baca0]
mov rsi, r9
mov qword [rax - 0x28], rdi
mov rbp, r8
lea r9, [rax - 0x28]
mov rcx, 0xffffffff80000002
lea r8d, [rdi + 1]
call fcn.140070ac0
mov dword [rsp + 0x68], eax
mov ebx, eax
test eax, eax
jns 0x14009f40c
mov ecx, eax
call fcn.140075fa0
jmp 0x14009f45c
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14009f455
cmp eax, 2
je 0x14009f45a
lea rdx, [rsp + 0x68]
mov ecx, eax
call fcn.140075580
mov ebx, dword [rsp + 0x68]
test eax, eax
jne 0x14009f45a
mov ecx, ebx
jmp 0x14009f405
mov edi, 1
mov dword [rsi], edi
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x30]
call fcn.140072d18
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a5310
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x50
and qword [rbp - 8], 0
mov rsi, r9
and qword [rbp - 0x10], 0
mov r15, r8
and qword [rbp - 0x18], 0
mov r14, rdx
mov rdi, rcx
cmp rcx, 0xffffffff80000001
jne 0x1400a5370
lea rdx, [rbp - 0x10]
call fcn.140070a30
mov ebx, eax
test eax, eax
jns 0x1400a5365
mov ecx, eax
jmp 0x1400a53e8
mov rax, qword [rbp - 0x10]
test rax, rax
cmovne rdi, rax
lea r9, [rbp - 8]
mov r8d, 2
mov rdx, r14
mov rcx, rdi
call fcn.140070ac0
mov ebx, eax
test eax, eax
js 0x1400a535e
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x18]
call fcn.14008e870
mov dword [rbp + 0x20], eax
mov ebx, eax
test eax, eax
js 0x1400a535e
mov rax, qword [rbp - 0x18]
test rax, rax
jne 0x1400a53af
mov eax, dword [rbp + 0x40]
jmp 0x1400a53b5
mov rsi, rax
mov eax, dword [rbp - 0x20]
mov rcx, qword [rbp - 8]
mov r9d, 3
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, eax
lea rdx, [rbp + 0x20]
call fcn.140075580
mov ebx, dword [rbp + 0x20]
test eax, eax
jne 0x1400a53ed
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rbp - 0x18]
call fcn.1400726b8
lea rcx, [rbp - 0x10]
call fcn.140072d18
lea rcx, [rbp - 8]
call fcn.140072d18
lea r11, [rsp + 0x50]
mov eax, ebx
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400a6670
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 [0x140422d38]
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 0x1400a67c1
mov ebx, 0x80070057
mov ecx, ebx
jmp 0x1400a684a
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rdx
call fcn.1400c53f4
mov rdi, rax
mov rax, qword [rax]
mov rbx, qword [rax + 0x40]
mov rcx, rbx
call qword [0x1403b0a10]
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 0x1400a6848
call fcn.1400c53f4
mov rdi, rax
mov rcx, qword [rax]
mov rbx, qword [rcx + 0x40]
mov rcx, rbx
call qword [0x1403b0a10]
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 0x1400a684f
mov ecx, eax
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14006f500
add rsp, 0xf8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400a7130
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x140422d38]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rcx, [rsp + 0x20]
call fcn.1400a6cf4
lea rdx, [0x140424958]
lea rcx, [0x140410a50]
call fcn.14006dce0
mov r8d, 0x104
lea rdx, [rsp + 0x30]
lea rcx, str.systemroot
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x1400a71bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
lea rcx, [0x1404053f8]
mov ebx, eax
lea rdx, [0x140427218]
call fcn.14006e060
lea rdx, [0x140428050]
lea rcx, [0x1404063e8]
call fcn.14006cf50
jmp 0x1400a7225
lea rdx, [rsp + 0x30]
lea rcx, str.windir
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
test eax, eax
jne 0x1400a71e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
jmp 0x1400a7227
lea rcx, [rsp + 0x20]
call fcn.1400a7014
lea rdx, [0x140429210]
mov ebx, eax
lea rcx, [0x14040e1d0]
call fcn.14006e3c0
test ebx, ebx
js 0x1400a7225
call fcn.1400a796c
lea rdx, [0x140427bac]
mov ebx, eax
lea rcx, [0x14040cc30]
call fcn.14006d290
test ebx, ebx
jns 0x1400a722c
mov ecx, ebx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
lea rcx, [rsp + 0x20]
call fcn.1400a6d3c
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14006f500
add rsp, 0x250
pop rbx
ret

Function at 0x1400a7fd4
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
call fcn.140069d14
call fcn.1400a7130
lea rdx, [0x1404241d8]
mov esi, eax
lea rcx, [0x140409650]
call fcn.14006cc00
call fcn.140069dd4
lea rdx, [0x14042508c]
lea rcx, [0x140411040]
call fcn.14006c510
xor edi, edi
test esi, esi
jns 0x1400a803c
mov ecx, esi
call fcn.140075fa0
lea rdx, [0x140429898]
lea rcx, [0x14040f330]
call fcn.14006d980
jmp 0x1400a806d
mov eax, dword [0x14042ad90]
mov ebx, edi
test eax, eax
sete bl
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
lea rdx, [0x140425d40]
lea rcx, [0x140411cf4]
call fcn.14006d630
mov ecx, esi
call fcn.140083bac
test esi, esi
lea rdx, [0x140425e78]
lea rcx, [0x14040b120]
sets dil
call fcn.14006c890
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400af438
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
je 0x1400af482
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400af46a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140075438
mov ebx, eax
mov ecx, eax
jmp 0x1400af489
test al, 1
je 0x1400af48e
and eax, 0xfffffffe
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400af48e
jmp 0x1400af457
mov ecx, 0x80070057
mov ebx, ecx
call fcn.140075fa0
mov ecx, ebx
call fcn.140083bac
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret