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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xe0
mov dword [esp + 0xc], ecx
mov esi, edx
mov ecx, 0xc
mov edx, 4
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x4d0c87
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebx + 8], 0
mov esi, dword [esi + 0xc]
cmp esi, 0xffffffff
je 0x4d0c98
lea eax, [esp + 8]
lea edi, [esp + 0x50]
xorps xmm0, xmm0
movaps xmmword [edi + 0x70], xmm0
movaps xmmword [edi + 0x60], xmm0
movaps xmmword [edi + 0x50], xmm0
movaps xmmword [edi + 0x40], xmm0
movaps xmmword [edi + 0x30], xmm0
movaps xmmword [edi + 0x20], xmm0
movaps xmmword [edi + 0x10], xmm0
movaps xmmword [edi], xmm0
mov dword [eax], 0x80
push eax
push edi
push esi
call dword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x4d0a23
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x4d0a40
cmp ecx, 0x17
jne 0x4d0a70
cmp eax, 0x1b
jbe 0x4d0ca9
movzx eax, word [esp + 0x52]
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x10], 1
rol ax, 8
movups xmmword [esp + 0x14], xmm0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov word [esp + 0x2c], ax
xor eax, eax
inc eax
jmp 0x4d0a88
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x14], cl
mov byte [esp + 0x17], cl
mov word [esp + 0x15], 0
mov dword [esp + 0x18], eax
jmp 0x4d0a7d
cmp eax, 0xf
jbe 0x4d0cba
movzx ecx, word [esp + 0x52]
mov eax, dword [esp + 0x54]
mov word [esp + 0x10], 0
mov dword [esp + 4], 0
rol cx, 8
mov dword [esp + 0x12], eax
mov word [esp + 0x16], cx
jmp 0x4d0a8c
mov byte [esp + 0x14], 2
mov dword [esp + 0x18], 0x7c19cc
mov word [esp + 0x10], 2
mov ax, 2
mov dword [esp + 4], eax
xorps xmm0, xmm0
lea eax, [esp + 8]
mov dword [esp + 8], 0x80
movaps xmmword [esp + 0xc0], xmm0
movaps xmmword [esp + 0xb0], xmm0
movaps xmmword [esp + 0xa0], xmm0
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x60], xmm0
movaps xmmword [esp + 0x50], xmm0
push eax
push edi
push esi
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x4d0b31
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x4d0b4e
cmp ecx, 0x17
jne 0x4d0b95
cmp eax, 0x1b
jbe 0x4d0ca9
movzx eax, word [esp + 0x52]
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x30], 1
rol ax, 8
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], ax
jmp 0x4d0b74
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x34], cl
mov byte [esp + 0x37], cl
mov word [esp + 0x35], 0
mov dword [esp + 0x38], eax
jmp 0x4d0ba2
cmp eax, 0xf
jbe 0x4d0cba
movzx ecx, word [esp + 0x52]
mov eax, dword [esp + 0x54]
mov word [esp + 0x30], 0
rol cx, 8
mov dword [esp + 0x32], eax
mov word [esp + 0x36], cx
cmp word [esp + 4], 2
jne 0x4d0be3
mov eax, dword [esp + 0xc]
mov dword [eax], 0
mov dword [eax + 8], ebx
mov word [eax + 0xc], 1
lea eax, [esp + 0x14]
jmp 0x4d0bd5
mov byte [esp + 0x34], 2
mov dword [esp + 0x38], 0x7c19cc
cmp word [esp + 4], 2
mov eax, dword [esp + 0xc]
mov word [esp + 0x30], 2
mov dword [eax], 0
mov dword [eax + 8], ebx
mov word [eax + 0xc], 1
jne 0x4d0bd1
lea eax, [esp + 0x14]
push eax
call fcn.0054fbe4
add esp, 4
lea eax, [esp + 0x34]
push eax
call fcn.0054fbe4
add esp, 4
jmp 0x4d0c7f
lea eax, [esp + 0x30]
mov ecx, 0x40
mov edx, 4
movsd xmm1, qword [eax - 0x10]
movsd xmm0, qword [eax - 8]
movsd xmm2, qword [eax - 0x20]
movsd xmm3, qword [eax]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [eax - 0x18]
movsd qword [esp + 0x50], xmm2
movsd qword [esp + 0x68], xmm0
movsd xmm2, qword [eax + 0x10]
movsd qword [esp + 0x58], xmm1
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x70], xmm3
movsd qword [esp + 0x80], xmm2
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [eax + 0x18]
movsd qword [esp + 0x88], xmm1
mov al, byte [0x803894]
call fcn.004889b0
test eax, eax
je 0x4d0cd3
lea esi, [esp + 0x50]
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], 0x752ddc
mov dword [ecx + 8], ebx
mov word [ecx + 0xc], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0xc
call fcn.00651860
ud2
mov ecx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_std_src_syncmpmclist.rs
mov edx, 0x2b
push 0x7c9240
jmp 0x4d0cc9
mov ecx, 0x7c1968
mov edx, 0x43
push 0x7c19ac
jmp 0x4d0cc9
mov ecx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
mov edx, 0x42
push 0x7c1958
call fcn.006522d0
add esp, 4
ud2
mov ecx, 4
mov edx, 0x40
jmp 0x4d0c91