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

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push r15
sub rsp, 0x60
mov rcx, qword [0x1400d0018]
lea r15, [0x1400d0018]
cmp rcx, r15
je 0x140089193
test byte [rcx + 0x1c], 1
je 0x140089193
cmp byte [rcx + 0x19], 5
jb 0x140089193
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
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.140016f68
mov ebx, eax
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x1400891fe
test byte [rcx + 0x1c], 2
je 0x1400891fe
cmp byte [rcx + 0x19], 4
jb 0x1400891fe
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x34
mov r9d, eax
call fcn.1400035c4
mov rcx, qword [0x1400d0018]
test ebx, ebx
jne 0x140089274
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 [0x1400d0018]
cmp rcx, r15
je 0x1400892ad
test byte [rcx + 0x1c], 2
je 0x140089274
cmp byte [rcx + 0x19], 4
jb 0x140089274
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x35
mov r9d, eax
call fcn.1400035c4
mov rcx, qword [0x1400d0018]
cmp rcx, r15
je 0x1400892ad
test byte [rcx + 0x1c], 1
je 0x1400892ad
movzx r9d, byte [rcx + 0x19]
mov eax, ebx
neg eax
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x1400892ad
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba728]
mov edx, 0x36
mov r9d, ebx
call fcn.1400035c4
cmp qword [rsp + 0x40], 0
je 0x1400892c6
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 0x14008bd24
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 [0x1400d0018]
lea rax, [0x1400d0018]
lea r13, [0x1400ba760]
cmp rcx, rax
je 0x14008bd7d
test byte [rcx + 0x1c], 1
je 0x14008bd7d
cmp byte [rcx + 0x19], 5
jb 0x14008bd7d
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 0x14008bde0
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
jbe 0x14008bdd0
lea ebx, [r15 + 0xd]
jmp 0x14008bde0
mov edi, dword [rsp + 0x70]
mov ebx, r15d
shr edi, 1
mov dword [rsp + 0x88], edi
mov rax, qword [0x1400d0018]
lea rcx, [0x1400d0018]
cmp rax, rcx
je 0x14008be1a
test byte [rax + 0x1c], 2
je 0x14008be1a
cmp byte [rax + 0x19], 4
jb 0x14008be1a
mov rcx, qword [rax + 0x10]
mov edx, 0x4b
mov r9d, ebx
mov r8, r13
call fcn.1400035c4
mov rax, qword [0x1400d0018]
test ebx, ebx
jne 0x14008bf0c
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 0x14008be44
mov rcx, rsi
call fcn.140004ec8
mov r8, qword [rsi]
lea r9, [rsp + 0x88]
mov rdx, rbp
mov rcx, r14
call fcn.140017038
mov ebx, eax
mov rcx, qword [0x1400d0018]
lea rdi, [0x1400d0018]
cmp rcx, rdi
je 0x14008be8c
test byte [rcx + 0x1c], 2
je 0x14008be8c
cmp byte [rcx + 0x19], 4
jb 0x14008be8c
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 0x14008beb5
mov rax, qword [rsi]
test rax, rax
jne 0x14008bea7
mov ecx, r15d
jmp 0x14008bebd
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14008beab
test ecx, ecx
js 0x14008bf64
mov rax, qword [rsi]
cmp ecx, dword [rax - 0xc]
jg 0x14008bf64
mov dword [rax - 0x10], ecx
mov rax, qword [rsi]
movsxd rcx, ecx
mov word [rax + rcx*2], r15w
mov rax, qword [0x1400d0018]
cmp rax, rdi
je 0x14008bf48
test byte [rax + 0x1c], 2
je 0x14008bf13
cmp byte [rax + 0x19], 4
jb 0x14008bf13
mov r9, qword [rsi]
mov edx, 0x4d
mov rcx, qword [rax + 0x10]
mov r8, r13
call fcn.14000351c
mov rax, qword [0x1400d0018]
jmp 0x14008bf13
lea rdi, [0x1400d0018]
cmp rax, rdi
je 0x14008bf48
test byte [rax + 0x1c], 1
je 0x14008bf48
movzx r9d, byte [rax + 0x19]
mov ecx, ebx
neg ecx
sbb edx, edx
and edx, 0xfffffffd
add edx, 5
cmp r9d, edx
jb 0x14008bf48
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 0x14008cd0c
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 [0x1400d0018]
lea r14, [0x1400d0018]
lea r15, [0x1400ba820]
cmp rcx, r14
je 0x14008cd64
test byte [rcx + 0x1c], 1
je 0x14008cd64
cmp byte [rcx + 0x19], 5
jb 0x14008cd64
mov rcx, qword [rcx + 0x10]
mov edx, 0xa
mov r9, rdi
mov qword [rsp + 0x20], rsi
mov r8, r15
call fcn.14002b2a4
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 [0x1400d0018]
cmp rcx, r14
je 0x14008cdc2
test byte [rcx + 0x1c], 2
je 0x14008cdc2
cmp byte [rcx + 0x19], 5
jb 0x14008cdc2
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 0x14008ce4c
movzx ebx, r8w
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x14008ceca
test byte [rcx + 0x1c], 2
je 0x14008ceca
movzx eax, byte [rcx + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp eax, edx
jl 0x14008ceca
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayGetDim
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8, r15
call fcn.1400054e0
jmp 0x14008ceca
mov rax, qword [rsp + 0x90]
mov r9, qword [rax + 0x10]
cmp r9, 0x80
jbe 0x14008ce89
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x14008ce82
test byte [rcx + 0x1c], 2
je 0x14008ce82
cmp byte [rcx + 0x19], 2
jb 0x14008ce82
mov rcx, qword [rcx + 0x10]
call fcn.14008cb40
mov ebx, 0x80004005
jmp 0x14008ceca
mov rcx, qword [0x1400d0018]
cmp rcx, r14
je 0x14008ceb2
test byte [rcx + 0x1c], 2
je 0x14008ceb2
cmp byte [rcx + 0x19], 5
jb 0x14008ceb2
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayGetDim
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 [0x1400d0018]
cmp r10, r14
je 0x14008cf2a
test byte [r10 + 0x1c], 1
je 0x14008cf2a
movzx eax, byte [r10 + 0x19]
mov ecx, ebx
sar ecx, 0x1f
and ecx, 0xfffffffd
add ecx, 5
cmp eax, ecx
jl 0x14008cf2a
test ebx, ebx
js 0x14008cf0e
movzx eax, word [rsi]
jmp 0x14008cf11
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.14008ccb8
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 0x14008cf4c
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 [0x1400d3258]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rsi, r8
mov ebp, edx
mov rdi, rcx
mov rax, qword [0x1400d0018]
lea r13, [0x1400d0018]
cmp rax, r13
je 0x14008cfc1
test byte [rax + 0x1c], 1
je 0x14008cfc1
cmp byte [rax + 0x19], 5
jb 0x14008cfc1
mov r9, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rax + 0x10]
lea r8, [0x1400ba820]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
call fcn.1400201cc
mov rax, qword [0x1400d0018]
xor ebx, ebx
lea r14d, [rbx + 2]
lea r15d, [rbx + 0x17]
cmp r14w, word [rdi]
je 0x14008cfe1
cmp r15w, word [rdi]
je 0x14008cfe1
mov ebx, 0x80070057
jmp 0x14008d0bf
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 0x14008d06e
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 [0x1400d0018]
cmp rax, r13
je 0x14008d0fd
test byte [rax + 0x1c], r14b
je 0x14008d0bf
cmp byte [rax + 0x19], r14b
jb 0x14008d0bf
mov rcx, qword [rax + 0x10]
lea r8, [0x1400ba820]
mov edx, SafeArrayUnlock
call fcn.1400035c4
jmp 0x14008d0b8
test ebp, ebp
je 0x14008d0ab
cmp r15w, word [rdi]
jne 0x14008d0ab
mov edx, 0x25
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_strchr]
nop dword [rax + rax]
test rax, rax
je 0x14008d095
mov byte [rax], bl
lea r8, [rsp + 0x40]
mov rcx, rsi
lea rdx, str.__hs_
call fcn.14000912c
jmp 0x14008d0b8
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14002eab0
mov rax, qword [0x1400d0018]
cmp rax, r13
je 0x14008d0fd
test byte [rax + 0x1c], 1
je 0x14008d0fd
movzx ecx, byte [rax + 0x19]
mov edx, ebx
sar edx, 0x1f
and edx, 0xfffffffd
add edx, 5
cmp ecx, edx
jl 0x14008d0fd
mov rcx, qword [rsi]
lea r8, [0x1400ba820]
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.1400a3a80
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 0x14008d134
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x38
mov rcx, qword [0x1400d0018]
lea rbp, [0x1400d0018]
mov esi, 1
cmp rcx, rbp
je 0x14008d16e
test byte [rcx + 0x1c], sil
je 0x14008d16e
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x16]
lea r8, [0x1400ba820]
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 0x14008d1ab
mov rdi, qword [rsp + 0x78]
mov ebx, esi
mov r9d, esi
test eax, eax
jne 0x14008d248
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 0x14008d208
cmp dword [rsp + 0x70], 4
je 0x14008d206
mov r9d, esi
jmp 0x14008d248
xor eax, eax
mov r9d, esi
test eax, eax
jne 0x14008d248
cmp dword [rsp + 0x60], esi
jne 0x14008d248
mov rcx, qword [0x1400d0018]
xor ebx, ebx
cmp rcx, rbp
je 0x14008d275
xor r9d, r9d
test byte [rcx + 0x1c], 2
je 0x14008d24f
cmp byte [rcx + 0x19], 3
jb 0x14008d24f
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
lea r8, [0x1400ba820]
call fcn.1400034f0
xor r9d, r9d
mov rcx, qword [0x1400d0018]
cmp rcx, rbp
je 0x14008d275
test byte [rcx + 0x1c], sil
je 0x14008d275
cmp byte [rcx + 0x19], 5
jb 0x14008d275
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400ba820]
mov edx, DispGetParam
call fcn.1400035c4
test rdi, rdi
je 0x14008d289
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 0x1400914f0
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, [0x1400d0018]
mov rcx, qword [0x1400d0018]
cmp rcx, r13
je 0x14009155e
test byte [rcx + 0x1c], 1
je 0x14009155e
cmp byte [rcx + 0x19], 5
jb 0x14009155e
mov edx, 0x4a
mov qword [rax - 0x58], r8
mov r9, rdi
lea r8, [0x1400ba8e8]
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.14002ea2c
mov r8, qword [rbp - 0x28]
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.140092c64
mov ebx, eax
test eax, eax
jne 0x140091616
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 0x1400915db
cmp dword [rbp - 0x2c], 4
je 0x1400915d9
lea ebx, [rax + 0xd]
jmp 0x14009162e
xor ebx, ebx
cmp ebx, 2
jne 0x14009162e
mov ebx, 0x490
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x14009166f
test byte [r10 + 0x1c], 2
je 0x140091635
cmp byte [r10 + 0x19], 4
jb 0x140091635
mov edx, 0x4b
lea r8, [0x1400ba8e8]
mov rcx, qword [r10 + 0x10]
call fcn.1400034f0
jmp 0x14009162e
cmp eax, 2
jne 0x14009162e
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r14
call fcn.140093110
mov ebx, eax
mov r10, qword [0x1400d0018]
cmp r10, r13
je 0x14009166f
test byte [r10 + 0x1c], 1
je 0x14009166f
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jb 0x14009166f
mov edx, 0x4c
mov r9d, ebx
lea r8, [0x1400ba8e8]
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 0x140091695
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400916aa
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 0x140096bf0
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 [0x1400d0018]
lea r14, [0x1400d0018]
cmp rcx, r14
je 0x140096c33
test byte [rcx + 0x1c], 2
je 0x140096c33
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400baad8]
mov edx, 0xa
call fcn.1400034f0
mov eax, 0x1f40
xor ebx, ebx
mov dword [rsp + 0x58], eax
mov ecx, eax
lea rdx, [0x1400af1e7]
call fcn.1400a4b94
mov rsi, rax
test rax, rax
je 0x140096d0c
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 0x140096c86
cmp eax, 0x6f
jne 0x140096ca4
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 0x140096cba
mov eax, dword [rsp + 0x58]
jmp 0x140096c3e
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x140096d11
jmp 0x140096cbd
movzx eax, di
mov ebx, eax
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
test ebx, ebx
js 0x140096d11
mov qword [rbp + 0x10], rsi
xor esi, esi
call fcn.1400a4ab4
test al, al
je 0x140096d11
call qword [sym.imp.ext_ms_win_casting_receiver_l1_1_0.dll_GetXboxWirelessNetworkInterfaceIndex]
nop dword [rax + rax]
test eax, eax
je 0x140096d11
mov rcx, qword [rbp + 0x10]
jmp 0x140096cfc
cmp dword [rcx + 4], eax
je 0x140096d03
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x140096cf3
jmp 0x140096d11
mov dword [rcx + 0x64], 0x47
jmp 0x140096d11
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 [0x1400d0018]
cmp rcx, r14
je 0x140096d62
test byte [rcx + 0x1c], 2
je 0x140096d62
movzx edx, byte [rcx + 0x19]
mov r9d, ebx
sar r9d, 0x1f
and r9d, 0xfffffffd
add r9d, 5
cmp edx, r9d
jl 0x140096d62
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400baad8]
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 0x1400a37d0
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 [0x1400d58f0], rbx
je 0x1400a3837
cmp rax, rbx
jne 0x1400a382a
mov ebx, 1
mov esi, ebx
jmp 0x1400a383c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400a380f
mov ebx, 1
mov eax, dword [0x1400d58f8]
cmp eax, ebx
jne 0x1400a3854
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400a38c0
mov eax, dword [0x1400d58f8]
test eax, eax
jne 0x1400a38b5
mov dword [0x1400d58f8], ebx
lea r15, [0x1400ad578]
lea rdi, [0x1400ad560]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400a38a7
test eax, eax
jne 0x1400a38ab
cmp qword [rdi], r14
je 0x1400a389c
mov rax, qword [rdi]
mov rcx, qword [case.0x1400688bc.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400a387e
test eax, eax
je 0x1400a38bb
mov eax, 0xff
jmp 0x1400a3a16
mov dword [0x1400d36f0], ebx
mov edi, 0x1f
mov eax, dword [0x1400d58f8]
cmp eax, ebx
jne 0x1400a38e7
lea rdx, [0x1400ad558]
lea rcx, [0x1400ad3f0]
call sub.msvcrt.dll__initterm
mov dword [0x1400d58f8], 2
test esi, esi
jne 0x1400a38f5
mov rax, r14
xchg qword [0x1400d58f0], rax
cmp qword [0x1400d5910], r14
je 0x1400a3928
lea rcx, [0x1400d5910]
call fcn.1400a4320
test eax, eax
je 0x1400a3928
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x1400d5910]
mov r9, qword [case.0x1400688bc.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400a3941
mov eax, 0xff
jmp 0x1400a3a16
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x1400a39c7
test ax, ax
je 0x1400a395c
test edx, edx
jne 0x1400a39c7
sub ax, bx
cmp ax, di
ja 0x1400a3972
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400a395c
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 [0x1400d36ec], eax
cmp dword [0x1400d3710], r14d
jne 0x1400a39b0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1400d36f0], r14d
jne 0x1400a39c5
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1400d36ec]
jmp 0x1400a3a16
cmp ax, 0x22
jne 0x1400a39db
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 0x1400a394a
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.14017b000
add rsp, 0x28
jmp 0x1400a37d0
Function at 0x1400a420c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400a4258
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400a4250
cmp dword [rcx + 0x3c], edx
jl 0x1400a4250
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400a4250
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x1400a4258
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400a43e4
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a43f0
push rbx
sub rsp, 0x540
mov rax, qword [0x1400d3258]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400a446d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1400a448d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400a3a80
add rsp, 0x540
pop rbx
ret

Function at 0x1400a43f0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400a43f0
push rbx
sub rsp, 0x540
mov rax, qword [0x1400d3258]
xor rax, rsp
mov qword [rsp + 0x530], rax
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rsp + 0x158]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1400a446d
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x48]
mov rdx, qword [rsp + 0x40]
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
jmp 0x1400a448d
mov rax, qword [rsp + 0x548]
mov qword [rsp + 0x158], rax
lea rax, [rsp + 0x548]
mov qword [rsp + 0xf8], rax
lea rcx, str.Invalid_parameter_passed_to_C_runtime_function._n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.1400a3a80
add rsp, 0x540
pop rbx
ret