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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14015a138]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
cmp qword [0x14015ac90], r15
jne 0x140008e62
xor eax, eax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rax
mov dword [rbp + 0x180], eax
mov word [rbp + 0x184], ax
xor edx, edx
lea r8d, [r15 + 0x64]
lea rcx, [rbp + 0x190]
call fcn.1400cef80
mov r12d, 2
mov ecx, r12d
lea rdx, [rbp - 0x60]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x140008be8
lea rbx, [0x14015aca0]
cmp qword [0x14015acb0], r15
jne 0x140008c28
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x190]
call qword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x140008bfc
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r15b
jmp 0x140008e6e
lea rax, [rbp + 0x190]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], r15b
jne 0x140008c10
lea rdx, [rbp + 0x190]
mov rcx, rbx
call fcn.140003a60
mov qword [rsp + 0x68], r15
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x74], r12d
mov dword [rsp + 0x70], 1
mov qword [rsp + 0x78], 1
cmp qword [reloc.WS2_32.dll_ntohs], 0x10
cmovae rbx, qword [0x14015aca0]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x140008cdc
mov rax, qword [rsp + 0x68]
mov rdx, qword [rax + 0x20]
add rdx, 4
mov r9d, reloc.WLDAP32.dll_Ordinal_46
lea r8, [rbp + 0x158]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_inet_ntop]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
lea rax, [rbp + 0x158]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140008cc0
lea rdx, [rbp + 0x158]
lea rcx, [0x14015ac80]
call fcn.140003a60
cmp qword [0x14015ac90], r15
jne 0x140008e59
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x38], 0
mov dword [rsp + 0x30], r12d
mov eax, 0x4000
mov dword [rsp + 0x60], eax
mov ebx, r15d
nop dword [rax]
mov ecx, eax
call fcn.1400da9c0
mov r14, rax
test rax, rax
je 0x140008e35
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9, r14
xor r8d, r8d
lea edx, [r8 + 0x2e]
mov ecx, r12d
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
cmp eax, 0x6f
jne 0x140008d4f
mov rcx, r14
call fcn.1400da9c8
jmp 0x140008d53
test eax, eax
je 0x140008d64
inc ebx
cmp ebx, 3
jge 0x140008e35
mov eax, dword [rsp + 0x60]
jmp 0x140008d10
mov rdi, r14
test r15, r15
jne 0x140008e2d
cmp dword [rdi + 0x64], 0x18
je 0x140008e20
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140008e20
mov rdx, qword [rbx + 0x10]
cmp r12w, word [rdx]
jne 0x140008de6
xor eax, eax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x150], eax
mov word [rbp + 0x154], ax
add rdx, 4
lea r9d, [rax + 0x16]
lea r8, [rbp + 0x140]
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_inet_ntop]
cmp byte [rbp + 0x140], 0
je 0x140008de6
lea rdx, str.127.0.0.1
lea rcx, [rbp + 0x140]
call fcn.1400daa0c
test eax, eax
jne 0x140008dec
mov rbx, qword [rbx + 8]
jmp 0x140008d7e
lea rax, [rbp + 0x140]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140008e00
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x38]
call fcn.140003a60
mov r15, qword [rsp + 0x48]
mov rdi, qword [rdi + 8]
test rdi, rdi
jne 0x140008d67
mov rcx, r14
call fcn.1400da9c8
lea rcx, [0x14015ac80]
call fcn.140003930
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [0x14015ac80], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [0x14015ac90], xmm1
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, rsi
lea rdx, [0x14015ac80]
call fcn.140003990
mov rax, rsi
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400ccd40
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret