joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140088be0
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 [0x1400cf018]
lea rsi, [0x1400cf018]
cmp rcx, rsi
je 0x140088c20
test byte [rcx + 0x1c], 1
je 0x140088c20
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x20
call fcn.1400034f0
xor edx, edx
mov rcx, rdi
call fcn.140088e9c
mov ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140088c5c
test byte [rcx + 0x1c], 2
je 0x140088c5c
cmp byte [rcx + 0x19], 4
jb 0x140088c5c
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x21
mov r9d, eax
call fcn.1400035c4
cmp ebx, 1
jne 0x140088cb9
mov rcx, qword [rdi + 0x10]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 1
je 0x140088cb9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140088cb9
test byte [rcx + 0x1c], 2
je 0x140088cb9
cmp byte [rcx + 0x19], 4
jb 0x140088cb9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x22
mov r9d, eax
call fcn.1400035c4
mov rcx, rdi
call fcn.1400890f0
mov rcx, qword [0x1400cf018]
cmp rcx, rsi
je 0x140088cf1
test byte [rcx + 0x1c], 1
je 0x140088cf1
cmp byte [rcx + 0x19], 5
jb 0x140088cf1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x23
mov r9d, ebx
call fcn.1400035c4
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140088d0c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [0x1400cf018]
lea r15, [0x1400cf018]
cmp rcx, r15
je 0x140088d53
test byte [rcx + 0x1c], 1
je 0x140088d53
cmp byte [rcx + 0x19], 5
jb 0x140088d53
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x33
lea r9d, [rdx - 0x31]
call fcn.1400035c4
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.140016eb8
mov ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r15
je 0x140088dbe
test byte [rcx + 0x1c], 2
je 0x140088dbe
cmp byte [rcx + 0x19], 4
jb 0x140088dbe
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x34
mov r9d, eax
call fcn.1400035c4
mov rcx, qword [0x1400cf018]
test ebx, ebx
jne 0x140088e34
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 [0x1400cf018]
cmp rcx, r15
je 0x140088e6d
test byte [rcx + 0x1c], 2
je 0x140088e34
cmp byte [rcx + 0x19], 4
jb 0x140088e34
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x35
mov r9d, eax
call fcn.1400035c4
mov rcx, qword [0x1400cf018]
cmp rcx, r15
je 0x140088e6d
test byte [rcx + 0x1c], 1
je 0x140088e6d
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x140088e6d
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9638]
mov edx, 0x36
mov r9d, ebx
call fcn.1400035c4
cmp qword [rsp + 0x40], 0
je 0x140088e86
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
Function at 0x14008b7d4
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 [0x1400cf018]
lea rax, [0x1400cf018]
lea r13, [0x1400b96e8]
cmp rcx, rax
je 0x14008b82d
test byte [rcx + 0x1c], 1
je 0x14008b82d
cmp byte [rcx + 0x19], 5
jb 0x14008b82d
mov rcx, qword [rcx + 0x10]
mov edx, 0x4a
mov r9, rbp
mov r8, r13
call fcn.14000351c
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14008b890
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
jbe 0x14008b880
lea ebx, [r15 + 0xd]
jmp 0x14008b890
mov edi, dword [rsp + 0x70]
mov ebx, r15d
shr edi, 1
mov dword [rsp + 0x88], edi
mov rax, qword [0x1400cf018]
lea rcx, [0x1400cf018]
cmp rax, rcx
je 0x14008b8ca
test byte [rax + 0x1c], 2
je 0x14008b8ca
cmp byte [rax + 0x19], 4
jb 0x14008b8ca
mov rcx, qword [rax + 0x10]
mov edx, 0x4b
mov r9d, ebx
mov r8, r13
call fcn.1400035c4
mov rax, qword [0x1400cf018]
test ebx, ebx
jne 0x14008b9bc
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 0x14008b8f4
mov rcx, rsi
call fcn.140004ec8
mov r8, qword [rsi]
lea r9, [rsp + 0x88]
mov rdx, rbp
mov rcx, r14
call fcn.140016f88
mov ebx, eax
mov rcx, qword [0x1400cf018]
lea rdi, [0x1400cf018]
cmp rcx, rdi
je 0x14008b93c
test byte [rcx + 0x1c], 2
je 0x14008b93c
cmp byte [rcx + 0x19], 4
jb 0x14008b93c
mov rcx, qword [rcx + 0x10]
mov edx, 0x4c
mov r9d, eax
mov r8, r13
call fcn.1400035c4
mov eax, ebx
neg eax
sbb ecx, ecx
neg ecx
dec ecx
test ebx, ebx
jne 0x14008b965
mov rax, qword [rsi]
test rax, rax
jne 0x14008b957
mov ecx, r15d
jmp 0x14008b96d
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14008b95b
test ecx, ecx
js 0x14008ba14
mov rax, qword [rsi]
cmp ecx, dword [rax - 0xc]
jg 0x14008ba14
mov dword [rax - 0x10], ecx
mov rax, qword [rsi]
movsxd rcx, ecx
mov word [rax + rcx*2], r15w
mov rax, qword [0x1400cf018]
cmp rax, rdi
je 0x14008b9f8
test byte [rax + 0x1c], 2
je 0x14008b9c3
cmp byte [rax + 0x19], 4
jb 0x14008b9c3
mov r9, qword [rsi]
mov edx, 0x4d
mov rcx, qword [rax + 0x10]
mov r8, r13
call fcn.14000351c
mov rax, qword [0x1400cf018]
jmp 0x14008b9c3
lea rdi, [0x1400cf018]
cmp rax, rdi
je 0x14008b9f8
test byte [rax + 0x1c], 1
je 0x14008b9f8
movzx r9d, byte [rax + 0x19]
mov ecx, ebx
neg ecx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x14008b9f8
mov rcx, qword [rax + 0x10]
mov edx, 0x4e
mov r9d, ebx
mov r8, r13
call fcn.1400035c4
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.140005068
int3
Function at 0x14008c230
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 [0x1400d2258]
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14008c405
mov rcx, qword [rsp + 0x48]
mov ebx, r14d
test rcx, rcx
je 0x14008c2c2
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x14008c405
jmp 0x14008c2f4
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.14008c230
mov ebx, eax
test eax, eax
jne 0x14008c405
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]
nop dword [rax + rax]
test eax, eax
je 0x14008c2d6
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008c34c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rsp + 0x48], r14
cmp qword [rdi + 8], r14
jne 0x14008c3c3
cmp qword [rdi + 0x10], r14
jne 0x14008c3c3
lea rcx, str.API_MS_Win_Core_LocalRegistry_L1_1_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
nop dword [rax + rax]
test rax, rax
je 0x14008c38c
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 8], rax
jmp 0x14008c3c3
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
nop dword [rax + rax]
test rax, rax
je 0x14008c3c3
lea rdx, str.RegDeleteKeyW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
mov rax, qword [rdi + 8]
test rax, rax
je 0x14008c3e0
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [str._E_n_]
jmp 0x14008c403
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14008c3f7
mov rcx, qword [rdi]
mov rdx, rsi
call qword [str._E_n_]
jmp 0x14008c403
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14008c41b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400a3310
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 0x14008c618
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 [0x1400cf018]
lea r14, [0x1400cf018]
lea r15, [0x1400b97b0]
cmp rcx, r14
je 0x14008c670
test byte [rcx + 0x1c], 1
je 0x14008c670
cmp byte [rcx + 0x19], 5
jb 0x14008c670
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8, r15
call fcn.14002b0f4
xor edx, edx
mov r8d, 0x80
mov rcx, rsi
xor ebx, ebx
call sub.msvcrt.dll_memset
and qword [rsp + 0x90], rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x30], 4
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x14008c6ce
test byte [rcx + 0x1c], 2
je 0x14008c6ce
cmp byte [rcx + 0x19], 5
jb 0x14008c6ce
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xb]
mov r9, rdi
mov r8, r15
call fcn.14000351c
lea r9, [rsp + 0x90]
xor edx, edx
lea r8, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
nop dword [rax + rax]
mov r8d, eax
test eax, eax
je 0x14008c758
movzx ebx, r8w
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x14008c7d6
test byte [rcx + 0x1c], 2
je 0x14008c7d6
movzx eax, byte [rcx + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x14008c7d6
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8, r15
call fcn.1400054e0
jmp 0x14008c7d6
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x10]
cmp r9, 0x80
jbe 0x14008c795
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x14008c78e
test byte [rcx + 0x1c], 2
je 0x14008c78e
cmp byte [rcx + 0x19], 2
jb 0x14008c78e
mov rcx, qword [rcx + 0x10]
call fcn.14008c44c
mov ebx, 0x80004005
jmp 0x14008c7d6
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x14008c7be
test byte [rcx + 0x1c], 2
je 0x14008c7be
cmp byte [rcx + 0x19], 5
jb 0x14008c7be
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov r8, r15
call fcn.140003608
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]
nop dword [rax + rax]
mov r10, qword [0x1400cf018]
cmp r10, r14
je 0x14008c836
test byte [r10 + 0x1c], 1
je 0x14008c836
movzx eax, byte [r10 + 0x19]
mov ecx, ebx
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x14008c836
test ebx, ebx
js 0x14008c81a
movzx eax, word [rsi]
jmp 0x14008c81d
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.14008c5c4
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 0x14008c858
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 [0x1400d2258]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov ebp, edx
mov rdi, rcx
mov rax, qword [0x1400cf018]
lea r13, [0x1400cf018]
cmp rax, r13
je 0x14008c8cd
test byte [rax + 0x1c], 1
je 0x14008c8cd
cmp byte [rax + 0x19], 5
jb 0x14008c8cd
mov r9, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rax + 0x10]
lea r8, [0x1400b97b0]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.14002001c
mov rax, qword [0x1400cf018]
xor ebx, ebx
lea r14d, [rbx + 2]
lea r15d, [rbx + 0x17]
cmp r14w, word [rdi]
je 0x14008c8ed
cmp r15w, word [rdi]
je 0x14008c8ed
mov ebx, 0x80070057
jmp 0x14008c9cb
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]
nop dword [rax + rax]
test eax, eax
je 0x14008c97a
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
nop dword [rax + rax]
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 [0x1400cf018]
cmp rax, r13
je 0x14008ca09
test byte [rax + 0x1c], r14b
je 0x14008c9cb
cmp byte [rax + 0x19], r14b
jb 0x14008c9cb
mov rcx, qword [rax + 0x10]
lea r8, [0x1400b97b0]
mov edx, SafeArrayUnlock
call fcn.1400035c4
jmp 0x14008c9c4
test ebp, ebp
je 0x14008c9b7
cmp r15w, word [rdi]
jne 0x14008c9b7
mov edx, 0x25
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_strchr]
nop dword [rax + rax]
test rax, rax
je 0x14008c9a1
mov byte [rax], bl
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.__hs_
call fcn.14000912c
jmp 0x14008c9c4
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002e900
mov rax, qword [0x1400cf018]
cmp rax, r13
je 0x14008ca09
test byte [rax + 0x1c], 1
je 0x14008ca09
movzx ecx, byte [rax + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x14008ca09
mov rcx, qword [rsi]
lea r8, [0x1400b97b0]
mov qword [rsp + 0x20], rcx
mov edx, SafeArrayAccessData
mov rcx, qword [rax + 0x10]
mov r9d, ebx
call fcn.14000a990
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400a3310
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 0x14008ca40
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [0x1400cf018]
lea rbp, [0x1400cf018]
mov esi, 1
cmp rcx, rbp
je 0x14008ca7a
test byte [rcx + 0x1c], sil
je 0x14008ca7a
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x16]
lea r8, [0x1400b97b0]
call fcn.1400034f0
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]
nop dword [rax + rax]
test eax, eax
jne 0x14008cab7
mov rdi, qword [rsp + 0x78]
mov ebx, esi
mov r9d, esi
test eax, eax
jne 0x14008cb54
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]
nop dword [rax + rax]
test eax, eax
jne 0x14008cb14
cmp dword [rsp + 0x70], 4
je 0x14008cb12
mov r9d, esi
jmp 0x14008cb54
xor eax, eax
mov r9d, esi
test eax, eax
jne 0x14008cb54
cmp dword [rsp + 0x60], esi
jne 0x14008cb54
mov rcx, qword [0x1400cf018]
xor ebx, ebx
cmp rcx, rbp
je 0x14008cb81
xor r9d, r9d
test byte [rcx + 0x1c], 2
je 0x14008cb5b
cmp byte [rcx + 0x19], 3
jb 0x14008cb5b
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
lea r8, [0x1400b97b0]
call fcn.1400034f0
xor r9d, r9d
mov rcx, qword [0x1400cf018]
cmp rcx, rbp
je 0x14008cb81
test byte [rcx + 0x1c], sil
je 0x14008cb81
cmp byte [rcx + 0x19], 5
jb 0x14008cb81
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b97b0]
mov edx, DispGetParam
call fcn.1400035c4
test rdi, rdi
je 0x14008cb95
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov eax, ebx
add rsp, 0x38
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140090de0
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, [0x1400cf018]
mov rcx, qword [0x1400cf018]
cmp rcx, r13
je 0x140090e4e
test byte [rcx + 0x1c], 1
je 0x140090e4e
cmp byte [rcx + 0x19], 5
jb 0x140090e4e
mov edx, 0x4a
mov qword [rax - 0x58], r8
mov r9, rdi
lea r8, [0x1400b9878]
mov rcx, qword [rcx + 0x10]
call fcn.14000aa4c
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004b44
nop
lea rcx, [rbp - 0x28]
call fcn.14002e87c
mov r8, qword [rbp - 0x28]
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.140092554
mov ebx, eax
test eax, eax
jne 0x140090f06
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]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x140090ecb
cmp dword [rbp - 0x2c], 4
je 0x140090ec9
lea ebx, [rax + 0xd]
jmp 0x140090f1e
xor ebx, ebx
cmp ebx, 2
jne 0x140090f1e
mov ebx, 0x490
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x140090f5f
test byte [r10 + 0x1c], 2
je 0x140090f25
cmp byte [r10 + 0x19], 4
jb 0x140090f25
mov edx, 0x4b
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
jmp 0x140090f1e
cmp eax, 2
jne 0x140090f1e
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.140092a00
mov ebx, eax
mov r10, qword [0x1400cf018]
cmp r10, r13
je 0x140090f5f
test byte [r10 + 0x1c], 1
je 0x140090f5f
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x140090f5f
mov edx, 0x4c
mov r9d, ebx
lea r8, [0x1400b9878]
mov rcx, qword [r10 + 0x10]
call fcn.1400035c4
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140090f85
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str._E_n_]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140090f9a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
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 0x1400964e0
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 [0x1400cf018]
lea r14, [0x1400cf018]
cmp rcx, r14
je 0x140096523
test byte [rcx + 0x1c], 2
je 0x140096523
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9a68]
mov edx, 0xa
call fcn.1400034f0
mov eax, 0x1f40
xor ebx, ebx
mov dword [rsp + 0x58], eax
mov ecx, eax
lea rdx, [0x1400ae0f7]
call fcn.1400a4424
mov rsi, rax
test rax, rax
je 0x1400965fc
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]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x7a
je 0x140096576
cmp eax, 0x6f
jne 0x140096594
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
xor esi, esi
inc ebx
cmp ebx, 3
jae 0x1400965aa
mov eax, dword [rsp + 0x58]
jmp 0x14009652e
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x140096601
jmp 0x1400965ad
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x140096601
mov qword [rbp + 0x10], rsi
xor esi, esi
call fcn.1400a4344
test al, al
je 0x140096601
call qword [sym.imp.ext_ms_win_casting_receiver_l1_1_0.dll_GetXboxWirelessNetworkInterfaceIndex]
nop dword [rax + rax]
test eax, eax
je 0x140096601
mov rcx, qword [rbp + 0x10]
jmp 0x1400965ec
cmp dword [rcx + 4], eax
je 0x1400965f3
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400965e3
jmp 0x140096601
mov dword [rcx + 0x64], 0x47
jmp 0x140096601
mov ebx, 0x8007000e
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140096652
test byte [rcx + 0x1c], 2
je 0x140096652
movzx edx, byte [rcx + 0x19]
mov r9d, ebx
sar r9d, 0x1f
and r9d, 0xfffffffd
add r9d, 5
cmp edx, r9d
jl 0x140096652
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400b9a68]
mov edx, SafeArrayDestroy
mov r9d, ebx
call fcn.1400035c4
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a3060
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x1400d48f0], rbx
je 0x1400a30c7
cmp rax, rbx
jne 0x1400a30ba
mov ebx, 1
mov esi, ebx
jmp 0x1400a30cc
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a309f
mov ebx, 1
mov eax, dword [0x1400d48f8]
cmp eax, ebx
jne 0x1400a30e4
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400a3150
mov eax, dword [0x1400d48f8]
test eax, eax
jne 0x1400a3145
mov dword [0x1400d48f8], ebx
lea r15, [0x1400ac580]
lea rdi, [0x1400ac568]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400a3137
test eax, eax
jne 0x1400a313b
cmp qword [rdi], r14
je 0x1400a312c
mov rax, qword [rdi]
mov rcx, qword [str._E_n_]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400a310e
test eax, eax
je 0x1400a314b
mov eax, 0xff
jmp 0x1400a32a6
mov dword [0x1400d26f0], ebx
mov edi, 0x1f
mov eax, dword [0x1400d48f8]
cmp eax, ebx
jne 0x1400a3177
lea rdx, [0x1400ac560]
lea rcx, [0x1400ac3f8]
call sub.msvcrt.dll__initterm
mov dword [0x1400d48f8], 2
test esi, esi
jne 0x1400a3185
mov rax, r14
xchg qword [0x1400d48f0], rax
cmp qword [0x1400d4910], r14
je 0x1400a31b8
lea rcx, [0x1400d4910]
call fcn.1400a3bb0
test eax, eax
je 0x1400a31b8
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400d4910]
mov r9, qword [str._E_n_]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400a31d1
mov eax, 0xff
jmp 0x1400a32a6
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400a3257
test ax, ax
je 0x1400a31ec
test edx, edx
jne 0x1400a3257
sub ax, bx
cmp ax, di
ja 0x1400a3202
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400a31ec
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.14000386c
mov dword [0x1400d26ec], eax
cmp dword [0x1400d2710], r14d
jne 0x1400a3240
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400d26f0], r14d
jne 0x1400a3255
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400d26ec]
jmp 0x1400a32a6
cmp ax, 0x22
jne 0x1400a326b
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400a31da
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.14017a000
add rsp, 0x28
jmp 0x1400a3060