Function at 0x1400036b0
Capabilities:
Get local ipv4 addresses
Initialize winsock library
Resolve dns

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov rax, qword [0x140019030]
xor rax, rsp
mov qword [rbp + 0x178], rax
mov r14, rcx
mov qword [rbp - 0x48], rcx
xor r13d, r13d
mov r15d, r13d
mov dword [rsp + 0x40], r13d
mov ecx, 0x202
lea rdx, [rbp - 0x40]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x140003756
lea rdx, str.WSAStartup_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006540
lea rdx, [0x140006710]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], r13
xor r8d, r8d
lea rdx, [0x140013703]
mov rcx, r14
call fcn.140006d40
jmp 0x140003b9a
mov dword [rsp + 0x70], r13d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
je 0x1400037a5
lea rdx, str.GetAdaptersAddresses_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006540
lea rdx, [0x140006710]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003730
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r12, rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, r12
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x140003807
lea rdx, str.GetAdaptersAddresses_failed
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140006540
lea rdx, [0x140006710]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x140003730
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
movdqa xmm1, xmmword [0x140014080]
movdqu xmmword [rbp - 0x58], xmm1
mov byte [rbp - 0x68], r13b
mov rsi, r12
test r12, r12
je 0x140003b7a
cmp dword [rsi + 0x68], 1
jne 0x140003b60
mov r8d, 9
lea rdx, str.Adapter:
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov rbx, qword [rsi + 0x48]
mov ecx, 0x18
call fcn.140011a84
mov rdi, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x140003899
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r13
mov dword [rdi + 0x10], 1
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rdi], rax
test rax, rax
jne 0x14000389c
test rbx, rbx
jne 0x140003bd8
jmp 0x14000389c
mov rdi, r13
mov qword [rbp - 0x48], rdi
test rdi, rdi
je 0x140003bcd
cmp qword [rdi + 8], 0
jne 0x1400038bc
mov rcx, qword [rdi]
call fcn.1400112a0
mov qword [rdi + 8], rax
mov rdx, qword [rdi + 8]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x1400038d0
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov r8d, 1
lea rdx, [0x14001382c]
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov rbx, qword [rsi + 0x18]
test rbx, rbx
je 0x1400039bd
nop word [rax + rax]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x160], xmm0
mov dword [rbp + 0x170], eax
mov word [rbp + 0x174], ax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
lea r9d, [rax + 0x16]
lea r8, [rbp + 0x160]
mov edx, dword [rbx + 0x18]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.WS2_32.dll_getnameinfo]
mov r8d, 0xc
lea rdx, str.IP_address:
lea rcx, [rbp - 0x68]
call fcn.140005cd0
lea rax, [rbp + 0x160]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140003980
lea rdx, [rbp + 0x160]
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov r8d, 1
lea rdx, [0x14001382c]
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140003910
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
xor r8d, r8d
lea rdx, [0x140013703]
lea rcx, [rsp + 0x78]
call fcn.140006d40
nop
mov ebx, r13d
cmp dword [rsi + 0x58], r13d
jbe 0x140003a8e
nop
mov eax, ebx
movzx edx, byte [rax + rsi + 0x50]
lea rcx, [rsp + 0x48]
call fcn.140005eb0
or r15d, 2
lea rdx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rdx, qword [rsp + 0x48]
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140005cd0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140003a63
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a5e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b6c
call fcn.1400117e0
mov eax, dword [rsi + 0x58]
dec eax
cmp ebx, eax
jae 0x140003a83
mov r8d, 1
lea rdx, [0x140013840]
lea rcx, [rsp + 0x78]
call fcn.140005cd0
inc ebx
cmp ebx, dword [rsi + 0x58]
jb 0x1400039f0
mov r8d, 0xd
lea rdx, str.MAC_address:
lea rcx, [rbp - 0x68]
call fcn.140005cd0
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0x10
cmovae rdx, qword [rsp + 0x78]
mov r8, qword [rbp - 0x78]
lea rcx, [rbp - 0x68]
call fcn.140005cd0
mov r8d, 2
lea rdx, [0x140013858]
lea rcx, [rbp - 0x68]
call fcn.140005cd0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x140003b10
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003b73
call fcn.1400117e0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], 0
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x140003b60
mov rcx, qword [rdi]
test rcx, rcx
je 0x140003b41
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140003b53
call fcn.1400117e0
mov qword [rdi + 8], r13
mov edx, 0x18
mov rcx, rdi
call fcn.1400117e0
mov rsi, qword [rsi + 8]
test rsi, rsi
jmp 0x140003825
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
mov rcx, r12
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call qword [sym.imp.WS2_32.dll_WSACleanup]
movups xmm0, xmmword [rbp - 0x68]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x58]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x178]
xor rcx, rsp
call fcn.1400117c0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140011290
nop
mov ecx, 0x8007000e
call fcn.140011290
int3