joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000e860
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
mov rax, qword [0x14004d000]
lea rdx, [0x1400409f0]
mov r8d, ecx
mov rbx, qword [rax + 0x1c10]
add rbx, 0xc8
movsxd r9, dword [rbx]
mov rax, qword [rbx + 8]
mov edi, dword [rax + r9*4 - 4]
not edi
movzx eax, r8b
mov r8d, dword [rbx + 4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x31]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x32]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
xor rcx, rax
shr edi, 8
movzx eax, byte [rsp + 0x33]
xor edi, dword [rdx + rcx*4]
movzx ecx, dil
shr edi, 8
xor rcx, rax
xor edi, dword [rdx + rcx*4]
not edi
cmp r9d, r8d
jne 0x14000e917
lea ecx, [r9 + 1]
test r8d, r8d
je 0x14000e903
mov eax, r8d
cdq
sub eax, edx
sar eax, 1
add eax, r8d
jmp 0x14000e908
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov edx, ecx
mov rcx, rbx
call fcn.140016850
movsxd rcx, dword [rbx]
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], edi
inc dword [rbx]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x14000f840
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, qword [0x14004d000]
mov edi, edx
cmp byte [rbx + 0x1f4d], 0
jne 0x14000f891
cmp byte [rbx + 0x1f4e], 0
jne 0x14000f891
mov r9d, dword [rbx + 0x2ff8]
lea r8, str.Tooltip__02d
mov edx, 0x10
lea rcx, [rsp + 0x20]
call fcn.140002a00
test dil, 1
je 0x14000f9b6
jmp 0x14000f919
movss xmm1, dword [rbx + 0x1614]
lea r8, str.Tooltip__02d
mov r9d, dword [rbx + 0x2ff8]
lea rcx, [rsp + 0x20]
movaps xmm0, xmm1
xor eax, eax
mulss xmm0, dword [0x14004540c]
mulss xmm1, dword [0x1400453fc]
lea edx, [rax + 0x10]
addss xmm0, dword [rbx + 0x128]
addss xmm1, dword [rbx + 0x12c]
mov qword [rbx + 0x1cc8], rax
mov dword [rbx + 0x1cb4], 1
movss dword [rbx + 0x1cc0], xmm0
movss dword [rbx + 0x1cc4], xmm1
movss xmm0, dword [rbx + 0x1670]
mulss xmm0, dword [0x140045364]
or dword [rbx + 0x1cb0], 0x41
movss dword [rbx + 0x1d10], xmm0
call fcn.140002a00
movzx r9d, byte [rsp + 0x20]
lea r8, [rsp + 0x21]
mov r10d, 0xffffffff
mov ecx, r10d
test r9b, r9b
je 0x14000f970
lea r11, [0x1400409f0]
nop dword [rax]
cmp r9b, 0x23
jne 0x14000f953
cmp byte [r8], r9b
jne 0x14000f953
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x14000f940
not ecx
call fcn.140009770
test rax, rax
je 0x14000f9b6
cmp byte [rax + 0x8e], 0
je 0x14000f9b6
mov byte [rax + 0x95], 1
lea r8, str.Tooltip__02d
mov byte [rax + 0xb0], 1
lea rcx, [rsp + 0x20]
inc dword [rbx + 0x2ff8]
mov edx, 0x10
mov r9d, dword [rbx + 0x2ff8]
call fcn.140002a00
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20c0347
call fcn.14000bd20
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140014800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x3098], 0
lea rbx, [rcx + 0x30a0]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400148a7
mov r9d, dword [rbx + 4]
mov qword [rsp + 0x30], r14
xor r14d, r14d
test r9d, r9d
jns 0x14001485a
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
mov edx, r14d
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.140016690
mov r8, rsi
mov dword [rbx], r14d
mov rdx, rbp
mov rcx, rbx
call fcn.140003330
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x3098]
test eax, eax
lea ecx, [rax - 1]
mov rax, qword [rdi + 0x30a8]
cmove ecx, r14d
test rax, rax
movsxd r8, ecx
lea rcx, [0x14004cff8]
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov r14, qword [rsp + 0x30]
jmp 0x1400148af
mov rcx, rbx
call fcn.140003330
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14003f34c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14003f396
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14003f396
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14003f396
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14003f396
cmp dword [rcx + 0x84], 0xe
jbe 0x14003f396
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14003f398
xor al, al
add rsp, 0x28
ret
Function at 0x14000bee0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LoadResource]
test rax, rax
je 0x14000bf55
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000bf55
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x14000bf45
nop
cmp rbx, rcx
jae 0x14000bf55
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x14000bf30
cmp rbx, rcx
jae 0x14000bf55
cmp word [rbx], 0
je 0x14000bf55
mov rax, rbx
jmp 0x14000bf57
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14000e430
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14000e4ed
cmp byte [rcx + 0x71], 0
je 0x14000e4ed
mov rax, qword [rcx]
mov edx, 0xffffffff
mov rax, qword [rax + 0x18]
call qword [case.0x140010e16.0]
cmp eax, 0xffffffff
je 0x14000e4af
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [case.0x140010e16.0]
test eax, eax
je 0x14000e4b3
sub eax, 1
je 0x14000e4b7
sub eax, 2
je 0x14000e4ed
xor al, al
jmp 0x14000e4ef
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14000e4e4
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.140051be0
cmp rdi, rax
jne 0x14000e4af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000e4ef
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400264a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140011100
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140011130
xor eax, eax
jmp 0x140011280
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001116a
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x14001116a
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 0x140011280
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xb0], rsi
je 0x140011273
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x1400111ad
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 0x1400111bc
movsx ecx, dil
jmp 0x14001121a
lea r8, [rsp + 0x50]
mov byte [rsp + 0x60], dil
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x61]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x68]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0x58]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x60]
call qword [case.0x140010e16.0]
test eax, eax
js 0x140011273
cmp eax, 1
jle 0x140011234
cmp eax, 3
jne 0x140011273
movsx ecx, byte [rsp + 0x60]
mov rdx, qword [rbx + 0x80]
call fcn.1400512b8
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011278
mov rsi, qword [rsp + 0x50]
lea rax, [rsp + 0x68]
sub rsi, rax
je 0x140011261
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x68]
mov r8, rsi
mov edx, 1
call fcn.140051be0
cmp rsi, rax
jne 0x140011273
lea rax, [rsp + 0x60]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x58], rax
mov eax, edi
jne 0x140011278
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400264a0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x90
pop rdi
ret
Function at 0x140012c60
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rax - 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbp, rdx
mov qword [rsp + 0x38], rcx
call fcn.140010cf0
mov rcx, rax
lea r9, [0x140071118]
lea r8, str.Utils::GetProcessIDInCurrentLogOn
xor edx, edx
call fcn.14002c750
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
cmp byte [rax + 0x64], r15b
je 0x140012d1d
lea ecx, [r15 + 0x28]
call fcn.140025d40
mov rbx, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x140012d15
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
call fcn.140010cf0
mov rdx, rax
lea r8, str.Utils::GetProcessIDInCurrentLogOn
mov rcx, rbx
call fcn.140027d20
mov rbx, rax
jmp 0x140012d18
mov rbx, r15
mov qword [rsp + 0x30], rbx
xor r13b, r13b
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x140012e03
mov esi, r15d
mov rcx, qword [rsp + 0x50]
cmp dword [rsp + 0x58], r15d
jbe 0x140012df9
mov r14d, esi
lea rax, [r14 + r14*2]
lea r12, [rax*8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rbp + r8*2], 0
jne 0x140012d80
mov rdx, rbp
mov rcx, qword [r12 + rcx + 8]
call fcn.140053380
test eax, eax
jne 0x140012e91
mov rdi, qword [rsp + 0x50]
call fcn.140010cf0
mov rcx, rax
mov eax, dword [rdi + r12]
mov dword [rsp + 0x28], eax
mov eax, dword [rdi + r12 + 4]
mov dword [rsp + 0x20], eax
lea r9, str.Process_Id:__ld__Session_Id:__ld
lea r8, str.Utils::GetProcessIDInCurrentLogOn
mov edx, 2
call fcn.14002c750
mov rcx, qword [rsp + 0x50]
mov eax, dword [r12 + rcx]
mov rdx, qword [rsp + 0x38]
cmp dword [rdx], eax
jne 0x140012e96
lea rax, [r14 + r14*2]
mov r15d, dword [rcx + rax*8 + 4]
mov r13b, 1
call sub.WTSAPI32.dll_WTSFreeMemory
test r13b, r13b
jne 0x140012e23
call fcn.140010cf0
mov rcx, rax
lea r9, str.Could_not_find_the_correct_process_id_in_the_given_session
lea r8, str.Utils::GetProcessIDInCurrentLogOn
mov edx, 5
call fcn.14002c750
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], r15d
lea r9, str.Process_Id___d
lea r8, str.Utils::GetProcessIDInCurrentLogOn
mov edx, 1
call fcn.14002c750
nop
test rbx, rbx
je 0x140012e63
mov rcx, rbx
call fcn.1400287c0
mov edx, 0x28
mov rcx, rbx
call fcn.140025d80
mov eax, r15d
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400264a0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rcx, qword [rsp + 0x50]
inc esi
cmp esi, dword [rsp + 0x58]
jae 0x140012df9
jmp 0x140012d61
Function at 0x140012eb0
Capabilities:
Acquire debug privileges

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rsi
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
call fcn.140010cf0
mov rcx, rax
lea r9, [0x140071118]
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
xor edx, edx
call fcn.14002c750
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
cmp byte [rax + 0x64], bl
je 0x140012f55
lea ecx, [rbx + 0x28]
call fcn.140025d40
mov rdi, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x140012f50
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 8], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x20], rax
call fcn.140010cf0
mov rdx, rax
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
mov rcx, rdi
call fcn.140027d20
mov rbx, rax
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
mov rcx, rax
lea r9, str.Inside_ImpersonateUserLogOnSession
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
mov edx, 3
call fcn.14002c750
call fcn.1400129e0
test eax, eax
jne 0x140012f94
call fcn.140010cf0
lea r9, str.Error_:_No_Active_sessions_found.
mov edx, 5
jmp 0x140013059
mov ecx, eax
call fcn.140012790
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140012fca
call fcn.140010cf0
mov rcx, rax
lea r9, str.GetActiveSessionToken_failed
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
lea edx, [rdi + 6]
call fcn.14002c750
xor dil, dil
jmp 0x14001306b
lea r8, [rsp + 0x48]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x140013013
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.Lookup_Privilege_value_Error:__u
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
mov edx, 5
call fcn.14002c750
xor dil, dil
jmp 0x14001306b
mov rcx, rdi
call qword [sym.imp.api_ms_win_security_base_l1_1_0.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x140013045
call fcn.140010cf0
mov rcx, rax
lea r9, str.ImpersonateLoggedOnUser_Failure
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
mov edx, 5
call fcn.14002c750
xor dil, dil
jmp 0x14001306b
mov byte [rsi], 1
call fcn.140010cf0
lea r9, str.Exiting_ImpersonateUserLogOnSession_Successfully
mov edx, 3
lea r8, str.RpcServer::AppSection::CAppActivationHandler::ImpersonateUserLogOnSession
mov rcx, rax
call fcn.14002c750
mov dil, 1
test rbx, rbx
je 0x140013085
mov rcx, rbx
call fcn.1400287c0
mov edx, 0x28
mov rcx, rbx
call fcn.140025d80
movzx eax, dil
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400264a0
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x14001bad0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x60
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x78], rbx
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
call fcn.140010cf0
mov rcx, rax
lea r9, [0x140071118]
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
xor edx, edx
call fcn.14002c750
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
cmp byte [rax + 0x64], bl
je 0x14001bb71
lea ecx, [rbx + 0x28]
call fcn.140025d40
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14001bb6a
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
call fcn.140010cf0
mov rdx, rax
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
mov rcx, rbx
call fcn.140027d20
mov rbx, rax
jmp 0x14001bb6c
xor ebx, ebx
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
mov rcx, rax
lea r9, str.Keyboard_Service_in_StartMonitoring_Entry
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
mov edx, 2
call fcn.14002c750
mov dword [rsp + 0x48], 0
call fcn.140010cf0
mov rcx, rax
lea r9, str.Setting_m_bStopKeyboardThread__FALSE
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
mov edx, 3
call fcn.14002c750
mov dword [rdi + 8], 0
mov rcx, qword [rdi + 0x30]
test rcx, rcx
je 0x14001bbee
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetThreadId]
mov edi, eax
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.Keyboard_monitoring_thread_is_already_running_with_threadID__d
mov edx, 4
jmp 0x14001bc85
call fcn.140010cf0
mov rcx, rax
lea r9, str.Creating_KeyStrokeMonitoringThread...
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
mov edx, 3
call fcn.14002c750
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rdi
lea r8, [0x140019c50]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x30], rax
test rax, rax
jne 0x14001bc69
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.CreateThread__KeyStrokeMonitoringThread__failed_with_error_:__d
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
mov edx, 5
call fcn.14002c750
call fcn.140010cf0
mov rcx, rax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
lea r9, str.Keyboard_monitoring_thread_created_with_thread_ID_:__d
mov edx, 2
lea r8, str.RpcServer::SysInfo::CHotKeyHandler::StartMonitoring
call fcn.14002c750
nop
test rbx, rbx
je 0x14001bcac
mov rcx, rbx
call fcn.1400287c0
mov edx, 0x28
mov rcx, rbx
call fcn.140025d80
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400264a0
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x140021150
Capabilities:
Create thread

Disassembly:
push r14
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x48], rax
call fcn.140010cf0
mov rcx, rax
lea r9, [0x140071118]
lea r8, str.CMainService::ReadSysInfo
xor edx, edx
call fcn.14002c750
xor edi, edi
mov ebx, edi
mov qword [rsp + 0x30], rbx
call fcn.140010cf0
mov ebp, edi
cmp byte [rax + 0x64], bpl
je 0x140021206
lea ecx, [rdi + 0x28]
call fcn.140025d40
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400211fb
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
call fcn.140010cf0
mov rdx, rax
lea r8, str.CMainService::ReadSysInfo
mov rcx, rbx
call fcn.140027d20
mov rbx, rax
jmp 0x1400211fe
mov rbx, rdi
mov qword [rsp + 0x30], rbx
mov rbp, rbx
mov sil, 1
mov r14, rbp
cmp qword [0x1400a9168], 0
jne 0x14002129f
mov dword [rsp + 0x40], edi
call fcn.140010cf0
mov rcx, rax
lea r9, str.Starting_Read_SysInfo_Thread
lea r8, str.CMainService::ReadSysInfo
mov edx, 3
call fcn.14002c750
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
mov r9, qword [0x1400a9160]
lea r8, [0x140021310]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [0x1400a9168], rax
test rax, rax
jne 0x14002129f
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, eax
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.Failed_to_create_ReadSysInfo_thread_:__d
lea r8, str.CMainService::ReadSysInfo
mov edx, 5
call fcn.14002c750
xor sil, sil
movzx edi, sil
call fcn.140010cf0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.ReadSysInfo_return___d
lea r8, str.CMainService::ReadSysInfo
mov edx, 1
call fcn.14002c750
nop
test r14, r14
je 0x1400212e2
mov rcx, rbx
call fcn.1400287c0
mov edx, 0x28
mov rcx, rbx
call fcn.140025d80
movzx eax, sil
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400264a0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x1400220b0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rsi
push rdi
sub rsp, 0x8c0
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
movups xmm0, xmmword [str.HotKeyServiceUWP]
movzx eax, word [0x14007a130]
mov rbx, rdx
movups xmm1, xmmword [0x14007a120]
movzx edi, cx
xor edx, edx
lea rcx, [rsp + 0x82]
movaps xmmword [rsp + 0x60], xmm0
mov r8d, 0x822
movaps xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x80], ax
call fcn.14004b830
lea rsi, [rsp + 0x8f0]
call fcn.1400122d0
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0xa2]
xor esi, esi
mov r9, rbx
mov r8d, 0x400
mov qword [rsp + 0x20], rsi
mov rcx, qword [rax]
call fcn.140050a58
lea rdx, str.HotKeyServiceUWP
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
lea rax, [rsp + 0xa2]
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x1400221dd
movzx edx, di
test edx, edx
je 0x14002219c
sub edx, 1
je 0x140022194
sub edx, 1
je 0x14002218c
mov r9d, 0x60000000
jmp 0x1400221a2
mov r9d, 0xa0000000
jmp 0x1400221a2
mov r9d, 0xe0000000
jmp 0x1400221a2
mov r9d, 0x20000000
mov qword [rsp + 0x40], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
mov ecx, 1
mov dword [rsp + 0x30], esi
movzx edx, di
mov word [rsp + 0x28], cx
mov qword [rsp + 0x20], rsi
lea r8d, [rcx + 1]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.1400264a0
add rsp, 0x8c0
pop rdi
pop rsi
pop rbx
ret
Function at 0x140022200
Capabilities:
Create service
Modify service

