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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rdi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x238], rax
cmp dword [rcx + 0x32c], 3
jne 0x14015cbde
cmp byte [rdi + 0x655], 0
jne 0x14015cbde
cmp byte [rdi + 0x66f], 0
je 0x14015cca2
mov rax, qword [rdi]
movups xmm0, xmmword [rdi + 0x41c]
movups xmmword [rax + 0x1666], xmm0
movups xmm0, xmmword [rdi + 0x40e]
movups xmmword [rax + 0x1658], xmm0
movups xmm0, xmmword [rdi + 0x3fe]
movups xmmword [rax + 0x1648], xmm0
mov rax, qword [rdi]
movups xmm0, xmmword [rdi + 0x440]
movups xmmword [rax + 0x168c], xmm0
movups xmm0, xmmword [rdi + 0x44e]
movups xmmword [rax + 0x169a], xmm0
movups xmm0, xmmword [rdi + 0x430]
movups xmmword [rax + 0x167c], xmm0
mov rax, qword [rdi + 0x698]
mov rax, qword [rax]
mov rcx, qword [rdi]
mov qword [rcx + 0x16b0], rax
mov rax, qword [rdi + 0x698]
mov eax, dword [rax + 0x7c]
mov rcx, qword [rdi]
mov dword [rcx + 0x16b8], eax
mov eax, dword [rdi + 0x42c]
mov rcx, qword [rdi]
mov dword [rcx + 0x1678], eax
mov eax, dword [rdi + 0x460]
mov rcx, qword [rdi]
mov dword [rcx + 0x16ac], eax
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x14015cc97
call fcn.140278ca0
int3
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
mov rbx, rdx
mov rsi, qword [rdi]
lea rcx, [rsp + 0x130]
mov r8d, 0x100
mov dl, 0xaa
call fcn.1402b6a10
movaps xmm0, xmmword [0x1403d4b30]
lea rdx, [rsp + 0xb0]
movaps xmmword [rdx + 0x70], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x2c]
mov dword [r8], Ordinal_133
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x14015cd3b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
call fcn.14017a680
lea rdx, str.getpeername___failed_with_errno__d:__s
mov rcx, rsi
mov r8d, edi
mov r9, rax
call fcn.140158420
jmp 0x14015cc7d
lea r8, [rsp + 0x28]
mov dword [r8], Ordinal_133
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movaps xmmword [rdx], xmm0
movaps xmmword [rdx + 0x10], xmm0
movaps xmmword [rdx + 0x20], xmm0
movaps xmmword [rdx + 0x30], xmm0
movaps xmmword [rdx + 0x40], xmm0
movaps xmmword [rdx + 0x50], xmm0
movaps xmmword [rdx + 0x60], xmm0
movaps xmmword [rdx + 0x70], xmm0
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x14015cda1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
call fcn.14017a680
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x14015cd28
lea r9, [rdi + 0x42c]
lea rbx, [rdi + 0x3fe]
lea rcx, [rsp + 0xb0]
mov r8, rbx
call fcn.14015cb20
test al, al
jne 0x14015cdfa
call fcn.14028de30
mov ecx, dword [rax]
lea rdx, [rsp + 0x130]
mov r8d, 0x100
call fcn.14017a680
mov rdi, rax
call fcn.14028de30
mov r8d, dword [rax]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov rcx, rsi
mov r9, rdi
jmp 0x14015cd31
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmm2, xmmword [rbx + 0x1e]
movups xmmword [rdi + 0x316], xmm2
movups xmmword [rdi + 0x308], xmm1
movups xmmword [rdi + 0x2f8], xmm0
lea r9, [rdi + 0x460]
lea r8, [rdi + 0x430]
lea rcx, [rsp + 0x30]
call fcn.14015cb20
test al, al
jne 0x14015cbde
call fcn.14028de30
mov ecx, dword [rax]
lea rdx, [rsp + 0x130]
mov r8d, 0x100
call fcn.14017a680
mov rdi, rax
call fcn.14028de30
mov r8d, dword [rax]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
jmp 0x14015cdef