Function at 0x4412ea
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 ebx, edx
mov dword [esp + 0xc], ecx
push 0xc
pop ecx
push 4
pop edx
call fcn.0043e582
mov edi, eax
xor eax, eax
inc eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov byte [edi + 8], 0
mov ecx, ebx
call fcn.004e11b8
mov eax, dword [eax]
xorps xmm0, xmm0
lea esi, [esp + 0x50]
movaps xmmword [esi + 0x70], xmm0
movaps xmmword [esi + 0x60], xmm0
movaps xmmword [esi + 0x50], xmm0
movaps xmmword [esi + 0x40], xmm0
movaps xmmword [esi + 0x30], xmm0
movaps xmmword [esi + 0x20], xmm0
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
lea ecx, [esp + 8]
mov dword [ecx], 0x80
push ecx
push esi
push eax
call dword [sym.imp.ws2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x4413b3
mov eax, dword [esp + 8]
movzx ecx, word [esp + 0x50]
cmp ecx, 2
je 0x4413cf
cmp ecx, 0x17
jne 0x4413fe
cmp eax, 0x1b
jbe 0x4415d8
movups xmm0, xmmword [esp + 0x58]
movzx eax, word [esp + 0x52]
rol ax, 8
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x10], 1
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 0x441416
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x14], cl
and word [esp + 0x15], 0
mov byte [esp + 0x17], cl
mov dword [esp + 0x18], eax
jmp 0x44140b
cmp eax, 0xf
jbe 0x4415e7
movzx eax, word [esp + 0x52]
rol ax, 8
and word [esp + 0x10], 0
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x12], ecx
mov word [esp + 0x16], ax
mov dword [esp + 4], 0
jmp 0x44141a
mov byte [esp + 0x14], 2
mov dword [esp + 0x18], 0x54a2d4
mov word [esp + 0x10], 2
mov ax, 2
mov dword [esp + 4], eax
mov ecx, ebx
call fcn.004e11b8
mov eax, dword [eax]
xorps xmm0, xmm0
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
mov dword [esp + 8], 0x80
lea ecx, [esp + 8]
push ecx
push esi
push eax
call dword [sym.imp.ws2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x4414cc
mov eax, dword [esp + 8]
movzx ecx, word [esp + 0x50]
cmp ecx, 2
je 0x4414f6
cmp ecx, 0x17
lea esi, [esp + 0x30]
jne 0x44159c
cmp eax, 0x1b
jbe 0x4415d8
movzx eax, word [esp + 0x52]
rol ax, 8
movups xmm0, xmmword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x68]
mov word [esp + 0x30], 1
movups xmmword [esp + 0x34], xmm0
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov word [esp + 0x4c], ax
jmp 0x44151f
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
mov byte [esp + 0x34], cl
and word [esp + 0x35], 0
mov byte [esp + 0x37], cl
mov dword [esp + 0x38], eax
mov word [esp + 0x30], 2
lea esi, [esp + 0x30]
jmp 0x4415b0
cmp eax, 0xf
lea esi, [esp + 0x30]
jbe 0x4415e7
mov eax, dword [esp + 0x54]
movzx ecx, word [esp + 0x52]
and word [esp + 0x30], 0
rol cx, 8
mov dword [esp + 0x32], eax
mov word [esp + 0x36], cx
cmp word [esp + 4], 2
je 0x4415b0
movups xmm0, xmmword [esp + 0x10]
movups xmm1, xmmword [esp + 0x20]
movaps xmmword [esp + 0x60], xmm1
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [esi]
movups xmm1, xmmword [esi + 0x10]
movaps xmmword [esp + 0x70], xmm0
movaps xmmword [esp + 0x80], xmm1
push 0x40
pop ecx
push 4
pop edx
call fcn.0043e582
mov ebx, eax
movaps xmm0, xmmword [esp + 0x50]
movaps xmm1, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm1
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x20], xmm0
movaps xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x30], xmm0
xor ecx, ecx
call fcn.0043ec66
mov eax, dword [esp + 0xc]
mov dword [eax], ebx
mov dword [eax + 4], 0x52a0b4
jmp 0x4415b7
mov byte [esp + 0x34], 2
mov dword [esp + 0x38], 0x54a2d4
mov word [esp + 0x30], 2
mov eax, dword [esp + 0xc]
and dword [eax], 0
mov dword [eax + 8], edi
mov word [eax + 0xc], 1
lea ecx, [esp + 0x10]
call fcn.004415fc
mov ecx, esi
call fcn.004415fc
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x43
pop edx
mov ecx, 0x54a270
push 0x54a2b4
jmp 0x4415f4
push 0x42
pop edx
mov ecx, str.assertion_failed:_len_as_usize___mem::size_of::_c::sockaddr_in___library_std_src_sys_common_net.rs
push 0x54a260
call fcn.00506cd0
pop eax
ud2