joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000f0e4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
call fcn.140095194
mov esi, eax
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
lea rax, [rsp + 0x58]
xor ebx, ebx
and qword [rsp + 0x58], rbx
mov r9d, 0x2011f
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
jne 0x14000f13c
mov rbx, qword [rsp + 0x58]
mov rcx, qword [0x1400d0018]
lea rbp, [0x1400d0018]
mov r14d, 5
cmp rcx, rbp
je 0x14000f18b
lea edx, [r14 - 3]
test byte [rcx + 0x1c], dl
je 0x14000f18b
movzx eax, byte [rcx + 0x19]
test edi, edi
cmove edx, r14d
cmp eax, edx
jb 0x14000f18b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b1440]
mov edx, 0x85
mov r9d, edi
call fcn.1400035c4
mov rcx, qword [0x1400d0018]
test edi, edi
jne 0x14000f1c6
lea r9d, [rdi + 4]
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.WakeOnMagicPacketEnabled
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, rbp
je 0x14000f1ef
test byte [rcx + 0x1c], 1
je 0x14000f1ef
cmp byte [rcx + 0x19], r14b
jb 0x14000f1ef
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b1440]
mov edx, 0x86
mov r9d, esi
call fcn.1400035c4
test rbx, rbx
je 0x14000f203
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x60]
mov eax, esi
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
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 [0x1400d0018]
lea rsi, [0x1400d0018]
cmp rcx, rsi
je 0x140013e76
test byte [rcx + 0x1c], 1
je 0x140013e76
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b1440]
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 [0x1400d0018]
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, [0x1400b1440]
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 [0x1400d0018]
test ebx, ebx
je 0x14001401a
cmp dword [rbp + 0x48], r13d
jne 0x140013f05
mov edi, r13d
jmp 0x140013fff
mov r14d, r13d
lea rdi, [0x1400d0018]
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 [0x1400d0018]
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, [0x1400d0018]
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 [0x1400d0018]
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, [0x1400b1440]
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 0x140017038
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 0x1400170b0
mov eax, dword [rsp + 0x58]
dec eax
cmp eax, 1
ja 0x1400170ab
mov ecx, dword [rsp + 0x40]
test rbx, rbx
je 0x1400170c4
test ecx, ecx
je 0x1400170c1
test cl, 1
jne 0x1400170ab
mov eax, ecx
shr rax, 1
cmp word [rbx + rax*2 - 2], si
je 0x1400170c4
mov eax, SafeArrayGetDim
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 0x1400170b0
Function at 0x14002ffa4
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.140031480
test eax, eax
je 0x140030170
call fcn.140031844
test eax, eax
je 0x140030170
lea r14, [0x1400d3d40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
xorps xmm0, xmm0
mov dword [0x1400d58b0], ebp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
movups xmmword [0x1400d5630], xmm0
movups xmmword [0x1400d5640], xmm0
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [0x1400d5648], rax
test rax, rax
jne 0x14003003c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
jmp 0x1400300ad
mov dword [rsp + 0x28], ebp
lea r8, [0x14002fba0]
or dword [rsp + 0x20], 0xffffffff
lea rcx, [0x1400d58b8]
xor r9d, r9d
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14003002c
lea rdx, [0x1400d5630]
mov esi, 1
lea rcx, [0x1400d58c0]
call qword [sym.imp.IPHLPAPI.DLL_NotifyAddrChange]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x3e5
jne 0x1400300ad
lea rcx, [0x1400d58c8]
mov edi, esi
call fcn.14002fb0c
mov ebx, eax
test eax, eax
jne 0x1400300b5
mov ebx, ebp
mov dword [0x1400d58ac], esi
test ebx, ebx
je 0x14003015d
mov rcx, r14
mov dword [0x1400d58b0], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rax, qword [0x1400d58b8]
test esi, esi
mov rcx, r14
cmovne rax, rbp
mov qword [0x1400d58b8], rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
test edi, edi
je 0x140030108
lea rcx, [0x1400d5630]
call qword [sym.imp.IPHLPAPI.DLL_CancelIPChangeNotify]
nop dword [rax + rax]
mov rcx, qword [0x1400d5648]
test rcx, rcx
je 0x140030120
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [0x1400d58c8]
xorps xmm0, xmm0
movups xmmword [0x1400d5630], xmm0
movups xmmword [0x1400d5640], xmm0
test rcx, rcx
je 0x140030150
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov qword [0x1400d58c8], rbp
mov qword [0x1400d58c0], rbp
mov dword [0x1400d58ac], ebp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
jmp 0x1400301a9
mov rcx, qword [0x1400d0018]
lea rax, [0x1400d0018]
cmp rcx, rax
je 0x1400301a4
test byte [rcx + 0x1c], 4
je 0x1400301a4
cmp byte [rcx + 0x19], 2
jb 0x1400301a4
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b2158]
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 0x1400318bc
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, [0x1400d0018]
mov rcx, qword [0x1400d0018]
cmp rcx, rsi
je 0x140031918
test byte [rcx + 0x1c], 1
je 0x140031918
cmp byte [rcx + 0x19], 5
jb 0x140031918
mov edx, 0xa
mov r9d, ebx
lea r8, [0x1400b21a8]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
mov rax, qword [0x1400d2e50]
lea rcx, [0x1400d2e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
cmp ebx, 0x192
je 0x140031986
cmp ebx, 0x194
je 0x140031986
cmp ebx, 0x1f5
je 0x140031986
lea eax, [rbx - 0x2bd]
cmp eax, 0x13
ja 0x14003196c
mov ecx, 0x81fbf
bt ecx, eax
jb 0x140031986
cmp ebx, 0x321
je 0x140031986
mov r8d, ebx
mov edx, 0x67
mov rcx, rdi
call fcn.140031f28
jmp 0x1400319a0
mov ecx, ebx
call fcn.1400048b8
test rax, rax
je 0x1400319a0
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call fcn.140004a18
mov rcx, qword [0x1400d0018]
cmp rcx, rsi
je 0x1400319d0
test byte [rcx + 0x1c], 1
je 0x1400319d0
cmp byte [rcx + 0x19], 5
jb 0x1400319d0
mov edx, SafeArrayDestroy
mov r9, qword [rdi]
lea r8, [0x1400b21a8]
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 0x14003ecc4
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 [0x1400d0018]
lea rsi, [0x1400d0018]
cmp rcx, rsi
je 0x14003ed0f
test byte [rcx + 0x1c], 1
je 0x14003ed0f
cmp byte [rcx + 0x19], 5
jb 0x14003ed0f
mov eax, dword [rdi]
lea r8, [0x1400b29d8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.1400201cc
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b2870]
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 0x14003ed62
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [0x1400d0018]
cmp r10, rsi
je 0x14003eda3
test byte [r10 + 0x1c], 2
je 0x14003eda3
cmp byte [r10 + 0x19], 5
jb 0x14003eda3
mov eax, dword [rsp + 0x50]
lea r8, [0x1400b29d8]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.1400054e0
mov r10, qword [0x1400d0018]
test ebx, ebx
jne 0x14003ede5
cmp r10, rsi
je 0x14003edd8
test byte [r10 + 0x1c], 2
je 0x14003edd8
cmp byte [r10 + 0x19], 4
jb 0x14003edd8
mov eax, dword [rsp + 0x50]
lea edx, [rbx + 0x2e]
mov r9d, dword [rdi]
lea r8, [0x1400b29d8]
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 [0x1400d0018]
cmp r10, rsi
je 0x14003ee24
test byte [r10 + 0x1c], 1
je 0x14003ee24
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x14003ee24
mov ecx, dword [rdi]
lea r8, [0x1400b29d8]
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 0x14006795c
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 [0x1400d2e50]
lea rcx, [0x1400d2e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x10]
call fcn.140066984
mov ebx, eax
or r12, 0xffffffffffffffff
xor r15d, r15d
test eax, eax
js 0x140067ae6
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, [0x1400b83a0]
mov rax, r12
inc rax
cmp word [rdx + rax*2], r15w
jne 0x1400679f4
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 0x140067a25
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, [0x1400ba988]
mov rax, qword [rax + 0x38]
call qword [case.0x1400688bc.0]
mov ebx, eax
test eax, eax
js 0x140067abe
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 [case.0x1400688bc.0]
mov ebx, eax
test eax, eax
js 0x140067aa7
mov r8, r14
mov rdx, qword [rbp + 0x50]
mov rcx, rdi
call fcn.140066b08
mov ebx, eax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x140067abe
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400688bc.0]
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 0x140067ae6
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
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 0x140067b0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
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 0x140068fb0
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 [0x1400d3258]
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, [0x1400b1fd4]
mov rax, rbx
xor ebp, ebp
inc rax
cmp word [rdx + rax*2], bp
jne 0x140068ff3
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 0x14006900d
mov eax, 0x811c9dc5
mov r8, rbp
add rdx, rdx
je 0x140069039
movzx ecx, byte [r8 + r9]
inc r8
imul eax, eax, 0x1000193
xor eax, ecx
cmp r8, rdx
jb 0x140069024
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 0x14006905b
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.1400a3a80
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret

Function at 0x140071dc4
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 0x140071ec9
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 0x140071e42
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140071e36
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 0x140071ebb
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 0x140071eb4
mov rcx, rdi
call fcn.140072c58
mov ebx, eax
test eax, eax
js 0x140071ec9
xor edx, edx
mov rcx, rdi
call fcn.1400722a4
mov ebx, eax
test eax, eax
js 0x140071ec9
and qword [rsp + 0x28], 0
lea r8, [0x140072cc0]
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 0x140071ec9
mov ebx, 0x8000ffff
jmp 0x140071ec9
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 0x140072e00
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 0x140072e2f
mov eax, ebp
jmp 0x140072e3b
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x140072e32
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 0x140072e87
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 0x140072f89
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 0x140072ebf
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 0x140072f89
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
xor r8d, r8d
lea rcx, [0x1400aeb38]
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 0x140072f74
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 0x140072f2d
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 0x140072f74
mov qword [rsp + 0x28], rbp
lea r8, [0x1400732b0]
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 0x140072f74
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 0x140072fc3
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x140072fa2
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 0x140072fbb
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
nop dword [rax + rax]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.140073874
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 0x140088e34
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 [0x1400d0018]
lea r14, [0x1400d0018]
lea r15, [0x1400ba728]
cmp rcx, r14
je 0x140088ead
test byte [rcx + 0x1c], 1
je 0x140088e87
mov rcx, qword [rcx + 0x10]
mov edx, DispGetParam
mov r8, r15
call fcn.1400034f0
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x140088ead
test byte [rcx + 0x1c], 2
je 0x140088ead
cmp byte [rcx + 0x19], 4
jb 0x140088ead
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.1400892dc
mov ebx, eax
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x140088ee8
test byte [rcx + 0x1c], 2
je 0x140088ee8
cmp byte [rcx + 0x19], 4
jb 0x140088ee8
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r9d, eax
mov r8, r15
call fcn.1400035c4
cmp ebx, 1
jne 0x140088fc9
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 0x140088f4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x140088fc9
test byte [rcx + 0x1c], 2
je 0x140088fc9
cmp byte [rcx + 0x19], 2
jb 0x140088fc9
mov edx, 0x1d
jmp 0x140088fba
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 0x140088fc9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x140088fc9
test byte [rcx + 0x1c], 2
je 0x140088fc9
cmp byte [rcx + 0x19], 4
jb 0x140088fc9
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.1400035c4
mov rcx, rdi
call fcn.140089530
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x140088ffd
test byte [rcx + 0x1c], 1
je 0x140088ffd
cmp byte [rcx + 0x19], 5
jb 0x140088ffd
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
Function at 0x140089020
Capabilities:
Start service

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rcx, qword [0x1400d0018]
lea rsi, [0x1400d0018]
cmp rcx, rsi
je 0x140089060
test byte [rcx + 0x1c], 1
je 0x140089060
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x20
call fcn.1400034f0
xor edx, edx
mov rcx, rdi
call fcn.1400892dc
mov ebx, eax
mov rcx, qword [0x1400d0018]
cmp rcx, rsi
je 0x14008909c
test byte [rcx + 0x1c], 2
je 0x14008909c
cmp byte [rcx + 0x19], 4
jb 0x14008909c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x21
mov r9d, eax
call fcn.1400035c4
cmp ebx, 1
jne 0x1400890f9
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 1
je 0x1400890f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400d0018]
cmp rcx, rsi
je 0x1400890f9
test byte [rcx + 0x1c], 2
je 0x1400890f9
cmp byte [rcx + 0x19], 4
jb 0x1400890f9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x22
mov r9d, eax
call fcn.1400035c4
mov rcx, rdi
call fcn.140089530
mov rcx, qword [0x1400d0018]
cmp rcx, rsi
je 0x140089131
test byte [rcx + 0x1c], 1
je 0x140089131
cmp byte [rcx + 0x19], 5
jb 0x140089131
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x23
mov r9d, ebx
call fcn.1400035c4
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret