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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rdi, rcx
mov rax, qword [0x1402db040]
xor rax, rsp
mov qword [rsp + 0x238], rax
cmp dword [rcx + 0x32c], 3
jne 0x1400caa0e
cmp byte [rdi + 0x655], 0
jne 0x1400caa0e
cmp byte [rdi + 0x66f], 0
je 0x1400caad2
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 [0x1402db040]
je 0x1400caac7
call fcn.1401ac870
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.1401e5d50
movaps xmm0, xmmword [0x140299a90]
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 0x1400cab6b
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
call fcn.1400df3c0
lea rdx, str.getpeername___failed_with_errno__d:__s
mov rcx, rsi
mov r8d, edi
mov r9, rax
call fcn.1400c5820
jmp 0x1400caaad
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 0x1400cabd1
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
lea rdx, [rsp + 0x130]
mov r8d, 0x100
mov ecx, eax
call fcn.1400df3c0
lea rdx, str.getsockname___failed_with_errno__d:__s
jmp 0x1400cab58
lea r8, [rdi + 0x42c]
lea rbx, [rdi + 0x3fe]
lea rcx, [rsp + 0xb0]
mov rdx, rbx
call fcn.1400ca950
test al, al
jne 0x1400cac2a
call fcn.1401a9dcc
mov ecx, dword [rax]
lea rdx, [rsp + 0x130]
mov r8d, 0x100
call fcn.1400df3c0
mov rdi, rax
call fcn.1401a9dcc
mov r8d, dword [rax]
lea rdx, str.ssrem_inet_ntop___failed_with_errno__d:__s
mov rcx, rsi
mov r9, rdi
jmp 0x1400cab61
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 r8, [rdi + 0x460]
lea rdx, [rdi + 0x430]
lea rcx, [rsp + 0x30]
call fcn.1400ca950
test al, al
jne 0x1400caa0e
call fcn.1401a9dcc
mov ecx, dword [rax]
lea rdx, [rsp + 0x130]
mov r8d, 0x100
call fcn.1400df3c0
mov rdi, rax
call fcn.1401a9dcc
mov r8d, dword [rax]
lea rdx, str.ssloc_inet_ntop___failed_with_errno__d:__s
jmp 0x1400cac1f