joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180031950
Capabilities:
Enumerate processes

Disassembly:
push rsi
sub rsp, 0x160
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rdx
test rdx, rdx
jne 0x18003197a
xor eax, eax
jmp 0x180031a1c
mov qword [rsp + 0x170], rbx
xor edx, edx
mov qword [rsp + 0x180], rbp
mov ecx, 2
mov qword [rsp + 0x188], rdi
xor edi, edi
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
je 0x180031a02
nop
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
test eax, eax
jne 0x1800319f0
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x1800319f0
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x1800319d0
mov rbp, qword [rsp + 0x180]
mov eax, edi
mov rdi, qword [rsp + 0x188]
mov rbx, qword [rsp + 0x170]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18003d040
add rsp, 0x160
pop rsi
ret
Function at 0x180034ac0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbp, rdx
test rdx, rdx
je 0x180034b6f
xor edi, edi
xor edx, edx
mov ecx, 2
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180034b6f
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180034b62
nop word [rax + rax]
mov rdx, rbp
lea rcx, [rsp + 0x4c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x180034b50
mov eax, dword [rsp + 0x3c]
cmp eax, ebx
jbe 0x180034b50
mov edi, dword [rsp + 0x28]
mov ebx, eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180034b30
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x180034b71
xor eax, eax
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.18003d040
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x180038b10
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x180038b3e
call qword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
xor eax, eax
lea r8, [0x180037630]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret

Function at 0x180038f00
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x180038f28
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x180038f4e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x180038f50
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x180038fa9
test ecx, ecx
jle 0x180038f89
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x180038fa9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x180038fa9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x180038fd0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x180038ff2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x180039008
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x180039024
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180039026
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180039062
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x1800390fe
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x18003909d
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x1800390de
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x1800390fe
cmp rbx, rax
ja 0x1800390b0
test rbx, rbx
je 0x1800390fe
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
Function at 0x180039560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x18003958d
xor eax, eax
jmp 0x1800396f9
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x1800395c7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x1800395c7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x1800396f9
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1800396ec
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18003960a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180039635
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1800396f1
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1800396a4
sub eax, 1
je 0x1800396a4
cmp eax, 2
jne 0x1800396ec
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1800396f1
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800396d2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x1800396ec
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x1800396f1
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18003d040
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x18003a410
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1800b3040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18003a4e3
cmp byte [rcx + 0x71], 0
je 0x18003a4e3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x18003a4df
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x18003a4a4
sub eax, 1
je 0x18003a4a8
cmp eax, 2
jne 0x18003a4df
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003d040
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x18003a4d6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x18003a4df
cmp byte [rbx + 0x71], 0
sete al
jmp 0x18003a48c
xor al, al
jmp 0x18003a48c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003d040
add rsp, 0x60
pop rbx
ret
Function at 0x18003c130
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x28
movabs rax, 0xfffffffffffffff
mov rsi, rcx
bsr rcx, rax
mov edi, 1
mov eax, edi
shl rax, cl
cmp rdx, rax
jbe 0x18003c165
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x50], rbx
mov rbx, qword [rsi + 8]
or rax, rdi
bsr rcx, rax
mov r8, rbx
mov qword [rsp + 0x20], r14
inc ecx
shl rdi, cl
lea rcx, [rsi + 0x18]
lea rdx, [rdi + rdi]
call fcn.18003ab50
lea rax, [rdi - 1]
mov qword [rsi + 0x38], rdi
mov qword [rsi + 0x30], rax
mov rax, qword [rsi + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x18003c2d4
mov qword [rsp + 0x58], rbp
movabs rdi, 0x100000001b3
movabs rbp, 0xcbf29ce484222325
nop dword [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rsi + 0x30]
xor r9, rbp
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x14]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x15]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x16]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x17]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rsi + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x18003c24c
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x18003c2c3
mov rdx, qword [r11 + 8]
mov r8, qword [rax + 0x10]
cmp r8, qword [rdx + 0x10]
jne 0x18003c289
mov r10, qword [rdx]
cmp r10, rax
je 0x18003c283
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [r11 + 8], rax
jmp 0x18003c2c3
cmp r9, rdx
je 0x18003c29f
nop
mov rdx, qword [rdx + 8]
cmp r8, qword [rdx + 0x10]
je 0x18003c2e5
cmp r9, rdx
jne 0x18003c290
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x18003c1d0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r14, qword [rsp + 0x20]
add rsp, 0x28
pop rdi
pop rsi
ret
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x18003c2c3
Function at 0x18003ce80
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18003cee1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18003cea0
mov ecx, dword [r9]
jmp 0x18003cfcb
cmp ecx, 0x4e0
jb 0x18003cfcb
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18003cf00
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18003cf50
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x180003900
Capabilities:
Query or enumerate registry value

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x890
mov rdi, r9
mov rbx, r8
mov r14, rdx
mov rsi, rcx
call fcn.1800012b0
mov qword [rsp + 0x38], rax
add rdi, rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rdi
mov word [rsp + 0x80], 0
mov dword [rsp + 0x88], 1
lea rdi, [rsp + 0x90]
lea rdx, [rsp + 0x70]
mov rcx, rdi
call fcn.180008680
mov rbx, qword [rsp + 0x98]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rbx
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebp, eax
mov rdx, qword [rsp + 0x90]
test rdx, rdx
je 0x1800039a1
add rdx, rdx
mov r8d, 2
mov rcx, rbx
call fcn.180008a80
test ebp, ebp
jne 0x1800039f0
mov r8d, 0x800
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x34], 0x400
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x180003a4b
call fcn.18001e600
mov edi, eax
movzx eax, byte [0x18004c161]
mov ecx, 8
mov edx, 8
call fcn.180008a70
test rax, rax
je 0x180003ae6
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
mov qword [rsi + 8], rax
lea rax, [0x180039a08]
mov qword [rsi + 0x10], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
add rsp, 0x890
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov eax, dword [rsp + 0x34]
mov r8d, eax
shr r8d, 1
cmp eax, 0x802
jae 0x180003af5
lea rbx, [rsp + r8*2]
add rbx, 0x90
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 1
mov qword [rsp + 0x50], 0
cmp eax, 2
jae 0x180003ac1
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x68], 0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x40]
call fcn.180006590
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
jmp 0x180003a3d
mov eax, r8d
shr eax, 1
sub r8, rax
mov qword [rsp + 0x20], 1
lea rcx, [rsp + 0x40]
mov r9d, 1
xor edx, edx
call fcn.180036ba0
jmp 0x180003a8b
mov ecx, 8
mov edx, 8
call fcn.1800380d0
lea rax, [0x180039d28]
mov edx, 0x400
mov rcx, r8
mov r8, rax
call fcn.180038630
int3
Function at 0x180003b10
Capabilities:
Set registry value

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
call fcn.1800012b0
mov qword [rsp + 0x38], rax
add rdi, rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x68], 0
mov dword [rsp + 0x70], 1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x58]
call fcn.180008680
mov rdi, qword [rsp + 0x48]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20006
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180003b9e
add rdx, rdx
mov r8d, 2
mov rcx, rdi
call fcn.180008a80
test ebx, ebx
je 0x180003be0
call fcn.18001e600
mov esi, eax
movzx eax, byte [0x18004c161]
mov ecx, 8
mov edx, 8
call fcn.180008a70
test rax, rax
je 0x180003cdf
shl rsi, 0x20
or rsi, 2
mov qword [rax], rsi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rax, qword [rsp + 0xe0]
add rax, rsi
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], rax
mov word [rsp + 0x88], 0
mov dword [rsp + 0x90], 1
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x78]
call fcn.180008680
mov rax, qword [rsp + 0x50]
add rax, rax
mov rcx, rax
shr rcx, 0x20
jne 0x180003cee
mov rsi, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x38]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
xor edx, edx
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x180003cbd
call fcn.18001e600
mov edi, eax
movzx eax, byte [0x18004c161]
mov ecx, 8
mov edx, 8
call fcn.180008a70
test rax, rax
je 0x180003cdf
shl rdi, 0x20
or rdi, 2
mov qword [rax], rdi
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180003bd3
add rdx, rdx
mov r8d, 2
mov rcx, rsi
mov rsi, rax
call fcn.180008a80
mov rax, rsi
jmp 0x180003bd3
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x180003cd8
add rdx, rdx
mov r8d, 2
mov rcx, rsi
call fcn.180008a80
xor eax, eax
jmp 0x180003bd3
mov ecx, 8
mov edx, 8
call fcn.1800380d0
lea rax, [0x1800396a0]
mov qword [rsp + 0x20], rax
lea rcx, [0x180039598]
lea r9, [0x1800395c8]
lea r8, [rsp + 0x37]
mov edx, 0x2b
call fcn.180038530
int3
Function at 0x180005270
Capabilities:
Query or enumerate registry value

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov rsi, rcx
lea rdx, str.SoftwareMyInjectorBackupCommandCString::new_failed
lea rcx, [rsp + 0x40]
mov r8d, 0x21
call fcn.18002f920
xor eax, eax
cmp rax, qword [rsp + 0x40]
jno 0x18000542c
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
call fcn.1800012b0
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000001
mov rdx, rdi
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x180005335
lea r14, [rsp + 0x60]
mov r8d, 0x400
mov rcx, r14
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x34], 0x400
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x18000537e
call fcn.18000b730
mov qword [rsi + 8], rax
mov dword [rsi + 0x10], edx
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov byte [rdi], 0
test rbx, rbx
je 0x180005367
mov r8d, 1
mov rcx, rdi
mov rdx, rbx
call fcn.180008a80
mov rax, rsi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8d, dword [rsp + 0x34]
cmp r8, 0x401
jae 0x180005469
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x60]
call fcn.180030650
mov r14, qword [rsp + 0x50]
test r14, r14
js 0x180005480
mov r15, qword [rsp + 0x48]
je 0x1800053dc
movzx eax, byte [0x18004c161]
mov r13d, 1
mov edx, 1
mov rcx, r14
call fcn.180008a70
test rax, rax
je 0x180005483
mov r12, rax
jmp 0x1800053e2
mov r12d, 1
mov rcx, r12
mov rdx, r15
mov r8, r14
call sub.VCRUNTIME140.dll_memcpy
mov rdx, qword [rsp + 0x40]
lea rax, [rdx*2]
test rax, rax
je 0x180005410
mov r8d, 1
mov rcx, r15
call fcn.180008a80
mov qword [rsi], r14
mov qword [rsi + 8], r12
mov qword [rsi + 0x10], r14
mov byte [rdi], 0
test rbx, rbx
jne 0x180005356
jmp 0x180005367
movups xmm0, xmmword [rsp + 0x40]
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rsp + 0x70], xmm1
movaps xmmword [rsp + 0x60], xmm0
lea rax, [0x18003a920]
mov qword [rsp + 0x20], rax
lea rcx, [0x18003a909]
lea r9, [0x18003a550]
lea r8, [rsp + 0x60]
mov edx, 0x13
call fcn.180038530
lea rax, [0x18003a938]
mov edx, 0x400
mov rcx, r8
mov r8, rax
call fcn.180038630
xor r13d, r13d
mov rcx, r13
mov rdx, r14
call fcn.1800380b0
int3
Function at 0x180005b80
Capabilities:
Enumerate threads
Hide thread from debugger

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edi, eax
mov ecx, 0xc
mov edx, eax
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
inc rax
cmp rax, 1
ja 0x180005bc4
call fcn.18000b730
mov rsi, rax
test edx, edx
jne 0x180005d73
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x2c], 0x1c
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call qword [sym.imp.kernel32.dll_Thread32First]
test eax, eax
je 0x180005d26
lea r13, [rsp + 0x78]
lea rbx, [rsp + 0x48]
mov r12, qword [sym.imp.kernel32.dll_CloseHandle]
lea r14, [rsp + 0x2c]
mov rbp, qword [sym.imp.kernel32.dll_Thread32Next]
jmp 0x180005c30
mov rcx, rsi
mov rdx, r14
call rbp
test eax, eax
je 0x180005cf0
cmp dword [rsp + 0x38], edi
jne 0x180005c20
mov r8d, dword [rsp + 0x34]
mov ecx, 0x60
xor edx, edx
call qword [sym.imp.kernel32.dll_OpenThread]
lea rcx, [rax + 1]
cmp rcx, 1
ja 0x180005c5f
call fcn.18000b730
test edx, edx
jne 0x180005d73
mov rcx, rax
mov edx, 0x11
xor r8d, r8d
xor r9d, r9d
mov r15, rax
call qword [sym.imp.ntdll.dll_NtSetInformationThread]
lea rax, [rsp + 0x34]
mov qword [rsp + 0x78], rax
lea rax, [0x1800354f0]
mov qword [rsp + 0x80], rax
lea rax, str.Thread_ID:__hidden_from_context_evaluation_n
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], 2
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], 1
mov rcx, rbx
call fcn.1800154c0
mov rcx, r15
call r12
test eax, eax
jne 0x180005c20
call fcn.18000b730
test edx, edx
je 0x180005c20
jmp 0x180005d73
call fcn.18000b730
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
test edx, edx
je 0x180005c30
test rax, rax
je 0x180005d15
lea rcx, [rsp + 0x48]
call fcn.18000b720
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x180005d5f
xor edx, edx
jmp 0x180005d73
call fcn.18000b730
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], edx
test edx, edx
je 0x180005bf3
test rax, rax
je 0x180005d4b
lea rcx, [rsp + 0x48]
call fcn.18000b720
mov rcx, rsi
call qword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
je 0x180005d6a
call fcn.18000b730
jmp 0x180005d73
call fcn.18000b730
test edx, edx
jne 0x180005d73
jmp 0x180005d22
call fcn.18000b730
test edx, edx
je 0x180005d58
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret