joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cfa8
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
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov r13, qword [rbp + 0x50]
lea rax, [rbp + 0x60]
mov r12, qword [rbp + 0x58]
xor r15d, r15d
mov r14, r9
mov qword [r11 - 0x70], rax
mov rsi, r8
mov qword [rbp + 0x50], r15
mov rdi, rcx
mov byte [r13], 1
lea rax, [rbp + 0x68]
mov dword [r12], r15d
lea r9d, [r15 + 2]
mov dword [rbp + 0x68], r15d
mov r8, r14
mov dword [rbp + 0x60], r15d
lea rcx, [rbp + 0x50]
mov qword [r11 - 0x78], rax
mov rbx, rdx
call fcn.14000d22c
mov dword [r12], eax
test eax, eax
je 0x14000d037
mov rdx, rsi
mov rcx, rdi
call fcn.1400088c0
lea rcx, [rbp + 0x50]
call fcn.14000dfec
jmp 0x14000d186
mov r15d, dword [rbp + 0x60]
lea rcx, [rbp - 0x20]
mov edx, r15d
call fcn.14000d1b4
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14000d054
mov r8, qword [rbx]
mov rcx, qword [rbp + 0x50]
lea rax, [rbp + 0x68]
mov qword [rsp + 0x30], rax
xor edx, edx
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov dword [r12], eax
test eax, eax
je 0x14000d12c
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x14000d113
cmp qword [rsi + 0x18], 8
mov rcx, rsi
jb 0x14000d0a5
mov rcx, qword [rsi]
cmp qword [r14 + 0x18], 8
mov qword [rbp + 0x58], rcx
mov ecx, dword [r12]
mov dword [rbp + 0x60], ecx
jb 0x14000d0ba
mov r14, qword [r14]
cmp qword [rbx + 0x18], 8
mov qword [rbp + 0x70], r14
jb 0x14000d0c8
mov rbx, qword [rbx]
lea rcx, str.Failed_to_read_registry_value._Return_default_value
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rcx
lea rdx, [0x14003a60b]
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001f38
mov rdx, rsi
mov rcx, rdi
call fcn.1400088c0
lea rcx, [rbp - 0x20]
call fcn.14000df40
jmp 0x14000d029
mov rax, qword [rbp - 0x20]
lea ecx, [r15 - 1]
xor ebx, ebx
mov byte [r13], bl
mov word [rax + rcx*2], bx
mov rcx, rdi
mov rdx, qword [rbp - 0x20]
call fcn.140007720
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000d171
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.1400080a0
xorps xmm0, xmm0
mov qword [rbp - 0x10], rbx
movdqu xmmword [rbp - 0x20], xmm0
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14000d186
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
lea r11, [rsp + 0x80]
mov rax, rdi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x14000d22c
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov rdi, rdx
mov r12d, r9d
mov rdx, rcx
mov r15, rcx
mov rcx, r8
mov r9d, 0x20019
mov rbx, r8
call fcn.14000d438
mov esi, eax
test eax, eax
je 0x14000d2c5
call fcn.140008d5c
cmp dword [rax], 5
jbe 0x14000d2be
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x40], esi
jb 0x14000d285
mov rbx, qword [rbx]
lea rcx, str.Could_not_open_or_create_the_registry_path._Return_default_value
mov qword [rbp + 0x60], rbx
mov qword [rbp - 0x10], rcx
lea rdx, [0x14003a6a2]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.1400022ec
mov eax, esi
jmp 0x14000d413
cmp qword [rdi + 0x18], 8
mov r8, rdi
jb 0x14000d2d2
mov r8, qword [rdi]
mov r14, qword [rbp + 0x50]
mov r9d, r12d
mov rcx, qword [r15]
xor edx, edx
mov qword [rsp + 0x30], r14
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x14000d36d
call fcn.140008d5c
cmp dword [rax], 5
jbe 0x14000d2be
cmp qword [rbx + 0x18], 8
mov dword [rbp + 0x40], esi
jb 0x14000d318
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
mov qword [rbp + 0x60], rbx
jb 0x14000d326
mov rdi, qword [rdi]
lea rcx, str.Failed_to_get_registry_value_size._Return_default_value
mov qword [rbp - 0x10], rdi
mov qword [rbp - 8], rcx
lea rdx, [0x14003a6d8]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140001cc8
jmp 0x14000d2be
mov eax, dword [r14]
mov rsi, qword [rbp + 0x58]
mov dword [rsi], eax
dec eax
cmp eax, 0x3ffffff
ja 0x14000d386
xor eax, eax
jmp 0x14000d413
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x14000d40e
cmp qword [rbx + 0x18], 8
mov ecx, dword [r14]
mov dword [rbp + 0x48], ecx
mov ecx, dword [rsi]
mov dword [rbp + 0x68], ecx
mov dword [rbp + 0x40], 0x4000000
jb 0x14000d3ac
mov rbx, qword [rbx]
cmp qword [rdi + 0x18], 8
mov qword [rbp + 0x60], rbx
jb 0x14000d3ba
mov rdi, qword [rdi]
lea rcx, str.Registry_value_is_empty_or_bigger_than_max_length._Return_default_value
mov qword [rbp - 8], rdi
mov qword [rbp - 0x10], rcx
lea rdx, [0x14003a5b4]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp + 0x68]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp + 0x60]
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.140001df0
mov eax, 0xd
lea r11, [rsp + 0x60]
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 0x14000ed84
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140043db0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
movdqa xmm0, xmmword [0x1400300d0]
lea rdx, [rbp - 0x39]
mov rbx, rcx
xor edi, edi
xor ecx, ecx
mov word [rbp - 0x11], di
movdqu xmmword [rbp - 1], xmm0
mov dword [rbp - 0x39], edi
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
mov edx, dword [rbp - 0x39]
lea rcx, [rbp - 0x29]
call fcn.14000d1b4
mov rcx, qword [rbp - 0x29]
lea rdx, [rbp - 0x39]
call qword [sym.imp.USERENV.dll_GetAllUsersProfileDirectoryW]
nop dword [rax + rax]
test eax, eax
je 0x14000ee45
mov r8d, dword [rbp - 0x39]
lea rcx, [rbp + 0x2f]
mov rdx, qword [rbp - 0x29]
dec r8d
call fcn.14000c45c
mov rdx, rax
lea r8, [0x1400300c0]
lea rcx, [rbp + 0xf]
call fcn.1400086dc
lea r8, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rdx, rax
mov rcx, rbx
call fcn.1400086dc
lea rcx, [rbp + 0xf]
call fcn.1400082a4
lea rcx, [rbp + 0x2f]
call fcn.1400082a4
jmp 0x14000ee9b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
call fcn.140008d5c
cmp dword [rax], 2
jbe 0x14000ee8c
lea rcx, str.GetAllUsersProfileDirectory_failed
mov dword [rbp - 0x35], edi
mov qword [rbp - 0x31], rcx
lea rdx, [0x14003a12c]
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x35]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140002ecc
lea rdx, str.MicrosoftWindows_Defender_Advanced_Threat_Protection_
mov rcx, rbx
call fcn.140007720
lea rcx, [rbp - 0x29]
call fcn.14000df40
lea rcx, [rbp - 0x11]
call fcn.1400082a4
mov rax, rbx
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14000f940
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x140012cc8
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x140043db0]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov rsi, r8
xor ebx, ebx
mov qword [r8], rbx
mov r14d, 0x104
mov r8, rcx
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.140012ab4
lea r8, [0x140031628]
mov edx, r14d
lea rcx, [rsp + 0x40]
call fcn.1400129b0
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140012d7d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
cmp eax, 2
je 0x140012e71
mov rcx, qword [rbp + 0x178]
lea r8, [0x1400315c4]
lea edx, [r14 - 0x3b]
call fcn.14000b7fc
mov ebx, eax
jmp 0x140012e71
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], ebx
mov rcx, rax
mov dword [rsp + 0x20], ebx
call fcn.140011cdc
mov edi, eax
test eax, eax
jns 0x140012dba
mov rcx, qword [rbp + 0x178]
lea r8, [0x1400315c4]
mov r9d, eax
mov edx, 0xcf
call fcn.14000b6f0
mov ebx, edi
jmp 0x140012e71
lea r8, [0x140031630]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.1400129b0
lea r8, [rsp + 0x40]
xor edx, edx
mov ecx, 0x1f0003
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenSemaphoreW]
nop dword [rax + rax]
mov qword [rsp + 0x28], rax
test rax, rax
jne 0x140012e16
mov rcx, qword [rbp + 0x178]
lea r8, [0x1400315c4]
mov edx, 0xd5
call fcn.14000b7fc
lea rcx, [rsp + 0x28]
mov ebx, eax
call fcn.14000bf44
jmp 0x140012e71
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.140011cdc
mov edi, eax
test eax, eax
jns 0x140012e53
mov rcx, qword [rbp + 0x178]
lea r8, [0x1400315c4]
mov r9d, eax
mov edx, 0xd7
call fcn.14000b6f0
lea rcx, [rsp + 0x28]
call fcn.14000bf44
jmp 0x140012db3
lea rcx, [rsp + 0x28]
call fcn.14000bf44
movsxd rdx, dword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x24]
shl rdx, 0x1f
or rcx, rdx
mov qword [rsi], rcx
lea rcx, [rsp + 0x30]
call fcn.14000bf44
mov eax, ebx
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.14000f940
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400160d8
Capabilities:
Terminate process

