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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [0x1400f3190]
lea r15, [0x1400f3190]
cmp rcx, r15
je 0x1400a6ac7
test byte [rcx + 0x1c], 1
je 0x1400a6ac7
cmp byte [rcx + 0x19], 5
jb 0x1400a6ac7
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d8bc0]
mov edx, 0x33
lea r9d, [rdx - 0x31]
call fcn.1400036a8
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.140016a64
mov ebx, eax
mov rcx, qword [0x1400f3190]
cmp rcx, r15
je 0x1400a6b32
test byte [rcx + 0x1c], 2
je 0x1400a6b32
cmp byte [rcx + 0x19], 4
jb 0x1400a6b32
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d8bc0]
mov edx, 0x34
mov r9d, eax
call fcn.1400036a8
mov rcx, qword [0x1400f3190]
test ebx, ebx
jne 0x1400a6ba2
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 [0x1400f3190]
cmp rcx, r15
je 0x1400a6bdb
test byte [rcx + 0x1c], 2
je 0x1400a6ba2
cmp byte [rcx + 0x19], 4
jb 0x1400a6ba2
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d8bc0]
mov edx, 0x35
mov r9d, eax
call fcn.1400036a8
mov rcx, qword [0x1400f3190]
cmp rcx, r15
je 0x1400a6bdb
test byte [rcx + 0x1c], 1
je 0x1400a6bdb
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x1400a6bdb
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d8bc0]
mov edx, 0x36
mov r9d, ebx
call fcn.1400036a8
cmp qword [rsp + 0x40], 0
je 0x1400a6bee
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 0x1400a9468
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 [0x1400f3190]
lea rax, [0x1400f3190]
lea r13, str._4
cmp rcx, rax
je 0x1400a94c1
test byte [rcx + 0x1c], 1
je 0x1400a94c1
cmp byte [rcx + 0x19], 5
jb 0x1400a94c1
mov rcx, qword [rcx + 0x10]
mov edx, 0x4a
mov r9, rbp
mov r8, r13
call fcn.140003608
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 0x1400a951e
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
jbe 0x1400a950e
lea ebx, [r15 + 0xd]
jmp 0x1400a951e
mov edi, dword [rsp + 0x70]
mov ebx, r15d
shr edi, 1
mov dword [rsp + 0x88], edi
mov rax, qword [0x1400f3190]
lea rcx, [0x1400f3190]
cmp rax, rcx
je 0x1400a9558
test byte [rax + 0x1c], 2
je 0x1400a9558
cmp byte [rax + 0x19], 4
jb 0x1400a9558
mov rcx, qword [rax + 0x10]
mov edx, 0x4b
mov r9d, ebx
mov r8, r13
call fcn.1400036a8
mov rax, qword [0x1400f3190]
test ebx, ebx
jne 0x1400a964a
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 0x1400a9582
mov rcx, rsi
call fcn.140004f6c
mov r8, qword [rsi]
lea r9, [rsp + 0x88]
mov rdx, rbp
mov rcx, r14
call fcn.140016af8
mov ebx, eax
mov rcx, qword [0x1400f3190]
lea rdi, [0x1400f3190]
cmp rcx, rdi
je 0x1400a95ca
test byte [rcx + 0x1c], 2
je 0x1400a95ca
cmp byte [rcx + 0x19], 4
jb 0x1400a95ca
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r9d, eax
mov r8, r13
call fcn.1400036a8
mov eax, ebx
neg eax
sbb ecx, ecx
neg ecx
dec ecx
test ebx, ebx
jne 0x1400a95f3
mov rax, qword [rsi]
test rax, rax
jne 0x1400a95e5
mov ecx, r15d
jmp 0x1400a95fb
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x1400a95e9
test ecx, ecx
js 0x1400a96a1
mov rax, qword [rsi]
cmp ecx, dword [rax - 0xc]
jg 0x1400a96a1
mov dword [rax - 0x10], ecx
mov rax, qword [rsi]
movsxd rcx, ecx
mov word [rax + rcx*2], r15w
mov rax, qword [0x1400f3190]
cmp rax, rdi
je 0x1400a9686
test byte [rax + 0x1c], 2
je 0x1400a9651
cmp byte [rax + 0x19], 4
jb 0x1400a9651
mov r9, qword [rsi]
mov edx, 0x4d
mov rcx, qword [rax + 0x10]
mov r8, r13
call fcn.140003608
mov rax, qword [0x1400f3190]
jmp 0x1400a9651
lea rdi, [0x1400f3190]
cmp rax, rdi
je 0x1400a9686
test byte [rax + 0x1c], 1
je 0x1400a9686
movzx r9d, byte [rax + 0x19]
mov ecx, ebx
neg ecx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x1400a9686
mov rcx, qword [rax + 0x10]
mov edx, 0x4e
mov r9d, ebx
mov r8, r13
call fcn.1400036a8
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.1400051a4
int3
Function at 0x1400a9e6c
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400f6030]
lea rcx, [0x1400f6030]
xor edi, edi
mov rax, qword [rax + 0x18]
call qword [str.__f_]
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 0x1400a9f25
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 0x1400a9f17
cmp dword [rsp + 0x60], 4
jne 0x1400a9f17
test eax, eax
jne 0x1400a9f17
cmp dword [rsp + 0x50], edi
lea eax, [rdi + 1]
cmovne edi, eax
test rsi, rsi
je 0x1400a9f25
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 0x1400a9f45
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [str.__f_]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400a9f58
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 [0x1400f3190]
lea r14, [0x1400f3190]
lea r13, str._4
cmp rcx, r14
je 0x1400a9fac
test byte [rcx + 0x1c], 1
je 0x1400a9fac
mov rcx, qword [rcx + 0x10]
mov edx, 0x69
mov r8, r13
call fcn.1400035e4
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 [0x1400f3190]
cmp rcx, r14
je 0x1400aa002
test byte [rcx + 0x1c], 2
je 0x1400aa002
cmp byte [rcx + 0x19], 4
jb 0x1400aa002
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.1400a7900
mov rcx, qword [0x1400f3190]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1400aa01b
mov rcx, rax
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rcx, qword [0x1400f3190]
test edi, edi
jne 0x1400aa077
cmp dword [rbp + 0x30], 3
jne 0x1400aa053
cmp rcx, r14
je 0x1400aa04c
test byte [rcx + 0x1c], 2
je 0x1400aa04c
cmp byte [rcx + 0x19], 4
jb 0x1400aa04c
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 0x6b]
mov r8, r13
call fcn.1400035e4
mov rcx, qword [0x1400f3190]
mov ebx, 1
jmp 0x1400aa0a3
cmp rcx, r14
je 0x1400aa0c8
test byte [rcx + 0x1c], 2
je 0x1400aa0a3
cmp byte [rcx + 0x19], 4
jb 0x1400aa0a3
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r8, r13
call fcn.1400035e4
jmp 0x1400aa09c
cmp rcx, r14
je 0x1400aa0c8
test byte [rcx + 0x1c], 2
je 0x1400aa0a3
cmp byte [rcx + 0x19], 2
jb 0x1400aa0a3
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r9d, edi
mov r8, r13
call fcn.1400036a8
mov rcx, qword [0x1400f3190]
cmp rcx, r14
je 0x1400aa0c8
test byte [rcx + 0x1c], 1
je 0x1400aa0c8
cmp byte [rcx + 0x19], 5
jb 0x1400aa0c8
mov rcx, qword [rcx + 0x10]
mov edx, WSAGetLastError
mov r9d, ebx
mov r8, r13
call fcn.1400036a8
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 0x1400aa14c
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 0x1400aa13d
cmp dword [rbp + 0x38], 4
jne 0x1400aa13d
xor ebx, ebx
cmp dword [rbp + 0x40], ebx
sete bl
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400aa14c
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 0x1400aa160
Capabilities:
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x1400f6388]
xor rax, rsp
mov qword [rbp + 0x170], rax
xor r14d, r14d
lea rax, [rsp + 0x60]
mov rdi, rcx
mov qword [rsp + 0x48], r14
mov rcx, qword [rcx]
mov r9d, 0x2001f
xor r8d, r8d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
mov rsi, rdx
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400aa2ff
mov rcx, qword [rsp + 0x48]
mov ebx, r14d
test rcx, rcx
je 0x1400aa1e6
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x1400aa2ff
jmp 0x1400aa218
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400aa160
mov ebx, eax
test eax, eax
jne 0x1400aa2ff
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x68]
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], r14
lea r8, [rsp + 0x70]
mov qword [rsp + 0x28], r14
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400aa1fa
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400aa264
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
cmp qword [rdi + 8], r14
jne 0x1400aa2c3
cmp qword [rdi + 0x10], r14
jne 0x1400aa2c3
lea rcx, str.API_MS_Win_Core_LocalRegistry_L1_1_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400aa298
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
jmp 0x1400aa2c3
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400aa2c3
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 0x1400aa2e0
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [str.__f_]
jmp 0x1400aa2fd
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400aa2f7
mov rcx, qword [rdi]
mov rdx, rsi
call qword [str.__f_]
jmp 0x1400aa2fd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400aa30f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400c13a0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400aa4a8
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 [0x1400f3190]
lea r14, [0x1400f3190]
lea r15, [0x1400d8d20]
cmp rcx, r14
je 0x1400aa500
test byte [rcx + 0x1c], 1
je 0x1400aa500
cmp byte [rcx + 0x19], 5
jb 0x1400aa500
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8, r15
call fcn.14002a7a8
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 [0x1400f3190]
cmp rcx, r14
je 0x1400aa55c
test byte [rcx + 0x1c], 2
je 0x1400aa55c
cmp byte [rcx + 0x19], 5
jb 0x1400aa55c
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xb]
mov r9, rdi
mov r8, r15
call fcn.140003608
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 0x1400aa5e0
movzx ebx, r8w
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x1400f3190]
cmp rcx, r14
je 0x1400aa65e
test byte [rcx + 0x1c], 2
je 0x1400aa65e
movzx eax, byte [rcx + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x1400aa65e
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8, r15
call fcn.1400056d8
jmp 0x1400aa65e
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x10]
cmp r9, 0x80
jbe 0x1400aa61d
mov rcx, qword [0x1400f3190]
cmp rcx, r14
je 0x1400aa616
test byte [rcx + 0x1c], 2
je 0x1400aa616
cmp byte [rcx + 0x19], 2
jb 0x1400aa616
mov rcx, qword [rcx + 0x10]
call fcn.1400aa340
mov ebx, 0x80004005
jmp 0x1400aa65e
mov rcx, qword [0x1400f3190]
cmp rcx, r14
je 0x1400aa646
test byte [rcx + 0x1c], 2
je 0x1400aa646
cmp byte [rcx + 0x19], 5
jb 0x1400aa646
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov r8, r15
call fcn.1400036e4
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 [0x1400f3190]
cmp r10, r14
je 0x1400aa6b8
test byte [r10 + 0x1c], 1
je 0x1400aa6b8
movzx eax, byte [r10 + 0x19]
mov ecx, ebx
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x1400aa6b8
test ebx, ebx
js 0x1400aa69c
movzx eax, word [rsi]
jmp 0x1400aa69f
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.1400aa45c
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 0x1400aa6d8
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 [0x1400f6388]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov ebp, edx
mov rdi, rcx
mov rax, qword [0x1400f3190]
lea r13, [0x1400f3190]
cmp rax, r13
je 0x1400aa74d
test byte [rax + 0x1c], 1
je 0x1400aa74d
cmp byte [rax + 0x19], 5
jb 0x1400aa74d
mov r9, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rax + 0x10]
lea r8, [0x1400d8d20]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14001fe50
mov rax, qword [0x1400f3190]
xor ebx, ebx
lea r14d, [rbx + 2]
lea r15d, [rbx + 0x17]
cmp r14w, word [rdi]
je 0x1400aa76d
cmp r15w, word [rdi]
je 0x1400aa76d
mov ebx, 0x80070057
jmp 0x1400aa839
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 0x1400aa7ee
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 [0x1400f3190]
cmp rax, r13
je 0x1400aa877
test byte [rax + 0x1c], r14b
je 0x1400aa839
cmp byte [rax + 0x19], r14b
jb 0x1400aa839
mov rcx, qword [rax + 0x10]
lea r8, [0x1400d8d20]
mov edx, SafeArrayUnlock
call fcn.1400036a8
jmp 0x1400aa832
test ebp, ebp
je 0x1400aa825
cmp r15w, word [rdi]
jne 0x1400aa825
mov edx, 0x25
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400aa80f
mov byte [rax], bl
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.__hs_
call fcn.140008fe8
jmp 0x1400aa832
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002df64
mov rax, qword [0x1400f3190]
cmp rax, r13
je 0x1400aa877
test byte [rax + 0x1c], 1
je 0x1400aa877
movzx ecx, byte [rax + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x1400aa877
mov rcx, qword [rsi]
lea r8, [0x1400d8d20]
mov qword [rsp + 0x20], rcx
mov edx, SafeArrayAccessData
mov rcx, qword [rax + 0x10]
mov r9d, ebx
call fcn.14000a6a4
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400c13a0
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 0x1400aa8ac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [0x1400f3190]
lea rbp, [0x1400f3190]
mov esi, 1
cmp rcx, rbp
je 0x1400aa8e6
test byte [rcx + 0x1c], sil
je 0x1400aa8e6
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x16]
lea r8, [0x1400d8d20]
call fcn.1400035e4
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 0x1400aa91d
mov rdi, qword [rsp + 0x78]
mov ebx, esi
mov r9d, esi
test eax, eax
jne 0x1400aa9b4
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 0x1400aa974
cmp dword [rsp + 0x70], 4
je 0x1400aa972
mov r9d, esi
jmp 0x1400aa9b4
xor eax, eax
mov r9d, esi
test eax, eax
jne 0x1400aa9b4
cmp dword [rsp + 0x60], esi
jne 0x1400aa9b4
mov rcx, qword [0x1400f3190]
xor ebx, ebx
cmp rcx, rbp
je 0x1400aa9e1
xor r9d, r9d
test byte [rcx + 0x1c], 2
je 0x1400aa9bb
cmp byte [rcx + 0x19], 3
jb 0x1400aa9bb
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
lea r8, [0x1400d8d20]
call fcn.1400035e4
xor r9d, r9d
mov rcx, qword [0x1400f3190]
cmp rcx, rbp
je 0x1400aa9e1
test byte [rcx + 0x1c], sil
je 0x1400aa9e1
cmp byte [rcx + 0x19], 5
jb 0x1400aa9e1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d8d20]
mov edx, DispGetParam
call fcn.1400036a8
test rdi, rdi
je 0x1400aa9ef
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
Function at 0x1400aeb20
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
mov r15, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
lea r13, [0x1400f3190]
mov rcx, qword [0x1400f3190]
cmp rcx, r13
je 0x1400aeb8e
test byte [rcx + 0x1c], 1
je 0x1400aeb8e
cmp byte [rcx + 0x19], 5
jb 0x1400aeb8e
mov edx, 0x4a
mov qword [rax - 0x58], r8
mov r9, rdi
lea r8, [0x1400d8e00]
mov rcx, qword [rcx + 0x10]
call fcn.14000a758
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004be4
nop
lea rcx, [rbp - 0x28]
call fcn.14002dee8
mov r8, qword [rbp - 0x28]
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.1400b0964
mov ebx, eax
test eax, eax
jne 0x1400aec40
mov dword [rbp - 0x30], 4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x1400aec05
cmp dword [rbp - 0x2c], 4
je 0x1400aec03
lea ebx, [rax + 0xd]
jmp 0x1400aec58
xor ebx, ebx
cmp ebx, 2
jne 0x1400aec58
mov ebx, 0x490
mov r10, qword [0x1400f3190]
cmp r10, r13
je 0x1400aec99
test byte [r10 + 0x1c], 2
je 0x1400aec5f
cmp byte [r10 + 0x19], 4
jb 0x1400aec5f
mov edx, 0x4b
lea r8, [0x1400d8e00]
mov rcx, qword [r10 + 0x10]
call fcn.1400035e4
jmp 0x1400aec58
cmp eax, 2
jne 0x1400aec58
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.1400b0e00
mov ebx, eax
mov r10, qword [0x1400f3190]
cmp r10, r13
je 0x1400aec99
test byte [r10 + 0x1c], 1
je 0x1400aec99
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x1400aec99
mov edx, 0x4c
mov r9d, ebx
lea r8, [0x1400d8e00]
mov rcx, qword [r10 + 0x10]
call fcn.1400036a8
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400aecbf
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.__f_]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400aecce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400b4f30
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rbp, rcx
mov rcx, qword [0x1400f3190]
lea r14, [0x1400f3190]
cmp rcx, r14
je 0x1400b4f73
test byte [rcx + 0x1c], 2
je 0x1400b4f73
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d90c8]
mov edx, 0xa
call fcn.1400035e4
mov eax, 0x1f40
xor ebx, ebx
mov dword [rsp + 0x58], eax
mov ecx, eax
lea rdx, [0x1400cc617]
call fcn.1400c2548
mov rsi, rax
test rax, rax
je 0x1400b503a
xor r8d, r8d
lea rax, [rsp + 0x58]
mov r9, rsi
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r8 + 0xe]
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov edi, eax
cmp eax, 0x7a
je 0x1400b4fc0
cmp eax, 0x6f
jne 0x1400b4fd8
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor esi, esi
inc ebx
cmp ebx, 3
jae 0x1400b4fee
mov eax, dword [rsp + 0x58]
jmp 0x1400b4f7e
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x1400b503f
jmp 0x1400b4ff1
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x1400b503f
mov qword [rbp + 0x10], rsi
xor esi, esi
call fcn.1400c2468
test al, al
je 0x1400b503f
call qword [sym.imp.ext_ms_win_casting_receiver_l1_1_0.dll_GetXboxWirelessNetworkInterfaceIndex]
test eax, eax
je 0x1400b503f
mov rcx, qword [rbp + 0x10]
jmp 0x1400b502a
cmp dword [rcx + 4], eax
je 0x1400b5031
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400b5021
jmp 0x1400b503f
mov dword [rcx + 0x64], 0x47
jmp 0x1400b503f
mov ebx, 0x8007000e
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [0x1400f3190]
cmp rcx, r14
je 0x1400b508a
test byte [rcx + 0x1c], 2
je 0x1400b508a
movzx edx, byte [rcx + 0x19]
mov r9d, ebx
sar r9d, 0x1f
and r9d, 0xfffffffd
add r9d, 5
cmp edx, r9d
jl 0x1400b508a
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400d90c8]
mov edx, reloc.WSOCK32.dll_inet_ntoa
mov r9d, ebx
call fcn.1400036a8
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret