joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035174
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, edx
mov rdi, rcx
mov rcx, qword [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x1400351bf
test byte [rcx + 0x1c], 1
je 0x1400351bf
cmp byte [rcx + 0x19], 5
jb 0x1400351bf
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b50f8]
mov edx, 0xa
mov r9d, ebx
call fcn.14000ad20
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
mov rax, qword [rax + 0x18]
lea rcx, [0x1400cce40]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rdi], rax
cmp ebx, 0x192
je 0x14003522f
cmp ebx, 0x194
je 0x14003522f
cmp ebx, 0x1f5
je 0x14003522f
lea eax, [rbx - 0x2bd]
cmp eax, 0x13
ja 0x140035215
mov ecx, 0x81fbf
bt ecx, eax
jb 0x14003522f
cmp ebx, 0x321
je 0x14003522f
mov r8d, ebx
mov edx, 0x67
mov rcx, rdi
call fcn.140034ec4
jmp 0x140035249
mov ecx, ebx
call fcn.1400054f4
test rax, rax
je 0x140035249
mov r8d, ebx
mov rdx, rax
mov rcx, rdi
call fcn.1400059e8
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x140035279
test byte [rcx + 0x1c], 1
je 0x140035279
cmp byte [rcx + 0x19], 5
jb 0x140035279
mov r9, qword [rdi]
lea r8, [0x1400b50f8]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
call fcn.1400062dc
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x14003ec88
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 0x14003ecab
mov eax, 0x8000ffff
jmp 0x14003ee11
add rcx, 0x38
call fcn.14000590c
test eax, eax
js 0x14003ee11
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 0x14003ed01
cmp byte [rbx + 0x60], al
je 0x14003ecf7
lea rcx, [rbx + 0x38]
mov byte [rbx + 0x60], al
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
nop dword [rax + rax]
call fcn.14000d320
jmp 0x14003ee11
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 0x14003ed40
call fcn.14000d320
mov rcx, rbx
mov edi, eax
call fcn.14003f96c
test eax, eax
jns 0x14003ee0f
test edi, edi
cmovns edi, eax
jmp 0x14003ee0f
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call fcn.14003caf8
mov esi, eax
test eax, eax
jns 0x14003ed72
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14003f96c
mov eax, esi
jmp 0x14003ee11
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 0x14003ed1f
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
call fcn.14003caf8
mov edi, eax
test eax, eax
jns 0x14003edbd
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call fcn.14003f96c
jmp 0x14003ee0f
lea rax, [rbx + 8]
mov r9, rbx
mov qword [rsp + 0x28], rax
lea r8, [0x14003ffb0]
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 0x14003ed1f
mov rcx, qword [rbx + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14003ee0f
call fcn.14000d320
mov edi, eax
mov eax, edi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140041be4
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 [section..data]
lea rsi, section..data
cmp rcx, rsi
je 0x140041c2f
test byte [rcx + 0x1c], 1
je 0x140041c2f
cmp byte [rcx + 0x19], 5
jb 0x140041c2f
mov eax, dword [rdi]
lea r8, [0x1400b5928]
mov rcx, qword [rcx + 0x10]
mov edx, 0x2c
mov r9, rbx
mov dword [rsp + 0x20], eax
call fcn.14002b1c4
mov rcx, qword [rbx]
lea rax, [rsp + 0x60]
and dword [rsp + 0x50], 0
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, [0x1400b57c0]
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 0x140041c82
mov eax, dword [rsp + 0x68]
sub eax, 4
neg eax
sbb ebx, ebx
and ebx, 0xd
mov r10, qword [section..data]
cmp r10, rsi
je 0x140041cc3
test byte [r10 + 0x1c], 2
je 0x140041cc3
cmp byte [r10 + 0x19], 5
jb 0x140041cc3
mov eax, dword [rsp + 0x50]
lea r8, [0x1400b5928]
mov rcx, qword [r10 + 0x10]
mov edx, 0x2d
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.1400191d0
mov r10, qword [section..data]
test ebx, ebx
jne 0x140041d05
cmp r10, rsi
je 0x140041cf8
test byte [r10 + 0x1c], 2
je 0x140041cf8
cmp byte [r10 + 0x19], 4
jb 0x140041cf8
mov eax, dword [rsp + 0x50]
lea edx, [rbx + 0x2e]
mov r9d, dword [rdi]
lea r8, [0x1400b5928]
mov rcx, qword [r10 + 0x10]
mov dword [rsp + 0x20], eax
call fcn.1400191d0
mov eax, dword [rsp + 0x50]
mov dword [rdi], eax
mov r10, qword [section..data]
cmp r10, rsi
je 0x140041d44
test byte [r10 + 0x1c], 1
je 0x140041d44
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x140041d44
mov ecx, dword [rdi]
lea r8, [0x1400b5928]
mov dword [rsp + 0x20], ecx
mov edx, 0x2f
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
call fcn.1400191d0
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x14006e030
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov rbp, rdx
mov rsi, 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, [rsp + 0x70]
call fcn.140005058
nop
lea rcx, [rsi + 8]
lea r8, [rsp + 0x70]
mov edx, 7
call fcn.14006ae08
mov edi, eax
mov rbx, qword [rsp + 0x70]
test eax, eax
js 0x14006e13c
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
movabs r10, 0xf791a6dd10db7370
mov r8, rbx
lea rdx, [0x1400b1a48]
mov rax, qword [rax + 0x38]
call qword [case.0x140071786.0]
mov edi, eax
test eax, eax
js 0x14006e13c
and qword [rsp + 0x60], 0
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
movabs r10, 0xa2c927ca3ed3c970
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x140071786.0]
mov edi, eax
test eax, eax
js 0x14006e11a
lea r9, [rsi + 0x30]
mov r8, rbp
mov rdx, qword [rsp + 0x60]
call fcn.140074f88
mov edi, eax
test eax, eax
js 0x14006e11a
mov rcx, qword [rsp + 0x60]
cmp qword [rsi + 0x28], rcx
je 0x14006e11f
mov rdx, rcx
lea rcx, [rsi + 0x28]
call fcn.14000d2b0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006e13c
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14006e167
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006e418
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rdx
mov rsi, rcx
mov r14, qword [rcx]
mov qword [rbp - 0x18], r14
lea rax, [r14 + 0x48]
mov qword [rbp - 0x10], rax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
nop
mov rax, qword [0x1400cce40]
movabs r10, 0xb1a8ae8f5a5da170
lea rcx, [0x1400cce40]
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
add rax, 0x18
mov qword [rbp + 0x58], rax
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x18]
call fcn.140070ce8
mov edi, eax
or r13, 0xffffffffffffffff
xor r12d, r12d
test eax, eax
js 0x14006e5d0
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.140005058
nop
lea rdx, [0x1400bb2f0]
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14006e4b7
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.14000543c
mov rdx, qword [rbp + 0x58]
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x40]
call fcn.14000543c
lea rdx, str._ORDER_BY_System.ItemNameDisplay_ASC
mov rax, r13
inc rax
cmp word [rdx + rax*2], r12w
jne 0x14006e4e8
mov r8d, eax
lea rcx, [rbp + 0x40]
call fcn.14000543c
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
movabs r10, 0xf791a6dd10db7370
mov rbx, qword [rbp + 0x40]
mov r8, rbx
lea rdx, [0x1400b1a48]
mov rax, qword [rax + 0x38]
call qword [case.0x140071786.0]
mov edi, eax
test eax, eax
js 0x14006e5a2
mov qword [rbp + 0x50], r12
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
movabs r10, 0xa2c927ca3ed3c970
lea rdx, [rbp + 0x50]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8, str.:s_f
xor edx, edx
mov rax, qword [rax + 0x20]
call qword [case.0x140071786.0]
mov edi, eax
test eax, eax
js 0x14006e581
mov r8, r15
mov rdx, qword [rbp + 0x50]
mov rcx, rsi
call fcn.14006b164
mov edi, eax
mov rcx, qword [rbp + 0x50]
test rcx, rcx
je 0x14006e5a2
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14006e5d0
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rdx, qword [rbp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14006e602
mov rcx, qword [rdx]
mov rax, qword [rcx]
movabs r10, 0xee98078a7ad38370
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
nop
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, edi
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 0x140074e98
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 [0x1400cd220]
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.14000543c
or rbx, 0xffffffffffffffff
lea rdx, [0x1400b4f24]
mov rax, rbx
xor ebp, ebp
inc rax
cmp word [rdx + rax*2], bp
jne 0x140074edb
mov r8d, eax
mov rcx, rdi
call fcn.14000543c
mov r9, qword [rsi]
mov rdx, rbx
inc rdx
cmp word [r9 + rdx*2], bp
jne 0x140074ef5
mov eax, 0x811c9dc5
mov r8, rbp
add rdx, rdx
je 0x140074f21
movzx ecx, byte [r8 + r9]
inc r8
imul eax, eax, 0x1000193
xor eax, ecx
cmp r8, rdx
jb 0x140074f0c
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rdx, [rsp + 0x20]
mov ecx, eax
lea r8d, [r9 + 0x11]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__ultow_s]
nop dword [rax + rax]
lea rax, [rsp + 0x20]
inc rbx
cmp word [rax + rbx*2], bp
jne 0x140074f43
mov r8d, ebx
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000543c
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140003680
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x140074f88
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14, r9
mov r15, r8
mov rsi, rdx
and qword [rbp - 8], 0
lea rax, section..data
mov rcx, qword [section..data]
cmp rcx, rax
je 0x140074fe2
test byte [rcx + 0x1c], 2
je 0x140074fe2
cmp byte [rcx + 0x19], 5
jb 0x140074fe2
mov edx, SafeArrayGetDim
lea r8, [0x1400bc6b8]
mov rcx, qword [rcx + 0x10]
call fcn.1400062b0
mov rax, qword [rsi]
movabs r10, 0xdee01e7974d59970
lea r8, [rbp - 8]
lea rdx, [0x1400bc660]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x140071786.0]
mov ebx, eax
test eax, eax
js 0x14007518f
lea rcx, [rbp + 0x30]
call fcn.14006b984
mov ebx, eax
test eax, eax
js 0x14007518f
mov rdi, qword [rbp + 0x30]
mov rax, qword [rdi]
movabs r10, 0xfd41b67356dad870
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x140071786.0]
mov rdx, qword [rbp - 8]
xor ebx, ebx
mov qword [rdi + 0x48], r15
lea rcx, [rdi + 0x50]
cmp qword [rcx], rdx
je 0x140075059
call fcn.14000d2b0
lea rax, [rdi + 0x68]
mov qword [rsp + 0x28], rax
and dword [rsp + 0x20], ebx
mov r9, rdi
lea r8, [0x140074c00]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop dword [rax + rax]
mov qword [rdi + 0x60], rax
test rax, rax
jne 0x1400750a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x1400750a4
movzx ebx, ax
or ebx, 0x80070000
test ebx, ebx
js 0x140075174
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r14
mov r9, rsi
mov r8d, 1
lea rdx, [0x1400bc6c8]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140075174
and dword [rbp - 0x10], 0
and dword [rbp + 0x30], 0
and dword [rbp + 0x38], 0
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
movabs r10, 0xec259e0230532870
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x10]
mov rax, qword [rax + 0x28]
call qword [case.0x140071786.0]
cmp dword [rbp + 0x30], 0
jne 0x14007514c
cmp dword [rbp + 0x38], 0
jne 0x14007514c
and qword [rsp + 0x28], 0
mov qword [rsp + 0x20], r14
mov r9, rsi
xor r8d, r8d
lea rdx, [0x1400bc6c8]
xor ecx, ecx
call qword [sym.imp.SHLWAPI.dll_ConnectToConnectionPoint]
nop dword [rax + rax]
mov ebx, 0x80070490
jmp 0x140075174
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
movabs r10, 0x8a19bee810dc5370
mov edx, 2
mov r8d, 0x3e8
mov rax, qword [rax + 0x18]
call qword [case.0x140071786.0]
mov ebx, eax
mov rax, qword [rdi]
movabs r10, 0xbaac1f10365eb170
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400751b0
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
nop
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x140077cc8
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
or r14, 0xffffffffffffffff
xor ebp, ebp
mov rsi, rdx
mov rdi, rcx
test rdx, rdx
jne 0x140077cf5
mov eax, ebp
jmp 0x140077d01
mov rax, r14
inc rax
cmp word [rdx + rax*2], bp
jne 0x140077cf8
mov r8d, eax
call fcn.140005cf4
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 0x140077d4e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140077d46
movzx ebx, ax
or ebx, r15d
test ebx, ebx
js 0x140077e53
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 0x140077d8f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140077d87
movzx ebx, ax
or ebx, r15d
test ebx, ebx
js 0x140077e53
lea r9, [rsp + 0x50]
mov qword [rsp + 0x50], rbp
xor r8d, r8d
lea rcx, [0x1400b1a78]
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 0x140077e3e
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 0x140077dfa
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140077df6
movzx ebx, ax
or ebx, r15d
test ebx, ebx
js 0x140077e3e
mov qword [rsp + 0x28], rbp
lea r8, [0x140079340]
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 0x140077e3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140077e3e
movzx ebx, ax
or ebx, r15d
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test ebx, ebx
jns 0x140077e8d
mov rcx, qword [rdi + 0x18]
cmp rcx, r14
je 0x140077e6c
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 0x140077e85
call qword [sym.imp.KERNEL32.dll_FindCloseChangeNotification]
nop dword [rax + rax]
mov qword [rdi + 0x20], r14
mov rcx, rdi
call fcn.140078ff4
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 0x140077eb0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000590c
mov ebx, eax
test eax, eax
js 0x140077fb5
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 ebx, eax
test eax, eax
jne 0x140077fa8
mov rcx, qword [rdi + 0x88]
test rcx, rcx
je 0x140077f23
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
mov rax, qword [rsp + 0x40]
mov qword [rdi + 0x88], rax
test ebx, ebx
jne 0x140077faa
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 0x140077fa1
mov rcx, rdi
call fcn.140079610
mov ebx, eax
test eax, eax
js 0x140077fb5
xor edx, edx
mov rcx, rdi
call fcn.1400797b0
mov ebx, eax
test eax, eax
js 0x140077fb5
and qword [rsp + 0x28], 0
lea r8, [0x14007a080]
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 0x140077fb5
mov ebx, 0x8000ffff
jmp 0x140077fb5
test ebx, ebx
jle 0x140077fb5
movzx ebx, bx
or ebx, 0x80070000
mov eax, ebx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14008fce8
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 [section..data]
lea r14, section..data
lea r15, [0x1400bd678]
cmp rcx, r14
je 0x14008fd61
test byte [rcx + 0x1c], 1
je 0x14008fd3b
mov rcx, qword [rcx + 0x10]
mov edx, DispGetParam
mov r8, r15
call fcn.1400062b0
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14008fd61
test byte [rcx + 0x1c], 2
je 0x14008fd61
cmp byte [rcx + 0x19], 4
jb 0x14008fd61
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r8, r15
lea r9d, [rdx - 0x1a]
call fcn.1400063c0
mov edx, 1
mov rcx, rdi
call fcn.14008fb8c
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14008fd9c
test byte [rcx + 0x1c], 2
je 0x14008fd9c
cmp byte [rcx + 0x19], 4
jb 0x14008fd9c
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r9d, eax
mov r8, r15
call fcn.1400063c0
cmp ebx, 1
jne 0x14008fe7d
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 0x14008fdff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14008fe7d
test byte [rcx + 0x1c], 2
je 0x14008fe7d
cmp byte [rcx + 0x19], 2
jb 0x14008fe7d
mov edx, 0x1d
jmp 0x14008fe6e
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 0x14008fe7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14008fe7d
test byte [rcx + 0x1c], 2
je 0x14008fe7d
cmp byte [rcx + 0x19], 4
jb 0x14008fe7d
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000ad20
mov rcx, rdi
call fcn.14008f934
mov rcx, qword [section..data]
cmp rcx, r14
je 0x14008feb1
test byte [rcx + 0x1c], 1
je 0x14008feb1
cmp byte [rcx + 0x19], 5
jb 0x14008feb1
mov rcx, qword [rcx + 0x10]
mov edx, 0x1f
mov r9d, ebx
mov r8, r15
call fcn.1400063c0
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 0x14008fed4
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [section..data]
lea r15, section..data
cmp rcx, r15
je 0x14008ff1b
test byte [rcx + 0x1c], 1
je 0x14008ff1b
cmp byte [rcx + 0x19], 5
jb 0x14008ff1b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd678]
mov edx, 0x33
lea r9d, [rdx - 0x31]
call fcn.14000af7c
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.14000d90c
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r15
je 0x14008ff86
test byte [rcx + 0x1c], 2
je 0x14008ff86
cmp byte [rcx + 0x19], 4
jb 0x14008ff86
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd678]
mov edx, 0x34
mov r9d, eax
call fcn.14000ad20
mov rcx, qword [section..data]
test ebx, ebx
jne 0x14008fffc
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]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140090035
test byte [rcx + 0x1c], 2
je 0x14008fffc
cmp byte [rcx + 0x19], 4
jb 0x14008fffc
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd678]
mov edx, 0x35
mov r9d, eax
call fcn.14000ad20
mov rcx, qword [section..data]
cmp rcx, r15
je 0x140090035
test byte [rcx + 0x1c], 1
je 0x140090035
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x140090035
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd678]
mov edx, 0x36
mov r9d, ebx
call fcn.14000ad20
cmp qword [rsp + 0x40], 0
je 0x14009004e
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop r15
ret