Disassembly:
mov r11, rsp
sub rsp, 0x68
and qword [r11 - 0x18], 0
lea rax, str.Sense
and qword [r11 - 0x10], 0
lea rcx, [r11 - 0x28]
mov qword [r11 - 0x28], rax
lea rax, [0x1400134f0]
mov qword [r11 - 0x20], rax
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_StartServiceCtrlDispatcherW]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x68]
lea rdx, str.Failed_to_start_service_control_dispatcher
mov qword [rsp + 0x20], rdx
lea r8, str.amcorewcd_source_service_src_service.cpp
mov edx, 0x8a
mov r9d, eax
call fcn.140006b58
cmp qword [0x140044e08], 0
jne 0x140016150
cmp dword [0x140043ddc], 1
jne 0x1400161da
jmp 0x1400161d4
cmp dword [0x140043ddc], 1
je 0x1400161d4
call fcn.140008d5c
cmp dword [rax], 2
jbe 0x1400161b4
mov ecx, dword [0x140043ddc]
lea rdx, [0x140039c59]
mov dword [rsp + 0x70], ecx
lea rcx, str.Service_stopped_with_unexpected_service_status._Terminating_process
mov qword [rsp + 0x80], rcx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov dword [rsp + 0x78], 0x507
call fcn.1400026b0
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
nop dword [rax + rax]
mov rcx, rax
mov edx, 2
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TerminateProcess]
nop dword [rax + rax]
add rsp, 0x68
ret
mov ecx, 0x8007000e
call fcn.14000f3ec
mov rcx, qword [rsp + 0x68]
lea r8, str.amcorewcd_source_service_src_service.cpp
mov r9d, eax
mov edx, 0x8f
lea rax, str.Service_control_dispatcher_failed_without_saying_so...
mov qword [rsp + 0x20], rax
call fcn.14001701c
int3

Function at 0x140019e90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r15, r8
xor rax, r9
mov rbp, rdx
mov r14, rcx
test rax, 0xfffffffffffffffe
jne 0x140019f0c
mov rbx, qword [rsp + 0x60]
sub r15, rcx
cmp r14, rbp
je 0x140019f10
movzx edx, word [r15 + r14]
mov rcx, qword [rbx + 8]
movzx esi, word [r14]
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
mov rcx, qword [rbx + 8]
movzx edx, si
movzx edi, ax
call qword [sym.imp.msvcp_win.dll_public:_wchar_t___cdecl_std::ctype_wchar_t_::tolower_wchar_t_const___ptr64]
nop dword [rax + rax]
cmp ax, di
jne 0x140019f0c
add r14, 2
jmp 0x140019ecd
xor al, al
jmp 0x140019f12
mov al, 1
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret

Function at 0x14001bfc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
sar r8, 1
add r8, r8
jmp fcn.1400084ec
Function at 0x14001d7b8
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 [0x140043db0]
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 0x14001d7f5
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 0x14001d882
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140008d5c
cmp dword [rax], 2
jbe 0x14001d86d
cmp qword [rdi + 0x18], 8
jb 0x14001d831
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, [0x14003a0f7]
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.140003034
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x14001d956
lea edx, [rax - 1]
lea rcx, [rbp - 0x28]
call fcn.14000c344
cmp qword [rbp - 0x10], 8
lea rdx, [rbp - 0x28]
mov rcx, rdi
cmovae rdx, qword [rbp - 0x28]
cmp qword [rdi + 0x18], 8
jb 0x14001d8a9
mov rcx, qword [rdi]
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
test eax, eax
jne 0x14001d92c
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
call fcn.140008d5c
cmp dword [rax], 2
jbe 0x14001d91a
cmp qword [rdi + 0x18], 8
jb 0x14001d8de
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, [0x14003a0f7]
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.140003034
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
jmp 0x14001d94d
movups xmm0, xmmword [rbp - 0x28]
mov word [rbp - 0x28], r14w
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rbx], xmm0
movdqa xmm0, xmmword [0x1400300d0]
movdqu xmmword [rbp - 0x18], xmm0
movups xmmword [rbx + 0x10], xmm1
lea rcx, [rbp - 0x28]
call fcn.1400082a4
mov rax, rbx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14000f940
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x14001dac8
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x78]
sub rsp, 0x170
mov rax, qword [0x140043db0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x40], rcx
mov r8d, 0x104
lea rdx, [0x140044fa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
nop dword [rax + rax]
xor esi, esi
test eax, eax
jne 0x14001db94
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
call fcn.140008d5c
cmp dword [rax], 2
jbe 0x14001db80
mov dword [rsp + 0x48], ebx
lea rcx, str.GetModuleFileName_failed
mov qword [rsp + 0x40], rcx
test ebx, ebx
jle 0x14001db4f
movzx ebx, bx
or ebx, 0x80070000
mov dword [rsp + 0x50], ebx
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14003a15b]
mov rcx, rax
call fcn.140002f70
lea rdx, [0x1400300e0]
mov rcx, rdi
call fcn.140007720
jmp 0x14001dcb2
movdqa xmm0, xmmword [0x1400300d0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], si
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], si
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], si
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], si
mov r8d, eax
lea rdx, [0x140044fa0]
lea rcx, [rbp - 0x40]
call fcn.14000c45c
nop
lea rcx, [rbp + 0x20]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x20]
lea rdx, [rbp]
mov rcx, rax
call fcn.14001e578
test al, al
sete bl
lea rcx, [rbp - 0x40]
call fcn.1400082a4
test bl, bl
je 0x14001dc14
lea rdx, [0x1400300e0]
mov rcx, rdi
call fcn.140007720
jmp 0x14001dc8b
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], rsi
mov ecx, 7
mov qword [rsp + 0x70], rcx
mov word [rsp + 0x58], si
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rcx
mov word [rbp - 0x40], si
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400088c0
mov rbx, rax
lea rdx, [rbp]
lea rcx, [rbp - 0x60]
call fcn.1400088c0
nop
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x20], rcx
lea r9, [rbp - 0x40]
mov r8, rbx
mov rdx, rax
mov rcx, rdi
call fcn.14001e2ac
nop
lea rcx, [rbp + 0x20]
call fcn.1400082a4
nop
lea rcx, [rbp + 0x40]
call fcn.1400082a4
nop
lea rcx, [rbp - 0x20]
call fcn.1400082a4
nop
lea rcx, [rbp]
call fcn.1400082a4
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14000f940
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
Function at 0x14001ee0c
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001ee25
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
test al, 3
je 0x14001ee68
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14001ee42
mov rcx, qword [rbx]
and eax, 0xfffffffc
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
nop dword [rax + rax]
test eax, eax
jne 0x14001ee68
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
jmp 0x14001ef0b
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14001ee75
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14001eea5
test al, 0x10
je 0x14001eea5
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14001ee97
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop dword [rax + rax]
jmp 0x14001eebe
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x14001eeb2
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14001ef09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
lea edx, [rax - 2]
cmp edx, 1
jbe 0x14001ef09
cmp qword [rbx + 0x18], 8
jb 0x14001eee2
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
test eax, eax
jne 0x14001ef09
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400257b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test rdx, rdx
jne 0x1400257b9
xor eax, eax
ret
jmp fcn.140025490
Function at 0x140027580
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.1400277cc
mov esi, eax
test eax, eax
je 0x14002760f
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x1400275fc
cmp qword [rdi + 0x18], 8
jb 0x1400275c0
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, [0x14003a433]
lea rcx, [rbp - 0x30]
mov dword [rbp + 0x30], esi
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000324c
test esi, esi
jle 0x14002768a
movzx esi, si
or esi, 0x80070000
jmp 0x14002768a
cmp qword [rbx + 0x18], 8
lea rax, [rbp - 0x10]
mov qword [rbp - 0x30], rax
mov rdx, rbx
jb 0x140027624
mov rdx, qword [rbx]
lea rcx, [rbp - 0x10]
call qword [sym.imp.ntdll.dll_RtlCreateUnicodeString]
nop dword [rax + rax]
test al, al
jne 0x14002769a
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x14002767c
cmp qword [rbx + 0x18], 8
jb 0x14002764c
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, [0x14003a4c7]
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.14000248c
lea rcx, [rbp - 0x30]
call fcn.1400272fc
mov esi, 0x80070057
lea rcx, [rbp + 0x38]
call fcn.14000dfec
mov eax, esi
jmp 0x1400277b4
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 0x140027745
cmp eax, 0xc0000034
je 0x140027745
call fcn.140008d5c
cmp dword [rax], 3
jbe 0x14002772a
cmp qword [rdi + 0x18], 8
jb 0x1400276d7
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
mov qword [rbp - 0x28], rdi
jb 0x1400276e5
mov rbx, qword [rbx]
lea rcx, str.Failed_to_delete_registry_value
mov qword [rbp - 0x20], rbx
mov qword [rbp - 0x18], rcx
lea rdx, [0x14003a4f8]
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.140001400
lea rcx, [rbp - 0x30]
call fcn.1400272fc
lea rcx, [rbp + 0x38]
call fcn.14000dfec
bts esi, 0x1c
jmp 0x140027693
call fcn.140008d5c
cmp dword [rax], 4
jbe 0x1400277a0
cmp qword [rdi + 0x18], 8
jb 0x140027759
mov rdi, qword [rdi]
cmp qword [rbx + 0x18], 8
mov qword [rbp + 0x30], rdi
jb 0x140027767
mov rbx, qword [rbx]
lea rcx, str.Delete_registry_value
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x20], rcx
lea rdx, [0x14003a539]
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.140002bbc
lea rcx, [rbp - 0x30]
call fcn.1400272fc
lea rcx, [rbp + 0x38]
call fcn.14000dfec
xor eax, eax
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret