joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e3f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0xa0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov rbx, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0x68], rcx
mov eax, dword [rcx + 0x4c]
test eax, eax
je 0x14000e5ef
cmp eax, 2
je 0x14000e5ef
cmp byte [rcx + 0x48], 0
je 0x14000e5ef
cmp qword [rcx + 0x10], 0
je 0x14000e5ef
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp dword [rbx + 0x54], 0
je 0x14000e494
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.MSVCR100.dll__fileno]
mov ecx, eax
call qword [sym.imp.MSVCR100.dll__filelength]
cmp dword [rbx + 0x54], eax
ja 0x14000e494
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000e5ef
lea rcx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movzx edi, word [rsp + 0x96]
movzx esi, word [rsp + 0x94]
movzx eax, word [rsp + 0x92]
mov dword [rsp + 0x64], eax
movzx eax, word [rsp + 0x90]
mov dword [rsp + 0x60], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x48], esi
mov ecx, dword [rsp + 0x64]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], eax
mov rbx, qword [rsp + 0x78]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x20], rax
lea r9, str._s_tPID:_x_tTID:_x_t_02.2d:_02.2d:_02.2d._03.3d_t__I64X__t
mov edx, 0x480
lea r8d, [rdx - 1]
lea rsi, [0x1400273d0]
mov rcx, rsi
call qword [sym.imp.MSVCR100.dll__snwprintf_s]
movsxd rdi, eax
test eax, eax
jns 0x14000e551
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000e5ef
lea rdx, [rsp + 0xd0]
lea rcx, [rsi + rdi*2]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0xc8]
mov esi, 0x3ff
mov r8d, esi
lea edx, [rsi + 1]
call qword [sym.imp.MSVCR100.dll__vsnwprintf_s]
test eax, eax
cmovs eax, esi
add edi, eax
mov eax, 0x47e
cmp edi, 0x47f
cmovae edi, eax
movsxd rax, edi
mov ecx, 0xa
lea rdi, [0x1400273d0]
mov word [rdi + rax*2], cx
xor ecx, ecx
mov word [rdi + rax*2 + 2], cx
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14000e5c3
mov r8, rdi
lea rdx, [0x1400175e8]
call qword [sym.imp.MSVCR100.dll_fwprintf]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.MSVCR100.dll_fflush]
cmp dword [rbx + 0x4c], 4
jne 0x14000e5dd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
nop
jmp 0x14000e5e4
mov rcx, qword [rbx + 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140013da0
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000ede0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x30
xor bl, bl
mov rbp, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x68], 4
cmp byte [rcx + 0x10], bl
je 0x14000ee87
lea rdx, str.Opened_CNcsRegKey::GetValue
lea rcx, [0x140028500]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const____ptr64____ptr64
cmp qword [rdi + 0x18], 8
jb 0x14000ee29
mov rdi, qword [rdi]
mov rcx, qword [rsi + 8]
lea rax, [rsp + 0x68]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x28], rax
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, str.Opened_CNcsRegKey::GetValue_:_d
test eax, eax
lea rcx, [0x140028500]
mov r8d, eax
sete bl
mov dword [rsi + 0x14], eax
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const____ptr64____ptr64
cmp dword [rsp + 0x50], 4
je 0x14000ee87
lea rdx, str.CNcsRegKey::GetValue_dwRegType___REG_DWORD
lea rcx, [0x140028500]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const____ptr64____ptr64
xor bl, bl
lea rdx, str.Opened_CNcsRegKey::GetValue_:_d
lea rcx, [0x140028500]
movzx r8d, bl
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const____ptr64____ptr64
movzx eax, bl
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000eeb0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x10], 0
mov rbx, rcx
mov dword [rsp + 0x40], 3
je 0x14000eefb
cmp qword [rdx + 0x18], 8
jb 0x14000eed1
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x40]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [rbx + 0x14], eax
sete al
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x14000ef10
Capabilities:
Set registry value

Disassembly:
mov dword [rsp + 0x18], r8d
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x10], 0
mov rbx, rcx
je 0x14000ef60
cmp qword [rdx + 0x18], 8
jb 0x14000ef2d
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
lea rax, [rsp + 0x50]
mov r9d, 4
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [rbx + 0x14], eax
sete al
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x14000ef70
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rcx
xor ecx, ecx
test r9b, r9b
mov dword [rbx + 0x14], ecx
mov eax, dword [r8 + 0x10]
setne cl
inc eax
cmp byte [rbx + 0x10], 0
je 0x14000efce
cmp qword [r8 + 0x18], 8
jb 0x14000ef9a
mov r8, qword [r8]
cmp qword [rdx + 0x18], 8
jb 0x14000efa4
mov rdx, qword [rdx]
add eax, eax
lea r9d, [rcx + 1]
mov rcx, qword [rbx + 8]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [rbx + 0x14], eax
sete al
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret
Function at 0x14000efe0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x10], 0
mov rbx, rcx
mov dword [rcx + 0x14], 0
je 0x14000f02b
cmp qword [rdx + 0x18], 8
jb 0x14000f000
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [rbx + 0x14], eax
sete al
add rsp, 0x30
pop rbx
ret
xor al, al
add rsp, 0x30
pop rbx
ret

Function at 0x14000f040
Capabilities:
Delete registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edi, edi
mov rbx, rcx
mov dword [rcx + 0x14], edi
cmp byte [rcx + 0x10], dil
je 0x14000f06f
cmp qword [rdx + 0x18], 8
jb 0x14000f062
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [rbx + 0x14], eax
cmp dword [rbx + 0x14], edi
mov rbx, qword [rsp + 0x30]
sete al
add rsp, 0x20
pop rdi
ret

Function at 0x14000f080
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
xor eax, eax
mov rbx, rcx
mov dword [rsp + 0x40], eax
mov dword [rcx + 0x14], eax
cmp byte [rcx + 0x10], al
je 0x14000f0c4
cmp qword [rdx + 0x18], 8
jb 0x14000f0a1
mov rdx, qword [rdx]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbx + 0x14], eax
mov eax, dword [rsp + 0x40]
add rsp, 0x30
pop rbx
ret
Function at 0x14000f1e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, rcx
mov rsi, r8
mov rdi, rdx
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x400
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x34], 0x200
call sub.MSVCR100.dll_memset
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::erase_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64
cmp byte [rbx + 0x10], 0
je 0x14000f2a2
cmp qword [rdi + 0x18], 8
jb 0x14000f246
mov rdi, qword [rdi]
mov rcx, qword [rbx + 8]
lea rax, [rsp + 0x34]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov dword [rbx + 0x14], eax
sete bl
test bl, bl
je 0x14000f29d
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x40]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x40]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64
movzx eax, bl
jmp 0x14000f2a4
xor al, al
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140013da0
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret
Function at 0x14000f2c0
Capabilities:
Query or enumerate registry key

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x40], 0x100
cmp byte [rcx + 0x10], 0
je 0x14000f3aa
mov edx, dword [rcx + 0x18]
lea eax, [rdx + 1]
mov dword [rcx + 0x18], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x40]
lea r8, [r11 - 0x228]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov dword [rdi + 0x14], eax
cmp eax, 0x103
jne 0x14000f34f
mov dword [rdi + 0x18], ebx
jmp 0x14000f3aa
test eax, eax
sete bl
test bl, bl
je 0x14000f3a5
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsString::constructor_wchar_t_const____ptr64____ptr64
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14000f377
mov rdx, qword [rax]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64
nop
cmp qword [rsp + 0x70], 8
jb 0x14000f3a5
mov rcx, qword [rsp + 0x58]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
movzx eax, bl
jmp 0x14000f3ac
xor al, al
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.140013da0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x14000f3e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x460
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x450], rax
cmp byte [rcx + 0x10], 0
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x40], 0x200
je 0x14000f4b6
mov edx, dword [rcx + 0x18]
mov qword [rsp + 0x480], rbx
xor ebx, ebx
mov qword [rsp + 0x38], rbx
lea eax, [rdx + 1]
mov qword [rsp + 0x30], rbx
mov dword [rcx + 0x18], eax
mov rcx, qword [rcx + 8]
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov dword [rdi + 0x14], eax
cmp eax, 0x103
jne 0x14000f45f
mov dword [rdi + 0x18], ebx
test eax, eax
sete bl
test bl, bl
je 0x14000f48a
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x50]
repne scasw ax, word [rdi]
lea rdx, [rsp + 0x50]
not rcx
lea r8, [rcx - 1]
mov rcx, rsi
call sym.IPROSetMonitor.exe_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64_____ptr64
movzx eax, bl
mov rbx, qword [rsp + 0x480]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.140013da0
mov rsi, qword [rsp + 0x488]
add rsp, 0x460
pop rdi
ret
xor al, al
jmp 0x14000f495
Function at 0x140010260
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x320], rbx
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rbx, rdx
mov rsi, rcx
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsRegKey::constructor_void____ptr64
nop
cmp byte [rsi + 0x10], 0
jne 0x1400102b1
jmp 0x1400103cc
test rbx, rbx
je 0x1400103cc
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x1400103cc
mov rdx, rbx
lea rcx, [rbp - 0x50]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsString::constructor_wchar_t_const____ptr64____ptr64
nop
xor r9d, r9d
lea r8, [rbp - 0x50]
mov rdx, qword [rsi + 8]
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public:_bool___cdecl_CNcsRegKey::Open_struct_HKEY______ptr64__class_CNcsString_const____ptr64__bool____ptr64
movzx edi, al
cmp qword [rbp - 0x38], 8
jb 0x140010307
mov rcx, qword [rbp - 0x50]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
test dil, dil
jne 0x140010311
jmp 0x1400103cc
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400103a1
nop
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public:_bool___cdecl_CNcsRegKey::DeleteSubKey_wchar_t_const____ptr64____ptr64
test al, al
je 0x14001039f
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x20]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140010350
jmp 0x1400103a1
jmp 0x1400103cc
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsRegKey::Close_void____ptr64
mov rdx, rbx
mov rcx, rsi
call sym.IPROSetMonitor.exe_private:_unsigned_long_int___cdecl_CNcsRegKey::RemoveSubKey_wchar_t_const____ptr64____ptr64
test eax, eax
sete dil
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public_virtual:_void___cdecl_CNcsRegKey::destructor_void____ptr64
movzx eax, dil
jmp 0x1400103d8
lea rcx, [rsp + 0x60]
call sym.IPROSetMonitor.exe_public_virtual:_void___cdecl_CNcsRegKey::destructor_void____ptr64
xor al, al
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0x320]
add rsp, 0x2f0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010900
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rbx, r8
mov r12, rdx
mov rbp, rcx
xor esi, esi
mov dword [rcx + 0x14], esi
cmp byte [rcx + 0x10], sil
jne 0x14001094d
mov rcx, rbx
call fcn.14000a910
xor al, al
jmp 0x140010b4c
mov rdi, rsi
mov r8, qword [r8]
mov rcx, qword [rbx + 8]
sub rcx, r8
movabs r9, 0x6666666666666667
mov rax, r9
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400109b1
add r8, 0x10
mov rcx, qword [rbx + 8]
sub rcx, qword [rbx]
mov rax, r9
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
nop dword [rax]
mov rax, qword [r8]
lea rdi, [rdi + rax*2 + 2]
add r8, 0x28
dec rdx
jne 0x1400109a0
add rdi, 2
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_malloc]
mov r13, rax
mov r8, rdi
xor edx, edx
mov rcx, rax
call sub.MSVCR100.dll_memset
mov r14, rdi
shr r14, 1
mov r15, r13
mov qword [rsp + 0x98], rsi
mov r8, qword [rbx]
mov rcx, qword [rbx + 8]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140010a8a
movabs rbp, 0x6666666666666667
lea rax, [rsi + r8]
cmp qword [rax + 0x18], 8
jb 0x140010a22
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
mov r9, r14
mov r8, r15
mov edx, 0x399
lea rcx, str...CommonSrcNcsRegKey.cpp
call fcn.140011860
mov r8, qword [rbx]
mov rax, qword [rsi + r8 + 0x10]
lea r15, [r15 + rax*2 + 2]
mov r9, qword [rsp + 0x98]
inc r9
mov qword [rsp + 0x98], r9
add rsi, 0x28
mov rcx, qword [rbx + 8]
sub rcx, r8
mov rax, rbp
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r9, rdx
jb 0x140010a14
mov rbp, qword [rsp + 0x80]
mov byte [r13 + rdi - 1], 0
cmp qword [r12 + 0x18], 8
jb 0x140010a9c
mov r12, qword [r12]
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r13
mov r9d, 7
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x14], eax
mov rcx, r13
call qword [sym.imp.MSVCR100.dll_free]
cmp dword [rbp + 0x14], 0
je 0x140010b0c
mov rdi, qword [rbx]
test rdi, rdi
je 0x140010afd
mov rsi, qword [rbx + 8]
cmp rdi, rsi
je 0x140010af5
nop
mov rdx, rdi
lea rcx, [rbx + 0x18]
call fcn.1400087f0
add rdi, 0x28
cmp rdi, rsi
jne 0x140010ae0
mov rcx, qword [rbx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
jmp 0x140010b4c
mov rdi, qword [rbx]
test rdi, rdi
je 0x140010b3d
mov rsi, qword [rbx + 8]
cmp rdi, rsi
je 0x140010b35
nop dword [rax]
mov rdx, rdi
lea rcx, [rbx + 0x18]
call fcn.1400087f0
add rdi, 0x28
cmp rdi, rsi
jne 0x140010b20
mov rcx, qword [rbx]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov al, 1
mov rbx, qword [rsp + 0x88]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140010c20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r8
mov rdi, rdx
mov rsi, rcx
mov dword [rsp + 0x34], 7
xor r13d, r13d
mov dword [rcx + 0x14], r13d
mov rcx, r8
call fcn.1400107c0
cmp byte [rsi + 0x10], r13b
je 0x140010d0a
cmp qword [rdi + 0x18], 8
jb 0x140010c82
mov rdx, qword [rdi]
jmp 0x140010c85
mov rdx, rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsi + 0x14], eax
test eax, eax
jne 0x140010d0a
mov ebx, dword [rsp + 0x30]
lea rcx, [rbx + 5]
call qword [sym.imp.MSVCR100.dll_malloc]
mov rbp, rax
lea r8d, [rbx + 5]
xor edx, edx
mov rcx, rax
call sub.MSVCR100.dll_memset
cmp qword [rdi + 0x18], 8
jb 0x140010cd6
mov rdi, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rdi
mov rcx, qword [rsi + 8]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsi + 0x14], eax
test eax, eax
je 0x140010d0e
mov rcx, rbp
call qword [sym.imp.MSVCR100.dll_free]
xor al, al
jmp 0x140010d85
mov rdi, rbp
mov esi, dword [rsp + 0x30]
cmp byte [rdi], 0
jne 0x140010d1e
test esi, esi
je 0x140010d7a
mov rdx, rdi
lea rcx, [rsp + 0x40]
call sym.IPROSetMonitor.exe_public:_void___cdecl_CNcsString::constructor_wchar_t_const____ptr64____ptr64
nop
mov ebx, dword [rsp + 0x50]
inc ebx
cmp qword [rsp + 0x50], 0
je 0x140010d47
lea rdx, [rsp + 0x40]
mov rcx, r12
call fcn.140010b70
mov eax, ebx
lea rdi, [rdi + rbx*2]
imul ebx, ebx, 0xfffffffe
add esi, ebx
cmp qword [rsp + 0x58], 8
jb 0x140010d64
mov rcx, qword [rsp + 0x40]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r13
mov word [rsp + 0x40], r13w
jmp 0x140010d15
mov rcx, rbp
call qword [sym.imp.MSVCR100.dll_free]
mov al, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400119c0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x40], rax
test ecx, ecx
je 0x140011a0a
lea r8, [rsp + 0x20]
mov r9d, 0x10
mov edx, 0x1004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCR100.dll__wtoi]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013da0
add rsp, 0x58
ret
call qword [sym.imp.KERNEL32.dll_GetACP]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140013da0
add rsp, 0x58
ret
Function at 0x140012b80
Capabilities:
Query service status
Start service
Stop service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x70
mov rax, qword [0x1400273a8]
xor rax, rsp
mov qword [rsp + 0x60], rax
movzx r12d, dl
mov rsi, rcx
lea rcx, str.Entering_WaitOnStatus___bStartService_d
mov edx, r12d
call fcn.140001140
or ebx, 0xffffffff
xor bpl, bpl
mov dword [rsp + 0x30], 0
lea edi, [rbx + 2]
lea r13d, [rbx + 4]
test r12b, r12b
je 0x140012bd6
lea edi, [rbx + 5]
lea r13d, [rbx + 3]
test rsi, rsi
jne 0x140012bf0
lea rcx, str.EEROR:__handle_to_the_service_is_NULL_
call fcn.140001140
jmp 0x140012cda
mov eax, ebx
inc ebx
test eax, eax
je 0x140012cda
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov r9d, 0x24
xor edx, edx
mov rcx, rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x140012cc6
mov edx, dword [rsp + 0x3c]
cmp edx, r13d
jne 0x140012c3b
lea rcx, str.New_status_is_pending.__Current_State_d
call fcn.140001140
jmp 0x140012c7f
cmp edx, edi
je 0x140012cb5
mov rcx, rsi
test r12b, r12b
je 0x140012c65
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140012c79
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR:__Unable_to_send_StartService_command___error_d
jmp 0x140012cd3
lea r8, [rsp + 0x38]
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x140012ca6
cmp dword [rsp + 0x3c], edi
je 0x140012c95
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp ebx, 0xa
jl 0x140012bf0
jmp 0x140012cda
lea rcx, str.Successfully_changed_the_status
call fcn.140001140
mov bpl, 1
jmp 0x140012cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR:__Unable_to_send_SERVICE_CONTROL_STOP_command____error_d
jmp 0x140012cd3
lea rcx, str.New_status_is_updated.__Current_state_d
call fcn.140001140
mov bpl, 1
jmp 0x140012cda
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR:__Unable_to_get_the_current_status_of_the_service____error_d
mov edx, eax
call fcn.140001140
lea rcx, str.Exiting_WaitOnStatus___bServiceChanged_d
movzx edx, bpl
call fcn.140001140
movzx eax, bpl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140013da0
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
jmp 0x140012b80