joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140013e30
Capabilities:
Get session information
Get session user name

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x48
mov rcx, qword [0x1400cf018]
lea rsi, [0x1400cf018]
cmp rcx, rsi
je 0x140013e76
test byte [rcx + 0x1c], 1
je 0x140013e76
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b0350]
mov edx, 0x105
call fcn.1400034f0
xor r13d, r13d
lea rax, [rbp + 0x48]
mov edi, 1
mov qword [rbp + 0x58], r13
mov r8d, edi
mov dword [rbp + 0x48], r13d
lea r9, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ext_ms_win_session_wtsapi32_l1_1_0.dll_WTSEnumerateSessionsW]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140013eef
test byte [rcx + 0x1c], 2
je 0x140013eef
cmp byte [rcx + 0x19], 5
jb 0x140013eef
mov eax, dword [rbp + 0x48]
lea r8, [0x1400b0350]
mov rcx, qword [rcx + 0x10]
mov edx, 0x106
mov dword [rsp + 0x28], eax
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.14000af44
mov rcx, qword [0x1400cf018]
test ebx, ebx
je 0x14001401a
cmp dword [rbp + 0x48], r13d
jne 0x140013f05
mov edi, r13d
jmp 0x140013fff
mov r14d, r13d
lea rdi, [0x1400cf018]
mov r15d, r13d
mov esi, r13d
cmp esi, dword [rbp + 0x48]
jae 0x140013fe7
mov rcx, qword [rbp + 0x58]
mov eax, esi
lea rbx, [rax + rax*2]
mov eax, dword [rcx + rbx*8 + 0x10]
test eax, eax
je 0x140013f3c
add eax, 0xfffffffd
cmp eax, 1
ja 0x140013fdc
mov qword [rbp + 0x60], r13
lea rax, [rbp + 0x50]
mov dword [rbp + 0x50], r13d
lea r9, [rbp + 0x60]
mov edx, dword [rcx + rbx*8]
mov r8d, 5
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ext_ms_win_session_wtsapi32_l1_1_0.dll_WTSQuerySessionInformationW]
nop dword [rax + rax]
mov r12d, eax
mov rcx, qword [0x1400cf018]
cmp rcx, rdi
je 0x140013fa8
test byte [rcx + 0x1c], 2
je 0x140013fa8
cmp byte [rcx + 0x19], 5
jb 0x140013fa8
mov rax, qword [rbp + 0x60]
mov r9d, esi
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x58]
mov dword [rsp + 0x28], r12d
mov edx, dword [rax + rbx*8]
mov dword [rsp + 0x20], edx
call fcn.14000ac5c
test r12d, r12d
je 0x140013fd6
mov rcx, qword [rbp + 0x60]
test rcx, rcx
je 0x140013fd6
movzx ebx, word [rcx]
call qword [sym.imp.ext_ms_win_session_wtsapi32_l1_1_0.dll_WTSFreeMemory]
nop dword [rax + rax]
lea eax, [r14 + 1]
cmp r13w, bx
cmove eax, r14d
mov r14d, eax
jmp 0x140013fdc
mov r15d, 1
inc esi
test r14d, r14d
je 0x140013f15
lea rsi, [0x1400cf018]
mov edi, 1
test r15d, r15d
jne 0x140013fff
test r14d, r14d
cmove edi, r13d
mov rcx, qword [rbp + 0x58]
call qword [sym.imp.ext_ms_win_session_wtsapi32_l1_1_0.dll_WTSFreeMemory]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
mov qword [rbp + 0x58], r13
cmp rcx, rsi
je 0x140014043
test byte [rcx + 0x1c], 1
je 0x140014043
cmp byte [rcx + 0x19], 5
jb 0x140014043
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b0350]
mov edx, 0x108
mov r9d, edi
call fcn.1400035c4
mov eax, edi
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140016f88
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
push rdi
sub rsp, 0x30
mov eax, dword [r9]
mov rbx, r8
add eax, eax
mov rdi, r9
mov dword [rsp + 0x40], eax
xor esi, esi
mov dword [r9], esi
lea rax, [r11 + 8]
mov rcx, qword [rcx]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
xor r8d, r8d
mov qword [r11 - 0x18], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x140017000
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x140016ffb
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x140017014
test ecx, ecx
je 0x140017011
test cl, 1
jne 0x140016ffb
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x140017014
mov eax, SafeArrayDestroy
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov word [rbx], si
shr ecx, 1
mov dword [rdi], ecx
xor eax, eax
jmp 0x140017000
Function at 0x14002fdf4
Capabilities:
Monitor local ipv4 address changes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov esi, ebp
mov edi, ebp
call fcn.1400312d0
test eax, eax
je 0x14002ffc0
call fcn.140031694
test eax, eax
je 0x14002ffc0
lea r14, [0x1400d2d40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
xorps xmm0, xmm0
mov dword [0x1400d48b0], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
movups xmmword [0x1400d4630], xmm0
movups xmmword [0x1400d4640], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [0x1400d4648], rax
test rax, rax
jne 0x14002fe8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x14002fefd
mov dword [rsp + 0x28], ebp
lea r8, [0x14002f9f0]
or dword [rsp + 0x20], 0xffffffff
lea rcx, [0x1400d48b8]
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14002fe7c
lea rdx, [0x1400d4630]
mov esi, 1
lea rcx, [0x1400d48c0]
call qword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x3e5
jne 0x14002fefd
lea rcx, [0x1400d48c8]
mov edi, esi
call fcn.14002f95c
mov ebx, eax
test eax, eax
jne 0x14002ff05
mov ebx, ebp
mov dword [0x1400d48ac], esi
test ebx, ebx
je 0x14002ffad
mov rcx, r14
mov dword [0x1400d48b0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x1400d48b8]
test esi, esi
mov rcx, r14
cmovne rax, rbp
mov qword [0x1400d48b8], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
test edi, edi
je 0x14002ff58
lea rcx, [0x1400d4630]
call qword [sym.imp.IPHLPAPI.DLL_CancelIPChangeNotify]
nop dword [rax + rax]
mov rcx, qword [0x1400d4648]
test rcx, rcx
je 0x14002ff70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x1400d48c8]
xorps xmm0, xmm0
movups xmmword [0x1400d4630], xmm0
movups xmmword [0x1400d4640], xmm0
test rcx, rcx
je 0x14002ffa0
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [0x1400d48c8], rbp
mov qword [0x1400d48c0], rbp
mov dword [0x1400d48ac], ebp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
jmp 0x14002fff9
mov rcx, qword [0x1400cf018]
lea rax, [0x1400cf018]
cmp rcx, rax
je 0x14002fff4
test byte [rcx + 0x1c], 4
je 0x14002fff4
cmp byte [rcx + 0x19], 2
jb 0x14002fff4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b1068]
mov edx, SafeArrayAccessData
call fcn.1400034f0
mov eax, 0x8000ffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x30
pop r14
ret
Function at 0x14003170c
Capabilities:
Check http status code

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov ebx, edx
mov rdi, rcx
and dword [rax - 0x18], 0
lea rsi, [0x1400cf018]
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140031768
test byte [rcx + 0x1c], 1
je 0x140031768
cmp byte [rcx + 0x19], 5
jb 0x140031768
mov edx, 0xa
mov r9d, ebx
lea r8, [0x1400b10b8]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
cmp ebx, 0x192
je 0x1400317d6
cmp ebx, 0x194
je 0x1400317d6
cmp ebx, 0x1f5
je 0x1400317d6
lea eax, [rbx - 0x2bd]
cmp eax, 0x13
ja 0x1400317bc
mov ecx, 0x81fbf
bt ecx, eax
jb 0x1400317d6
cmp ebx, 0x321
je 0x1400317d6
mov r8d, ebx
mov edx, 0x67
mov rcx, rdi
call fcn.140031d78
jmp 0x1400317f0
mov ecx, ebx
call fcn.1400048b8
test rax, rax
je 0x1400317f0
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call fcn.140004a18
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140031820
test byte [rcx + 0x1c], 1
je 0x140031820
cmp byte [rcx + 0x19], 5
jb 0x140031820
mov edx, SafeArrayDestroy
mov r9, qword [rdi]
lea r8, [0x1400b10b8]
mov rcx, qword [rcx + 0x10]
call fcn.14000351c
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14003c19c
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x10], 0
mov rbx, rcx
je 0x14003c1bf
mov eax, 0x8000ffff
jmp 0x14003c325
add rcx, 0x38
call fcn.140004484
test eax, eax
js 0x14003c325
xor r9d, r9d
mov byte [rbx + 0x60], 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rbx + 0x68], rax
test rax, rax
jne 0x14003c215
cmp byte [rbx + 0x60], al
je 0x14003c20b
lea rcx, [rbx + 0x38]
mov byte [rbx + 0x60], al
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop dword [rax + rax]
call fcn.140017144
jmp 0x14003c325
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14003c254
call fcn.140017144
mov rcx, rbx
mov edi, eax
call fcn.14003c3e8
test eax, eax
jns 0x14003c323
test edi, edi
cmovns edi, eax
jmp 0x14003c323
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14003bfa8
mov esi, eax
test eax, eax
jns 0x14003c286
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14003c3e8
mov eax, esi
jmp 0x14003c325
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov rsi, rax
test rax, rax
je 0x14003c233
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14003bfa8
mov edi, eax
test eax, eax
jns 0x14003c2d1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14003c3e8
jmp 0x14003c323
lea rax, [rbx + 8]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14003c3c0]
and dword [rsp + 0x20], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rbx], rax
test rax, rax
je 0x14003c233
mov rcx, qword [rbx + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14003c323
call fcn.140017144
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14003eaf4
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [0x1400cf018]
lea rsi, [0x1400cf018]
cmp rcx, rsi
je 0x14003eb3f
test byte [rcx + 0x1c], 1
je 0x14003eb3f
cmp byte [rcx + 0x19], 5
jb 0x14003eb3f
mov eax, dword [rdi]
lea r8, [0x1400b18e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.14002001c
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b1780]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x60], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14003eb92
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x1400cf018]
cmp r10, rsi
je 0x14003ebd3
test byte [r10 + 0x1c], 2
je 0x14003ebd3
cmp byte [r10 + 0x19], 5
jb 0x14003ebd3
mov eax, dword [rsp + 0x50]
lea r8, [0x1400b18e8]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.1400054e0
mov r10, qword [0x1400cf018]
test ebx, ebx
jne 0x14003ec15
cmp r10, rsi
je 0x14003ec08
test byte [r10 + 0x1c], 2
je 0x14003ec08
cmp byte [r10 + 0x19], 4
jb 0x14003ec08
mov eax, dword [rsp + 0x50]
lea edx, [rbx + 0x2e]
mov r9d, dword [rdi]
lea r8, [0x1400b18e8]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400054e0
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov r10, qword [0x1400cf018]
cmp r10, rsi
je 0x14003ec54
test byte [r10 + 0x1c], 1
je 0x14003ec54
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x14003ec54
mov ecx, dword [rdi]
lea r8, [0x1400b18e8]
mov dword [rsp + 0x20], ecx
mov edx, 0x2f
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
call fcn.1400054e0
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140066158
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rcx + 0x48], rdx
mov rcx, qword [rcx + 0x50]
xor ebx, ebx
mov rsi, r8
cmp rcx, r8
je 0x1400661ab
test r8, r8
je 0x140066195
mov rax, qword [r8]
mov rcx, r8
mov rax, qword [rax + 8]
call qword [str._E_n_]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400661a7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_n_]
mov qword [rdi + 0x50], rsi
lea rax, [rdi + 0x68]
mov r9, rdi
mov qword [rsp + 0x28], rax
lea r8, [0x1400662d0]
xor edx, edx
mov dword [rsp + 0x20], ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rdi + 0x60], rax
test rax, rax
jne 0x1400661f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rsi, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x1400675cc
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov r14, rdx
mov rdi, rcx
mov rsi, qword [rcx]
mov qword [rbp - 0x10], rsi
lea rax, [rsi + 0x48]
mov qword [rbp - 8], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [str._E_n_]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x10]
call fcn.1400665f4
mov ebx, eax
or r12, 0xffffffffffffffff
xor r15d, r15d
test eax, eax
js 0x140067756
lea rdx, str.SELECT_System.ItemNameDisplay__System.ItemUrl_FROM_SystemIndex_WHERE_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_stream__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_hidden__AND_System.Shell.OmitFromView___true_AND__System.ItemType__.wpl_OR_System.ItemType__.m3u_
lea rcx, [rbp + 0x40]
call fcn.140004b44
nop
lea rdx, [0x1400b72b0]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140067664
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.140004550
mov rdx, qword [rbp + 0x58]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.140004550
lea rdx, str._ORDER_BY_System.ItemNameDisplay_ASC
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x140067695
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.140004550
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
mov r8, qword [rbp + 0x40]
lea rdx, [0x1400b9918]
mov rax, qword [rax + 0x38]
call qword [str._E_n_]
mov ebx, eax
test eax, eax
js 0x14006772e
mov qword [rbp + 0x50], r15
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x18]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [str._E_n_]
mov ebx, eax
test eax, eax
js 0x140067717
mov r8, r14
mov rdx, qword [rbp + 0x50]
mov rcx, rdi
call fcn.140066778
mov ebx, eax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14006772e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str._E_n_]
nop
mov rdx, qword [rbp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x140067756
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, r12d
test eax, eax
jg 0x14006777e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x140068c00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400d2258]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rsi, rdx
mov rcx, r9
mov rdx, qword [r8]
mov rdi, r9
mov r8d, dword [rdx - 0x10]
call fcn.140004550
or rbx, 0xffffffffffffffff
lea rdx, [0x1400b0ee4]
mov rax, rbx
xor ebp, ebp
inc rax
cmp word [rdx + rax*2], bp
jne 0x140068c43
mov r8d, eax
mov rcx, rdi
call fcn.140004550
mov r9, qword [rsi]
mov rdx, rbx
inc rdx
cmp word [r9 + rdx*2], bp
jne 0x140068c5d
mov eax, 0x811c9dc5
mov r8, rbp
add rdx, rdx
je 0x140068c89
movzx ecx, byte [r8 + r9]
inc r8
imul eax, eax, 0x1000193
xor eax, ecx
cmp r8, rdx
jb 0x140068c74
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x20]
mov ecx, eax
lea r8d, [r9 + 0x11]
call qword [sym.imp.msvcrt.dll__ultow_s]
nop dword [rax + rax]
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], bp
jne 0x140068cab
mov r8d, ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140004550
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400a3310
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400719d0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.140004484
mov ebx, eax
test eax, eax
js 0x140071ad5
and qword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov r9d, 0x20219
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov ecx, eax
test eax, eax
jne 0x140071a4e
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140071a42
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x88], rax
test ecx, ecx
jne 0x140071ac7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rdi + 0xa0], rax
test rax, rax
je 0x140071ac0
mov rcx, rdi
call fcn.140072864
mov ebx, eax
test eax, eax
js 0x140071ad5
xor edx, edx
mov rcx, rdi
call fcn.140071eb0
mov ebx, eax
test eax, eax
js 0x140071ad5
and qword [rsp + 0x28], 0
lea r8, [0x1400728d0]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rdi + 0xa8], rax
jmp 0x140071ad5
mov ebx, 0x8000ffff
jmp 0x140071ad5
movzx ebx, cx
or ebx, 0x80070000
test ecx, ecx
cmovle ebx, ecx
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140072a10
Capabilities:
Create thread
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
xor ebp, ebp
or r14, 0xffffffffffffffff
mov rsi, rdx
mov rdi, rcx
mov ebx, ebp
test rdx, rdx
jne 0x140072a3f
mov eax, ebp
jmp 0x140072a4b
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x140072a42
mov r8d, eax
call fcn.140004f30
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
mov r15d, 0x80070000
test rax, rax
jne 0x140072a97
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140072b99
mov edx, 1
mov rcx, rsi
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
nop dword [rax + rax]
mov qword [rdi + 0x18], rax
cmp rax, r14
jne 0x140072acf
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140072b99
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
xor r8d, r8d
lea rcx, [0x1400ada48]
xor edx, edx
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140072b84
mov rcx, qword [rsp + 0x50]
mov edx, 1
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
nop dword [rax + rax]
mov qword [rdi + 0x20], rax
cmp rax, r14
jne 0x140072b3d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140072b84
mov qword [rsp + 0x28], rbp
lea r8, [0x140072ec0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140072b84
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x140072bd3
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x140072bb2
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
nop dword [rax + rax]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 0x20]
cmp rcx, r14
je 0x140072bcb
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
nop dword [rax + rax]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.140073484
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400889f4
Capabilities:
Modify service

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov dword [rax + 0x10], edx
push r15
sub rsp, 0x60
mov rdi, rcx
mov rcx, qword [0x1400cf018]
lea r14, [0x1400cf018]
lea r15, [0x1400b9638]
cmp rcx, r14
je 0x140088a6d
test byte [rcx + 0x1c], 1
je 0x140088a47
mov rcx, qword [rcx + 0x10]
mov edx, DispGetParam
mov r8, r15
call fcn.1400034f0
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140088a6d
test byte [rcx + 0x1c], 2
je 0x140088a6d
cmp byte [rcx + 0x19], 4
jb 0x140088a6d
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r8, r15
lea r9d, [rdx - 0x1a]
call fcn.1400035c4
mov edx, 1
mov rcx, rdi
call fcn.140088e9c
mov ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140088aa8
test byte [rcx + 0x1c], 2
je 0x140088aa8
cmp byte [rcx + 0x19], 4
jb 0x140088aa8
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r9d, eax
mov r8, r15
call fcn.1400035c4
cmp ebx, 1
jne 0x140088b89
mov rcx, qword [rdi + 0x10]
lea r8, [rsp + 0x78]
lea edx, [rbx + 2]
mov dword [rsp + 0x78], ebx
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 1
je 0x140088b0b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140088b89
test byte [rcx + 0x1c], 2
je 0x140088b89
cmp byte [rcx + 0x19], 2
jb 0x140088b89
mov edx, 0x1d
jmp 0x140088b7a
mov rcx, qword [rdi + 0x10]
xor eax, eax
mov qword [rsp + 0x50], rax
or edx, 0xffffffff
mov qword [rsp + 0x48], rax
mov r9d, edx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 2]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 1
je 0x140088b89
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140088b89
test byte [rcx + 0x1c], 2
je 0x140088b89
cmp byte [rcx + 0x19], 4
jb 0x140088b89
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.1400035c4
mov rcx, rdi
call fcn.1400890f0
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140088bbd
test byte [rcx + 0x1c], 1
je 0x140088bbd
cmp byte [rcx + 0x19], 5
jb 0x140088bbd
mov rcx, qword [rcx + 0x10]
mov edx, 0x1f
mov r9d, ebx
mov r8, r15
call fcn.1400035c4
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret