joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400208b0
Capabilities:
Write file on windows

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xd8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
call fcn.140028220
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x50]
call fcn.140028280
movzx eax, al
test eax, eax
je 0x140020906
lea rcx, [rsp + 0xe8]
call fcn.140028230
jmp 0x140020b7a
mov rcx, qword [rsp + 0xe0]
call fcn.140026bf0
test rax, rax
je 0x140020972
mov rcx, qword [rsp + 0xe0]
call fcn.140026bf0
mov qword [rsp + 0x60], rax
mov rcx, qword [rsp + 0xe0]
call fcn.140026e40
mov rcx, qword [rsp + 0x60]
cmp rcx, rax
jae 0x140020972
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x40], al
mov rcx, qword [rsp + 0xe0]
call fcn.140026ce0
movzx ecx, byte [rsp + 0x40]
mov byte [rax], cl
mov eax, dword [rsp + 0xe8]
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x80], 0
jne 0x14002098e
call fcn.140028220
jmp 0x140020b7a
mov rcx, qword [rsp + 0xe0]
call fcn.140025b00
mov rax, qword [rsp + 0xe0]
cmp qword [rax + 0x68], 0
jne 0x140020a04
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x41], al
mov rdx, qword [rsp + 0x68]
movzx ecx, byte [rsp + 0x41]
call fcn.140017d20
movzx eax, al
test eax, eax
je 0x1400209f2
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x48], eax
jmp 0x1400209fb
call fcn.140028220
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
jmp 0x140020b7a
mov qword [rsp + 0x78], 0x20
lea rcx, [rsp + 0xe8]
call fcn.140020ba0
mov byte [rsp + 0x90], al
mov rax, qword [rsp + 0xe0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xb8]
lea rcx, [rsp + 0x91]
mov rdx, qword [rsp + 0xe0]
add rdx, 0x74
lea r8, [rsp + 0x80]
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, rcx
lea r8, [rsp + 0x90]
mov rcx, qword [rsp + 0x70]
call fcn.140025980
mov dword [rsp + 0x44], eax
cmp dword [rsp + 0x44], 0
je 0x140020ab1
cmp dword [rsp + 0x44], 1
je 0x140020ab1
cmp dword [rsp + 0x44], 3
je 0x140020b36
jmp 0x140020b75
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jbe 0x140020b08
mov rax, qword [rsp + 0xe0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x58]
mov edx, 1
lea rcx, [rsp + 0x98]
call fcn.1401e0a84
cmp qword [rsp + 0x58], rax
je 0x140020b08
call fcn.140028220
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
mov byte [rax + 0x71], 1
lea rax, [rsp + 0x90]
cmp qword [rsp + 0x88], rax
je 0x140020b2f
mov eax, dword [rsp + 0xe8]
jmp 0x140020b7a
call fcn.140028220
jmp 0x140020b7a
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rax + 0x80]
movzx ecx, byte [rsp + 0x90]
call fcn.140017d20
movzx eax, al
test eax, eax
je 0x140020b66
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x4c], eax
jmp 0x140020b6f
call fcn.140028220
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
jmp 0x140020b7a
call fcn.140028220
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xd8
ret
Function at 0x140025bb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x68], 0
je 0x140025bed
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140025bf4
mov al, 1
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x50], rax
call fcn.140028220
mov dword [rsp + 0x38], eax
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
call qword [rsp + 0x50]
mov dword [rsp + 0x3c], eax
call fcn.140028220
mov dword [rsp + 0x40], eax
lea rdx, [rsp + 0x3c]
lea rcx, [rsp + 0x40]
call fcn.140028280
movzx eax, al
test eax, eax
je 0x140025c4b
xor al, al
jmp 0x140025d4c
mov qword [rsp + 0x60], 0x20
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x90]
mov rcx, qword [rsp + 0xb0]
add rcx, 0x74
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x70]
mov rdx, rcx
mov rcx, qword [rsp + 0x58]
call fcn.140029bf0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
je 0x140025cba
cmp dword [rsp + 0x30], 1
je 0x140025cc6
cmp dword [rsp + 0x30], 3
je 0x140025d3a
jmp 0x140025d4a
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jbe 0x140025d11
mov rax, qword [rsp + 0xb0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x48]
mov edx, 1
lea rcx, [rsp + 0x70]
call fcn.1401e0a84
cmp qword [rsp + 0x48], rax
je 0x140025d11
xor al, al
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x140025d2b
mov dword [rsp + 0x34], 1
jmp 0x140025d33
mov dword [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
jmp 0x140025d4c
mov rax, qword [rsp + 0xb0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x140025d4c
xor al, al
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xa8
ret

Function at 0x1400359d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rdx
mov rbx, rcx
mov ecx, 8
call fcn.1401a9cf4
test rax, rax
je 0x140035a01
mov qword [rax], rdi
mov qword [rsp + 0x30], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x14003c310]
xor edx, edx
xor ecx, ecx
call fcn.1401e96a4
mov qword [rbx], rax
test rax, rax
je 0x140035a4d
mov rax, rbx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1401a9a30
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.1401acd28
int3
Function at 0x140045980
Capabilities:
Create restart manager session

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
xor eax, eax
mov dword [rcx], 0xffffffff
movzx edi, dl
mov qword [rcx + 0x48], rax
xor edx, edx
mov qword [rcx + 0x50], rax
lea r8, [rcx + 4]
mov rbx, rcx
call sub.RstrtMgr.DLL_RmStartSession
mov esi, eax
test eax, eax
je 0x1400459bb
test dil, dil
je 0x1400459ce
mov rsi, qword [rsp + 0x68]
mov rax, rbx
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_start_Restart_Manager_Session
mov edx, esi
lea rcx, [rsp + 0x20]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rsp + 0x20]
call fcn.1401cfc8c
int3
Function at 0x14005d340
Capabilities:
Enumerate processes that use resource

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, qword [rsp + 0xe0]
mov rdi, rcx
mov rcx, qword [rcx + 0x48]
mov r14d, r9d
mov r12, qword [rsp + 0xf0]
mov rbp, r8
mov ebx, edx
test rcx, rcx
je 0x14005d391
mov dword [rdi + 0x50], 0
call fcn.1401a9a50
mov eax, dword [rsp + 0xe8]
mov r9d, r14d
mov ecx, dword [rdi]
mov r8, rbp
mov qword [rsp + 0x30], r12
mov edx, ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r15
call sub.RstrtMgr.DLL_RmRegisterResources
mov ebx, eax
test eax, eax
jne 0x14005d462
mov r9, qword [rdi + 0x48]
lea r8, [rdi + 0x50]
mov ecx, dword [rdi]
lea rdx, [rsp + 0x68]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
call sub.RstrtMgr.DLL_RmGetList
mov ebx, eax
cmp eax, 0xea
je 0x14005d3f8
test eax, eax
jne 0x14005d48f
jmp 0x14005d443
mov eax, dword [rsp + 0x68]
mov rcx, 0xffffffffffffffff
mov dword [rdi + 0x50], eax
mov edx, eax
mov eax, 0x29c
mul rdx
cmovo rax, rcx
mov rcx, rax
call fcn.1401aa2f0
lea rcx, [rsp + 0x6c]
mov qword [rdi + 0x48], rax
mov qword [rsp + 0x20], rcx
lea r8, [rdi + 0x50]
mov ecx, dword [rdi]
lea rdx, [rsp + 0x68]
mov r9, rax
call sub.RstrtMgr.DLL_RmGetList
mov ebx, eax
test eax, eax
jne 0x14005d4bc
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_register_resources_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_call_RmGetList_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_call_RmGetList_in_Restart_Manager
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140047a10
lea rdx, [0x1402ba7f0]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3
Function at 0x140073f70
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rcx, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov ebx, eax
test eax, eax
jne 0x140073fdc
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x80
pop rbx
ret
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, ebx
lea rcx, [rsp + 0x40]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3
Function at 0x1400772f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov r14, r9
mov rbp, r8
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rdx
xor r15d, r15d
mov dword [rsp + 0x70], r15d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9d, [r15 + 2]
mov r8, r14
mov rdx, rbp
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov edi, eax
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov qword [rsp + 0x88], r15
mov edx, dword [rsp + 0x70]
shr rdx, 1
je 0x140077380
lea r8, [rsp + 0x40]
lea rcx, [rsp + 0x78]
call fcn.14003eb20
nop dword [rax]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 2
mov r8, r14
mov rdx, rbp
mov rcx, qword [rsi]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14007743f
cmp byte [rsp + 0x100], 0
jne 0x1400774b9
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14007741c
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400774e6
call fcn.1401a9a50
mov rax, rbx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0xa8
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov qword [rbx], r15
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
mov rdx, qword [rsp + 0x78]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], 0
jne 0x140077460
mov rcx, rbx
call fcn.140018360
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14007741c
mov rdx, qword [rsp + 0x88]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077417
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400774e6
jmp 0x140077417
call fcn.140015e70
mov r8, rax
lea r9, str.Unable_to_get_registry_value
mov edx, edi
lea rcx, [rsp + 0x48]
call fcn.140046020
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x48]
call fcn.1401cfc8c
nop
call fcn.1401e3dbc
int3
Function at 0x14009bb50
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
mov dword [rsp + 0x88], r8d
cmp qword [rdx + 0x18], 8
jb 0x14009bb84
mov rdx, qword [rdx]
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
test eax, eax
jne 0x14009bbd2
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401a9a30
mov rbx, qword [rsp + 0xc8]
add rsp, 0xa0
pop rdi
ret
lea r8, [rsp + 0x88]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400422b0
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.140052070
mov rbx, rax
call fcn.140015e70
mov r8, rax
mov r9, rbx
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140045fe0
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3

