joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b4378
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x140108fd0]
lea rcx, [0x140108fd0]
xor edi, edi
mov rax, qword [rax + 0x18]
call qword [case.0x14006e230.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 0x1400b4431
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 0x1400b4423
cmp dword [rsp + 0x60], 4
jne 0x1400b4423
test eax, eax
jne 0x1400b4423
cmp dword [rsp + 0x50], edi
lea eax, [rdi + 1]
cmovne edi, eax
test rsi, rsi
je 0x1400b4431
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 0x1400b4451
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rax, qword [r8 + 8]
call qword [case.0x14006e230.0]
mov eax, edi
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400b4464
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
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 r15, [0x140106190]
mov ebx, 1
cmp rcx, r15
je 0x1400b44b6
test byte [rcx + 0x1c], bl
je 0x1400b44b6
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x68]
lea r8, [0x1400e7988]
call fcn.140003574
xor edi, edi
lea r8, [rbp + 0x30]
and qword [rbp - 0x10], rdi
lea rdx, [rbp - 0x10]
and dword [rbp + 0x30], edi
xor ecx, ecx
call qword [sym.imp.NETAPI32.dll_NetGetJoinInformation]
mov esi, eax
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b450c
test byte [rcx + 0x1c], 2
je 0x1400b450c
cmp byte [rcx + 0x19], 4
jb 0x1400b450c
mov eax, dword [rbp + 0x30]
mov r9d, esi
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x20], rax
call fcn.1400b1e18
mov rcx, qword [0x140106190]
mov rax, qword [rbp - 0x10]
test rax, rax
je 0x1400b4525
mov rcx, rax
call qword [sym.imp.NETAPI32.dll_NetApiBufferFree]
mov rcx, qword [0x140106190]
test esi, esi
jne 0x1400b4586
cmp dword [rbp + 0x30], 3
jne 0x1400b455e
cmp rcx, r15
je 0x1400b455a
test byte [rcx + 0x1c], 2
je 0x1400b455a
cmp byte [rcx + 0x19], 4
jb 0x1400b455a
mov rcx, qword [rcx + 0x10]
lea edx, [rsi + 0x6b]
lea r8, [0x1400e7988]
call fcn.140003574
mov rcx, qword [0x140106190]
mov edi, ebx
jmp 0x1400b45b6
cmp rcx, r15
je 0x1400b45e2
test byte [rcx + 0x1c], 2
je 0x1400b45b6
cmp byte [rcx + 0x19], 4
jb 0x1400b45b6
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e7988]
mov edx, WSAGetLastError
call fcn.140003574
jmp 0x1400b45af
cmp rcx, r15
je 0x1400b45e2
test byte [rcx + 0x1c], 2
je 0x1400b45b6
cmp byte [rcx + 0x19], 2
jb 0x1400b45b6
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e7988]
mov edx, WSAGetLastError
mov r9d, esi
call fcn.140003634
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b45de
test byte [rcx + 0x1c], bl
je 0x1400b45de
cmp byte [rcx + 0x19], 5
jb 0x1400b45de
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e7988]
mov edx, WSAGetLastError
mov r9d, edi
call fcn.140003634
test edi, edi
jne 0x1400b45e4
xor ebx, ebx
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 0x1400b4668
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 0x1400b4659
cmp dword [rbp + 0x38], 4
jne 0x1400b4659
xor ebx, ebx
cmp dword [rbp + 0x40], ebx
sete bl
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x1400b4668
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
add rsp, 0x50
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400b467c
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 [0x140109328]
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 0x1400b4813
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b46f8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, eax
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x48], rcx
test ebx, ebx
jne 0x1400b4813
jmp 0x1400b472a
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1400b467c
mov ebx, eax
test eax, eax
jne 0x1400b4813
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 0x1400b470c
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b4778
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], rbx
cmp qword [rdi + 8], rbx
jne 0x1400b47d7
cmp qword [rdi + 0x10], rbx
jne 0x1400b47d7
lea rcx, str.API_MS_Win_Core_LocalRegistry_L1_1_0.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b47ac
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 8], rax
jmp 0x1400b47d7
xor r8d, r8d
lea rcx, str.advapi32.dll
xor edx, edx
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
je 0x1400b47d7
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 0x1400b47f4
mov rcx, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call qword [case.0x14006e230.0]
jmp 0x1400b4811
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400b480b
mov rcx, qword [rdi]
mov rdx, rsi
call qword [case.0x14006e230.0]
jmp 0x1400b4811
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400b4823
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cc650
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x280
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b49b8
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x60
mov rbp, rdx
mov rsi, rcx
mov rcx, qword [0x140106190]
lea r15, [0x140106190]
lea r12, [0x1400e7a40]
mov r14d, 5
cmp rcx, r15
je 0x1400b4a18
test byte [rcx + 0x1c], 1
je 0x1400b4a18
cmp byte [rcx + 0x19], r14b
jb 0x1400b4a18
mov rcx, qword [rcx + 0x10]
lea edx, [r14 + 5]
mov r9, rsi
mov qword [rsp + 0x20], rbp
mov r8, r12
call fcn.14003085c
xor edx, edx
mov r8d, 0x80
mov rcx, rbp
xor ebx, ebx
call sub.msvcrt.dll_memset
and qword [rsp + 0xa0], rbx
lea r8d, [rbx + 0x2c]
xor edx, edx
lea rcx, [rsp + 0x34]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x30], 4
mov rcx, qword [0x140106190]
lea edi, [rbx + 2]
cmp rcx, r15
je 0x1400b4a77
test byte [rcx + 0x1c], dil
je 0x1400b4a77
cmp byte [rcx + 0x19], r14b
jb 0x1400b4a77
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0xb]
mov r9, rsi
mov r8, r12
call fcn.140003598
lea r9, [rsp + 0xa0]
xor edx, edx
lea r8, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_GetAddrInfoW]
mov r8d, eax
test eax, eax
je 0x1400b4af7
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b4b75
test byte [rcx + 0x1c], dil
je 0x1400b4b75
movzx edx, byte [rcx + 0x19]
test ebx, ebx
mov eax, edi
cmovns eax, r14d
cmp edx, eax
jl 0x1400b4b75
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], r8d
mov r9d, ebx
mov r8, r12
call fcn.1400054b8
jmp 0x1400b4b75
mov rax, qword [rsp + 0xa0]
mov r9, qword [rax + 0x10]
cmp r9, 0x80
jbe 0x1400b4b34
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b4b2d
test byte [rcx + 0x1c], dil
je 0x1400b4b2d
cmp byte [rcx + 0x19], dil
jb 0x1400b4b2d
mov rcx, qword [rcx + 0x10]
call fcn.1400b4850
mov ebx, 0x80004005
jmp 0x1400b4b75
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b4b5d
test byte [rcx + 0x1c], dil
je 0x1400b4b5d
cmp byte [rcx + 0x19], r14b
jb 0x1400b4b5d
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayDestroy
mov r8, r12
call fcn.140003670
mov rdx, qword [rsp + 0xa0]
mov rcx, rbp
mov r8, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.WS2_32.dll_FreeAddrInfoW]
mov rcx, qword [0x140106190]
cmp rcx, r15
je 0x1400b4bc9
test byte [rcx + 0x1c], 1
je 0x1400b4bc9
movzx eax, byte [rcx + 0x19]
test ebx, ebx
cmovns edi, r14d
cmp eax, edi
jl 0x1400b4bc9
test ebx, ebx
js 0x1400b4bad
movzx eax, word [rbp]
jmp 0x1400b4bb0
or eax, 0xffffffff
mov rcx, qword [rcx + 0x10]
mov edx, reloc.OLEAUT32.dll_SafeArrayDestroy
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, r12
call fcn.1400b496c
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
Function at 0x1400b4bec
Capabilities:
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r14
sub rsp, 0x460
mov rax, qword [0x140109328]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov r14, r8
mov ebp, edx
mov rsi, rcx
mov rax, qword [0x140106190]
lea rcx, [0x140106190]
mov edx, 5
cmp rax, rcx
je 0x1400b4c5f
test byte [rax + 0x1c], 1
je 0x1400b4c5f
cmp byte [rax + 0x19], dl
jb 0x1400b4c5f
mov rcx, qword [rax + 0x10]
lea r8, [0x1400e7a40]
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [rsp + 0x20], ebp
mov r9, rsi
call fcn.140024b68
mov rax, qword [0x140106190]
xor ebx, ebx
lea edi, [rbx + 2]
lea r12d, [rbx + 0x17]
cmp di, word [rsi]
je 0x1400b4c7d
cmp r12w, word [rsi]
je 0x1400b4c7d
mov ebx, 0x80070057
jmp 0x1400b4d54
mov dword [rsp + 0x30], edi
lea r8, [rsp + 0x40]
and dword [rsp + 0x28], ebx
mov r9d, 0x401
and qword [rsp + 0x20], rbx
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getnameinfo]
test eax, eax
je 0x1400b4d09
call qword [sym.imp.WSOCK32.dll_WSAGetLastError]
movzx ebx, ax
mov r9d, eax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, 0x80004005
test ebx, ebx
cmovns ebx, eax
mov rax, qword [0x140106190]
lea rsi, [0x140106190]
cmp rax, rsi
je 0x1400b4d98
test byte [rax + 0x1c], dil
je 0x1400b4d5b
cmp byte [rax + 0x19], dil
jb 0x1400b4d5b
mov rcx, qword [rax + 0x10]
lea r8, [0x1400e7a40]
mov edx, SafeArrayUnlock
call fcn.140003634
mov rax, qword [0x140106190]
jmp 0x1400b4d5b
test ebp, ebp
je 0x1400b4d40
cmp r12w, word [rsi]
jne 0x1400b4d40
mov edx, 0x25
lea rcx, [rsp + 0x40]
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
je 0x1400b4d2a
mov byte [rax], bl
lea r8, [rsp + 0x40]
mov rcx, r14
lea rdx, [0x1400e7998]
call fcn.140008d6c
jmp 0x1400b4d4d
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.1400341b8
mov rax, qword [0x140106190]
lea rsi, [0x140106190]
cmp rax, rsi
je 0x1400b4d98
test byte [rax + 0x1c], 1
je 0x1400b4d98
movzx ecx, byte [rax + 0x19]
test ebx, ebx
mov edx, 5
cmovns edi, edx
cmp ecx, edi
jl 0x1400b4d98
mov rcx, qword [r14]
lea r8, [0x1400e7a40]
mov qword [rsp + 0x20], rcx
mov edx, SafeArrayAccessData
mov rcx, qword [rax + 0x10]
mov r9d, ebx
call fcn.14000a51c
mov eax, ebx
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400cc650
mov rbx, qword [rsp + 0x498]
add rsp, 0x460
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400b4e80
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 ebx, 1
cmp rcx, rbp
je 0x1400b4eb9
test byte [rcx + 0x1c], bl
je 0x1400b4eb9
mov rcx, qword [rcx + 0x10]
lea edx, [rbx + 0x16]
lea r8, [0x1400e7a40]
call fcn.140003574
lea rax, [rsp + 0x78]
xor esi, esi
and qword [rsp + 0x78], rsi
lea rdx, str.SOFTWAREPoliciesMicrosoftWindowsMediaPlayer
mov r9d, 0x20119
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, 0xffffffff80000002
xor edi, edi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400b4f6c
mov rdi, qword [rsp + 0x78]
lea rax, [rsp + 0x68]
and dword [rsp + 0x60], esi
lea r9, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rdx, str.PreventLibrarySharing
lea rax, [rsp + 0x60]
mov dword [rsp + 0x68], 4
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400b4f6c
cmp dword [rsp + 0x70], 4
jne 0x1400b4f6c
test eax, eax
jne 0x1400b4f6c
cmp dword [rsp + 0x60], ebx
jne 0x1400b4f6c
mov esi, ebx
mov rcx, qword [0x140106190]
cmp rcx, rbp
je 0x1400b4fa1
test byte [rcx + 0x1c], 2
je 0x1400b4f73
cmp byte [rcx + 0x19], 3
jb 0x1400b4f73
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x18]
lea r8, [0x1400e7a40]
call fcn.140003574
mov rcx, qword [0x140106190]
cmp rcx, rbp
je 0x1400b4fa1
test byte [rcx + 0x1c], bl
je 0x1400b4fa1
cmp byte [rcx + 0x19], 5
jb 0x1400b4fa1
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400e7a40]
xor r9d, r9d
mov edx, DispGetParam
test esi, esi
sete r9b
call fcn.140003634
xor ebx, ebx
test esi, esi
sete bl
test rdi, rdi
je 0x1400b4fb6
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 0x1400b9700
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, [0x140106190]
mov rcx, qword [0x140106190]
cmp rcx, r13
je 0x1400b976e
test byte [rcx + 0x1c], 1
je 0x1400b976e
cmp byte [rcx + 0x19], 5
jb 0x1400b976e
mov edx, 0x53
mov qword [rax - 0x58], r8
mov r9, rdi
lea r8, [0x1400e7b20]
mov rcx, qword [rcx + 0x10]
call fcn.14000a5c4
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
and qword [rbp - 8], 0
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140004b74
nop
lea rcx, [rbp - 0x28]
call fcn.140034130
mov r8, qword [rbp - 0x28]
lea rdx, [rbp - 0x18]
mov rcx, r14
call fcn.1400bb53c
mov ebx, eax
test eax, eax
jne 0x1400b9824
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 0x1400b97e5
cmp dword [rbp - 0x2c], 4
je 0x1400b97e3
lea ebx, [rax + 0xd]
jmp 0x1400b9844
xor ebx, ebx
cmp ebx, 2
jne 0x1400b9844
mov ebx, 0x490
mov r10, qword [0x140106190]
cmp r10, r13
je 0x1400b9885
test byte [r10 + 0x1c], 2
je 0x1400b984b
cmp byte [r10 + 0x19], 4
jb 0x1400b984b
mov edx, 0x54
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003574
jmp 0x1400b9844
cmp eax, 2
jne 0x1400b9844
mov rax, qword [r14]
mov r9, r15
mov r8, rsi
mov rdx, rdi
mov rcx, r14
mov rax, qword [rax + 0x38]
call qword [case.0x14006e230.0]
mov ebx, eax
mov r10, qword [0x140106190]
cmp r10, r13
je 0x1400b9885
test byte [r10 + 0x1c], 1
je 0x1400b9885
movzx edx, byte [r10 + 0x19]
mov eax, ebx
neg eax
sbb ecx, ecx
and ecx, 0xfffffffd
add ecx, 5
cmp edx, ecx
jl 0x1400b9885
mov edx, 0x55
mov r9d, ebx
lea r8, [0x1400e7b20]
mov rcx, qword [r10 + 0x10]
call fcn.140003634
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400b98ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006e230.0]
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x1400b98ba
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 0x1400bfb70
Capabilities:
Get local ipv4 addresses

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r14
sub rsp, 0x30
mov r14, rcx
mov rcx, qword [0x140106190]
lea r12, [0x140106190]
mov edi, 2
cmp rcx, r12
je 0x1400bfbbc
test byte [rcx + 0x1c], dil
je 0x1400bfbbc
mov rcx, qword [rcx + 0x10]
lea edx, [rdi + 8]
lea r8, [0x1400e7f18]
call fcn.140003574
mov eax, 0x1f40
xor ebx, ebx
mov dword [rsp + 0x58], eax
mov ecx, eax
lea rdx, [0x1400de95a]
call fcn.1400cdae0
mov rsi, rax
test rax, rax
je 0x1400bfc7d
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 ebp, eax
cmp eax, 0x7a
je 0x1400bfc09
cmp eax, 0x6f
jne 0x1400bfc21
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
xor esi, esi
inc ebx
cmp ebx, 3
jae 0x1400bfc33
mov eax, dword [rsp + 0x58]
jmp 0x1400bfbc7
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x1400bfc82
movzx ebx, bp
or ebx, 0x80070000
test ebp, ebp
cmovle ebx, ebp
test ebx, ebx
js 0x1400bfc82
mov qword [r14 + 0x10], rsi
xor esi, esi
call fcn.1400cd9e4
test al, al
je 0x1400bfc82
call qword [sym.imp.ext_ms_win_casting_receiver_l1_1_1.dll_GetXboxWirelessNetworkInterfaceIndex]
test eax, eax
je 0x1400bfc82
mov rcx, qword [r14 + 0x10]
jmp 0x1400bfc6d
cmp dword [rcx + 4], eax
je 0x1400bfc74
mov rcx, qword [rcx + 8]
test rcx, rcx
jne 0x1400bfc64
jmp 0x1400bfc82
mov dword [rcx + 0x64], 0x47
jmp 0x1400bfc82
mov ebx, 0x8007000e
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, qword [0x140106190]
cmp rcx, r12
je 0x1400bfcc5
test byte [rcx + 0x1c], dil
je 0x1400bfcc5
movzx edx, byte [rcx + 0x19]
test ebx, ebx
mov eax, 5
cmovns edi, eax
cmp edx, edi
jl 0x1400bfcc5
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 6]
mov r9d, ebx
lea r8, [0x1400e7f18]
call fcn.140003634
mov rbp, qword [rsp + 0x60]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
Function at 0x1400cc3b0
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 [0x14010bdf0], rbx
je 0x1400cc417
cmp rax, rbx
jne 0x1400cc40a
mov ebx, 1
mov esi, ebx
jmp 0x1400cc41c
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400cc3ef
mov ebx, 1
mov eax, dword [0x14010bdf8]
cmp eax, ebx
jne 0x1400cc434
mov edi, 0x1f
mov ecx, edi
call sub.msvcrt.dll__amsg_exit
jmp 0x1400cc4a0
mov eax, dword [0x14010bdf8]
test eax, eax
jne 0x1400cc495
mov dword [0x14010bdf8], ebx
lea r15, [0x1400d9ac8]
lea rdi, [0x1400d9ab0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400cc487
test eax, eax
jne 0x1400cc48b
cmp qword [rdi], r14
je 0x1400cc47c
mov rax, qword [rdi]
mov rcx, qword [case.0x14006e230.0]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400cc45e
test eax, eax
je 0x1400cc49b
mov eax, 0xff
jmp 0x1400cc5f4
mov dword [0x140109970], ebx
mov edi, 0x1f
mov eax, dword [0x14010bdf8]
cmp eax, ebx
jne 0x1400cc4c7
lea rdx, [0x1400d9aa8]
lea rcx, [0x1400d9938]
call sub.msvcrt.dll__initterm
mov dword [0x14010bdf8], 2
test esi, esi
jne 0x1400cc4d5
mov rax, r14
xchg qword [0x14010bdf0], rax
cmp qword [0x14010be10], r14
je 0x1400cc508
lea rcx, [0x14010be10]
call fcn.1400cced0
test eax, eax
je 0x1400cc508
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x14010be10]
mov r9, qword [case.0x14006e230.0]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x1400cc521
mov eax, 0xff
jmp 0x1400cc5f4
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x1400cc5a5
cmp word [rcx], r14w
je 0x1400cc53a
test edx, edx
jne 0x1400cc5a5
movzx eax, word [rcx]
sub ax, bx
cmp ax, di
ja 0x1400cc550
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x1400cc53a
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.140003898
mov dword [0x14010996c], eax
cmp dword [0x140109990], r14d
jne 0x1400cc58e
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x140109970], r14d
jne 0x1400cc5a3
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14010996c]
jmp 0x1400cc5f4
cmp word [rcx], 0x22
jne 0x1400cc5b9
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 0x1400cc52a
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.1401b4000
add rsp, 0x28
jmp 0x1400cc3b0
Function at 0x1400ccdcc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400cce18
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400cce10
cmp dword [rcx + 0x3c], edx
jl 0x1400cce10
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1400cce10
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 0x1400cce18
mov rax, rdx
add rsp, 0x18
ret

Function at 0x1400ccfa0
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400ccfac
push rbx
sub rsp, 0x540
mov rax, qword [0x140109328]
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 0x1400cd029
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 0x1400cd049
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.1400cc650
add rsp, 0x540
pop rbx
ret

Function at 0x1400ccfac
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400ccfac
push rbx
sub rsp, 0x540
mov rax, qword [0x140109328]
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 0x1400cd029
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 0x1400cd049
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.1400cc650
add rsp, 0x540
pop rbx
ret