joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001008
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov dl, 1
mov cl, dl
call sub.jli.dll_JLI_InitArgProcessing
lea rcx, str._JAVA_LAUNCHER_DEBUG
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x140001072
lea rcx, str.Windows_original_main_args:_n
call fcn.14000114c
xor ebx, ebx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp dword [rax], ebx
jle 0x140001072
xor edi, edi
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argv]
mov edx, ebx
lea rcx, str.wwwd_args__d____s_n
mov r8, qword [rax]
mov r8, qword [r8 + rdi]
call fcn.14000114c
inc ebx
lea rdi, [rdi + 8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll___p___argc]
cmp ebx, dword [rax]
jl 0x140001047
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov rcx, rax
call sub.jli.dll_JLI_CmdToArgs
call sub.jli.dll_JLI_GetStdArgc
movsxd rdi, eax
lea ecx, [rdi + 1]
movsxd rcx, ecx
shl rcx, 3
call sub.jli.dll_JLI_MemAlloc
mov rbx, rax
call sub.jli.dll_JLI_GetStdArgs
xor r9d, r9d
test edi, edi
jle 0x1400010be
xor edx, edx
mov r9d, edi
mov rcx, qword [rax]
lea rax, [rax + 0x10]
mov qword [rbx + rdx*8], rcx
inc rdx
cmp rdx, rdi
jl 0x1400010ab
mov rcx, qword [str.openjdk]
movsxd rax, r9d
and qword [rbx + rax*8], 0
test rcx, rcx
jne 0x1400010d5
mov rcx, qword [rbx]
mov rax, qword [section..data]
test rax, rax
jne 0x1400010e4
mov rax, qword [rbx]
and dword [rsp + 0x68], 0
lea r9, str._J_ms8m
mov byte [rsp + 0x60], 0
mov r8d, 3
mov byte [rsp + 0x58], 0
mov rdx, rbx
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x48], rcx
mov ecx, edi
mov qword [rsp + 0x40], rax
lea rax, [0x140002314]
mov qword [rsp + 0x38], rax
lea rax, [0x140002318]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
call sub.jli.dll_JLI_Launch
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x10000bae0
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
push r13
sub rsp, 0xb0
xor ebx, ebx
mov dword [rsp + 0x20], ebx
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
mov r12d, ebx
xor eax, eax
lock cmpxchg qword [0x100011df8], rdi
je 0x10000bb40
cmp rax, rdi
jne 0x10000bb33
mov r12d, 1
jmp 0x10000bb40
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10000bb19
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bb55
lea ecx, [rax + 0x1e]
call fcn.100143000
jmp 0x10000bbbc
mov eax, dword [0x100011df0]
cmp eax, ebx
jne 0x10000bbb2
mov dword [0x100011df0], 1
lea r13, [0x100001448]
lea rdi, [0x100001430]
mov qword [rsp + 0x30], rdi
mov eax, ebx
mov dword [rsp + 0x24], ebx
cmp rdi, r13
jae 0x10000bba4
cmp eax, ebx
jne 0x10000bba4
mov rcx, qword [rdi]
cmp rcx, rbx
je 0x10000bb99
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x10000bb82
cmp eax, ebx
je 0x10000bbbc
mov eax, 0xff
jmp 0x10000bd04
mov dword [0x1000115d4], 1
mov eax, dword [0x100011df0]
cmp eax, 1
jne 0x10000bbe4
lea rdx, [0x100001428]
lea rcx, [0x1000013f0]
call sub.msvcrt.dll__initterm
mov dword [0x100011df0], 2
cmp r12d, ebx
jne 0x10000bbf3
mov rax, rbx
xchg qword [0x100011df8], rax
cmp qword [0x100011e10], rbx
je 0x10000bc1b
lea rcx, [0x100011e10]
call fcn.10000c0cc
cmp eax, ebx
je 0x10000bc1b
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x100011e10]
mov rcx, qword [sym.imp.msvcrt.dll__wcmdln]
cmp qword [rcx], rbx
jne 0x10000bc31
mov eax, 0xff
jmp 0x10000bd04
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
cmp word [rcx], 0x20
ja 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc4c
cmp edx, ebx
jne 0x10000bcb6
cmp word [rcx], bx
je 0x10000bc62
cmp word [rcx], 0x20
ja 0x10000bc62
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc4c
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x100000000]
call fcn.100002d14
mov dword [0x1000115d0], eax
cmp dword [0x1000115b4], ebx
jne 0x10000bca0
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x1000115d4], ebx
jne 0x10000bcb4
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x1000115d0]
jmp 0x10000bd04
cmp word [rcx], 0x22
jne 0x10000bcc9
mov eax, ebx
cmp edx, ebx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x10000bc3d
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r12, qword [r11 + 0x20]
mov rsp, r11
pop r13
ret
sub rsp, 0x28
call fcn.10000c1e0
add rsp, 0x28
jmp 0x10000bae0
Function at 0x1400057c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov r10, r8
mov r14, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov rdx, r8
lea r9, [r8 + 4]
xor ecx, ecx
mov r8d, 4
cmp rdx, r9
cmova r8d, ecx
ja 0x140005838
movabs r9, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, r10
cmp rcx, r8
jne 0x140005820
mov r8, qword [rsi + 0x30]
and r8, rax
add r8, r8
mov rcx, qword [rsi + 0x18]
mov rbx, qword [rsi + 8]
cmp qword [rcx + r8*8], rbx
je 0x140005858
mov rbx, qword [rcx + r8*8 + 8]
mov rbx, qword [rbx]
mov r9, rbx
nop dword [rax + rax]
cmp r9, qword [rcx + r8*8]
je 0x140005890
mov rbx, qword [rbx + 8]
mov r9, rbx
mov eax, dword [rbx + 0x10]
cmp dword [r10], eax
jne 0x140005860
mov rdx, rdi
mov rcx, rsi
call fcn.140005dd0
mov qword [r14], rbx
mov byte [r14 + 8], 0
mov rax, r14
jmp 0x1400059bb
mov qword [rsp + 0x80], rdi
mov rax, qword [rdi]
cmp r9, rax
je 0x1400058cd
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], r9
mov rcx, qword [r9 + 8]
mov qword [rcx], rdi
mov rdx, qword [r9 + 8]
mov rcx, qword [rax + 8]
mov qword [r9 + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x1400058ea
mov qword [rdx + r8*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rdi
jmp 0x140005919
cmp rax, r9
jne 0x1400058f5
mov qword [rdx + r8*8], rdi
jmp 0x140005919
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rdi
je 0x140005919
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140074ab4]
test rax, rax
jns 0x14000593a
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14000594b
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x1400059b0
cmp rdx, 0x200
jae 0x140005967
lea rdx, [rdx*8]
jmp 0x140005979
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140005979
add rdx, rdx
mov rcx, rsi
call fcn.140005f80
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x1400059b0
mov r15, qword [rax + 8]
nop
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400057c0
cmp rbx, r15
jne 0x140005990
mov qword [r14], rdi
mov byte [r14 + 8], 1
mov rax, r14
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400059d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
lea rbx, [r8 + 0x10]
mov r11, rcx
xor ecx, ecx
lea r9, [rbx + 4]
cmp rbx, r9
mov edi, 4
mov rsi, rdx
movabs rax, 0xcbf29ce484222325
cmova edi, ecx
mov r10, rbx
ja 0x140005a39
movabs rdx, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r10]
inc r10
xor rax, rcx
mov rcx, r10
sub rcx, rbx
imul rax, rdx
cmp rcx, rdi
jne 0x140005a20
mov rdx, qword [r11 + 0x30]
mov rcx, qword [r11 + 0x18]
and rdx, rax
shl rdx, 4
add rcx, rdx
mov rax, qword [rcx]
cmp qword [rcx + 8], r8
jne 0x140005a79
cmp rax, r8
jne 0x140005a6f
mov rax, qword [r11 + 8]
mov qword [rcx], rax
mov rcx, qword [r11 + 0x18]
mov rax, qword [r11 + 8]
mov qword [rdx + rcx + 8], rax
jmp 0x140005a84
mov rax, qword [r8 + 8]
mov qword [rcx + 8], rax
jmp 0x140005a84
cmp rax, r8
jne 0x140005a84
mov rax, qword [r8]
mov qword [rcx], rax
lea rcx, [r11 + 8]
mov rdx, rsi
call fcn.1400065f0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140006e80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov rdi, rdx
mov rsi, rcx
add rcx, 0x50
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x140006eb3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
movabs rax, 0xcbf29ce484222325
mov rdx, rdi
lea rcx, [rdi + 4]
mov r8d, 4
xor r9d, r9d
cmp rdi, rcx
cmova r8d, r9d
ja 0x140006ef8
movabs r9, 0x100000001b3
movzx ecx, byte [rdx]
xor rax, rcx
imul rax, r9
inc rdx
mov rcx, rdx
sub rcx, rdi
cmp rcx, r8
jne 0x140006ee0
mov rcx, qword [rsi + 0x38]
and rcx, rax
shl rcx, 4
mov r9, qword [rsi + 0x20]
mov rdx, qword [r9 + rcx]
mov r8, rdx
lea r10, [rcx + 8]
mov rcx, qword [rsi + 0x10]
cmp rdx, rcx
jne 0x140006f20
mov rax, rcx
jmp 0x140006f27
mov rax, qword [r10 + r9]
mov rax, qword [rax]
cmp r8, rax
je 0x140006f39
mov eax, dword [rdi]
cmp dword [r8 + 0x10], eax
je 0x140006f3c
mov r8, qword [r8]
jmp 0x140006f16
mov r8, rcx
cmp r8, rcx
je 0x140006f50
lea rdx, [rsp + 0x40]
lea rcx, [rsi + 8]
call fcn.1400059d0
nop
lea rcx, [rsi + 0x50]
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x140006f65
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14001de70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, r9
mov r15, rdx
mov rsi, rcx
movabs rax, 0xcbf29ce484222325
mov r10, r8
lea r9, [r8 + 4]
mov edx, 4
xor ecx, ecx
cmp r8, r9
cmova edx, ecx
ja 0x14001deda
movabs r9, 0x100000001b3
movzx ecx, byte [r10]
xor rax, rcx
imul rax, r9
inc r10
mov rcx, r10
sub rcx, r8
cmp rcx, rdx
jne 0x14001dec1
mov r9, qword [rsi + 0x30]
and r9, rax
mov rbx, qword [rsi + 8]
mov rax, r9
add rax, rax
mov rdx, qword [rsi + 0x18]
mov rcx, qword [rdx + rax*8]
cmp rbx, rcx
je 0x14001df2c
mov rbx, qword [rdx + rax*8 + 8]
mov rbx, qword [rbx]
cmp rbx, rcx
je 0x14001df2c
mov rbx, qword [rbx + 8]
mov eax, dword [rbx + 0x10]
cmp dword [r8], eax
jne 0x14001df00
mov rdx, rdi
mov rcx, rsi
call fcn.140005dd0
mov qword [r15], rbx
mov byte [r15 + 8], 0
mov rax, r15
jmp 0x14001e05b
mov qword [rsp + 0x80], rdi
mov rax, qword [rdi]
cmp rbx, rax
je 0x14001df69
mov rcx, qword [rdi + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov rdx, qword [rbx + 8]
mov rcx, qword [rax + 8]
mov qword [rbx + 8], rcx
mov rcx, qword [rdi + 8]
mov qword [rax + 8], rcx
mov qword [rdi + 8], rdx
add r9, r9
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r9*8]
cmp rax, qword [rsi + 8]
jne 0x14001df89
mov qword [rdx + r9*8], rdi
mov rax, qword [rsi + 0x18]
mov qword [rax + r9*8 + 8], rdi
jmp 0x14001dfb8
cmp rax, rbx
jne 0x14001df94
mov qword [rdx + r9*8], rdi
jmp 0x14001dfb8
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r9*8 + 8], rcx
cmp rcx, rdi
je 0x14001dfb8
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r9*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r9*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x140074ab4]
test rax, rax
jns 0x14001dfd9
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14001dfea
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14001e050
cmp rdx, 0x200
jae 0x14001e006
lea rdx, [rdx*8]
jmp 0x14001e018
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14001e018
add rdx, rdx
mov rcx, rsi
call fcn.14001fbb0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14001e050
mov r14, qword [rax + 8]
nop dword [rax]
mov rbx, qword [rsi + 8]
mov rbx, qword [rbx]
lea r8, [rbx + 0x10]
mov r9, rbx
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.14001de70
cmp rbx, r14
jne 0x14001e030
mov qword [r15], rdi
mov byte [r15 + 8], 1
mov rax, r15
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x140022480
Capabilities:
Create thread
Create udp socket
Set socket configuration

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x60
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [0x1401a9d80]
call sub.MSVCP140.dll__Mtx_lock
test eax, eax
je 0x1400224ab
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
cmp dword [0x140186bd8], 0
jne 0x140022686
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x20], sil
mov r9d, 0x200
lea r8, [0x140186be0]
lea rdx, [0x1401a3bf0]
lea rcx, [0x14017b550]
call fcn.1400471e0
test eax, eax
jne 0x140022686
lea rcx, [0x14017b550]
call fcn.14004a0c0
test eax, eax
jne 0x140022686
mov dword [rsp + 0x90], esi
mov dword [rsp + 0x88], esi
lea rcx, [0x14017b550]
call fcn.14004c540
test eax, eax
jne 0x140022686
mov edx, 2
lea r8d, [rsi + 0x11]
mov ecx, edx
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140177580], rax
cmp rax, 0xffffffffffffffff
je 0x140022686
mov ebx, 1
mov dword [rsp + 0x80], ebx
lea r8, [rsp + 0x80]
mov edx, 0x8004667e
mov rcx, rax
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x140022686
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], esi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x90]
mov edx, 0x28000017
mov rcx, qword [0x140177580]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jns 0x1400225cd
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
jne 0x140022686
xor r9d, r9d
lea r8, [0x140024140]
mov edx, 0x200
mov rcx, qword [0x140177580]
call fcn.140050df0
test eax, eax
jne 0x140022686
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1401a3be0], rax
xor r9d, r9d
xor r8d, r8d
mov edx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [0x1401a3be8], rax
xor r8d, r8d
lea rdx, [0x140024d40]
mov rcx, qword [0x1401a3be0]
call fcn.140050d60
test eax, eax
jne 0x140022686
xor r8d, r8d
lea rdx, [0x140024d50]
mov rcx, qword [0x1401a3be8]
call fcn.140050d60
test eax, eax
jne 0x140022686
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x140024d60]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [0x1401a9c18], rax
test rax, rax
je 0x140022686
xchg byte [0x1401a9c80], bl
inc dword [0x140186bd8]
lea rcx, [0x1401a9d80]
call sub.MSVCP140.dll__Mtx_unlock
test eax, eax
je 0x1400226a4
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov rax, rdi
add rsp, 0x60
pop rdi
pop rsi
pop rbx
ret
Function at 0x14004b470
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x60
xor ebx, ebx
mov qword [rsp + 0x48], r14
mov byte [rcx], bl
lea r8, [rsp + 0x30]
mov r14, rcx
mov qword [rsp + 0x30], rbx
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREApple_Inc.BonjourDynDNSSetupHostNames
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14004b57c
mov qword [rsp + 0x58], rsi
mov rsi, qword [rsp + 0x30]
mov qword [rsp + 0x50], rdi
xor edi, edi
mov dword [rsp + 0x70], 0x3f1
test rbx, rbx
je 0x14004b4cf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
je 0x14004b572
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x88]
lea rdx, [0x1400743d0]
mov qword [rsp + 0x20], rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
inc edi
cmp eax, 0xea
jne 0x14004b51f
cmp edi, 0x64
jl 0x14004b4c1
jmp 0x14004b572
test eax, eax
jne 0x14004b572
lea rax, [rsp + 0x78]
mov dword [rsp + 0x78], 4
mov qword [rsp + 0x28], rax
lea rdx, str.Enabled
lea rax, [rsp + 0x80]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp byte [rbx], 0
je 0x14004b572
cmp dword [rsp + 0x80], 0
je 0x14004b572
mov rdx, rbx
mov rcx, r14
call fcn.140054930
mov rsi, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x48]
test rcx, rcx
je 0x14004b59a
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x30], 0
test rbx, rbx
je 0x14004b5a8
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add rsp, 0x60
pop rbx
ret

Function at 0x14004b5b0
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x20
xor ebx, ebx
lea rdx, [rsp + 0x30]
xor r8d, r8d
mov dword [rsp + 0x30], ebx
xor ecx, ecx
mov edi, ebx
call sub.IPHLPAPI.DLL_GetIpForwardTable
cmp eax, 0x7a
jne 0x14004b648
mov ecx, dword [rsp + 0x30]
mov qword [rsp + 0x38], rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x14004b636
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rax
call sub.IPHLPAPI.DLL_GetIpForwardTable
test eax, eax
jne 0x14004b62d
mov eax, dword [rsi]
test eax, eax
je 0x14004b62d
lea rcx, [rsi + 0x28]
nop dword [rax + rax]
cmp dword [rcx - 0x24], 0
jne 0x14004b623
test ebx, ebx
je 0x14004b61e
cmp dword [rcx], edi
jae 0x14004b623
mov ebx, dword [rcx - 0x14]
mov edi, dword [rcx]
add rcx, 0x38
sub rax, 1
jne 0x14004b610
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14004b950
Capabilities:
Send data
Send data on socket

Disassembly:
push rbx
push r12
push r13
push r14
push r15
sub rsp, 0x30
movzx ecx, word [rdx]
mov r15, rdx
mov ebx, dword [rsp + 0x88]
mov edx, 2
mov r13d, r8d
mov dword [rsp + 0x88], ebx
mov r12, r9
lea r8d, [rdx + 0xf]
call qword [sym.imp.WS2_32.dll_socket]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x14004ba70
test ebx, ebx
je 0x14004ba67
mov qword [rsp + 0x60], rbp
mov ebp, dword [rsp + 0x80]
mov qword [rsp + 0x68], rsi
mov esi, dword [rsp + 0x90]
mov qword [rsp + 0x70], rdi
nop dword [rax]
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov r8d, ebp
mov qword [rsp + 0x20], r15
mov rdx, r12
mov rcx, r14
dec ebx
call qword [sym.imp.WS2_32.dll_sendto]
mov edi, eax
cmp eax, ebp
je 0x14004b9fe
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, edi
lea rdx, str.SendWakeupPacket_error:_sent__d_bytes:__d_n
mov r9d, eax
xor ecx, ecx
call fcn.140051100
cmp dword [rsp + 0x88], 1
jne 0x14004ba44
mov dword [rsp + 0x28], r13d
xor r9d, r9d
mov r8d, ebp
mov qword [rsp + 0x20], r15
mov rdx, r12
mov rcx, r14
call qword [sym.imp.WS2_32.dll_sendto]
mov edi, eax
cmp eax, ebp
je 0x14004ba44
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov r8d, edi
lea rdx, str.SendWakeupPacket_error:_sent__d_bytes:__d_n
mov r9d, eax
xor ecx, ecx
call fcn.140051100
test esi, esi
je 0x14004ba50
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_Sleep]
test ebx, ebx
jne 0x14004b9c0
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_closesocket]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rbx
ret
Function at 0x14004e610
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x140177698]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov edi, edx
mov qword [rsp + 0x38], 0
lea rdx, [rsp + 0x40]
mov r8b, 0x5c
call fcn.140051cc0
movzx eax, byte [rsp + 0x40]
lea rbx, [rsp + 0x40]
test al, al
je 0x14004e67b
movsx ecx, al
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
cmp byte [rbx + 1], 0
lea rcx, [rbx + 1]
mov byte [rbx], al
jne 0x14004e671
cmp al, 0x2e
jne 0x14004e671
mov byte [rbx], 0
movzx eax, byte [rcx]
mov rbx, rcx
test al, al
jne 0x14004e655
lea r8, [rsp + 0x38]
mov rcx, 0xffffffff80000002
lea rdx, str.SOFTWAREApple_Inc.BonjourDynDNSStateHostNames
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x14004e6cc
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
test edi, edi
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
sete byte [rsp + 0x30]
lea rdx, [0x14014f4cc]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004e6dc
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14006a270
mov rbx, qword [rsp + 0x470]
add rsp, 0x450
pop rdi
ret

Function at 0x14004e710
Capabilities:
Get mac address on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r12
push r13
push r15
sub rsp, 0x20
movups xmm0, xmmword [0x14014fa88]
xor edi, edi
mov qword [rsp + 0x58], r14
mov r15, r9
mov dword [rsp + 0x60], edi
movups xmmword [r8], xmm0
mov eax, dword [0x14014fa98]
mov r12, rdx
mov dword [r8 + 0x10], eax
mov r13, rcx
mov ebx, edi
nop dword [rax]
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov ebp, eax
cmp eax, 0x6f
jne 0x14004e78f
mov edx, dword [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov rdi, rax
test rax, rax
je 0x14004e785
inc ebx
cmp ebx, 0x64
jl 0x14004e750
jmp 0x14004e829
mov eax, 0xffffe5b8
jmp 0x14004e839
test ebp, ebp
jne 0x14004e829
call fcn.14004b5b0
mov r14d, eax
mov rbx, rdi
test rdi, rdi
je 0x14004e837
mov qword [rsp + 0x50], rsi
lea rdx, [rbx + 0x1c0]
test rdx, rdx
je 0x14004e7fb
cmp byte [rdx], 0
je 0x14004e7fb
lea rsi, [rbx + 0x1f0]
test rsi, rsi
je 0x14004e7fb
cmp byte [rsi], 0
je 0x14004e7fb
mov rcx, r12
call fcn.14004cfd0
test eax, eax
jne 0x14004e7fb
mov rdx, rsi
mov rcx, r15
call fcn.14004cfd0
test eax, eax
jne 0x14004e7fb
test r14d, r14d
je 0x14004e805
cmp dword [rbx + 0x1a0], r14d
je 0x14004e805
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14004e7b0
jmp 0x14004e824
cmp dword [rbx + 0x194], 6
jne 0x14004e824
mov eax, dword [rbx + 0x198]
mov dword [r13 + 0x14], eax
movzx eax, word [rbx + 0x19c]
mov word [r13 + 0x18], ax
mov rsi, qword [rsp + 0x50]
test rdi, rdi
je 0x14004e837
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, ebp
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x14004f060
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov byte [r9], 0
mov rdi, r9
mov rcx, qword [rcx + 8]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
mov ebx, eax
test eax, eax
js 0x14004f088
xor eax, eax
jmp 0x14004f09f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14004f09a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x14004f09f
mov eax, 0xfffeffff
test ebx, ebx
jg 0x14004f0a8
jne 0x14004f0b5
mov byte [rdi], 1
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x2746
jne 0x14004f0cc
mov byte [rdi], 1
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
cmp eax, 0x2733
je 0x14004f0bf
mov r8d, eax
lea rdx, str.ERROR:_mDNSPlatformReadTCP___recv:__d_n
xor ecx, ecx
call fcn.140051100
mov rbx, qword [rsp + 0x30]
mov eax, 0xffffffff
add rsp, 0x20
pop rdi
ret