Function at 0x14009bc20
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x90
mov rdi, r8
mov rbx, rdx
mov eax, dword [r8 + 0x10]
lea r8d, [rax*2 + 2]
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x14009bc4a
mov rax, qword [rdi]
cmp qword [rdx + 0x18], 8
jb 0x14009bc54
mov rdx, qword [rdx]
mov dword [rsp + 0x28], r8d
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
test eax, eax
jne 0x14009bc81
add rsp, 0x90
pop rdi
pop rsi
pop rbx
ret
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400422b0
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.1400521d0
mov rbx, rax
call fcn.140015e70
mov r8, rax
mov r9, rbx
mov edx, esi
lea rcx, [rsp + 0x40]
call fcn.140045fe0
lea rdx, [0x1402ba948]
lea rcx, [rsp + 0x40]
call fcn.1401cfc8c
int3
Function at 0x14009bcd0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov esi, edx
mov rbp, rcx
mov qword [rsp + 0x30], rbx
mov ecx, reloc.msi.dll_MsiOpenDatabaseW
call fcn.1401a9cf4
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14009bd36
mov rdx, rbx
mov rcx, rax
call fcn.1400150a0
mov dword [rdi + 0x40], esi
mov qword [rdi + 0x48], rbp
lea rax, [0x14008e7e0]
mov qword [rdi + 0x50], rax
jmp 0x14009bd38
xor edi, edi
mov qword [rsp + 0x50], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x14003c340]
xor edx, edx
xor ecx, ecx
call fcn.1401e96a4
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009bdf4
cmp dword [rsp + 0x48], 0
je 0x14009be07
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.1401ae4cc
test eax, eax
jne 0x14009bdec
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
mov eax, dword [rbx + 0x38]
and eax, 3
sub rax, 1
je 0x14009bdb4
cmp rax, 1
jne 0x14009bdc1
mov rcx, rbx
jmp 0x14009bdb8
mov rcx, qword [rbx + 0x28]
mov rax, qword [rbx + 0x30]
mov rdx, qword [rax]
call rdx
mov qword [rbx + 0x38], 0
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov ecx, eax
call fcn.1401accec
nop
mov dword [rsp + 0x48], 0
mov ecx, 6
call fcn.1401acd28
nop
mov ecx, 1
call fcn.1401acd28
int3
Function at 0x1400a6480
Capabilities:
Set registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, r8
mov dword [rsp + 0x58], r9d
lea rax, [rsp + 0x50]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rdi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r8d, r8d
test eax, eax
jne 0x1400a64fa
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x58]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x1400a6536
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rdx, rsi
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400a6534
xor r8d, r8d
jmp 0x1400a64c5
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400a6550
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, r9
lea rax, [rsp + 0x50]
mov rdi, r8
mov qword [rsp + 0x50], rbx
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rbp, rdx
mov rsi, rcx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400a65e4
cmp qword [rbx + 0x18], 8
mov eax, dword [rbx + 0x10]
lea ecx, [rax*2 + 2]
mov rax, rbx
jb 0x1400a65ad
mov rax, qword [rbx]
mov dword [rsp + 0x28], ecx
mov r9d, 1
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rbx
call fcn.1400272a0
mov al, 1
jmp 0x1400a662a
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rcx
mov rdx, rbp
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x1400a6596
mov rcx, rbx
call fcn.1400272a0
xor al, al
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x68
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a6d20
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x80
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], 7
mov word [rsp + 0x58], bx
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1400a6d60
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140018360
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x28], 3
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x42], xmm0
mov dword [rsp + 0x52], ebx
mov word [rsp + 0x56], bx
mov qword [rsp + 0x38], rbx
mov eax, 0x614
mov word [rsp + 0x40], ax
xor edx, edx
lea rcx, [rsp + 0x58]
call fcn.14009a910
lea rax, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400a6e17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a6e12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a6e30
call fcn.1401a9a50
movzx eax, bl
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1401a9a30
add rsp, 0x80
pop rbx
ret
call fcn.1401e3dbc
int3
Function at 0x1400a78e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x1402bf5c8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov qword [rsp + 0x70], rsi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], si
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREATI_TechnologiesInstaller
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400a7968
mov rcx, rbx
call fcn.1400a6e40
jmp 0x1400a7a9d
mov word [rbp - 0x70], si
mov dword [rsp + 0x6c], esi
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
xor r8d, r8d
lea rdx, str.BaseLocation
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400a79e5
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x1400a79b4
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x70]
call fcn.140018360
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
jmp 0x1400a7a81
lea rcx, [rsp + 0x40]
call fcn.1400a6e40
mov rdi, rax
lea rax, [rsp + 0x70]
cmp rax, rdi
je 0x1400a7a30
lea rcx, [rsp + 0x70]
call fcn.1400272a0
movups xmm1, xmmword [rdi]
movups xmmword [rsp + 0x70], xmm1
movups xmm0, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x30], xmm0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 7
mov word [rdi], si
jmp 0x1400a7a43
movups xmm0, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm0
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400a7a81
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a7a7c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400a7ac8
call fcn.1401a9a50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbx], xmm0
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx + 0x10], xmm0
mov rax, rbx
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.1401a9a30
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1401e3dbc
nop
int3