Disassembly:
push rbx
push rbp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1400a6188]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r15, qword [rsp + 0x310]
mov rbp, r8
mov r12, qword [rsp + 0x318]
mov rbx, rdx
mov r13, qword [rsp + 0x320]
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x208
mov r14d, r9d
call fcn.14004b830
mov r8d, 0x104
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
test eax, eax
jne 0x140022291
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x140022396
xor edx, edx
mov qword [rsp + 0x2a8], rdi
xor ecx, ecx
lea r8d, [rdx + 3]
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
jne 0x1400222c8
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.OpenSCManager_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x14002238e
mov qword [rsp + 0x60], r13
xor eax, eax
mov qword [rsp + 0x58], r12
mov r9d, 0xf01ff
mov qword [rsp + 0x50], r15
mov r8, rbx
mov qword [rsp + 0x48], rax
mov rdx, rsi
mov qword [rsp + 0x40], rax
mov rcx, rdi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], 0x110
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rbx, rax
test rax, rax
jne 0x140022338
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateService_failed_w_err_0x_08lx_n
call fcn.14001d050
jmp 0x140022377
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], rbp
mov edx, 1
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x140022368
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.ChangeServiceConfig2__SERVICE_CONFIG_DESCRIPTION__failed_w_err_0x_08lx_n
call fcn.14001d050
mov rdx, rsi
lea rcx, str._s_is_installed._n
call fcn.14001d050
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
test rbx, rbx
je 0x14002238e
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x2a8]
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1400264a0
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbp
pop rbx
ret