Function at 0x14001fe50
Capabilities:
Get local ipv4 addresses
Initialize winsock library

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1e8
mov rdi, rdx
mov ebx, ecx
mov rax, qword [0x14039de68]
xor rax, rsp
mov qword [rsp + 0x1e0], rax
mov rsi, qword [0x14039f4d8]
mov rcx, rsi
call sub.KERNEL32.dll_AcquireSRWLockExclusive
cmp byte [0x14039f4e0], 0
jne 0x14001fec2
lea rdx, [rsp + 0x48]
mov cx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x14001febb
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rcx, str.Unable_to_initialize_Winsock:__d_n
mov edx, eax
call fcn.1400011f0
jmp 0x14001fec2
mov byte [0x14039f4e0], 1
mov rcx, rsi
call fcn.14009cb90
mov dword [rsp + 0x48], 0
mov ecx, ebx
call fcn.14001f030
movsx ecx, ax
lea r14, [rsp + 0x48]
mov qword [rsp + 0x20], r14
mov edx, ntohs
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
mov sil, 1
test eax, eax
je 0x14001ff61
cmp eax, 0x6f
jne 0x14001ff37
mov ecx, dword [rsp + 0x48]
call fcn.140023b70
mov r15, rax
mov ecx, ebx
call fcn.14001f030
movsx ecx, ax
mov qword [rsp + 0x20], r14
mov edx, ntohs
xor r8d, r8d
mov r9, r15
call qword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
test eax, eax
je 0x1400200b7
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, 0x18
call fcn.140259c08
mov rsi, rax
mov rcx, rax
call fcn.1400ec810
mov qword [rdi], rsi
xor esi, esi
jmp 0x14001ffb7
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov edi, eax
mov ecx, reloc.WS2_32.dll_recv
call fcn.140259c08
mov rbx, rax
mov qword [rax], rdi
mov rax, rdi
shr rax, 0x3d
shl rdi, 3
xor ecx, ecx
neg rax
sbb rcx, rcx
or rcx, rdi
call fcn.1402599b0
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rax
mov qword [rbx + 8], rax
test sil, sil
je 0x14001ffde
mov rcx, qword [rsp + 0x28]
call fcn.140262a24
mov rsi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x1e0]
xor rcx, rsp
call fcn.140259980
mov rax, rsi
add rsp, 0x1e8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, qword [rsp + 0x28]
xor edi, edi
jmp 0x14001fff9
mov rsi, qword [rsi + 8]
test rsi, rsi
je 0x14001ffa8
mov rbx, qword [rsi + 0x18]
test rbx, rbx
mov qword [rsp + 0x40], rsi
jne 0x140020056
jmp 0x14001fff0
mov esi, ebp
mov rbp, r13
add rbp, 0x48
mov rcx, r12
xor edx, edx
call fcn.14001ed60
mov rcx, rbp
mov rdx, r12
mov r8, rax
call fcn.14025caa0
mov qword [r14], r13
mov qword [r14 + 8], r15
mov qword [r14 + 0x10], rsi
mov rax, qword [rsp + 0x38]
mov qword [rax + rdi*8], r14
inc rdi
mov rbx, qword [rbx + 8]
test rbx, rbx
mov rsi, qword [rsp + 0x40]
je 0x14001fff0
mov ecx, 0x18
call fcn.140259c08
mov r14, rax
mov ebp, dword [rsi + 0x6c]
test ebp, ebp
jne 0x14002006d
mov ebp, dword [rsi + 4]
mov rcx, qword [rsi + 0x48]
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.1400ec9b0
mov r15, rax
mov r12, qword [rbx + 0x10]
mov ecx, 0xc8
call fcn.140259c08
mov r13, rax
mov rcx, r12
mov rdx, rax
mov r8d, 0x41
call fcn.14001f5e0
test al, al
je 0x140020010
mov byte [r13], 0
jmp 0x140020010
test r15, r15
sete al
je 0x14002010a
xor edi, edi
mov rcx, r15
jmp 0x1400200d9
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x1400200fe
mov rdx, qword [rcx + 0x18]
test rdx, rdx
je 0x1400200d0
nop word cs:[rax + rax]
inc rdi
mov rdx, qword [rdx + 8]
test rdx, rdx
jne 0x1400200f0
jmp 0x1400200d0
mov qword [rsp + 0x28], r15
mov esi, eax
jmp 0x14001ff6a
xor eax, eax
mov qword [rsp + 0x28], rax
xor edi, edi
jmp 0x14001ff6a