Function at 0x1400023d0
Capabilities:
Get local ipv4 addresses
Initialize winsock library
Resolve dns
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov rax, qword [0x140039040]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rbx, rdx
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x50], rdx
xor r15d, r15d
mov edi, r15d
mov dword [rsp + 0x40], r15d
mov ecx, 0x202
lea rdx, [rbp - 0x20]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140002452
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, str.Failed._Error_Code_:__d
call fcn.140001080
lea ecx, [r15 + 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
je 0x14000249c
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.GetAdaptersAddresses___failed...
call fcn.140001030
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
jmp 0x1400027fd
mov ecx, dword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9, rsi
xor r8d, r8d
lea edx, [r8 + 0x10]
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x1400024ff
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.GetAdaptersAddresses___failed...
call fcn.140001030
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx], r15
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
jmp 0x1400027fd
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
mov qword [rbp - 0x48], r15
mov rax, rsi
mov qword [rsp + 0x48], rax
test rsi, rsi
je 0x1400027d7
lea rsi, str.127.
mov r14, qword [rax + 0x18]
test r14, r14
je 0x1400027bb
mov rbx, qword [r14 + 0x10]
cmp word [rbx], 2
jne 0x1400027a9
xor edx, edx
mov r8d, 0x200
lea rcx, [rbp + 0x180]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, 0x200
lea r8, [rbp + 0x180]
mov edx, dword [r14 + 0x18]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getnameinfo]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], r15
lea rax, [rbp + 0x180]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400025a0
lea rdx, [rbp + 0x180]
lea rcx, [rbp - 0x40]
call fcn.140002f30
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
mov r8d, 4
cmp qword [rbp - 0x30], r8
cmovb r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x80]
call fcn.140002f30
or edi, 8
or edi, 2
mov dword [rsp + 0x40], edi
lea rdx, [rbp - 0x80]
mov r12, qword [rbp - 0x80]
mov r13, qword [rbp - 0x68]
cmp r13, 0xf
cmova rdx, r12
mov rax, r15
movzx ecx, byte [rsi + rax]
inc rax
cmp cl, byte [rdx + rax - 1]
jne 0x1400026e4
cmp rax, 5
jne 0x140002611
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
xor r15b, r15b
test dil, 4
je 0x140002676
and edi, 0xfffffffb
cmp rsi, 0xf
jbe 0x140002676
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000266d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002830
mov rcx, rbx
call fcn.1400129e4
nop
test dil, 2
je 0x1400026b7
and edi, 0xfffffffd
cmp r13, 0xf
jbe 0x1400026b7
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x1400026af
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002837
mov rcx, r12
call fcn.1400129e4
test r15b, r15b
je 0x140002764
mov rax, qword [rbp - 0x50]
cmp rax, qword [rbp - 0x48]
je 0x140002753
lea rdx, [rbp - 0x40]
mov rcx, rax
call fcn.1400028f0
add qword [rbp - 0x50], 0x20
jmp 0x140002764
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
mov r8d, 8
cmp qword [rbp - 0x30], r8
cmovb r8, qword [rbp - 0x30]
lea rdx, [rbp - 0x40]
cmp qword [rbp - 0x28], 0xf
cmova rdx, qword [rbp - 0x40]
lea rcx, [rsp + 0x58]
call fcn.140002f30
or edi, 0x14
lea rdx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0xf
cmova rdx, rbx
lea rcx, str.169.254.
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
je 0x140002632
mov r15b, 1
jmp 0x140002635
lea r8, [rbp - 0x40]
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140003510
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0xf
jbe 0x14000279f
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000279a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000283e
call fcn.1400129e4
lea rsi, str.127.
xor r15d, r15d
mov r14, qword [r14 + 8]
test r14, r14
jne 0x140002530
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x140002523
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov rax, qword [rbp - 0x58]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
mov rax, rbx
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140012980
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3