Function at 0x14001e140
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov r11, rsp
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov rsi, rcx
mov dword [r11 + 0x10], 4
mov rcx, qword [rcx + 0x98]
lea rax, [r11 + 0x10]
lea r9, [r11 + 0x18]
mov qword [rsp + 0x20], rax
mov edx, 0xffff
mov r8d, 0x1007
call qword [sym.imp.WS2_32.dll_getsockopt]
mov ebp, eax
test eax, eax
je 0x14001e1c8
call fcn.1400c2870
movzx edi, word [rsi + 0x118]
lea rdx, [rsi + 0x100]
lea rcx, [rsp + 0x30]
mov ebx, dword [rax]
call fcn.140017b50
mov r9d, ebp
mov dword [rsp + 0x20], ebx
mov r8d, edi
lea rcx, str.WowConnection::CheckConnect__to__s:_u_____getsockopt_returned_non_zero:__d__errno:__d
mov rdx, rax
call fcn.14001e540
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
cmp dword [rsp + 0xc0], 0
mov rbp, 0xffffffffffffffff
mov qword [rsp + 0xc8], r12
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
je 0x14001e2af
mov rcx, qword [0x140128ae0]
mov rdx, rsi
call fcn.140022570
cmp byte [rsi + 0x221], 0
je 0x14001e218
cmp byte [rsi + 0x225], 0
je 0x14001e22e
mov rdx, qword [rsi + 0x98]
mov rcx, rsi
call fcn.14001e420
mov qword [rsi + 0x98], rbp
mov edx, 6
mov rcx, rsi
call fcn.140020b70
lock inc dword [rsi]
lea r14, [rsi + 0x170]
mov rcx, r14
call sub.KERNEL32.dll_EnterCriticalSection
lea rdi, [rsi + 0x198]
inc dword [rdi]
call sub.KERNEL32.dll_GetCurrentThreadId
mov rcx, r14
mov dword [rsi + 0x19c], eax
call fcn.1400b8230
lea r13, [rsi + 0x1c0]
lea r15, [rsi + 0xb0]
mov rcx, r13
mov r12, qword [r15]
call fcn.1400b8230
test r12, r12
je 0x14001e381
mov rax, qword [r12]
mov rbx, qword [rax + 0x10]
call fcn.1400d9fe0
lea r9, [rsi + 0x128]
mov r8d, eax
mov rdx, rsi
mov rcx, r12
call rbx
jmp 0x14001e381
mov edx, 5
mov rcx, rsi
call fcn.140020b70
or byte [rsi + 0x7c], 1
lock inc dword [rsi]
lea r14, [rsi + 0x170]
mov rcx, r14
call sub.KERNEL32.dll_EnterCriticalSection
lea rdi, [rsi + 0x198]
inc dword [rdi]
call sub.KERNEL32.dll_GetCurrentThreadId
mov rcx, r14
mov dword [rsi + 0x19c], eax
call fcn.1400b8230
lea r13, [rsi + 0x1c0]
lea r15, [rsi + 0xb0]
mov rcx, r13
mov r12, qword [r15]
call fcn.1400b8230
mov rcx, qword [rsi + 0x98]
lea rdx, [rsi + 0x128]
lea r8, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x20
call qword [sym.imp.WS2_32.dll_getpeername]
mov rcx, qword [rsi + 0x98]
lea rdx, [rsi + 0x148]
lea r8, [rsp + 0xb0]
mov dword [rsp + 0xb0], 0x20
call qword [sym.imp.WS2_32.dll_getsockname]
test r12, r12
je 0x14001e381
mov rax, qword [r12]
mov rbx, qword [rax + 8]
call fcn.1400d9fe0
lea rcx, [rsi + 0x128]
mov r9d, eax
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov rcx, r12
mov rdx, rsi
call rbx
mov rcx, r13
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, r14
call sub.KERNEL32.dll_EnterCriticalSection
mov rax, qword [rsi + 0x1a0]
dec dword [rdi]
mov r13, qword [rsp + 0x80]
mov r12, qword [rsp + 0xc8]
test rax, rax
je 0x14001e3bd
mov qword [r15], rax
mov qword [rsi + 0x1a0], 0
mov rcx, r14
call fcn.1400b8230
lock xadd dword [rsi], ebp
mov r15, qword [rsp + 0x70]
lea eax, [rbp - 1]
mov r14, qword [rsp + 0x78]
test eax, eax
jg 0x14001e40f
mov rcx, qword [0x140128ae0]
test rcx, rcx
je 0x14001e3fa
mov rdx, rsi
call fcn.1400224e0
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rcx, rsi
call fcn.14001d440
mov edx, 0x228
mov rcx, rsi
call fcn.1400bcf88
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret