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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x140015128]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor ebx, ebx
mov rdi, rcx
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x14000c7a7
lea r15d, [rbx + 1]
lea esi, [rbx + 0x20]
mov edx, r15d
mov ecx, esi
lea r8d, [rbx + 3]
call qword [sym.imp.WS2_32.dll_socket]
nop dword [rax + rax]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
je 0x14000c78b
movups xmm0, xmmword [0x140011590]
and qword [rbp + 0x21], rbx
lea rdx, [rbp + 0x1f]
or dword [rbp + 0x39], 0xffffffff
mov rcx, rax
mov word [rbp + 0x1f], si
lea esi, [rbx + 0x1e]
mov r8d, esi
movdqu xmmword [rbp + 0x29], xmm0
call qword [sym.imp.WS2_32.dll_bind]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000c756
mov rcx, qword [rdi + 8]
lea r8, [rbp + 0x17]
lea rdx, [rbp + 0x1f]
mov dword [rbp + 0x17], esi
call qword [sym.imp.WS2_32.dll_getsockname]
nop dword [rax + rax]
cmp eax, 0xffffffff
je 0x14000c756
mov rcx, qword [rdi + 8]
mov edx, r15d
call qword [sym.imp.WS2_32.dll_listen]
nop dword [rax + rax]
mov esi, eax
cmp eax, 0xffffffff
je 0x14000c756
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
nop dword [rax + rax]
mov rcx, rax
lea edx, [rbx + 8]
lea r8d, [rbx + 0x69]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
nop dword [rax + rax]
mov qword [rdi + 0xc0], rax
mov rcx, rax
test rax, rax
je 0x14000c74c
xor eax, eax
lea r8, [rdi + 0xb0]
mov qword [rbp + 8], rax
lea rdx, [rdi + 0xa0]
xorps xmm0, xmm0
mov dword [rbp + 0xf], 0x80235
movups xmmword [rbp - 0x18], xmm0
mov eax, 0x511
lea r9, [rdi + 0xb8]
movups xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x21], ax
mov eax, 0x300
mov word [rbp - 0x12], ax
mov al, byte [rbp + 0x39]
mov byte [rbp - 0xf], al
mov eax, 0x800
mov word [rbp - 0xb], ax
mov eax, 0x303
mov word [rbp + 0xd], ax
movups xmmword [rbp - 8], xmm0
mov word [rbp - 0x1a], 0x335
movups xmm0, xmmword [str.OBEX_Object_Push]
mov word [rbp - 0x29], 0x3a35
mov byte [rbp - 0x27], 9
movdqu xmmword [rbp - 4], xmm0
mov dword [rbp - 0x26], 0x3350100
mov byte [rbp - 0x22], 0x19
mov byte [rbp - 0x1f], 9
mov dword [rbp - 0x1e], 0x11350400
movups xmm0, xmmword [rbp - 0x29]
mov byte [rbp - 0x18], 0x19
mov dword [rbp - 0x17], 0x5350001
movups xmmword [rcx + 0x2c], xmm0
mov byte [rbp - 0x13], 0x19
mov byte [rbp - 0x10], 8
mov word [rbp - 0xe], 0x335
mov byte [rbp - 0xc], 0x19
movups xmm1, xmmword [rbp - 0x19]
mov byte [rbp - 9], 9
mov dword [rbp - 8], 0x10250001
movups xmm0, xmmword [rbp - 9]
mov byte [rbp + 0xc], 9
movups xmmword [rcx + 0x3c], xmm1
mov byte [rbp + 0x12], Ordinal_258
movsd xmm1, qword [rbp + 7]
mov eax, dword [rbp + 0xf]
movups xmmword [rcx + 0x4c], xmm0
movsd qword [rcx + 0x5c], xmm1
mov dword [rcx + 0x64], eax
lea rcx, [rdi + 0x28]
mov rax, qword [rdi + 0xc0]
mov dword [rax + 0x28], 0x3c
mov rax, qword [rdi + 0xc0]
mov qword [rax + 8], r9
mov rax, qword [rdi + 0xc0]
mov qword [rax], r8
mov rax, qword [rdi + 0xc0]
mov dword [rax + 0x10], 0x80
mov rax, qword [rdi + 0xc0]
and qword [r9], rbx
mov dword [rdx], 0x69
mov qword [rdi + 0x98], rdx
xor edx, edx
mov dword [r8], r15d
xor r8d, r8d
mov qword [rdi + 0xa8], rax
mov dword [rcx], 0x78
mov dword [rdi + 0x50], setsockopt
call qword [sym.imp.WS2_32.dll_WSASetServiceW]
nop dword [rax + rax]
mov esi, eax
jmp 0x14000c751
mov ebx, 0x8007000e
cmp esi, 0xffffffff
jne 0x14000c770
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x14000c7ac
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
nop dword [rax + rax]
or qword [rdi + 8], 0xffffffffffffffff
jmp 0x14000c7ac
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
nop dword [rax + rax]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
jmp 0x14000c7ac
mov ebx, 0x8000ffff
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14000e7b0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop rdi
pop rbp
ret