joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14023ee48
Capabilities:
Delete registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp + 0x3f], rax
and qword [rbp - 0x21], 0
lea r8, [0x1403a9ce8]
mov rdi, rcx
mov rbx, rdx
lea rcx, [rbp + 0x1f]
call fcn.1400b9f70
mov rdx, rax
lea rcx, [rbp - 1]
mov r8, rdi
call fcn.1400f0a08
lea rcx, [rbp + 0x1f]
call fcn.14007a7c0
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 1]
call fcn.14023f864
mov esi, eax
test eax, eax
je 0x14023ef2d
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023ef07
cmp qword [rbp + 0x17], 8
lea rcx, [rbp - 1]
lea rdx, [0x14044c3ad]
mov dword [rbp - 0x29], esi
cmovae rcx, qword [rbp - 1]
xor r8d, r8d
mov qword [rbp - 0x19], rcx
lea rcx, str.Could_not_open_the_registry_key
mov qword [rbp - 0x11], rcx
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140008b90
test esi, esi
jle 0x14023ef14
movzx esi, si
or esi, 0x80070000
lea rcx, [rbp - 1]
call fcn.14007a7c0
lea rcx, [rbp - 0x21]
call fcn.1400f8348
mov eax, esi
jmp 0x14023f043
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntdll.dll_NtDeleteKey]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14023efd4
cmp eax, 0xc0000034
je 0x14023efd4
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023efb9
cmp qword [rbx + 0x18], 8
jb 0x14023ef66
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x11], rbx
jb 0x14023ef74
mov rdi, qword [rdi]
lea rcx, str.Failed_to_delete_registry_subkey
mov qword [rbp - 0x19], rdi
mov qword [rbp - 9], rcx
lea rdx, [0x14044c44c]
lea rcx, [rbp - 0x11]
mov dword [rbp - 0x29], esi
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x29]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 9]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000f6ac
lea rcx, [rbp - 1]
call fcn.14007a7c0
lea rcx, [rbp - 0x21]
call fcn.1400f8348
bts esi, 0x1c
jmp 0x14023ef26
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023f02f
cmp qword [rbx + 0x18], 8
jb 0x14023efe8
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 9], rbx
jb 0x14023eff6
mov rdi, qword [rdi]
lea rcx, str.Deleted_registry_subkey
mov qword [rbp - 0x11], rdi
mov qword [rbp - 0x19], rcx
lea rdx, [0x14044c48a]
lea rcx, [rbp - 9]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x11]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x19]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400092bc
lea rcx, [rbp - 1]
call fcn.14007a7c0
lea rcx, [rbp - 0x21]
call fcn.1400f8348
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140112420
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x14023f06c
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
and qword [rbp + 0x38], 0
mov rdi, rdx
mov rbx, rcx
lea rdx, [rbp + 0x38]
mov rcx, rdi
call fcn.14023f864
mov esi, eax
test eax, eax
je 0x14023f0fe
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023f0eb
cmp qword [rdi + 0x18], 8
jb 0x14023f0ac
mov rdi, qword [rdi]
lea rcx, str.Could_not_open_the_registry_key
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rcx
lea rdx, [0x14044c416]
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x30], esi
mov qword [rsp + 0x30], rcx
xor r8d, r8d
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140008b90
test esi, esi
jle 0x14023f179
movzx esi, si
or esi, 0x80070000
jmp 0x14023f179
cmp qword [rbx + 0x18], 8
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov rdx, rbx
jb 0x14023f113
mov rdx, qword [rbx]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
nop dword [rax + rax]
test al, al
jne 0x14023f189
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023f16b
cmp qword [rbx + 0x18], 8
jb 0x14023f13b
mov rbx, qword [rbx]
lea rcx, str.Could_not_create_a_UNICODE_STRING_to_hold_valueName
mov qword [rbp + 0x30], rbx
mov qword [rbp - 0x28], rcx
lea rdx, [0x14044c53c]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400056ec
lea rcx, [rbp - 0x30]
call fcn.14023ec2c
mov esi, 0x80070057
lea rcx, [rbp + 0x38]
call fcn.1400f8348
mov eax, esi
jmp 0x14023f2a3
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_NtDeleteValueKey]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14023f234
cmp eax, 0xc0000034
je 0x14023f234
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023f219
cmp qword [rdi + 0x18], 8
jb 0x14023f1c6
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
mov qword [rbp - 0x28], rdi
jb 0x14023f1d4
mov rbx, qword [rbx]
lea rcx, str.Failed_to_delete_registry_value
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rcx
lea rdx, [0x14044c4c1]
lea rcx, [rbp - 0x28]
mov dword [rbp + 0x30], esi
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000f6ac
lea rcx, [rbp - 0x30]
call fcn.14023ec2c
lea rcx, [rbp + 0x38]
call fcn.1400f8348
bts esi, 0x1c
jmp 0x14023f182
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023f28f
cmp qword [rdi + 0x18], 8
jb 0x14023f248
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
mov qword [rbp + 0x30], rdi
jb 0x14023f256
mov rbx, qword [rbx]
lea rcx, str.Delete_registry_value
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rcx
lea rdx, [0x14044c502]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400092bc
lea rcx, [rbp - 0x30]
call fcn.14023ec2c
lea rcx, [rbp + 0x38]
call fcn.1400f8348
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x14023f2bc
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push rbp
push r14
push r15
lea rbp, [r11 - 0x47]
sub rsp, 0x90
mov r12, qword [rbp + 0x6f]
mov rsi, r9
mov rax, qword [rbp + 0x7f]
mov r14, r8
and qword [rbp - 9], 0
mov rbx, rcx
and dword [rbp - 0x11], 0
lea rcx, [rbp - 9]
and dword [rbp + 0x6f], 0
mov r9d, 8
mov qword [r11 - 0x68], rax
mov r8, rsi
lea rax, [rbp + 0x6f]
mov byte [r12], 1
mov qword [r11 - 0x70], rax
mov rdi, rdx
lea rax, [rbp - 0x11]
mov qword [r11 - 0x78], rax
mov eax, dword [rbp + 0x77]
mov dword [rsp + 0x28], eax
mov byte [rsp + 0x20], 0
call fcn.1400ab80c
test eax, eax
je 0x14023f34b
mov rdx, r14
mov rcx, rbx
call fcn.140077400
jmp 0x14023f443
mov edx, dword [rbp + 0x6f]
lea rcx, [rbp + 0x17]
call fcn.1400b73f8
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x14023f364
mov r8, qword [rdi]
mov rcx, qword [rbp - 9]
lea rax, [rbp - 0x11]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rbp + 0x17]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9d, [rdx + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
mov r15d, eax
test eax, eax
je 0x14023f411
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023f404
cmp qword [rsi + 0x18], 8
mov dword [rbp + 0x6f], r15d
jb 0x14023f3b1
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 1], rsi
jb 0x14023f3bf
mov rdi, qword [rdi]
lea rcx, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp + 7], rdi
mov qword [rbp + 0xf], rcx
lea rdx, [0x14044c7f6]
lea rcx, [rbp + 0x6f]
xor r8d, r8d
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 1]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 7]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001fa0
mov rdx, r14
mov rcx, rbx
call fcn.140077400
jmp 0x14023f43a
mov rax, qword [rbp + 0x17]
xorps xmm0, xmm0
mov byte [r12], 0
mov qword [rbx], rax
mov rax, qword [rbp + 0x1f]
mov qword [rbx + 8], rax
mov rax, qword [rbp + 0x27]
and qword [rbp + 0x27], 0
mov qword [rbx + 0x10], rax
movdqu xmmword [rbp + 0x17], xmm0
lea rcx, [rbp + 0x17]
call fcn.14007a750
lea rcx, [rbp - 9]
call fcn.1400f8348
lea r11, [rsp + 0x90]
mov rax, rbx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14023f6d4
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, r9
mov r14, r8
mov rdi, rdx
mov rsi, rcx
xor ebx, ebx
mov qword [rbp - 0x28], rbx
mov r9d, 0x20019
mov r8, rax
lea rdx, [rbp - 0x28]
mov rcx, rdi
call fcn.1400b2da8
mov dword [r14], eax
test eax, eax
je 0x14023f782
call fcn.140091ae4
mov rcx, rax
cmp dword [rax], 3
jbe 0x14023f83a
mov dword [rbp - 0x30], ebx
cmp qword [rdi + 0x18], 8
jb 0x14023f738
mov rdi, qword [rdi]
mov qword [rbp - 0x20], rdi
mov eax, dword [r14]
mov dword [rbp - 0x2c], eax
lea rax, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
lea rdx, [0x14044c837]
call fcn.140003b00
jmp 0x14023f83a
mov dword [rbp + 0x30], ebx
mov rdx, rsi
cmp qword [rsi + 0x18], 8
jb 0x14023f792
mov rdx, qword [rsi]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x30]
xor r8d, r8d
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov dword [r14], eax
test eax, eax
je 0x14023f837
call fcn.140091ae4
mov rcx, rax
cmp dword [rax], 4
jbe 0x14023f830
mov dword [rbp - 0x2c], ebx
mov eax, dword [r14]
mov dword [rbp - 0x30], eax
cmp qword [rdi + 0x18], 8
jb 0x14023f7da
mov rdi, qword [rdi]
mov qword [rbp - 0x18], rdi
cmp qword [rsi + 0x18], 8
jb 0x14023f7e8
mov rsi, qword [rsi]
mov qword [rbp - 0x20], rsi
lea rax, str.Failed_to_read_registry_value_type._Return_default_value
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
lea rdx, [0x14044c7a7]
call fcn.140006274
mov ebx, SafeArrayGetDim
jmp 0x14023f83a
mov ebx, dword [rbp + 0x30]
lea rcx, [rbp - 0x28]
call fcn.1400f8348
mov eax, ebx
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14023f940
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
and qword [rbp - 0x30], 0
mov rsi, rdx
mov rdi, rcx
movzx r15d, r9b
mov rdx, r8
lea rcx, [rbp - 0x30]
mov r14, r8
call fcn.14023ec50
mov ebx, eax
test eax, eax
je 0x14023f990
jle 0x14023fae8
movzx ebx, ax
jmp 0x14023fa6c
mov eax, dword [rsi + 0x10]
lea r9d, [r15*2 + 1]
add eax, eax
cmp byte [rbp + 0x40], 0
lea ecx, [rax + 2]
cmove ecx, eax
cmp qword [rsi + 0x18], 8
mov rax, rsi
jb 0x14023f9b4
mov rax, qword [rsi]
cmp qword [rdi + 0x18], 8
mov rdx, rdi
jb 0x14023f9c1
mov rdx, qword [rdi]
mov dword [rsp + 0x28], ecx
xor r8d, r8d
mov rcx, qword [rbp - 0x30]
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14023fa74
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023fa65
cmp qword [rsi + 0x18], 8
jb 0x14023f9fb
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
mov qword [rbp - 0x28], rsi
jb 0x14023fa09
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x20], r14
jb 0x14023fa17
mov rdi, qword [rdi]
lea rcx, str.Failed_to_set_registry_key
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], rcx
lea rdx, [0x14044c75f]
lea rcx, [rbp - 0x28]
mov dword [rbp + 0x48], ebx
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140003d00
test ebx, ebx
jle 0x14023fae8
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14023fae8
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023fae6
cmp qword [rsi + 0x18], 8
jb 0x14023fa88
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
mov qword [rbp - 0x10], rsi
jb 0x14023fa96
mov r14, qword [r14]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x18], r14
jb 0x14023faa4
mov rdi, qword [rdi]
lea rcx, str.Write_registry_value
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x28], rcx
lea rdx, [0x14044c6cf]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001860
xor ebx, ebx
lea rcx, [rbp - 0x30]
call fcn.1400f8348
lea r11, [rsp + 0x80]
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 0x14023fb18
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
and qword [rbp - 0x20], 0
mov r14, rdx
mov rdi, rcx
mov rdx, r8
lea rcx, [rbp - 0x20]
mov rsi, r8
call fcn.14023ec50
mov ebx, eax
test eax, eax
je 0x14023fb5b
jle 0x14023fc6d
movzx ebx, ax
jmp 0x14023fc08
mov eax, dword [r14 + 8]
mov rdx, rdi
sub eax, dword [r14]
cmp qword [rdi + 0x18], 8
mov rcx, qword [r14]
jb 0x14023fb72
mov rdx, qword [rdi]
mov dword [rsp + 0x28], eax
mov r9d, 3
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14023fc10
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x14023fc01
cmp qword [rsi + 0x18], 8
jb 0x14023fbae
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp - 0x18], rsi
jb 0x14023fbbc
mov rdi, qword [rdi]
lea rcx, str.Failed_to_set_registry_key
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rcx
lea rdx, [0x14044c4c1]
lea rcx, [rbp - 0x18]
mov dword [rbp + 0x38], ebx
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000f6ac
test ebx, ebx
jle 0x14023fc6d
movzx ebx, bx
or ebx, 0x80070000
jmp 0x14023fc6d
call fcn.140091ae4
cmp dword [rax], 4
jbe 0x14023fc6b
cmp qword [rsi + 0x18], 8
jb 0x14023fc24
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
mov qword [rbp + 0x38], rsi
jb 0x14023fc32
mov rdi, qword [rdi]
lea rcx, str.Write_registry_with_binary_data
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rcx
lea rdx, [0x14044c502]
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400092bc
xor ebx, ebx
lea rcx, [rbp - 0x20]
call fcn.1400f8348
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14024e158
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov rsi, rcx
lea rdi, [rcx + 0x30]
lea rdx, str.OrgId
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
mov rdx, r14
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.CyberEndpoint
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0x20]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.VortexGeoLocation
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0x40]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.vortexServerUrl
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0xa0]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.vortexTicketUrl
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0xc0]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.vortexRoutingHint
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0xe0]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
lea rdx, str.partnerGeoLocation
lea rcx, [rbp - 0x50]
call fcn.14008c350
nop
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14024ce28
mov rcx, rax
lea rdx, [r14 + 0x100]
call fcn.14007d520
nop
lea rcx, [rbp - 0x50]
call fcn.14007a7c0
mov ebx, dword [r14 + 0x60]
lea rdx, str.DeniedCnCActionsBitmask
lea rcx, [rbp - 0x30]
call fcn.14008c350
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rsi + 0x70]
call fcn.14024cbb8
mov rax, qword [rbp - 0x50]
mov dword [rax + 0x30], ebx
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
mov ebx, dword [r14 + 0x120]
lea rdx, [0x1403c1430]
lea rcx, [rbp - 0x30]
call fcn.14008c350
nop
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x50]
lea rcx, [rsi + 0x70]
call fcn.14024cbb8
mov rax, qword [rbp - 0x50]
mov dword [rax + 0x30], ebx
lea rcx, [rbp - 0x30]
call fcn.14007a7c0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140250dac
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x50
xor edx, edx
mov esi, r8d
mov edi, ecx
mov r8d, ecx
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x140250e47
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x140250e33
lea rcx, str.Failed_to_get_process_handle._TerminateProcess_failed.
lea rdx, [0x14044e5d6]
mov qword [rbp - 0x10], rcx
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov dword [rbp + 0x38], edi
mov rcx, rax
mov dword [rbp + 0x28], ebx
call fcn.140006044
test ebx, ebx
jle 0x140250e40
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
jmp 0x140250eef
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
test eax, eax
jne 0x140250e84
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x140250e33
lea rcx, [0x1403e5768]
lea rdx, [0x14044e5d6]
jmp 0x140250e06
mov esi, 0x7d0
mov rcx, rbx
mov edx, esi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp eax, 0x102
jne 0x140250eed
call fcn.140091ae4
cmp dword [rax], 3
jbe 0x140250ee6
lea rcx, str.Process_did_not_end_after_termination
mov dword [rbp + 0x28], esi
mov qword [rbp - 0x10], rcx
lea rdx, [0x14044e58b]
lea rcx, [rbp + 0x28]
mov dword [rbp + 0x38], edi
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140006044
mov eax, 0x800705b4
jmp 0x140250eef
xor eax, eax
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140253298
Capabilities:
Check if file exists
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1404e1800]
xor rax, rsp
mov qword [rbp - 8], rax
mov qword [rbp - 0x38], rcx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
mov rdi, rdx
mov rcx, rdx
jb 0x1402532d5
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
xor r14d, r14d
mov esi, eax
test eax, eax
jne 0x140253362
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x14025334d
cmp qword [rdi + 0x18], 8
jb 0x140253311
mov rdi, qword [rdi]
lea rcx, str.Failed_to_expand_environment_strings_in_path
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x38], rcx
lea rdx, [0x14044e712]
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x40], esi
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140009c94
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x140253436
lea edx, [rax - 1]
lea rcx, [rbp - 0x28]
call fcn.1400b6668
cmp qword [rbp - 0x10], 8
lea rdx, [rbp - 0x28]
mov rcx, rdi
cmovae rdx, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 8
jb 0x140253389
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14025340c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140091ae4
cmp dword [rax], 2
jbe 0x1402533fa
cmp qword [rdi + 0x18], 8
jb 0x1402533be
mov rdi, qword [rdi]
lea rcx, str.Failed_to_expand_environment_strings_in_path_after_increasing_buffer_size
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x30], rcx
lea rdx, [0x14044e712]
lea rcx, [rbp - 0x38]
mov dword [rbp - 0x40], esi
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140009c94
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x14025342d
movups xmm0, xmmword [rbp - 0x28]
mov word [rbp - 0x28], r14w
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x1403a9cf0]
movdqu xmmword [rbp - 0x18], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp - 0x28]
call fcn.14007a7c0
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140112420
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret