joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034230
Capabilities:
Shutdown system

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0xc0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [r11 - 0x38], 0xffffffffffffffff
lea r8, [r11 - 0x20]
lea rdx, str.SeShutdownPrivilege
xor ecx, ecx
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
xor edi, edi
test eax, eax
je 0x140034306
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x90]
lea edx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_OpenProcessToken]
test eax, eax
je 0x140034306
mov dword [rsp + 0x98], 1
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x9c], rax
mov dword [rsp + 0xa4], 2
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9d, [rdi + 0x10]
lea r8, [rsp + 0x98]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
test eax, eax
je 0x140034306
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor edx, edx
lea r8d, [rdi + 0x28]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
mov ebx, edi
test eax, eax
jne 0x140034314
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov dword [rsp + 0xa4], edi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
lea r8, [rsp + 0x98]
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x90]
cmp rcx, 0xffffffffffffffff
je 0x140034354
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test ebx, ebx
je 0x140034399
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Failed_to_restart_system._Error_code:
lea rcx, [rsp + 0x70]
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 rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x1400535d0
Capabilities:
Get disk size

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x200], rbx
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r12, r9
mov r14, r8
mov r15, rdx
mov qword [rsp + 0x80], rdx
mov r13, qword [rsp + 0x220]
mov dword [rsp + 0x70], 0
xor eax, eax
mov qword [rdx], rax
mov qword [rdx + 8], rax
mov qword [rdx + 0x10], rax
mov qword [rdx + 0x18], rax
mov qword [rdx + 0x20], rax
mov rcx, rdx
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_void____ptr64
mov dword [rsp + 0x70], 1
movzx eax, byte [r14 + 0xf]
movzx ecx, byte [r14 + 0xe]
movzx edx, byte [r14 + 0xd]
movzx r10d, byte [r14 + 0xc]
movzx r11d, byte [r14 + 0xb]
movzx ebx, byte [r14 + 0xa]
movzx edi, byte [r14 + 9]
movzx esi, byte [r14 + 8]
movzx ebp, word [r14 + 6]
movzx r9d, word [r14 + 4]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r10d
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
mov r8d, dword [r14]
lea rdx, str..Volume_08lX__04hX__04hX__02hhX_02hhX__02hhX_02hhX_02hhX_02hhX_02hhX_02hhX_
lea rcx, [rsp + 0xa0]
call fcn.140051e00
xor eax, eax
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x90], rax
lea r9, [rsp + 0x90]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x140053720
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r8d, eax
xor r9d, r9d
lea edx, [r9 + 1]
mov rcx, r15
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::SetError_enum_CConsolidatedError::ISDI2_ERROR_TYPE__unsigned_long_int__char_const____ptr64____ptr64
lea rdx, str.GetDiskFreeSpaceEx___failed_in_Disk::getVolumeFreeSpace
mov rcx, r15
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::AddDebugInformation_char_const____ptr64____ptr64
jmp 0x140053738
mov rax, qword [rsp + 0x98]
mov qword [r13], rax
mov rax, qword [rsp + 0x88]
mov qword [r12], rax
mov rax, r15
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14005fcc0
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 0x14005fd57
mov rbx, qword [r9 + 8]
jmp 0x14005fd5f
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14005fda7
mov ecx, dword [r10]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x14005fd77
cmp rbx, rax
jne 0x14005fd67
jmp 0x14005fda7
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 0x14005fe37
mov rax, qword [rdi]
cmp rbx, rax
je 0x14005fddc
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 0x14005fdfa
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14005fe24
cmp rax, rbx
jne 0x14005fe04
mov qword [rcx], rdi
jmp 0x14005fe24
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x14005fe24
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.1400612a0
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 0x14005fe50
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 0x14005fee7
mov rbx, qword [r9 + 8]
jmp 0x14005feef
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x14005ff40
mov ecx, dword [r10]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x14005ff07
cmp rbx, rax
jne 0x14005fef7
jmp 0x14005ff40
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]
lea rcx, [rdi + 0x18]
call fcn.140060710
mov rcx, rdi
call fcn.1400d179c
mov qword [rsi], rbx
mov byte [rsi + 8], 0
mov rax, rsi
jmp 0x14005ffd0
mov rax, qword [rdi]
cmp rbx, rax
je 0x14005ff75
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 0x14005ff93
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x14005ffbd
cmp rax, rbx
jne 0x14005ff9d
mov qword [rcx], rdi
jmp 0x14005ffbd
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x14005ffbd
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.1400611e0
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 0x14005fff0
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 0x140060087
mov rbx, qword [r9 + 8]
jmp 0x14006008f
mov rbx, qword [rbx + r8 + 8]
mov rbx, qword [rbx]
cmp rbx, rax
je 0x1400600d7
mov ecx, dword [r10]
mov rbx, qword [rbx + 8]
cmp ecx, dword [rbx + 0x10]
je 0x1400600a7
cmp rbx, rax
jne 0x140060097
jmp 0x1400600d7
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 0x140060167
mov rax, qword [rdi]
cmp rbx, rax
je 0x14006010c
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 0x14006012a
mov qword [rcx], rdi
mov rax, qword [r9 + 0x18]
mov qword [rax + r8 + 8], rdi
jmp 0x140060154
cmp rax, rbx
jne 0x140060134
mov qword [rcx], rdi
jmp 0x140060154
mov rax, qword [rcx + 8]
mov rdx, qword [rax]
mov qword [rcx + 8], rdx
cmp rdx, rdi
je 0x140060154
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.1400612a0
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 0x140061a10
Capabilities:
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x10
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp], rax
movzx r9d, byte [r8]
mov r11, rdx
movabs rdx, 0x100000001b3
movabs rax, 0xcbf29ce484222325
xor r9, rax
mov rbx, r8
movzx eax, byte [r8 + 1]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 2]
imul r9, rdx
xor r9, rax
movzx eax, byte [r8 + 3]
mov r8, qword [rcx + 0x18]
imul r9, rdx
xor r9, rax
imul r9, rdx
mov rdx, qword [rcx + 0x30]
mov rcx, qword [rcx + 8]
and rdx, r9
mov rax, rdx
add rax, rax
add rdx, rdx
mov rax, qword [r8 + rax*8]
mov r9, qword [r8 + rdx*8]
lea r10, [r8 + rdx*8]
cmp r9, rcx
jne 0x140061a9b
mov rdx, rcx
jmp 0x140061aa2
mov rdx, qword [r10 + 8]
mov rdx, qword [rdx]
cmp rax, rdx
je 0x140061ae6
mov edx, dword [rbx]
cmp dword [rax + 0x10], edx
je 0x140061ab3
mov rax, qword [rax]
jmp 0x140061a91
mov ebx, dword [rbx]
mov rdx, rax
cmp r9, rcx
jne 0x140061ac2
mov r8, rcx
jmp 0x140061ac9
mov r8, qword [r10 + 8]
mov r8, qword [r8]
cmp rax, r8
je 0x140061ad8
cmp ebx, dword [rax + 0x10]
jne 0x140061ad8
mov rax, qword [rax]
jmp 0x140061ab8
cmp rdx, rax
je 0x140061ae6
mov qword [r11], rdx
mov qword [r11 + 8], rax
jmp 0x140061aed
mov qword [r11], rcx
mov qword [r11 + 8], rcx
mov rax, r11
mov rcx, qword [rsp]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x10
pop rbx
ret

Function at 0x140061b10
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x20], rax
mov rsi, rdx
mov rdi, r8
mov r8, rcx
movabs rax, 0xcbf29ce484222325
movabs rcx, 0x100000001b3
movzx edx, byte [rdi + 0x10]
mov r9, qword [r8 + 0x30]
xor rdx, rax
movzx eax, byte [rdi + 0x11]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 0x12]
imul rdx, rcx
xor rdx, rax
movzx eax, byte [rdi + 0x13]
imul rdx, rcx
xor rdx, rax
imul rdx, rcx
mov rcx, qword [r8 + 0x18]
and r9, rdx
shl r9, 4
add rcx, r9
cmp qword [rcx + 8], rdi
jne 0x140061bb4
cmp qword [rcx], rdi
jne 0x140061baa
mov rax, qword [r8 + 8]
mov qword [rcx], rax
mov rcx, qword [r8 + 0x18]
mov rax, qword [r8 + 8]
mov qword [r9 + rcx + 8], rax
jmp 0x140061bbf
mov rax, qword [rdi + 8]
mov qword [rcx + 8], rax
jmp 0x140061bbf
cmp qword [rcx], rdi
jne 0x140061bbf
mov rax, qword [rdi]
mov qword [rcx], rax
mov rcx, qword [rdi + 8]
mov rbx, qword [rdi]
mov qword [rcx], rbx
mov rcx, qword [rdi + 8]
mov rdx, qword [rdi]
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x18]
dec qword [r8 + 0x10]
call fcn.140060710
mov rcx, rdi
call fcn.1400d179c
mov rax, rsi
mov qword [rsi], rbx
mov rcx, qword [rsp + 0x20]
xor rcx, rsp
call fcn.1400d1740
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x1400845d0
Capabilities:
Delete registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
call fcn.140084670
lea rcx, [rsp + 0x30]
or eax, 0xf003f
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov rcx, rbx
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
je 0x14008463d
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x14008465a
mov rcx, qword [rsp + 0x30]
mov rdx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
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 rdi
pop rsi
pop rbx
ret
Function at 0x140084710
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0xb0]
mov r15, r9
mov rsi, qword [rsp + 0xb8]
mov r14, r8
mov rdi, rdx
mov dword [rsp + 0x30], 0
mov rbx, rcx
call fcn.140084670
lea rcx, [rsp + 0x38]
or eax, 0x20019
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov rcx, rbx
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
je 0x1400847a1
lea rax, [rsp + 0x38]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
test eax, eax
jne 0x140084891
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], 0
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
mov edi, dword [rsp + 0x30]
mov ebx, eax
test rbp, rbp
je 0x1400847e1
cmp dword [rsi], edi
jae 0x1400847e1
mov ebx, 0xea
jmp 0x140084884
test eax, eax
jne 0x140084884
test rbp, rbp
je 0x140084882
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.1400f2f50
inc edi
mov ecx, edi
mov dword [rsp + 0x30], edi
call fcn.1400fb3b0
mov rdi, rax
test rax, rax
je 0x14008487b
mov r8d, dword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.1400f2f50
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov r9, r15
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExA]
mov ebx, eax
test eax, eax
jne 0x140084871
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rbp
call fcn.1400f2f50
mov r9d, dword [rsp + 0x30]
mov r8, rdi
mov edx, dword [rsi]
mov rcx, rbp
call fcn.1400678c0
mov eax, dword [rsp + 0x30]
mov dword [rsi], eax
mov rcx, rdi
call fcn.1400fb390
jmp 0x140084884
mov ebx, 0x7a
jmp 0x140084884
mov dword [rsi], edi
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x58
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140084900
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0xc0]
mov r12d, r9d
mov r15, r8
mov r14, rdx
mov rbp, rcx
call fcn.140084670
mov edi, dword [rsp + 0xd0]
lea rcx, [rsp + 0x50]
or eax, edi
mov qword [rsp + 0x20], rcx
mov rcx, rbp
mov r9d, eax
xor r8d, r8d
mov rdx, r14
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
mov ebx, eax
test eax, eax
je 0x140084980
lea rax, [rsp + 0x50]
mov r9d, edi
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExA]
mov ebx, eax
test ebx, ebx
je 0x1400849bd
xor ecx, ecx
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rcx
or edi, 2
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rcx
xor r8d, r8d
mov dword [rsp + 0x28], edi
mov rdx, r14
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExA]
mov ebx, eax
test eax, eax
jne 0x1400849f5
test rsi, rsi
je 0x1400849e8
mov eax, dword [rsp + 0xc8]
mov r9d, r12d
mov rcx, qword [rsp + 0x50]
xor r8d, r8d
mov dword [rsp + 0x28], eax
mov rdx, r15
mov qword [rsp + 0x20], rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExA]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400d1740
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14009d280
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1401b4808]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rbx, [rcx + 8]
cmp qword [rbx + 0x18], 0x10
jb 0x14009d2be
mov r8, qword [rbx]
jmp 0x14009d2c1
mov r8, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateMutexA]
mov rdi, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
cmp eax, 5
jne 0x14009d30b
cmp qword [rbx + 0x18], 0x10
jb 0x14009d2e5
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_ansi_l1_1_0.dll_OpenMutexA]
mov rdi, rax
test rax, rax
jne 0x14009d3a5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov esi, eax
jmp 0x14009d314
test rdi, rdi
jne 0x14009d3a5
mov edx, 0x28
lea rcx, [rsp + 0x70]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::__autoclassinit2_unsigned_long_long_unsigned___int64_____ptr64
mov edx, 0x20000001
lea rcx, [rsp + 0x70]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_enum_CConsolidatedErrorGenerated::ISDI2_ERRORS____ptr64
nop
mov dword [rsp + 0x78], esi
mov edx, esi
lea rcx, [rsp + 0x28]
call fcn.14001dc80
nop
mov r8, rax
lea rdx, str.Failed_to_create_or_open_mutex._ErrorCode:
lea rcx, [rsp + 0x50]
call fcn.1400095b0
nop
mov rcx, rax
call fcn.140007220
mov rdx, rax
lea rcx, [rsp + 0x70]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::AddDebugInformation_char_const____ptr64____ptr64
nop
lea rcx, [rsp + 0x50]
call fcn.1400088b0
nop
lea rcx, [rsp + 0x28]
call fcn.1400088b0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call sym.HfcDisableService.exe_public:_void___cdecl_CConsolidatedError::constructor_class_CConsolidatedError_const____ptr64____ptr64
lea rdx, [0x1401ae0a0]
lea rcx, [rsp + 0x28]
call fcn.1400f2e60
nop
mov rax, rdi
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.1400d1740
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400d4078
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
je 0x1400d408b
add rsp, 0x48
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.1400d46b4
lea rdx, [0x1401ae600]
lea rcx, [rsp + 0x20]
call fcn.1400f2e60
int3

Function at 0x1400e050c
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x1401c2dd4]
xor edx, edx
jmp fcn.1400d4078

Function at 0x1400e0f2c
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x1401c2dd4]
jmp fcn.1400d4078

Function at 0x1400f40c0
Capabilities:
Allocate thread local storage

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea r9, [0x14015dcf8]
xor ecx, ecx
lea r8, [0x14015dcf0]
lea rdx, str.FlsAlloc
call fcn.1400f3ee8
mov rbx, rax
test rax, rax
je 0x1400f4100
mov rcx, rax
call fcn.1400d2744
mov rcx, rdi
call rbx
jmp 0x1400f4106
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsAlloc]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f4168
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea r9, [0x14015dd08]
mov ecx, 2
lea r8, [0x14015dd00]
lea rdx, str.FlsGetValue
call fcn.1400f3ee8
mov rdi, rax
test rax, rax
je 0x1400f41a9
mov rcx, rax
call fcn.1400d2744
mov ecx, ebx
call rdi
jmp 0x1400f41b1
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400f41bc
Capabilities:
Set thread local storage value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x14015dd10]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x14015dd08]
call fcn.1400f3ee8
mov rsi, rax
test rax, rax
je 0x1400f4208
mov rcx, rax
call fcn.1400d2744
mov rdx, rbx
mov ecx, edi
call rsi
jmp 0x1400f4213
mov rdx, rbx
mov ecx, edi
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret