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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x18c]
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
test al, al
je 0x14005a4cc
mov r8d, 0x1d5
lea rdx, str.CRpcClientObject::OnPropertyValueChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp fcn.14002f950
cmp dword [rcx + 0x64], 0
je 0x14005a4f3
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
mov r8d, 0x1d6
jmp 0x14005a4b2
inc dword [rcx + 0x60]
mov ecx, 0x8c
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
call fcn.140076964
xor edx, edx
mov r8d, 0x8c
mov rcx, rax
mov rsi, rax
call fcn.14007eaa0
mov r8, rbp
mov edx, 0x3c
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
movups xmm0, xmmword [rdi]
movups xmmword [rsi + 0x78], xmm0
mov ecx, dword [rdi + 0x10]
mov dword [rsi + 0x88], ecx
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x18c]
test al, al
jne 0x14005a5a3
lea rdi, [rbx + 0x90]
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.1400054c0
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rax]
test rax, rax
je 0x14005a57b
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov qword [rax], 0
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005a59c
mov qword [rcx], rax
jmp 0x14005a59f
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
sub dword [rbx + 0x60], 1
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jne case.default.0x14005a5d8
cmp dword [rbx + 0x64], 0
je case.default.0x14005a5d8
mov rcx, qword [rbx + 0x58]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x14005a5f0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x16c]
mov rdi, r8
mov rbp, rdx
mov rbx, rcx
test al, al
je 0x14005a62c
mov r8d, 0x1ef
lea rdx, str.CRpcClientObject::OnRegKeyChanged
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp fcn.14002f950
cmp dword [rcx + 0x44], 0
je 0x14005a653
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
mov r8d, 0x1f0
jmp 0x14005a612
inc dword [rcx + 0x40]
mov ecx, 0x408
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
call fcn.140076964
xor edx, edx
mov r8d, 0x408
mov rcx, rax
mov rsi, rax
call fcn.14007eaa0
lea rcx, [rsi + 8]
mov r8, rbp
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsi + 0x208]
mov r8, rdi
mov edx, 0x100
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x16c]
test al, al
jne 0x14005a709
lea rdi, [rbx + 0x100]
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.1400054c0
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rax]
test rax, rax
je 0x14005a6e1
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov qword [rax], 0
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005a702
mov qword [rcx], rax
jmp 0x14005a705
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rbx + 8]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x60]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
sub dword [rbx + 0x40], 1
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jne case.default.0x14005a73e
cmp dword [rbx + 0x44], 0
je case.default.0x14005a73e
mov rcx, qword [rbx + 0x38]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x14005aaf0
Capabilities:
Print debug messages

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x20
movzx eax, byte [rcx + 0x184]
mov edi, r8d
mov rbp, rdx
mov rbx, rcx
test al, al
je 0x14005ab2c
mov r8d, 0x238
lea rdx, str.CRpcClientObject::OnDriverEvent
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp fcn.14002f950
cmp dword [rcx + 0x5c], 0
je 0x14005ab53
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
mov r8d, 0x239
jmp 0x14005ab12
inc dword [rcx + 0x58]
mov ecx, 0x204
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], r14
call fcn.140076964
xor edx, edx
mov r8d, 0x204
mov rcx, rax
mov rsi, rax
call fcn.14007eaa0
mov r8, rbp
mov edx, 0x100
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x20]
mov dword [rsi + 0x200], edi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx ecx, byte [rbx + 0x184]
test cl, cl
jne 0x14005abf9
lea rdi, [rbx + 0xb8]
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.1400054c0
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x40], rax
mov rcx, qword [rax]
test rax, rax
je 0x14005abd1
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov qword [rax], 0
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005abf2
mov qword [rcx], rax
jmp 0x14005abf5
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rbx + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x68]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
sub dword [rbx + 0x58], 1
mov r14, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
jne case.default.0x14005ac2e
cmp dword [rbx + 0x5c], 0
je case.default.0x14005ac2e
mov rcx, qword [rbx + 0x50]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x14005ad70
Capabilities:
Print debug messages

Disassembly:
push rbx
push rdi
sub rsp, 0x28
movzx eax, byte [rcx + 0x18c]
mov edi, r8d
mov rbx, rcx
test al, al
je 0x14005ada7
mov r8d, 0x263
lea rdx, str.CRpcClientObject::OnServiceEvent
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x28
pop rdi
pop rbx
jmp fcn.14002f950
cmp dword [rcx + 0x64], 0
je 0x14005adce
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
mov r8d, 0x264
jmp 0x14005ad8e
inc dword [rcx + 0x60]
mov ecx, 0x208
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x20], r14
call fcn.140076964
xor edx, edx
mov r8d, 0x208
mov rcx, rax
mov rsi, rax
call fcn.14007eaa0
lea r8, [0x140094658]
mov edx, 0x100
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rbx + 0x28]
mov dword [rsi + 0x200], edi
mov dword [rsi + 0x204], 0
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
movzx eax, byte [rbx + 0x18c]
test al, al
jne 0x14005ae8c
lea rdi, [rbx + 0xf0]
mov qword [rsp + 0x40], rbp
mov rbp, qword [rdi + 8]
mov rcx, rdi
call fcn.1400054c0
mov rax, qword [rdi + 0x20]
mov qword [rsp + 0x48], rax
mov rcx, qword [rax]
test rax, rax
je 0x14005ae5f
mov qword [rax + 0x10], rsi
mov qword [rdi + 0x20], rcx
mov qword [rax + 8], rbp
mov rbp, qword [rsp + 0x40]
mov qword [rax], 0
inc qword [rdi + 0x10]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14005ae85
mov qword [rcx], rax
jmp 0x14005ae88
mov qword [rdi], rax
mov qword [rdi + 8], rax
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
sub dword [rbx + 0x60], 1
mov r14, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x50]
jne case.default.0x14005aec0
cmp dword [rbx + 0x64], 0
je case.default.0x14005aec0
mov rcx, qword [rbx + 0x58]
add rsp, 0x28
pop rdi
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x28
pop rdi
pop rbx
ret
Function at 0x14005b100
Capabilities:
Print debug messages

Disassembly:
push rbx
sub rsp, 0x30
cmp dword [rcx + 0x54], 0
mov rbx, rcx
je 0x14005b146
mov r8d, 0x2d
lea rdx, str.CDestructorHelper::AvoidDelete
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.14002f950
mov r8d, 0x299
lea rdx, str.CRpcClientObject::OnTimer
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x30
pop rbx
jmp fcn.14002f950
inc dword [rcx + 0x50]
cmp qword [rcx + 0x170], 0
je 0x14005b1a2
cmp edx, 0x3f3
jne 0x14005b1a2
mov r9d, dword [rcx + 0x178]
test r9d, r9d
je 0x14005b189
lea rax, [rcx - 0x10]
mov r8d, 0x2a1
lea rcx, str._s__d_block_check_EventPostingType_d_CRpcClientObject_x
mov qword [rsp + 0x20], rax
lea rdx, str.CRpcClientObject::OnTimer
call fcn.14002f950
mov rax, qword [rbx - 8]
lea rcx, [rbx - 8]
mov r8d, 0x270f
lea rdx, [0x140094658]
call qword [rax]
jmp 0x14005b1cb
cmp edx, 0x3f8
jne 0x14005b1cb
call fcn.140009ad0
mov rcx, rax
mov edx, 0x3f8
call fcn.14006e660
lea rcx, [rbx - 0x10]
mov r8d, 0x20000005
call fcn.14005ad70
sub dword [rbx + 0x50], 1
jne case.default.0x14005b1e0
cmp dword [rbx + 0x54], 0
je case.default.0x14005b1e0
mov rcx, qword [rbx + 0x48]
add rsp, 0x30
pop rbx
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
add rsp, 0x30
pop rbx
ret
Function at 0x14005bd30
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
lea rdx, str.RemoteClose
mov rdi, rcx
lea rcx, str._s_pphContext_x
call fcn.14002f950
cmp qword [rdi], 0
jne 0x14005bd73
mov r8d, 0x156
lea rdx, str.RemoteClose
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x20
pop rdi
jmp fcn.14002f950
mov rax, qword [0x1400daae0]
test rax, rax
jne 0x14005bdb5
mov ecx, 0xc8
mov qword [rsp + 0x30], rbx
call fcn.140076964
xor edx, edx
mov r8d, 0xc8
mov rcx, rax
mov rbx, rax
call fcn.14007eaa0
mov rcx, rbx
call fcn.14004e810
mov rbx, qword [rsp + 0x30]
mov qword [0x1400daae0], rax
mov rdx, qword [rdi]
mov rcx, rax
call fcn.14004ec70
mov qword [rdi], 0
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]

Function at 0x14005bf80
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0xa0]
mov rbp, r9
mov rsi, qword [rsp + 0xb8]
mov rbx, r8
mov r14, qword [rsp + 0xa8]
mov rdi, rdx
mov r15, qword [rsp + 0xb0]
mov dword [rsi], eax
call fcn.140004150
mov rcx, rax
test rax, rax
je 0x14005c0fd
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r9, rbx
lea r8, str.SOFTWARERealtekAudioRtkAudUservice
add rax, 0x18
lea rdx, [0x140093108]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1400053a0
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 8], 1
jle 0x14005c021
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140003b80
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x30], rsi
mov r9d, 0xffff
mov qword [rsp + 0x28], r15
mov r8, rbp
mov rdx, rbx
mov qword [rsp + 0x20], r14
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
movsxd rdi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
test eax, eax
js 0x14005c108
cmp eax, dword [rbx - 0xc]
jg 0x14005c108
mov dword [rbx - 0x10], eax
xor ecx, ecx
cdqe
mov word [rbx + rax*2], cx
cmp dword [0x1400d9638], ecx
je 0x14005c0be
cmp dword [0x1400d9670], ecx
jne 0x14005c08e
mov rax, qword [0x1400d53a8]
test byte [rax + 0x1c], 1
je 0x14005c0be
mov eax, dword [rsi]
lea rdx, str.GetProfileValue
mov dword [rsp + 0x38], eax
lea rcx, str._s_lRet_d_subkey_s_valName_s_type_d_value_x_valuesize_d
mov eax, dword [r14]
mov r9, rbx
mov qword [rsp + 0x30], r15
mov r8d, edi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
call fcn.14002f950
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14005c0d9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, rdi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140076320
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov ecx, 0x80070057
call fcn.140003ec0
int3
Function at 0x14005c120
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbp, qword [rsp + 0xa8]
mov rsi, r9
mov rbx, r8
mov rdi, rdx
call fcn.140004150
mov rcx, rax
test rax, rax
je 0x14005c291
mov rax, qword [rax]
mov qword [rsp + 0x80], r14
mov qword [rsp + 0x50], r15
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov r9, rbx
lea r8, str.SOFTWARERealtekAudioRtkAudUservice
add rax, 0x18
lea rdx, [0x140093108]
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
call fcn.1400053a0
mov rbx, qword [rsp + 0x40]
cmp dword [rbx - 8], 1
jle 0x14005c1ae
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x40]
call fcn.140003b80
mov rbx, qword [rsp + 0x40]
mov r14d, dword [rsp + 0xb0]
mov r8, rsi
mov r15d, dword [rsp + 0xa0]
mov rdx, rbx
mov dword [rsp + 0x28], r14d
mov r9d, r15d
mov rcx, rdi
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_core_registry_l1_1_1.dll_RegSetKeyValueW]
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
movsxd rdi, eax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
test eax, eax
js 0x14005c29c
cmp eax, dword [rbx - 0xc]
jg 0x14005c29c
mov dword [rbx - 0x10], eax
xor ecx, ecx
cdqe
mov word [rbx + rax*2], cx
cmp dword [0x1400d9638], ecx
je 0x14005c250
cmp dword [0x1400d9670], ecx
jne 0x14005c223
mov rax, qword [0x1400d53a8]
test byte [rax + 0x1c], 1
je 0x14005c250
mov dword [rsp + 0x38], r14d
lea rdx, str.WriteProfileValue
mov qword [rsp + 0x30], rbp
lea rcx, str._s_lRet_d_subkey_s_valName_s_type_d_val_x_valsize_d
mov dword [rsp + 0x28], r15d
mov r9, rbx
mov r8d, edi
mov qword [rsp + 0x20], rsi
call fcn.14002f950
lea rdx, [rbx - 0x18]
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14005c26b
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov r14, qword [rsp + 0x80]
mov rax, rdi
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140076320
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov ecx, 0x80070057
call fcn.140003ec0
int3
Function at 0x14005cfe0
Capabilities:
Encrypt or decrypt data via bcrypt

Disassembly:
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x68
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r14, qword [rsp + 0xc0]
xor r12d, r12d
mov r15, rcx
mov dword [rsp + 0x50], r12d
mov rcx, qword [rcx]
mov rsi, r9
mov ebp, r8d
mov rdi, rdx
test rcx, rcx
jne 0x14005d028
mov eax, 0xc0000008
jmp 0x14005d0a5
test rdi, rdi
je 0x14005d128
test rsi, rsi
je 0x14005d128
test r14, r14
je 0x14005d128
mov dword [rsp + 0x48], 2
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
test eax, eax
js 0x14005d0a5
mov qword [rsp + 0x60], rbx
mov ebx, dword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8d, ebx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x14005d0c0
mov eax, 0xc0000017
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140076320
add rsp, 0x68
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [r15]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x48], 2
xor r9d, r9d
mov qword [rsp + 0x40], rax
mov r8d, ebp
mov eax, dword [rsp + 0x50]
mov rdx, rdi
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
call qword [sym.imp.bcrypt.dll_BCryptEncrypt]
mov edi, eax
test eax, eax
js 0x14005d10d
mov ecx, dword [rsp + 0x50]
mov qword [rsi], rbx
mov dword [r14], ecx
jmp 0x14005d0a0
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.api_ms_win_core_heap_l1_1_0.dll_HeapFree]
mov eax, edi
jmp 0x14005d0a0
mov eax, 0xc000000d
jmp 0x14005d0a5
Function at 0x14005def0
Capabilities:
Create thread

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, r8
mov rbx, rdx
mov rbp, rcx
mov qword [rsp + 0x70], rcx
call fcn.140004150
mov rcx, rax
test rax, rax
jne 0x14005df45
mov ecx, 0x80004005
call fcn.140003ec0
int3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x808], rax
test rbx, rbx
je 0x14005e0f2
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x14005df63
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x808]
call fcn.140003c30
mov rax, qword [rbp + 0x808]
cmp dword [rax - 8], 1
jle 0x14005df9b
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x808]
call fcn.140003b80
mov rax, qword [rbp + 0x808]
mov qword [rbp + 0x800], rax
mov qword [rbp + 0x818], rsi
mov rdi, rbp
mov esi, 0x5c00
xor r15d, r15d
nop dword [rax + rax]
mov qword [rdi + 8], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rdi], rax
test rax, rax
je 0x14005e092
movups xmm0, xmmword [rdi]
movaps xmmword [rsp + 0x60], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov ebx, esi
or ebx, 0x220000
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [rax + 3]
mov rcx, qword [rbp + 0x800]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x14005e037
mov qword [rsp + 0x40], r15
jmp 0x14005e089
mov qword [rsp + 0x38], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], SafeArrayUnaccessData
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, [rsp + 0x60]
mov edx, ebx
mov rcx, r14
call qword [sym.imp.api_ms_win_core_io_l1_1_0.dll_DeviceIoControl]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rax, qword [rsp + 0x40]
test ebx, ebx
cmove rax, r15
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdi + 0x10], xmm0
add esi, 0xc
add rdi, 0x20
cmp esi, 0x5ef4
jl 0x14005dfc0
mov qword [rbp + 0x7e8], r15
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CreateEventW]
mov qword [rbp + 0x7e0], rax
test rax, rax
je 0x14005e0f2
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbp
lea r8, [0x14005e2f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbp + 0x810], rax
mov rax, rbp
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140076320
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140063a40
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x38], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [0x1400d5010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [r11 - 0x30], rcx
call fcn.14006b600
nop
xor ebp, ebp
mov dword [rdi + 0x78], ebp
mov qword [rdi + 0x80], rbp
mov qword [rdi + 0x88], rbp
lea rsi, [rdi + 0x90]
lea rax, vtable.CSensorsMgr.1.0
mov qword [rdi], rax
lea rax, vtable.CSensorsMgr.0
mov qword [rdi + 0x70], rax
lea rax, vtable.CSensorsMgr.2.0
mov qword [rsi], rax
mov dword [rdi + 0x98], ebp
mov dword [rdi + 0x9c], 1
mov qword [rdi + 0xa0], rbp
mov qword [rdi + 0xa8], rbp
lea r8d, [rbp + 0xa]
lea rdx, [0x1400a8190]
lea rcx, [0x1400934a8]
call fcn.14002f950
test rdi, rdi
cmove rsi, rbp
mov rax, qword [0x1400dab20]
test rax, rax
jne 0x140063b2b
mov ecx, 0x218
call fcn.140076964
mov rbx, rax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x218
mov rcx, rax
call fcn.14007eaa0
mov rcx, rbx
call fcn.140066df0
nop
mov qword [0x1400dab20], rax
lea rcx, [rax + 0xa0]
mov rdx, rsi
call fcn.1400050c0
mov dword [rdi + 0x98], ebp
mov dword [rdi + 0x9c], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rdi
lea r8, [0x140064030]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0xa0], rax
mov rax, rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140076320
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret

Function at 0x140063d30
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400934a8]
mov r8d, 0x27
call fcn.14002f950
xor ebx, ebx
nop dword [rax + rax]
mov r8d, 0x2d
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400934a8]
call fcn.14002f950
mov ecx, 0x2710
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8d, 0x31
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400934a8]
call fcn.14002f950
lea rcx, [rdi - 0x70]
call fcn.140063df0
test eax, eax
jne 0x140063db3
inc ebx
cmp ebx, 5
jl 0x140063d60
jmp 0x140063dcc
mov r8d, 0x34
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400934a8]
call fcn.14002f950
mov r8d, 0x38
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400934a8]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14002f950