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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xd8]
sub rsp, 0x1d0
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rbx, rcx
test edx, edx
jne 0x140094581
mov byte [rcx + 0x1a8], dl
mov rax, qword [rcx]
mov dl, 1
call qword [rax + 0xf0]
jmp 0x1400947de
cmp edx, 1
jne 0x14009459b
mov byte [rcx + 0x1a9], 0
mov rax, qword [rcx]
call qword [rax + 0xf8]
jmp 0x1400947de
cmp edx, 4
jne 0x1400947de
mov dword [rbp - 0x50], 0x80
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x40]
mov rcx, qword [rcx + 0x1b8]
call qword [sym.imp.WS2_32.dll_getsockname]
mov edx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x18], rdx
mov byte [rbp], 0
xor edi, edi
mov qword [rbp + 0x10], rdi
lea rax, [rbp]
cmp rdx, 0x10
cmovae rax, qword [rbp]
mov byte [rax], dil
mov byte [rbp + 0x3c], dil
mov dword [rsp + 0x38], edi
xor eax, eax
mov qword [rsp + 0x3c], rax
mov qword [rsp + 0x44], rax
mov dword [rbp + 0x20], edi
movups xmm0, xmmword [rsp + 0x3c]
movups xmmword [rbp + 0x24], xmm0
mov word [rbp + 0x34], di
mov dword [rbp + 0x38], edi
mov qword [rbp - 0x28], rdx
mov byte [rbp - 0x40], al
mov qword [rbp - 0x30], rdi
lea rax, [rbp - 0x40]
cmp rdx, 0x10
cmovae rax, qword [rbp - 0x40]
mov byte [rax], dil
mov byte [rbp - 4], dil
mov dword [rsp + 0x50], edi
xor eax, eax
mov qword [rsp + 0x54], rax
mov qword [rsp + 0x5c], rax
mov dword [rbp - 0x20], edi
movups xmm0, xmmword [rsp + 0x54]
movups xmmword [rbp - 0x1c], xmm0
mov word [rbp - 0xc], di
mov dword [rbp - 8], edi
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.140023ba0
mov dword [rbp - 0x50], 0x80
lea r8, [rbp - 0x50]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbx + 0x1b8]
call qword [sym.imp.WS2_32.dll_getpeername]
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x40]
call fcn.140023ba0
lea rdx, [rsp + 0x70]
lea rcx, [rbp]
call fcn.140023a60
lea rcx, [rbx + 0x160]
mov rdx, rax
call fcn.140011de0
lea rcx, [rsp + 0x70]
call fcn.140009040
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x40]
call fcn.140023a60
lea rcx, [rbx + 0x180]
mov rdx, rax
call fcn.140011de0
lea rcx, [rbp - 0x70]
call fcn.140009040
xor eax, eax
mov qword [rbx + 0x1c8], rax
mov qword [rbx + 0x1d0], rax
mov r9d, 2
cmp dword [rbp + 0x20], r9d
je 0x1400946f3
mov word [rbx + 0x1c8], di
jmp 0x140094732
mov word [rbx + 0x1c8], r9w
movzx eax, word [rbp + 0x34]
shr ax, 8
mov byte [rsp + 0x30], al
movzx eax, byte [rbp + 0x34]
mov byte [rsp + 0x31], al
movzx eax, word [rsp + 0x30]
mov word [rbx + 0x1ca], ax
lea rcx, [rbp + 0x20]
call fcn.140022520
mov ecx, dword [rbp + 0x24]
test al, al
cmovne ecx, edi
mov dword [rbx + 0x1cc], ecx
xor eax, eax
mov qword [rbx + 0x1d8], rax
mov qword [rbx + 0x1e0], rax
cmp dword [rbp - 0x20], r9d
je 0x140094751
mov word [rbx + 0x1d8], di
jmp 0x140094790
mov word [rbx + 0x1d8], r9w
movzx eax, word [rbp - 0xc]
shr ax, 8
mov byte [rsp + 0x34], al
movzx eax, byte [rbp - 0xc]
mov byte [rsp + 0x35], al
movzx eax, word [rsp + 0x34]
mov word [rbx + 0x1da], ax
lea rcx, [rbp - 0x20]
call fcn.140022520
mov ecx, dword [rbp - 0x1c]
test al, al
cmovne ecx, edi
mov dword [rbx + 0x1dc], ecx
mov byte [rbx + 0x148], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
test rax, rax
je 0x1400947cb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x90]
mov r10, qword [rax]
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [r10]
nop
lea rcx, [rbp - 0x40]
call fcn.140009040
nop
lea rcx, [rbp]
call fcn.140009040
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14009d860
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret