joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400273f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
push r12
push r13
sub rsp, 0x40
sub r9, r8
mov rax, rdx
sub rax, rcx
mov r13, r8
xor rax, r9
mov r12, rdx
mov rbx, rcx
test rax, 0xfffffffffffffffe
je 0x140027423
xor al, al
add rsp, 0x40
pop r13
pop r12
pop rbx
ret
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
cmp rcx, r12
je 0x1400274b2
sub r13, rcx
nop dword [rax]
nop dword [rax + rax]
mov r14, qword [rsp + 0x80]
movzx r15d, word [rbx + r13]
movzx esi, word [rbx]
mov r14, qword [r14 + 8]
mov rax, qword [r14]
mov rdi, qword [rax + 0x40]
mov rcx, rdi
call qword [fcn.140007230]
movzx edx, si
mov rcx, r14
call rdi
movzx ebp, ax
mov rax, qword [rsp + 0x80]
mov rsi, qword [rax + 8]
mov r8, qword [rsi]
mov rdi, qword [r8 + 0x40]
mov rcx, rdi
call qword [fcn.140007230]
movzx edx, r15w
mov rcx, rsi
call rdi
cmp bp, ax
jne 0x1400274d7
add rbx, 2
cmp rbx, r12
jne 0x140027450
mov al, 1
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x68]
add rsp, 0x40
pop r13
pop r12
pop rbx
ret
xor al, al
jmp 0x1400274b4
Function at 0x140028250
Capabilities:
Modify service

Disassembly:
push rdi
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1a0], rbx
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
or r9d, 0xffffffff
mov r8d, edx
or edx, r9d
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfigW]
test eax, eax
jne 0x140028358
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.1400178a0
mov qword [rsp + 0x178], rdi
mov qword [rsp + 0x180], 7
mov word [rsp + 0x168], di
lea rdx, str.ChangeServiceConfig_returned_0x
lea rcx, [rsp + 0x80]
call fcn.140019000
mov rcx, qword [rsp + 0x80]
movsxd rdx, dword [rcx + 4]
and dword [rsp + rdx + 0x98], 0xfffff9ff
or dword [rsp + rdx + 0x98], 0x800
mov edx, ebx
lea rcx, [rsp + 0x80]
call fcn.14001c300
mov rax, qword [rsp + 0x80]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x98], 0xfffff3ff
or dword [rsp + rcx + 0x98], 0x200
lea rcx, [rsp + 0x80]
call fcn.1400180a0
nop
lea rcx, [rsp + 0x70]
call fcn.140016dd0
xor eax, eax
mov rbx, qword [rsp + 0x1a0]
add rsp, 0x190
pop rdi
ret
Function at 0x140028370
Capabilities:
Modify service

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x190
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov rdi, rdx
mov rsi, rcx
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x90]
call fcn.1400f2f50
lea rcx, [rsp + 0x90]
call fcn.140028d30
nop
xor ebp, ebp
mov ebx, ebp
cmp qword [rdi], rbx
je 0x140028403
mov rax, qword [rdi]
nop dword [rax]
nop word [rax + rax]
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140015090
mov rcx, rax
call fcn.140028f60
inc ebx
mov rax, qword [rdi + rbx*8]
test rax, rax
jne 0x1400283e0
lea rcx, [rsp + 0x90]
call fcn.140028f60
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x90]
call fcn.140028c60
cmp qword [rax + 0x18], 8
jb 0x14002842c
mov rax, qword [rax]
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
or r9d, 0xffffffff
or r8d, r9d
or edx, r9d
mov rcx, qword [rsi + 8]
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfigW]
test eax, eax
sete bl
mov r8, qword [rsp + 0x80]
cmp r8, 8
jb 0x140028488
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140007560
test bl, bl
je 0x140028556
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, qword gs:[0x58]
mov rdx, qword [rcx]
mov eax, 0x254
mov ecx, dword [rax + rdx]
mov r8d, 0x250
test cl, 1
jne 0x1400284c9
or ecx, 1
mov dword [rax + rdx], ecx
mov ecx, r8d
add rcx, rdx
call fcn.14000e570
nop
cmp byte [r8 + rdx + 1], 0
je 0x140028556
lea rdx, str.ChangeServiceConfig_returned_0x
lea rdi, [0x1401c2020]
mov rcx, rdi
call fcn.14000f0f0
mov rax, qword [0x1401c2020]
movsxd rcx, dword [rax + 4]
add rcx, rdi
and dword [rcx + 0x18], 0xfffff9ff
or dword [rcx + 0x18], 0x800
mov edx, ebx
mov rcx, rdi
call fcn.140018640
mov rax, qword [0x1401c2020]
movsxd rdx, dword [rax + 4]
add rdx, rdi
and dword [rdx + 0x18], 0xfffff3ff
or dword [rdx + 0x18], 0x200
mov rax, qword [0x1401c2020]
movsxd rcx, dword [rax + 4]
add rcx, rdi
mov dl, 0xa
call fcn.14000edc0
movzx edx, al
mov rcx, rdi
call fcn.14000ec70
mov rcx, rdi
call fcn.14000eb70
nop
lea rcx, [rsp + 0x118]
call fcn.140028c90
nop
lea rax, vtable.std::ios_base.0
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x118]
call fcn.1400b5f74
nop
xor eax, eax
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
Function at 0x140028850
Capabilities:
Query service status

Disassembly:
push rbx
sub rsp, 0x170
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x168], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 0x24
mov r8, rdx
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_QueryServiceStatusEx]
test eax, eax
jne 0x140028936
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
lea rcx, [rsp + 0x40]
call fcn.1400178a0
xor eax, eax
mov qword [rsp + 0x148], rax
mov qword [rsp + 0x150], 7
mov word [rsp + 0x138], ax
lea rdx, str.Cannot_query_service_state_0x
lea rcx, [rsp + 0x50]
call fcn.140019000
mov rcx, qword [rsp + 0x50]
movsxd rdx, dword [rcx + 4]
and dword [rsp + rdx + 0x68], 0xfffff9ff
or dword [rsp + rdx + 0x68], 0x800
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001c300
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
and dword [rsp + rcx + 0x68], 0xfffff3ff
or dword [rsp + rcx + 0x68], 0x200
lea rcx, [rsp + 0x50]
call fcn.1400180a0
nop
lea rcx, [rsp + 0x40]
call fcn.140016dd0
mov eax, ebx
jmp 0x140028938
xor eax, eax
mov rcx, qword [rsp + 0x168]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x170
pop rbx
ret

Function at 0x140028960
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov rax, qword gs:[0x58]
mov rdx, qword [rax]
mov ecx, 0x254
mov eax, dword [rcx + rdx]
mov r8d, 0x250
test al, 1
jne 0x1400289b6
or eax, 1
mov dword [rcx + rdx], eax
mov ecx, r8d
add rcx, rdx
call fcn.14000e570
nop
cmp byte [r8 + rdx + 1], 0
je 0x1400289fc
lea rdx, str.Waiting_for_the_pending_service_stop...
lea rbx, [0x1401c2020]
mov rcx, rbx
call fcn.14000f0f0
mov rax, qword [0x1401c2020]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov dl, 0xa
call fcn.14000edc0
movzx edx, al
mov rcx, rbx
call fcn.14000ec70
mov rcx, rbx
call fcn.14000eb70
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ebx, eax
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140028850
cmp dword [rsp + 0x2c], 1
je 0x140028a83
nop dword [rax + rax]
mov eax, 0xcccccccd
mul dword [rsp + 0x40]
shr edx, 3
mov ecx, edx
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140028850
test eax, eax
jne 0x140028a85
cmp dword [rsp + 0x2c], 1
je 0x140028a77
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, ebx
cmp eax, 0x7530
ja 0x140028a64
cmp dword [rsp + 0x2c], 1
jne 0x140028a20
jmp 0x140028a83
lea rcx, str.Service_stop_timed_out._n
call fcn.140027b30
mov eax, 0x41d
jmp 0x140028a85
lea rcx, str.Service_stopped_successfully._n
call fcn.140027b30
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140028aa0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
mov rbx, rcx
mov qword [rdx], rbp
mov rdi, rdx
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140028ad8
call fcn.1400d1764
mov qword [rbx + 0x10], rbp
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x30]
xor r9d, r9d
lea rsi, [rbx + 0x20]
mov qword [rsp + 0x28], rsi
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea edx, [r9 + 1]
call qword [sym.imp.api_ms_win_service_core_l1_1_1.dll_EnumDependentServicesW]
test eax, eax
jne 0x140028ba2
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 0xea
jne 0x140028ba4
mov ecx, dword [rsp + 0x30]
call fcn.1400d1e1c
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x140028b31
mov eax, 0xe
jmp 0x140028ba4
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.1400f2f50
mov r8, qword [rbx + 0x10]
lea rax, [rsp + 0x30]
mov r9d, dword [rsp + 0x30]
mov edx, 1
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rbx + 0x18], r8
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_service_core_l1_1_1.dll_EnumDependentServicesW]
test eax, eax
jne 0x140028b84
mov rcx, qword [rbx + 0x10]
call fcn.1400d1764
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], rbp
mov dword [rsi], ebp
jmp 0x140028ba2
mov dword [rbx + 0x24], ebp
cmp dword [rsi], ebp
ja 0x140028b90
mov qword [rdi], rbp
jmp 0x140028ba2
mov rcx, qword [rbx + 0x18]
mov rdx, rdi
mov rcx, qword [rcx]
call fcn.140027b90
inc dword [rbx + 0x24]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x70]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14002c850
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor r12d, r12d
mov r14d, r12d
mov qword [rsp + 0x50], r12
lea rax, [0x1401c3e90]
nop dword [rax + rax]
mov rsi, qword [r14 + rax]
cmp byte [rsi + 0x40], 1
je 0x14002c8b4
cmp byte [rsi + 0x40], 3
jne 0x14002ca2d
mov qword [rsp + 0x60], r12
lea rdx, [rsi + 8]
cmp qword [rdx + 0x18], 8
jb 0x14002c8c7
mov rdx, qword [rdx]
mov qword [rsp + 0x40], r12
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov ebp, eax
test eax, eax
jne 0x14002ca44
mov rbx, qword [rsi + 0x28]
mov rdi, qword [rsi + 0x30]
cmp rbx, rdi
je 0x14002ca16
cmp byte [rsi + 0x40], 3
jne 0x14002c96a
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x68], r12d
mov r15, qword [rsp + 0x60]
mov r14, qword [rbx]
mov rax, qword [r14]
mov rbp, qword [rax + 0x18]
mov rcx, rbp
call qword [fcn.140007230]
mov rcx, r14
call rbp
mov rdx, rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x70]
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
je 0x14002ca04
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov rax, qword [rbx]
mov rbp, qword [rax]
mov r14, rbp
mov r12, rax
mov qword [rsp + 0x70], rax
mov rbp, qword [rbp + 8]
mov rcx, rbp
call qword [fcn.140007230]
mov rcx, r12
call rbp
mov r13, rax
mov rbp, qword [r14]
mov rcx, rbp
call qword [fcn.140007230]
mov rcx, r12
call rbp
mov r12, rax
mov rbp, qword [r14 + 0x10]
mov rcx, rbp
call qword [fcn.140007230]
mov r15, qword [rsp + 0x70]
mov rcx, r15
call rbp
mov r14d, eax
mov rdx, qword [r15]
mov rbp, qword [rdx + 0x18]
mov rcx, rbp
call qword [fcn.140007230]
mov rcx, r15
call rbp
mov rdx, rax
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r12
mov r9d, r14d
xor r8d, r8d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov ebp, eax
test eax, eax
jne 0x14002ca44
xor r12d, r12d
add rbx, 8
cmp rbx, rdi
jne 0x14002c912
mov r14, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002ca26
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rax, [0x1401c3e90]
add r14, 8
mov qword [rsp + 0x50], r14
cmp r14, 0x60
jb 0x14002c8a0
xor eax, eax
jmp 0x14002ca5c
call fcn.14002c7a0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002ca5a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d1740
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x14002ca90
Capabilities:
Delete registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp byte [rcx + 0x41], 2
jne 0x14002cb07
cmp qword [rcx + 0x20], 8
lea rdx, [rcx + 8]
mov qword [rsp + 0x30], 0
jb 0x14002cac2
mov rdx, qword [rdx]
mov rcx, qword [rcx]
lea rax, [rsp + 0x30]
mov r9d, 0x1000b
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14002cb1c
mov rcx, qword [rsp + 0x30]
xor edx, edx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
mov ebx, eax
test eax, eax
jne 0x14002cb1c
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cb07
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor eax, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x40
pop rbx
ret
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14002cb2c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x40
pop rbx
ret

Function at 0x14002d1e0
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x14002d1f9
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
jne 0x14002d297
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
cmp eax, 2
jne 0x14002d25b
xor edi, edi
mov rcx, qword [str.PTe_]
lea rax, str.PTe_
cmp rcx, rax
je 0x14002d297
test dword [rcx + 0x44], 0x100
je 0x14002d297
cmp byte [rcx + 0x41], 4
jb 0x14002d297
cmp qword [rbx + 0x18], 8
jb 0x14002d242
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
call fcn.14001d3e0
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov rcx, qword [str.PTe_]
lea rax, str.PTe_
cmp rcx, rax
je 0x14002d297
test dword [rcx + 0x44], 0x100
je 0x14002d297
cmp byte [rcx + 0x41], 2
jb 0x14002d297
cmp qword [rbx + 0x18], 8
jb 0x14002d287
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x38]
mov r9, rbx
mov dword [rsp + 0x20], edi
call fcn.14002cf60
mov eax, edi
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x14002d6c0
Capabilities:
Access the windows event log

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x80
mov qword [r11 - 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r15d, r9d
mov r14d, r8d
mov ebp, edx
mov rsi, rcx
mov rbx, qword [rsp + 0xd0]
cmp qword [rcx + 8], 0
je 0x14002d865
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x60], xmm0
xor r12d, r12d
mov qword [r11 - 0x38], r12
mov rdx, qword [rbx + 8]
sub rdx, qword [rbx]
sar rdx, 5
test rdx, rdx
je 0x14002d74e
movabs rax, 0x1fffffffffffffff
cmp rdx, rax
jbe 0x14002d744
call fcn.14001fc70
int3
lea rcx, [rsp + 0x60]
call fcn.14002db60
mov rdi, qword [rbx + 8]
mov rbx, qword [rbx]
cmp rbx, rdi
je 0x14002d78c
nop word [rax + rax]
cmp qword [rbx + 0x18], 8
jb 0x14002d76c
mov rax, qword [rbx]
jmp 0x14002d76f
mov rax, rbx
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14002ddc0
add rbx, 0x20
cmp rbx, rdi
jne 0x14002d760
cmp qword [rsi + 0x20], 0
je 0x14002d7b5
lea rax, [rsi + 0x10]
cmp qword [rax + 0x18], 8
jb 0x14002d7a1
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14002ddc0
mov r8, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
sub r8, rbx
sar r8, 3
mov r11d, r12d
test r14d, r14d
sete r11b
cmp ebp, 5
ja case.0x14002d7e6.1
lea rdx, [0x140000000]
mov ecx, dword [rdx + rbp*4 + 0x2d890]
add rcx, rdx
jmp rcx
movzx r10d, r12w
jmp 0x14002d814
mov r10d, 2
jmp 0x14002d814
mov r10d, 1
jmp 0x14002d814
mov r10d, 8
jmp 0x14002d814
mov r10d, 0x10
jmp 0x14002d814
mov r10d, 4
mov edx, r15d
call fcn.14002d380
mov r9d, eax
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r12d
mov word [rsp + 0x28], r8w
mov qword [rsp + 0x20], r12
movzx r8d, r11w
movzx edx, r10w
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
nop
test rbx, rbx
je 0x14002d865
mov r8, qword [rsp + 0x70]
sub r8, rbx
sar r8, 3
mov rdx, rbx
call fcn.14002dce0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400d1740
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x140030800
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, r9
mov r10, r8
mov rsi, rdx
mov r9, rcx
mov qword [rsp + 0x20], rcx
movzx ecx, byte [r8]
movabs rax, 0xcbf29ce484222325
xor rcx, rax
movabs rdx, 0x100000001b3
imul rcx, rdx
movzx eax, byte [r8 + 1]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 2]
xor rcx, rax
imul rcx, rdx
movzx eax, byte [r8 + 3]
xor rcx, rax
imul rcx, rdx
mov r8, qword [r9 + 0x30]
and r8, rcx
shl r8, 4
mov rbx, qword [r9 + 0x18]
mov rax, qword [rbx + r8]
cmp rax, qword [r9 + 8]
jne 0x140030897
mov rbx, qword [r9 + 8]
jmp 0x14003089f
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1400308e7
mov ecx, dword [r10]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x1400308b7
cmp rbx, rax
jne 0x1400308a7
jmp 0x1400308e7
mov rdx, qword [rdi + 8]
mov rcx, qword [rdi]
mov qword [rdx], rcx
mov rdx, qword [rdi]
mov rcx, qword [rdi + 8]
mov qword [rdx + 8], rcx
dec qword [r9 + 0x10]
mov rcx, rdi
call fcn.1400d179c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x140030977
mov rax, qword [rdi]
cmp rbx, rax
je 0x14003091c
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rcx, qword [r9 + 0x18]
add rcx, r8
mov rax, qword [rcx]
cmp rax, qword [r9 + 8]
jne 0x14003093a
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x140030964
cmp rax, rbx
jne 0x140030944
mov qword [rcx], rdi
jmp 0x140030964
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x140030964
add r8, qword [r9 + 0x18]
mov rax, qword [r8 + 8]
mov rdx, qword [rax + 8]
mov qword [r8 + 8], rdx
mov rcx, r9
call fcn.140032110
nop
mov qword [rsi], rdi
mov byte [rsi + 8], 1
mov rax, rsi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140030af0
Capabilities:
Delete registry value
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0xb0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, r9
mov rdi, r8
mov r10d, edx
mov dword [rsp + 0xa0], r10d
cmp qword [r8 + 0x18], 8
jb 0x140030b31
mov rdi, qword [r8]
movzx edx, r10b
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movabs rcx, 0x100000001b3
imul rdx, rcx
movzx eax, byte [rsp + 0xa1]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xa2]
xor rdx, rax
imul rdx, rcx
movzx eax, byte [rsp + 0xa3]
xor rdx, rax
imul rdx, rcx
and rdx, qword [0x1401bd6b0]
mov rcx, rdx
add rcx, rcx
mov r8, qword [0x1401bd698]
mov rcx, qword [r8 + rcx*8]
lea rax, [rdx + rdx]
lea r11, [rax*8 + 8]
mov r9, qword [r8 + rax*8]
mov rdx, qword [0x1401bd688]
nop dword [rax]
cmp r9, rdx
jne 0x140030bba
mov rax, rdx
jmp 0x140030bc1
mov rax, qword [r11 + r8]
mov rax, qword [rax]
cmp rcx, rax
je 0x140030bde
cmp r10d, dword [rcx + 0x10]
je 0x140030bd1
mov rcx, qword [rcx]
jmp 0x140030bb0
cmovne rcx, rdx
cmp rcx, rdx
jne 0x140030c7f
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rsi, qword [rdx]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140137213]
mov r8, qword [rsi + 8]
mov rdx, rsi
lea rcx, [0x1401bd688]
call fcn.140030710
mov r8, rax
movabs rcx, 0x7fffffffffffffe
mov rdx, qword [0x1401bd690]
sub rcx, rdx
cmp rcx, 1
jae 0x140030c46
lea rcx, str.list_T__too_long
call fcn.1400b1774
int3
inc rdx
mov qword [0x1401bd690], rdx
mov qword [rsi + 8], r8
mov rax, qword [rax + 8]
mov qword [rax], r8
mov r9, qword [0x1401bd688]
mov r9, qword [r9]
lea r8, [r9 + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [0x1401bd680]
call fcn.140030800
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
lea ecx, [rax - 2]
cmp ecx, 1
jbe 0x140030d6c
test eax, eax
je 0x140030cf3
mov edx, eax
lea rcx, [rsp + 0x58]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Error_opening_registry_key._Code:
lea rcx, [rsp + 0x78]
call fcn.1400095b0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14002e140
lea rdx, [0x1401adeb8]
lea rcx, [rsp + 0x38]
call fcn.1400f2e60
nop
cmp qword [rbx + 0x18], 8
jb 0x140030cfd
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov ebx, eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, 0xfffffffc
jne 0x140030d2b
cmp ebx, 1
jne 0x140030d6c
mov edx, ebx
lea rcx, [rsp + 0x78]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Failed_to_delete_registry_value._Error_code:
lea rcx, [rsp + 0x58]
call fcn.1400095b0
nop
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14002e140
lea rdx, [0x1401adeb8]
lea rcx, [rsp + 0x38]
call fcn.1400f2e60
nop
mov al, 1
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0xb0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140032470
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov r9, rcx
movzx edx, byte [r8 + 0x10]
movabs rcx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor rdx, rax
movzx eax, byte [r8 + 0x11]
mov r10, qword [r9 + 0x30]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [r8 + 0x13]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r9 + 0x18]
and r10, rdx
shl r10, 4
add rcx, r10
cmp qword [rcx + 8], r8
jne 0x140032510
cmp qword [rcx], r8
jne 0x140032506
mov rax, qword [r9 + 8]
mov qword [rcx], rax
mov rcx, qword [r9 + 0x18]
mov rax, qword [r9 + 8]
mov qword [r10 + rcx + 8], rax
jmp 0x14003251b
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x14003251b
cmp qword [rcx], r8
jne 0x14003251b
mov rax, qword [r8]
mov qword [rcx], rax
mov rcx, qword [r8 + 8]
mov rbx, qword [r8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov rdx, qword [r8]
mov qword [rdx + 8], rcx
mov rcx, r8
dec qword [r9 + 0x10]
call fcn.1400d179c
mov rax, rdi
mov qword [rdi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret