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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov ebp, r8d
mov esi, edx
mov edi, ecx
xor eax, eax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], 0x1001
mov dword [rsp + 0x74], ecx
mov word [rsp + 0x78], si
mov word [rsp + 0x7a], bp
lea r9, str.RealtekAudioBackgroundProcessClass
lea r8, str.RealtekAudioBackgroundProcessClass
xor edx, edx
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowExW]
mov r14, rax
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0x2000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x60], 0xc
lea r9, [rsp + 0x58]
mov r8, qword [0x1400beb58]
mov edx, 0x4a
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageW]
mov r15, rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14001e816
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x80], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x48], eax
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xc0
lea r8, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rdx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
lea rcx, [rsp + 0x80]
call fcn.140004c30
mov rbx, qword [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp dword [0x1400bea48], 0
je 0x14001e7d0
cmp dword [0x1400bea1c], 0
jne 0x14001e798
mov rax, qword [0x1400bb278]
test byte [rax + 0x1c], 1
je 0x14001e7d0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], ebp
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], edi
mov r9, r14
mov r8d, 0xc4
lea rdx, str.CJackRetaskCommandLineHelper::SendRetaskCommandToActiveRtkAudUService
lea rcx, str._s__d_hWnd_x_Wid_x_DevType_d_Seq_d_hr_x_LastErr_d
call fcn.140026f80
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001e7ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x14001f8d0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor eax, eax
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov rbx, r8
mov rdi, rdx
call fcn.1400497b0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x30], 0
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
je 0x14001f949
mov rdx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14001f99a
xor r8d, r8d
mov dword [rsp + 0x28], 4
mov r9d, 4
mov rdx, rdi
test rbx, rbx
je 0x14001f973
mov qword [rsp + 0x20], rbx
jmp 0x14001f985
lea rax, [rsp + 0x38]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14001f99e
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001f9bd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret
Function at 0x140020160
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x500
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x4f0], rax
mov rbx, r8
mov edi, edx
mov r8, rcx
mov edx, 0x208
lea rcx, [rsp + 0xe0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
xor edx, edx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.14006d020
xor eax, eax
mov dword [rsp + 0x70], 0x68
lea rcx, [rsp + 0xe0]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.14001f220
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0xe0]
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x140020256
test edi, edi
je 0x140020228
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test rbx, rbx
je 0x14002023b
mov rcx, qword [rsp + 0x50]
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x4f0]
xor rcx, rsp
call fcn.140065bd0
mov rbx, qword [rsp + 0x518]
add rsp, 0x500
pop rdi
ret
Function at 0x140024180
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x70], 0
mov rbx, rdx
mov rdi, rcx
je 0x1400242c8
mov rax, qword [r8]
cmp rax, qword [0x140080d78]
jne 0x1400241bf
mov rax, qword [r8 + 8]
cmp rax, qword [0x140080d80]
jne 0x1400241bf
cmp dword [r8 + 0x10], 4
je 0x1400241eb
mov rax, qword [r8]
cmp rax, qword [0x140080d30]
jne 0x1400242c8
mov rax, qword [r8 + 8]
cmp rax, qword [0x140080d38]
jne 0x1400242c8
cmp dword [r8 + 0x10], 6
jne 0x1400242c8
mov r8d, 0xed
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140081b98]
call fcn.140026f80
mov dword [rdi + 0x58], 1
call fcn.1400085d0
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.14005ea10
call fcn.1400083c0
mov rcx, rax
mov rdx, rbx
call fcn.14004a940
mov rsi, rax
test rax, rax
je 0x140024379
cmp dword [rax + 0x148], 0
je 0x1400242ab
cmp dword [0x1400bea10], 0
je 0x140024379
cmp dword [0x1400bea14], 0
jne 0x1400242ab
mov r8d, 0xf9
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140081b98]
call fcn.140026f80
call fcn.140023fd0
cmp dword [0x1400bea14], 0
jne 0x1400242ab
mov r8d, 0xfe
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140081b98]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rsi
mov rcx, rdi
call fcn.140025520
jmp 0x14002436f
cmp dword [rcx + 0x74], 0
je 0x140024379
mov rax, qword [r8]
cmp rax, qword [0x140080d48]
jne 0x140024379
mov rax, qword [r8 + 8]
cmp rax, qword [0x140080d50]
jne 0x140024379
cmp dword [r8 + 0x10], 0x11
jne 0x140024379
mov r8d, 0x111
lea rdx, str.CIndependentVolumeMgr::OnPropertyValueChanged
lea rcx, [0x140081b98]
call fcn.140026f80
mov dword [rdi + 0x58], 1
call fcn.1400085d0
mov edx, 0x3f7
mov rcx, rax
lea r8d, [rdx - 0xf]
call fcn.14005ea10
call fcn.1400083c0
mov rcx, rax
mov rdx, rbx
call fcn.14004a940
mov rsi, rax
test rax, rax
je 0x140024379
cmp dword [rax + 0x148], 1
jne 0x14002435a
cmp dword [0x1400bea10], 0
je 0x140024379
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor r9d, r9d
mov rdx, rsi
call fcn.140026090
lea rcx, [rdi + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140024500
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x28
test rdx, rdx
je 0x140024568
cmp dword [rdx + 0x148], 1
jne 0x140024568
cmp dword [0x1400bea14], 0
jne 0x140024568
cmp dword [0x1400bea10], 0
je 0x140024568
mov r8d, 0x161
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140081b98]
call fcn.140026f80
call fcn.140023fd0
cmp dword [0x1400bea14], 0
jne 0x140024568
mov r8d, 0x166
lea rdx, str.CIndependentVolumeMgr::OnAddDevice
lea rcx, [0x140081b98]
add rsp, 0x28
jmp fcn.140026f80
add rsp, 0x28
ret
Function at 0x140024570
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, r8d
lea rcx, [0x140081b98]
mov rdi, rdx
mov r8d, 0x16f
lea rdx, str.CIndependentVolumeMgr::OnDeviceStateChanged
call fcn.140026f80
call fcn.1400083c0
mov rbx, qword [rax + 0x70]
test rbx, rbx
je 0x1400245fd
nop dword [rax]
call fcn.1400083c0
test rbx, rbx
je 0x14002467d
mov r9, qword [rbx + 0x10]
mov rbx, qword [rbx]
test r9, r9
je 0x1400245f8
mov r8, qword [r9 + 0x138]
mov rax, rdi
sub r8, rdi
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400245f4
add rax, 2
test ecx, ecx
jne 0x1400245e0
test edx, edx
je 0x14002460d
test rbx, rbx
jne 0x1400245b0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
cmp dword [r9 + 0x148], 1
jne 0x1400245fd
cmp esi, 1
jne 0x1400245fd
cmp dword [0x1400bea14], 0
jne 0x1400245fd
cmp dword [0x1400bea10], 0
je 0x1400245fd
mov r8d, 0x17f
lea rdx, str.CIndependentVolumeMgr::OnDeviceStateChanged
lea rcx, [0x140081b98]
call fcn.140026f80
call fcn.140023fd0
cmp dword [0x1400bea14], 0
jne 0x1400245fd
mov r8d, 0x184
lea rdx, str.CIndependentVolumeMgr::OnDeviceStateChanged
lea rcx, [0x140081b98]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x140026f80
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
mov eax, 0x1028
call fcn.14006ee90
sub rsp, rax
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x1010], rax
cmp dword [0x1400bea48], 0
je 0x1400271c0
cmp dword [0x1400bea1c], 0
jne 0x140026fe5
mov rax, qword [0x1400bb278]
test byte [rax + 0x1c], 1
je 0x1400271c0
lea rcx, [0x1400bea20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edx, edx
mov r8d, 0x7ce
lea rcx, [rsp + 0x840]
call fcn.14006d020
lea rbx, [rsp + 0x1048]
mov qword [rsp + 0x48], rbx
call fcn.140004ed0
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
mov r9, qword [rsp + 0x1040]
mov r8d, 0x3e6
lea rdx, [rsp + 0x840]
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vswprintf]
mov rax, qword [0x1400bb278]
test byte [rax + 0x1c], 1
je 0x140027060
lea rcx, [rsp + 0x840]
call fcn.140065a60
cmp dword [0x1400bea1c], 0
je 0x1400271b3
lea rcx, [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movzx eax, word [rsp + 0x66]
movzx ecx, word [rsp + 0x64]
movzx r8d, word [rsp + 0x62]
movzx r9d, word [rsp + 0x60]
lea r10, [rsp + 0x840]
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r8d
lea r8, str._02d:_02d:_02d:_03d___s_n
mov edx, 0x3e6
lea rcx, [rsp + 0x70]
call fcn.140027300
cmp dword [0x1400bb170], 1
jne 0x14002715f
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x1400271da
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004a90
or rdi, 0xffffffffffffffff
test al, al
jne 0x14002712d
lea rcx, [rsp + 0x70]
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140027110
mov r8d, eax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002f50
nop
mov rbx, qword [rsp + 0x50]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [0x1400bf910]
call fcn.14000bcf0
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400271b3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400271b3
cmp dword [0x1400bea18], 0
je 0x1400271b3
cmp dword [0x1400bb114], 0
je 0x1400271a8
mov rdx, qword [0x1400bea50]
test rdx, rdx
jne 0x14002718e
call fcn.140026800
mov rdx, qword [0x1400bea50]
test rdx, rdx
je 0x1400271b3
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1400bea50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x1400271b3
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
lea rcx, [0x1400bea20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x1010]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x1028
pop rdi
pop rbx
ret
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x1400271f0
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov ebx, ecx
lea rcx, [0x1400bea20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
xor edi, edi
cmp ebx, 1
jne 0x140027272
cmp dword [0x1400bea1c], edi
mov dword [0x1400bea18], ebx
je 0x140027281
cmp dword [0x1400bb114], edi
je 0x140027263
mov rdx, qword [0x1400bea50]
test rdx, rdx
jne 0x140027247
call fcn.140026800
mov rdx, qword [0x1400bea50]
test rdx, rdx
je 0x1400272d7
mov rcx, qword [0x1400bf910]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputws]
mov rcx, qword [0x1400bea50]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
jmp 0x140027281
mov rcx, qword [0x1400bf910]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
jmp 0x140027281
xor edx, edx
mov dword [0x1400bea18], edi
xor ecx, ecx
call fcn.140026d30
mov rax, qword [0x1400bf910]
lea rdx, [rax - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], edi
je 0x1400272d7
cmp dword [rdx + 0x10], edi
jge 0x1400272ad
cmp dword [rax - 0xc], edi
jl 0x1400272ef
mov dword [rax - 0x10], edi
mov rax, qword [0x1400bf910]
mov word [rax], di
jmp 0x1400272d7
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400272c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [0x1400bf910], rax
lea rcx, [0x1400bea20]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov ecx, 0x80070057
call fcn.140003270
int3
Function at 0x14002b710
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x70
mov qword [rax - 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x60], rax
call fcn.140003520
mov rcx, rax
test rax, rax
je 0x14002b8be
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
mov esi, SafeArrayGetElement
xor ebp, ebp
mov r9d, esi
lea r8, str.SoftwareRealtekAudioGUI_INFORMATIONJackInfomation
lea rdx, str._sJack_d
lea rcx, [rsp + 0x40]
call fcn.140004c30
mov rbx, qword [rsp + 0x40]
test rbx, rbx
jne 0x14002b7a5
mov r8d, 0xc0
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
jmp 0x14002b876
xor eax, eax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x58], rbp
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400423f0
test eax, eax
jne 0x14002b7d2
jmp 0x14002b876
mov r9d, 2
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x48]
call fcn.1400222c0
test eax, eax
je 0x14002b816
mov r8d, 0xce
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14002b876
jmp 0x14002b870
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.JackStatus
mov rdi, qword [rsp + 0x48]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
test eax, eax
je 0x14002b868
mov r8d, 0xd2
lea rdx, str.CRegClient::SetRegUI4PropertyNoCreateKey
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
nop
test rdi, rdi
je 0x14002b876
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
inc esi
cmp esi, 0x20
jl 0x14002b762
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002b89b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov ecx, 0x80004005
call fcn.140003270
int3
Function at 0x14002d060
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, qword [rcx + 0x218]
mov rdi, rcx
mov esi, edx
lea rcx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rcx, [rbx + 0x18]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rcx, qword [rdi + 0x218]
cmp dword [rcx + 0x48], 0
jne 0x14002d0c4
mov r8d, 0x24e
lea rdx, str.CJackMgr::UpdateOneJack
lea rcx, str._s__d_RETURN_ON_FALSE
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140026f80
mov edx, esi
call fcn.140028c30
test eax, eax
jne 0x14002d0d7
mov r8d, 0x251
jmp 0x14002d0a2
mov rcx, qword [rdi + 0x218]
cmp esi, dword [rcx + 0x64]
jne 0x14002d0fc
mov edx, dword [rcx + 0x60]
mov r8d, 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x218]
cmp esi, dword [rcx + 0x5c]
jne 0x14002d113
mov edx, dword [rcx + 0x58]
mov r8d, 1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x20]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14002e980
Capabilities:
Log keystrokes via application hook

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rcx
mov qword [rsp + 0x30], rcx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14002eb00]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rsi + 0x78], rax
mov r8d, 0x51
lea rdx, str.CLowLevelKeyboardEventNotify::RegisterLLKeyboard
lea rcx, [0x140081b98]
call fcn.140026f80
mov r8d, 0x21
lea rdx, str.CLowLevelKeyboardEventNotify::WorkThreadLoop
lea rcx, [0x140081b98]
call fcn.140026f80
nop word [rax + rax]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x14002ea9a
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [rsp + 0x48]
cmp eax, 0x10
je 0x14002eaa0
cmp eax, 0x80c8
jne 0x14002ea10
mov rdi, qword [rsp + 0x58]
mov qword [rsp + 0x20], rdi
test rdi, rdi
je 0x14002ea10
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x14002ea10
mov rcx, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rbx
test rcx, rcx
je 0x14002ea60
mov rax, qword [rcx]
mov r9d, dword [rdi + 4]
mov r8d, dword [rdi]
mov edx, dword [rsp + 0x50]
call qword [rax]
nop
jmp 0x14002ea60
js 0x14002ea10
mov rcx, qword [rsi + 0x78]
test rcx, rcx
je 0x14002eab7
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov qword [rsi + 0x78], 0
mov r8d, 0x5b
lea rdx, str.CLowLevelKeyboardEventNotify::UnregisterLLKeyboard
lea rcx, [0x140081b98]
call fcn.140026f80
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140065bd0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x1400324b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
call fcn.140032250
xor ecx, ecx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, [0x140032510]
mov r9, rbx
mov dword [rsp + 0x20], ecx
xor edx, edx
mov dword [rbx + 0x88], ecx
mov dword [rsp + 0x30], ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x78], rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x40
pop rbx
ret

Function at 0x140037a40
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov edi, edx
mov rsi, rcx
cmp edx, 0xffffffff
je 0x140037aaa
movsxd rax, dword [rcx + 0x68]
mov byte [rax + rcx + 0x6c], dil
mov eax, dword [rcx + 0x68]
inc eax
mov dword [rcx + 0x68], eax
cmp edx, 0xa
je 0x140037a71
cmp eax, 0x200
jne 0x140037ab4
add rcx, 0x6c
mov qword [rsp + 0x30], rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
xor edx, edx
lea rcx, [rsi + 0x6c]
mov r8d, 0x200
call fcn.14006d020
mov rbx, qword [rsp + 0x30]
mov eax, edi
mov dword [rsi + 0x68], 0
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
add rcx, 0x6c
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringA]
mov eax, edi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1400418b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400bb008]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rsi, r9
mov r14, r8
mov rbp, rdx
test rdx, rdx
jne 0x1400418fd
lea r8d, [rdx + 0x68]
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s__d_RETURN_FALSE_ON_FALSE
call fcn.140026f80
xor eax, eax
jmp 0x140041973
test rsi, rsi
jne 0x140041908
lea r8d, [rsi + 0x69]
jmp 0x1400418e6
xor eax, eax
mov qword [rsp + 0x50], rax
xor r15d, r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x50], r15d
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x38], r15d
mov edi, 1
mov r9d, edi
mov r8, rbp
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400222c0
test eax, eax
je 0x14004198c
mov r9, rbp
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140026f80
mov edi, r15d
cmp qword [rsp + 0x48], 0
je 0x140041971
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140065bd0
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rdx, r14
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14004195b
cmp dword [rsp + 0x40], 4
jne 0x14004195b
mov eax, dword [rsp + 0x38]
mov dword [rsi], eax
jmp 0x14004195e