joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400715b0
Capabilities:
Reference sql statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r12, rdx
mov r14, rcx
lea rdx, str.SELECT_System.ItemNameDisplay__System.FileAttributes_FROM_SystemIndex_WHERE_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_stream__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_hidden__AND_NOT_System.Shell.SFGAOFlagsStrings__SOME_ARRAY_link__AND_System.Shell.OmitFromView___true_AND_System.ContentType_IS_NOT_NULL
lea rcx, [rbp + 0x40]
call fcn.140004d1c
nop
xor esi, esi
xor ebx, ebx
xor edi, edi
lea r13, [0x140122f30]
mov r8d, dword [rdi + r13]
lea rdx, [rbp - 0x18]
mov rcx, qword [r14 + 8]
call fcn.140071d58
mov rax, qword [rbp - 0x10]
add ebx, dword [rax + 8]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rdi, 4
cmp rdi, 0x10
jb 0x1400715f5
test ebx, ebx
je 0x1400716b9
xor edi, edi
lea r8d, [rdi + 6]
lea rdx, str._AND__
lea rcx, [rbp + 0x40]
call fcn.1400046e8
xor ebx, ebx
cmp rbx, 0x10
jae 0x1400716a3
mov r8d, dword [rbx + r13]
lea rdx, [rbp - 0x28]
mov rcx, qword [r14 + 8]
call fcn.140071d58
nop
mov r15, qword [rbp - 0x20]
cmp qword [r15 + 8], 0
jbe 0x14007168d
test edi, edi
je 0x14007167e
mov r8d, 4
lea rdx, str._OR
lea rcx, [rbp + 0x40]
call fcn.1400046e8
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x28]
call fcn.1400702f4
mov esi, eax
add edi, dword [r15 + 8]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add rbx, 4
test esi, esi
jns 0x140071641
mov r8d, 1
lea rdx, [0x14011d7fc]
lea rcx, [rbp + 0x40]
call fcn.1400046e8
test esi, esi
js 0x14007177b
mov rdi, qword [r14 + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x38]
mov rcx, rbx
call qword [fcn.140009050]
mov r8, qword [rbp + 0x40]
lea rdx, [0x140127778]
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14007177b
and qword [rbp + 0x50], 0
mov rdi, qword [r14 + 0x20]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.140009050]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rcx, rdi
call rbx
mov esi, eax
test eax, eax
js 0x14007175c
lea r9, [r14 + 0x30]
mov r8, r12
mov rdx, qword [rbp + 0x50]
call fcn.140070ab8
mov esi, eax
test eax, eax
js 0x14007175c
lea rcx, [r14 + 0x28]
mov rbx, qword [rbp + 0x50]
cmp qword [rcx], rbx
je 0x140071760
mov rdx, rbx
call fcn.14001bcb0
mov rbx, qword [rbp + 0x50]
test rbx, rbx
je 0x14007177b
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009050]
mov rcx, rbx
call rdi
nop
mov r14, qword [rbp + 0x40]
or eax, 0xffffffff
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x1400717aa
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, esi
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007298c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rdx
mov rcx, r9
mov rdx, qword [r8]
mov rdi, r9
mov r8d, dword [rdx - 0x10]
call fcn.1400046e8
mov r8d, 1
lea rdx, [0x14011c5d4]
mov rcx, rdi
call fcn.1400046e8
mov r9, qword [rbx]
or rbx, 0xffffffffffffffff
mov rdx, rbx
xor esi, esi
inc rdx
cmp word [r9 + rdx*2], si
jne 0x1400729dc
mov eax, 0x811c9dc5
mov r8, rsi
add rdx, rdx
je 0x140072a08
movzx ecx, byte [r8 + r9]
inc r8
imul eax, eax, 0x1000193
xor eax, ecx
cmp r8, rdx
jb 0x1400729f3
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]
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], si
jne 0x140072a24
mov r8d, ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.1400046e8
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140106ed0
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140086ac0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.140004604
mov ebx, eax
test eax, eax
js 0x140086bb5
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]
mov ecx, eax
test eax, eax
jne 0x140086b3a
mov rax, qword [rdi + 0x88]
test rax, rax
je 0x140086b2e
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rdi + 0x88], 0
mov ecx, eax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x88], rax
test ecx, ecx
jne 0x140086ba7
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0xa0], rax
test rax, rax
je 0x140086ba0
mov rcx, rdi
call fcn.140087a0c
mov ebx, eax
test eax, eax
js 0x140086bb5
xor edx, edx
mov rcx, rdi
call fcn.140086fa8
mov ebx, eax
test eax, eax
js 0x140086bb5
and qword [rsp + 0x28], 0
lea r8, [0x140087a70]
and dword [rsp + 0x20], 0
mov r9, rdi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0xa8], rax
jmp 0x140086bb5
mov ebx, 0x8000ffff
jmp 0x140086bb5
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 0x140087ac0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x48
and qword [rbp + 0x20], 0
lea r8, [rbp + 0x18]
and dword [rbp + 0x18], 0
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov rcx, qword [rbp + 0x20]
mov ebx, eax
test rcx, rcx
je 0x140087af8
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
test ebx, ebx
jne 0x140087b06
cmp dword [rbp + 0x18], 3
jne 0x140087b06
mov bl, 1
jmp 0x140087b08
xor bl, bl
lea rax, [rbp + 0x30]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SystemCurrentControlSetControlLsa
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140087b8c
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x30], rax
lea r8, str.AllowOnlineID
lea rax, [rbp + 0x28]
mov dword [rbp + 0x18], 4
mov qword [rsp + 0x28], rax
lea rdx, str.Pku2u
lea rax, [rbp + 0x20]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x140087b82
cmp dword [rbp + 0x20], 4
jne 0x140087b82
cmp dword [rbp + 0x28], eax
sete bl
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
add rsp, 0x48
pop rbx
pop rbp
ret
Function at 0x140087c84
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 0x140087cb3
mov eax, ebp
jmp 0x140087cbf
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x140087cb6
mov r8d, eax
call fcn.1400051bc
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
mov r15d, 0x80070000
test rax, rax
jne 0x140087cff
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140087dcd
mov edx, 1
mov rcx, rsi
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov qword [rdi + 0x18], rax
cmp rax, r14
jne 0x140087d2b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140087dcd
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
xor r8d, r8d
lea rcx, [0x1401277a8]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov ebx, eax
test eax, eax
js 0x140087dbe
mov rcx, qword [rsp + 0x50]
mov edx, 1
lea r8d, [rdx + 0x12]
call qword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationW]
mov qword [rdi + 0x20], rax
cmp rax, r14
jne 0x140087d83
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140087dbe
mov qword [rsp + 0x28], rbp
lea r8, [0x1400886b0]
mov r9, rdi
mov dword [rsp + 0x20], ebp
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 8], rax
test rax, rax
jne 0x140087dbe
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, r15d
test eax, eax
cmovle ebx, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
test ebx, ebx
jns 0x140087dfb
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x140087de0
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x18], r14
mov rcx, qword [rdi + 0x20]
cmp rcx, r14
je 0x140087df3
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.140088c70
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 0x1400b82e4
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 8], rcx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x20
mov r12, rdx
mov rcx, qword [0x14014dd40]
lea rdx, [0x14014dd40]
mov eax, 5
cmp rcx, rdx
je 0x1400b833b
test byte [rcx + 0x1c], 1
je 0x1400b833b
cmp byte [rcx + 0x19], al
jb 0x1400b833b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x3c]
mov r9, r12
lea r8, [0x1401271d8]
call fcn.140003710
xor esi, esi
or eax, 0xffffffff
and dword [rsp + 0x50], esi
xor edi, edi
mov qword [rsp + 0x58], rsi
mov ebp, eax
mov r14d, eax
lea r15d, [rdi + 2]
test r12, r12
jne 0x1400b8363
mov ebx, 0x80004003
jmp 0x1400b844f
mov ecx, 0x3c
call fcn.1401061b8
mov rdi, rax
test rax, rax
jne 0x1400b837f
mov ebx, 0x8007000e
jmp 0x1400b844f
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov ebx, eax
cmp eax, 0x7a
jne 0x1400b83d6
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov ecx, dword [rsp + 0x50]
call fcn.1401061b8
mov rdi, rax
test rax, rax
je 0x1400b8375
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rax
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x1400b83e0
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x1400b83dc
or ebx, 0x80070000
test ebx, ebx
js 0x1400b844f
cmp dword [rdi], esi
jbe 0x1400b840a
mov ecx, dword [rdi]
lea rax, [rdi + 8]
cmp dword [rax - 4], esi
jne 0x1400b8400
cmp dword [rax], esi
jne 0x1400b8400
cmp dword [rax + 0x20], r14d
jae 0x1400b8400
mov ebp, dword [rax + 0xc]
mov r14d, dword [rax + 0x20]
add rax, 0x38
sub rcx, 1
jne 0x1400b83ea
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov ecx, r15d
call fcn.1400e91b4
mov rsi, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
js 0x1400b844f
mov rdx, rsi
test rsi, rsi
je 0x1400b844a
cmp dword [rdx + 4], ebp
je 0x1400b84bf
cmp ebp, 0xffffffff
jne 0x1400b8441
cmp dword [rdx + 0x68], 1
je 0x1400b84bf
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x1400b842d
mov ebx, 0x80004005
mov rcx, rdi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [0x14014dd40]
lea rax, [0x14014dd40]
cmp rcx, rax
je 0x1400b84a6
test byte [rcx + 0x1c], 1
je 0x1400b84a6
movzx eax, byte [rcx + 0x19]
test ebx, ebx
mov edx, 5
cmovns r15d, edx
cmp eax, r15d
jl 0x1400b84a6
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401271d8]
mov edx, 0x42
mov r9d, ebx
call fcn.1400036d4
mov rbp, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
mov rdx, qword [rdx + 0x18]
test rdx, rdx
je 0x1400b844a
cmp qword [rdx + 0x10], 0
je 0x1400b84e1
cmp dword [rdx + 0x18], 0
jle 0x1400b84e1
movsxd rax, dword [rdx + 0x18]
cmp rax, 0x80
jbe 0x1400b84e7
mov rdx, qword [rdx + 8]
jmp 0x1400b84c3
movsxd r8, dword [rdx + 0x18]
mov rcx, r12
mov rdx, qword [rdx + 0x10]
call sub.msvcrt.dll_memcpy
jmp 0x1400b844f
Function at 0x1400b8e60
Capabilities:
Create thread

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0xe0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov esi, edx
mov r14, rcx
mov qword [rsp + 0x38], rcx
lea r12, [0x14014dd40]
mov rcx, qword [0x14014dd40]
mov r15d, 5
cmp rcx, r12
je 0x1400b8ed9
test byte [rcx + 0x1c], 1
je 0x1400b8ed9
cmp byte [rcx + 0x19], r15b
jb 0x1400b8ed9
lea edx, [r15 + 0xa]
mov r9d, esi
lea r8, [0x1401272e0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [r14 + 0x80], esi
and dword [r14 + 0x84], 0
cmp qword [r14 + 0x78], 0
je 0x1400b9022
cmp qword [r14 + 0x38], 0
je 0x1400b8f4e
xor ecx, ecx
cmp dword [r14 + 0x40], ecx
jbe 0x1400b8f26
mov rdx, qword [r14 + 0x30]
cmp qword [rdx + rcx*8], 0
jne 0x1400b8f20
inc ecx
cmp ecx, dword [r14 + 0x40]
jb 0x1400b8f0f
jmp 0x1400b8f26
mov rcx, qword [rdx + rcx*8]
jmp 0x1400b8f28
xor ecx, ecx
mov qword [rsp + 0x30], rcx
test rcx, rcx
je 0x1400b8f4e
lea rdx, [rsp + 0x30]
lea rcx, [r14 + 0x30]
call fcn.14001a27c
mov rcx, qword [rax]
and dword [rcx], 0
cmp qword [rsp + 0x30], 0
jne 0x1400b8f32
lea rcx, [0x140127670]
cmp qword [r14 + 0x78], 0
cmovne rcx, qword [r14 + 0x78]
mov r8d, 0x40
lea rdx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rcx, [rsp + 0x50]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
test rax, rax
jne 0x1400b8f8e
mov ecx, 0x8007000e
call fcn.140005300
int3
mov rcx, rax
call fcn.1400c84d0
mov qword [r14 + 0x28], rax
test rax, rax
je 0x1400b8fea
mov rcx, rax
call fcn.1400c8ca4
test eax, eax
je 0x1400b8fea
mov edx, esi
mov rcx, r14
call fcn.1400b8960
mov esi, eax
test eax, eax
js 0x1400b8ffe
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400b8c30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
je 0x1400b8ffe
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b8ffe
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
jmp 0x1400b9027
mov esi, 0x80004005
mov rcx, qword [0x14014dd40]
cmp rcx, r12
je 0x1400b9064
test byte [rcx + 0x1c], 1
je 0x1400b9064
movzx edx, byte [rcx + 0x19]
mov eax, 2
test esi, esi
cmovns eax, r15d
cmp edx, eax
jl 0x1400b9064
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r9d, esi
lea r8, [0x1401272e0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, esi
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x1400b90a0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x260
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14014d030]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov r14, rcx
lea rdi, [0x14014dd40]
mov rcx, qword [0x14014dd40]
cmp rcx, rdi
je 0x1400b9104
test byte [rcx + 0x1c], 1
je 0x1400b9104
mov edx, SafeArrayUnlock
lea r8, [0x1401272e0]
mov rcx, qword [rcx + 0x10]
call fcn.140003614
mov rax, qword [0x14014e920]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.140009050]
lea rcx, [0x14014e920]
call rbx
add rax, 0x18
mov qword [rsp + 0x20], rax
xor esi, esi
cmp qword [r14 + 0x28], rsi
je 0x1400b91f6
lea rdx, [rsp + 0x40]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
jbe 0x1400b916b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
test esi, esi
jne 0x1400b91f6
lea r9, str.wmpnsslog_02d.sqm
lea r8, [rsp + 0x40]
lea rdx, str._ws_ws
lea rcx, [rsp + 0x20]
call fcn.14000916c
mov rcx, qword [0x14014dd40]
mov ebx, 2
cmp rcx, rdi
je 0x1400b91bc
test byte [rcx + 0x1c], bl
je 0x1400b91bc
cmp byte [rcx + 0x19], 4
jb 0x1400b91bc
lea edx, [rbx + 0x10]
mov r9, qword [rsp + 0x20]
lea r8, [0x1401272e0]
mov rcx, qword [rcx + 0x10]
call fcn.140003638
mov rdx, qword [rsp + 0x20]
mov rcx, qword [r14 + 0x28]
call fcn.1400c8a50
test eax, eax
jne 0x1400b91e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
jmp 0x1400b91e9
and qword [r14 + 0x28], 0
jmp 0x1400b91fb
mov ebx, 2
mov rcx, qword [0x14014dd40]
cmp rcx, rdi
je 0x1400b9238
test byte [rcx + 0x1c], 1
je 0x1400b9238
movzx eax, byte [rcx + 0x19]
mov edx, 5
test esi, esi
cmovns ebx, edx
cmp eax, ebx
jl 0x1400b9238
mov edx, SafeArrayAccessData
mov r9d, esi
lea r8, [0x1401272e0]
mov rcx, qword [rcx + 0x10]
call fcn.1400036d4
nop
mov r14, qword [rsp + 0x20]
or ecx, 0xffffffff
lock xadd dword [r14 - 8], ecx
sub ecx, 1
jg 0x1400b9268
mov rdi, qword [r14 - 0x18]
mov r8, qword [rdi]
mov rbx, qword [r8 + 8]
mov rcx, rbx
call qword [fcn.140009050]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140106ed0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x1400baee4
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 [0x14014dd40]
lea r14, [0x14014dd40]
lea r15, [0x1401273a8]
cmp rcx, r14
je 0x1400baf5d
test byte [rcx + 0x1c], 1
je 0x1400baf37
mov rcx, qword [rcx + 0x10]
mov edx, DispGetParam
mov r8, r15
call fcn.140003614
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400baf5d
test byte [rcx + 0x1c], 2
je 0x1400baf5d
cmp byte [rcx + 0x19], 4
jb 0x1400baf5d
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r8, r15
lea r9d, [rdx - 0x1a]
call fcn.1400036d4
mov edx, 1
mov rcx, rdi
call fcn.1400bb350
mov ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400baf98
test byte [rcx + 0x1c], 2
je 0x1400baf98
cmp byte [rcx + 0x19], 4
jb 0x1400baf98
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r9d, eax
mov r8, r15
call fcn.1400036d4
cmp ebx, 1
jne 0x1400bb059
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]
mov ebx, eax
cmp eax, 1
je 0x1400bafe7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400bb059
test byte [rcx + 0x1c], 2
je 0x1400bb059
cmp byte [rcx + 0x19], 2
jb 0x1400bb059
mov edx, 0x1d
jmp 0x1400bb04a
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]
mov ebx, eax
cmp eax, 1
je 0x1400bb059
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400bb059
test byte [rcx + 0x1c], 2
je 0x1400bb059
cmp byte [rcx + 0x19], 4
jb 0x1400bb059
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.1400036d4
mov rcx, rdi
call fcn.1400bb58c
mov rcx, qword [0x14014dd40]
cmp rcx, r14
je 0x1400bb08d
test byte [rcx + 0x1c], 1
je 0x1400bb08d
cmp byte [rcx + 0x19], 5
jb 0x1400bb08d
mov rcx, qword [rcx + 0x10]
mov edx, 0x1f
mov r9d, ebx
mov r8, r15
call fcn.1400036d4
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 0x1400bb0ac
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 [0x14014dd40]
lea rsi, [0x14014dd40]
cmp rcx, rsi
je 0x1400bb0ec
test byte [rcx + 0x1c], 1
je 0x1400bb0ec
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x20
call fcn.140003614
xor edx, edx
mov rcx, rdi
call fcn.1400bb350
mov ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400bb128
test byte [rcx + 0x1c], 2
je 0x1400bb128
cmp byte [rcx + 0x19], 4
jb 0x1400bb128
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x21
mov r9d, eax
call fcn.1400036d4
cmp ebx, 1
jne 0x1400bb179
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov ebx, eax
cmp eax, 1
je 0x1400bb179
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400bb179
test byte [rcx + 0x1c], 2
je 0x1400bb179
cmp byte [rcx + 0x19], 4
jb 0x1400bb179
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x22
mov r9d, eax
call fcn.1400036d4
mov rcx, rdi
call fcn.1400bb58c
mov rcx, qword [0x14014dd40]
cmp rcx, rsi
je 0x1400bb1b1
test byte [rcx + 0x1c], 1
je 0x1400bb1b1
cmp byte [rcx + 0x19], 5
jb 0x1400bb1b1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x23
mov r9d, ebx
call fcn.1400036d4
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400bb1cc
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [0x14014dd40]
lea r15, [0x14014dd40]
cmp rcx, r15
je 0x1400bb213
test byte [rcx + 0x1c], 1
je 0x1400bb213
cmp byte [rcx + 0x19], 5
jb 0x1400bb213
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x33
lea r9d, [rdx - 0x31]
call fcn.1400036d4
and qword [rsp + 0x40], 0
lea r8, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
and qword [rsp + 0x48], 0
lea rcx, [rsp + 0x40]
and qword [rsp + 0x50], 0
mov rdx, 0xffffffff80000002
mov dword [rsp + 0x28], 0x2011f
call fcn.14001cc38
mov ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, r15
je 0x1400bb27e
test byte [rcx + 0x1c], 2
je 0x1400bb27e
cmp byte [rcx + 0x19], 4
jb 0x1400bb27e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x34
mov r9d, eax
call fcn.1400036d4
mov rcx, qword [0x14014dd40]
test ebx, ebx
jne 0x1400bb2ee
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
lea r9d, [rbx + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SubStatus
mov dword [rsp + 0x78], 2
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [0x14014dd40]
cmp rcx, r15
je 0x1400bb327
test byte [rcx + 0x1c], 2
je 0x1400bb2ee
cmp byte [rcx + 0x19], 4
jb 0x1400bb2ee
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x35
mov r9d, eax
call fcn.1400036d4
mov rcx, qword [0x14014dd40]
cmp rcx, r15
je 0x1400bb327
test byte [rcx + 0x1c], 1
je 0x1400bb327
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jl 0x1400bb327
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401273a8]
mov edx, 0x36
mov r9d, ebx
call fcn.1400036d4
cmp qword [rsp + 0x40], 0
je 0x1400bb33a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop r15
ret