joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b1890
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 [0x140106190]
lea r14, [0x140106190]
lea r15, [0x1400e6fc8]
cmp rcx, r14
je 0x1400b1909
test byte [rcx + 0x1c], 1
je 0x1400b18e3
mov rcx, qword [rcx + 0x10]
mov edx, DispGetParam
mov r8, r15
call fcn.140003538
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b1909
test byte [rcx + 0x1c], 2
je 0x1400b1909
cmp byte [rcx + 0x19], 4
jb 0x1400b1909
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_DispGetParam
mov r8, r15
lea r9d, [rdx - 0x1a]
call fcn.1400035ec
mov edx, 1
mov rcx, rdi
call fcn.1400b1ce8
mov ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b1944
test byte [rcx + 0x1c], 2
je 0x1400b1944
cmp byte [rcx + 0x19], 4
jb 0x1400b1944
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
mov r9d, eax
mov r8, r15
call fcn.1400035ec
cmp ebx, 1
jne 0x1400b1a05
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 0x1400b1993
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b1a05
test byte [rcx + 0x1c], 2
je 0x1400b1a05
cmp byte [rcx + 0x19], 2
jb 0x1400b1a05
mov edx, 0x1d
jmp 0x1400b19f6
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 0x1400b1a05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b1a05
test byte [rcx + 0x1c], 2
je 0x1400b1a05
cmp byte [rcx + 0x19], 4
jb 0x1400b1a05
mov edx, 0x1e
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.1400035ec
mov rcx, rdi
call fcn.1400b1f14
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b1a39
test byte [rcx + 0x1c], 1
je 0x1400b1a39
cmp byte [rcx + 0x19], 5
jb 0x1400b1a39
mov rcx, qword [rcx + 0x10]
mov edx, 0x1f
mov r9d, ebx
mov r8, r15
call fcn.1400035ec
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 0x1400b1a54
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 [0x140106190]
lea rsi, [0x140106190]
cmp rcx, rsi
je 0x1400b1a94
test byte [rcx + 0x1c], 1
je 0x1400b1a94
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x20
call fcn.140003538
xor edx, edx
mov rcx, rdi
call fcn.1400b1ce8
mov ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b1ad0
test byte [rcx + 0x1c], 2
je 0x1400b1ad0
cmp byte [rcx + 0x19], 4
jb 0x1400b1ad0
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x21
mov r9d, eax
call fcn.1400035ec
cmp ebx, 1
jne 0x1400b1b21
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 0x1400b1b21
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b1b21
test byte [rcx + 0x1c], 2
je 0x1400b1b21
cmp byte [rcx + 0x19], 4
jb 0x1400b1b21
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x22
mov r9d, eax
call fcn.1400035ec
mov rcx, rdi
call fcn.1400b1f14
mov rcx, qword [0x140106190]
cmp rcx, rsi
je 0x1400b1b59
test byte [rcx + 0x1c], 1
je 0x1400b1b59
cmp byte [rcx + 0x19], 5
jb 0x1400b1b59
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x23
mov r9d, ebx
call fcn.1400035ec
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x1400b1b6c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [0x140106190]
lea r15, [0x140106190]
cmp rcx, r15
je 0x1400b1bb3
test byte [rcx + 0x1c], 1
je 0x1400b1bb3
cmp byte [rcx + 0x19], 5
jb 0x1400b1bb3
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x33
lea r9d, [rdx - 0x31]
call fcn.1400035ec
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.14001b2b8
mov ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b1c1e
test byte [rcx + 0x1c], 2
je 0x1400b1c1e
cmp byte [rcx + 0x19], 4
jb 0x1400b1c1e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x34
mov r9d, eax
call fcn.1400035ec
mov rcx, qword [0x140106190]
test ebx, ebx
jne 0x1400b1c8e
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 [0x140106190]
cmp rcx, r15
je 0x1400b1cc7
test byte [rcx + 0x1c], 2
je 0x1400b1c8e
cmp byte [rcx + 0x19], 4
jb 0x1400b1c8e
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x35
mov r9d, eax
call fcn.1400035ec
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b1cc7
test byte [rcx + 0x1c], 1
je 0x1400b1cc7
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x1400b1cc7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e6fc8]
mov edx, 0x36
mov r9d, ebx
call fcn.1400035ec
cmp qword [rsp + 0x40], 0
je 0x1400b1cda
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
Function at 0x1400b442c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x40
mov rsi, r8
mov rbp, rdx
mov r14, rcx
mov rcx, qword [0x140106190]
lea rax, [0x140106190]
lea r13, str._4
cmp rcx, rax
je 0x1400b4485
test byte [rcx + 0x1c], 1
je 0x1400b4485
cmp byte [rcx + 0x19], 5
jb 0x1400b4485
mov rcx, qword [rcx + 0x10]
mov edx, 0x4a
mov r9, rbp
mov r8, r13
call fcn.140003558
mov rcx, qword [r14]
lea rax, [rsp + 0x70]
xor r15d, r15d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x30]
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov dword [rsp + 0x70], r15d
mov rdx, rbp
mov dword [rsp + 0x88], r15d
mov edi, r15d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400b44e2
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
jbe 0x1400b44d2
lea ebx, [r15 + 0xd]
jmp 0x1400b44e2
mov edi, dword [rsp + 0x70]
mov ebx, r15d
shr edi, 1
mov dword [rsp + 0x88], edi
mov rax, qword [0x140106190]
lea rcx, [0x140106190]
cmp rax, rcx
je 0x1400b451c
test byte [rax + 0x1c], 2
je 0x1400b451c
cmp byte [rax + 0x19], 4
jb 0x1400b451c
mov rcx, qword [rax + 0x10]
mov edx, 0x4b
mov r9d, ebx
mov r8, r13
call fcn.1400035ec
mov rax, qword [0x140106190]
test ebx, ebx
jne 0x1400b460e
mov r8, qword [rsi]
lea edx, [rdi + 2]
lea ecx, [rbx + 1]
mov eax, dword [r8 - 0xc]
sub ecx, dword [r8 - 8]
sub eax, edx
or ecx, eax
jge 0x1400b4546
mov rcx, rsi
call fcn.140004de0
mov r8, qword [rsi]
lea r9, [rsp + 0x88]
mov rdx, rbp
mov rcx, r14
call fcn.14001b340
mov ebx, eax
mov rcx, qword [0x140106190]
lea rdi, [0x140106190]
cmp rcx, rdi
je 0x1400b458e
test byte [rcx + 0x1c], 2
je 0x1400b458e
cmp byte [rcx + 0x19], 4
jb 0x1400b458e
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r9d, eax
mov r8, r13
call fcn.1400035ec
mov eax, ebx
neg eax
sbb ecx, ecx
neg ecx
dec ecx
test ebx, ebx
jne 0x1400b45b7
mov rax, qword [rsi]
test rax, rax
jne 0x1400b45a9
mov ecx, r15d
jmp 0x1400b45bf
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400b45ad
test ecx, ecx
js 0x1400b4665
mov rax, qword [rsi]
cmp ecx, dword [rax - 0xc]
jg 0x1400b4665
mov dword [rax - 0x10], ecx
mov rax, qword [rsi]
movsxd rcx, ecx
mov word [rax + rcx*2], r15w
mov rax, qword [0x140106190]
cmp rax, rdi
je 0x1400b464a
test byte [rax + 0x1c], 2
je 0x1400b4615
cmp byte [rax + 0x19], 4
jb 0x1400b4615
mov r9, qword [rsi]
mov edx, 0x4d
mov rcx, qword [rax + 0x10]
mov r8, r13
call fcn.140003558
mov rax, qword [0x140106190]
jmp 0x1400b4615
lea rdi, [0x140106190]
cmp rax, rdi
je 0x1400b464a
test byte [rax + 0x1c], 1
je 0x1400b464a
movzx r9d, byte [rax + 0x19]
mov ecx, ebx
neg ecx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x1400b464a
mov rcx, qword [rax + 0x10]
mov edx, 0x4e
mov r9d, ebx
mov r8, r13
call fcn.1400035ec
lea r11, [rsp + 0x40]
mov eax, ebx
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
mov ecx, 0x80070057
call fcn.140004f64
int3
Function at 0x1400b4e20
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [str.Xr_r_]
lea rcx, str.Xr_r_
xor edi, edi
mov rax, qword [rax + 0x18]
call qword [case.0x14006d218.0]
and qword [rsp + 0x68], rdi
lea rdx, str.SOFTWAREMicrosoftWindows_Media_Player_NSS3.0
mov rbx, rax
mov r9d, 0x20119
lea rax, [rsp + 0x68]
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b4ed9
mov rsi, qword [rsp + 0x68]
lea rax, [rsp + 0x58]
and dword [rsp + 0x50], edi
lea r9, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rdx, str.AllowRMESharingOnDomainForTest
lea rax, [rsp + 0x50]
mov dword [rsp + 0x58], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b4ecb
cmp dword [rsp + 0x60], 4
jne 0x1400b4ecb
test eax, eax
jne 0x1400b4ecb
cmp dword [rsp + 0x50], edi
lea eax, [rdi + 1]
cmovne edi, eax
test rsi, rsi
je 0x1400b4ed9
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rbx
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400b4ef9
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14006d218.0]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b4f04
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
push r13
push r14
mov rbp, rsp
sub rsp, 0x50
and dword [rbp + 0x38], 0
and dword [rbp + 0x40], 0
and qword [rbp - 8], 0
mov dword [rbp + 0x48], 4
mov rcx, qword [0x140106190]
lea r14, [0x140106190]
lea r13, str._4
cmp rcx, r14
je 0x1400b4f58
test byte [rcx + 0x1c], 1
je 0x1400b4f58
mov rcx, qword [rcx + 0x10]
mov edx, 0x69
mov r8, r13
call fcn.140003538
xor ebx, ebx
lea r8, [rbp + 0x30]
and qword [rbp - 0x10], rbx
lea rdx, [rbp - 0x10]
and dword [rbp + 0x30], ebx
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov edi, eax
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b4fae
test byte [rcx + 0x1c], 2
je 0x1400b4fae
cmp byte [rcx + 0x19], 4
jb 0x1400b4fae
mov eax, dword [rbp + 0x30]
mov r9d, edi
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400b2964
mov rcx, qword [0x140106190]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1400b4fc7
mov rcx, rax
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rcx, qword [0x140106190]
test edi, edi
jne 0x1400b5023
cmp dword [rbp + 0x30], 3
jne 0x1400b4fff
cmp rcx, r14
je 0x1400b4ff8
test byte [rcx + 0x1c], 2
je 0x1400b4ff8
cmp byte [rcx + 0x19], 4
jb 0x1400b4ff8
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x6b]
mov r8, r13
call fcn.140003538
mov rcx, qword [0x140106190]
mov ebx, 1
jmp 0x1400b504f
cmp rcx, r14
je 0x1400b5074
test byte [rcx + 0x1c], 2
je 0x1400b504f
cmp byte [rcx + 0x19], 4
jb 0x1400b504f
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r8, r13
call fcn.140003538
jmp 0x1400b5048
cmp rcx, r14
je 0x1400b5074
test byte [rcx + 0x1c], 2
je 0x1400b504f
cmp byte [rcx + 0x19], 2
jb 0x1400b504f
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r9d, edi
mov r8, r13
call fcn.1400035ec
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b5074
test byte [rcx + 0x1c], 1
je 0x1400b5074
cmp byte [rcx + 0x19], 5
jb 0x1400b5074
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r9d, ebx
mov r8, r13
call fcn.1400035ec
lea rax, [rbp - 8]
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 0x1400b50f8
mov rcx, qword [rbp - 8]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
lea r8, str.AllowOnlineID
lea rax, [rbp + 0x40]
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
mov qword [rsp + 0x28], rax
lea rdx, str.Pku2u
lea rax, [rbp + 0x38]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400b50e9
cmp dword [rbp + 0x38], 4
jne 0x1400b50e9
xor ebx, ebx
cmp dword [rbp + 0x40], ebx
sete bl
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400b50f8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop r14
pop r13
pop rdi
pop rbx
pop rbp
ret
Function at 0x1400b5108
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor eax, eax
mov rdi, rcx
mov rcx, qword [rcx]
mov r9d, 0x2001f
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov qword [rsp + 0x50], rax
mov rsi, rdx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400b529f
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b5184
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x1400b529f
jmp 0x1400b51b6
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400b5108
mov ebx, eax
test eax, eax
jne 0x1400b529f
mov rcx, qword [rsp + 0x48]
xor ebx, ebx
mov dword [rsp + 0x40], 0x100
lea rax, [rsp + 0x68]
xor edx, edx
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400b5198
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b5204
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
cmp qword [rdi + 8], rbx
jne 0x1400b5263
cmp qword [rdi + 0x10], rbx
jne 0x1400b5263
lea rcx, str.API_MS_Win_Core_LocalRegistry_L1_1_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b5238
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
jmp 0x1400b5263
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400b5263
lea rdx, str.RegDeleteKeyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x1400b5280
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [case.0x14006d218.0]
jmp 0x1400b529d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400b5297
mov rcx, qword [rdi]
mov rdx, rsi
call qword [case.0x14006d218.0]
jmp 0x1400b529d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b52af
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cc8d0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b5420
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rsi, rdx
mov rdi, rcx
mov rcx, qword [0x140106190]
lea r14, [0x140106190]
lea r15, [0x1400e7130]
cmp rcx, r14
je 0x1400b5478
test byte [rcx + 0x1c], 1
je 0x1400b5478
cmp byte [rcx + 0x19], 5
jb 0x1400b5478
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8, r15
call fcn.14002fe7c
xor edx, edx
mov r8d, 0x80
mov rcx, rsi
xor ebx, ebx
call sub.msvcrt.dll_memset
and qword [rsp + 0x90], rbx
lea r8d, [rbx + 0x30]
xor edx, edx
lea rcx, [rsp + 0x30]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 4
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b54d4
test byte [rcx + 0x1c], 2
je 0x1400b54d4
cmp byte [rcx + 0x19], 5
jb 0x1400b54d4
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xb]
mov r9, rdi
mov r8, r15
call fcn.140003558
lea r9, [rsp + 0x90]
xor edx, edx
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov r8d, eax
test eax, eax
je 0x1400b5558
movzx ebx, r8w
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b55d6
test byte [rcx + 0x1c], 2
je 0x1400b55d6
movzx eax, byte [rcx + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x1400b55d6
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8, r15
call fcn.1400053dc
jmp 0x1400b55d6
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x10]
cmp r9, 0x80
jbe 0x1400b5595
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b558e
test byte [rcx + 0x1c], 2
je 0x1400b558e
cmp byte [rcx + 0x19], 2
jb 0x1400b558e
mov rcx, qword [rcx + 0x10]
call fcn.1400b52d4
mov ebx, 0x80004005
jmp 0x1400b55d6
mov rcx, qword [0x140106190]
cmp rcx, r14
je 0x1400b55be
test byte [rcx + 0x1c], 2
je 0x1400b55be
cmp byte [rcx + 0x19], 5
jb 0x1400b55be
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov r8, r15
call fcn.140003620
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov r10, qword [0x140106190]
cmp r10, r14
je 0x1400b5630
test byte [r10 + 0x1c], 1
je 0x1400b5630
movzx eax, byte [r10 + 0x19]
mov ecx, ebx
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x1400b5630
test ebx, ebx
js 0x1400b5614
movzx eax, word [rsi]
jmp 0x1400b5617
or eax, 0xffffffff
mov rcx, qword [r10 + 0x10]
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, r15
call fcn.1400b53dc
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400b5648
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x460
mov rax, qword [0x140109388]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov ebp, edx
mov rdi, rcx
mov rax, qword [0x140106190]
lea r13, [0x140106190]
cmp rax, r13
je 0x1400b56bd
test byte [rax + 0x1c], 1
je 0x1400b56bd
cmp byte [rax + 0x19], 5
jb 0x1400b56bd
mov r9, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rax + 0x10]
lea r8, [0x1400e7130]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1400240b4
mov rax, qword [0x140106190]
xor ebx, ebx
lea r14d, [rbx + 2]
lea r15d, [rbx + 0x17]
cmp r14w, word [rdi]
je 0x1400b56dd
cmp r15w, word [rdi]
je 0x1400b56dd
mov ebx, 0x80070057
jmp 0x1400b57a9
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], ebx
mov r9d, 0x401
mov edx, 0x80
mov qword [rsp + 0x20], rbx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1400b575e
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
movzx ecx, ax
mov r9d, eax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov ebx, ecx
mov rax, qword [0x140106190]
cmp rax, r13
je 0x1400b57e7
test byte [rax + 0x1c], r14b
je 0x1400b57a9
cmp byte [rax + 0x19], r14b
jb 0x1400b57a9
mov rcx, qword [rax + 0x10]
lea r8, [0x1400e7130]
mov edx, SafeArrayUnlock
call fcn.1400035ec
jmp 0x1400b57a2
test ebp, ebp
je 0x1400b5795
cmp r15w, word [rdi]
jne 0x1400b5795
mov edx, 0x25
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400b577f
mov byte [rax], bl
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.__hs_
call fcn.140008b90
jmp 0x1400b57a2
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140033774
mov rax, qword [0x140106190]
cmp rax, r13
je 0x1400b57e7
test byte [rax + 0x1c], 1
je 0x1400b57e7
movzx ecx, byte [rax + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1400b57e7
mov rcx, qword [rsi]
lea r8, [0x1400e7130]
mov qword [rsp + 0x20], rcx
mov edx, SafeArrayUnlock
mov rcx, qword [rax + 0x10]
mov r9d, ebx
call fcn.14000a238
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400cc8d0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret
Function at 0x1400b58cc
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [0x140106190]
lea rbp, [0x140106190]
mov esi, 1
cmp rcx, rbp
je 0x1400b5906
test byte [rcx + 0x1c], sil
je 0x1400b5906
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x16]
lea r8, [0x1400e7130]
call fcn.140003538
lea rax, [rsp + 0x78]
xor edi, edi
and qword [rsp + 0x78], rdi
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsMediaPlayer
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b593d
mov rdi, qword [rsp + 0x78]
mov ebx, esi
mov r9d, esi
test eax, eax
jne 0x1400b59d4
and dword [rsp + 0x60], eax
lea r9, [rsp + 0x70]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x28], rax
lea rdx, str.PreventLibrarySharing
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b5994
cmp dword [rsp + 0x70], 4
je 0x1400b5992
mov r9d, esi
jmp 0x1400b59d4
xor eax, eax
mov r9d, esi
test eax, eax
jne 0x1400b59d4
cmp dword [rsp + 0x60], esi
jne 0x1400b59d4
mov rcx, qword [0x140106190]
xor ebx, ebx
cmp rcx, rbp
je 0x1400b5a01
xor r9d, r9d
test byte [rcx + 0x1c], 2
je 0x1400b59db
cmp byte [rcx + 0x19], 3
jb 0x1400b59db
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
lea r8, [0x1400e7130]
call fcn.140003538
xor r9d, r9d
mov rcx, qword [0x140106190]
cmp rcx, rbp
je 0x1400b5a01
test byte [rcx + 0x1c], sil
je 0x1400b5a01
cmp byte [rcx + 0x19], 5
jb 0x1400b5a01
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e7130]
mov edx, DispGetParam
call fcn.1400035ec
test rdi, rdi
je 0x1400b5a0f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret