Function at 0x423218
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 al, byte [0x538038]
mov ecx, 0xc
mov edx, 4
call fcn.004018b0
test eax, eax
je 0x42359a
mov edx, dword [ebp + 0xc]
xor ecx, ecx
mov ebx, eax
inc ecx
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov byte [ebx + 8], 0
mov esi, dword [edx + 8]
cmp esi, 0xffffffff
je 0x4235a9
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
mov dword [esp + 0xc], ebx
je 0x4232f6
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x423313
cmp ecx, 0x17
jne 0x423343
cmp eax, 0x1b
jbe 0x4235bd
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 0x42335b
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 0x423350
cmp eax, 0xf
jbe 0x4235d1
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 0x42335f
mov byte [esp + 0x14], 2
mov dword [esp + 0x18], 0x52a2b8
mov word [esp + 0x10], 2
mov ax, 2
mov dword [esp + 4], eax
mov ebx, dword [ebp + 8]
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 0x423412
movzx ecx, word [esp + 0x50]
mov eax, dword [esp + 8]
cmp ecx, 2
je 0x423464
cmp ecx, 0x17
jne 0x4234ba
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
cmp eax, 0x1b
jbe 0x4235bd
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 0x423491
call dword [sym.imp.ws2_32.dll_WSAGetLastError]
xor ecx, ecx
cmp word [esp + 4], 2
mov esi, ebx
mov dword [ebx], 0
mov byte [esp + 0x34], cl
mov byte [esp + 0x37], cl
mov ecx, dword [esp + 0xc]
mov word [esp + 0x35], 0
mov dword [esp + 0x38], eax
mov word [esp + 0x30], 2
mov dword [ebx + 8], ecx
mov word [ebx + 0xc], 1
jne 0x42345e
lea eax, [esp + 0x14]
push eax
call fcn.00421b4b
add esp, 4
lea eax, [esp + 0x34]
jmp 0x4234ac
cmp eax, 0xf
jbe 0x4235d1
movzx ecx, word [esp + 0x52]
mov eax, dword [esp + 0x54]
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
mov word [esp + 0x30], 0
rol cx, 8
mov dword [esp + 0x32], eax
mov word [esp + 0x36], cx
cmp word [esp + 4], 2
jne 0x4234f5
lea eax, [esp + 0x14]
mov dword [esi], 0
mov dword [esi + 8], ebx
mov word [esi + 0xc], 1
push eax
call fcn.00421b4b
add esp, 4
jmp 0x423590
mov esi, dword [ebp + 8]
cmp word [esp + 4], 2
mov eax, dword [esp + 0xc]
mov byte [esp + 0x34], 2
mov dword [esp + 0x38], 0x52a2b8
mov word [esp + 0x30], 2
mov dword [esi], 0
mov dword [esi + 8], eax
mov word [esi + 0xc], 1
je 0x423451
jmp 0x42345e
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 [0x538038]
call fcn.004018b0
test eax, eax
je 0x4235e5
lea esi, [esp + 0x50]
mov ecx, 0x10
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 4], 0x501abc
mov dword [esi + 8], ebx
mov word [esi + 0xc], 1
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 4
mov edx, 0xc
call fcn.004e8800
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52b444
call fcn.004e8ca0
mov ecx, 0x52a254
mov edx, 0x43
push 0x52a298
call fcn.004e8ca0
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 0x52a244
call fcn.004e8ca0
mov ecx, 4
mov edx, 0x40
call fcn.004e8800
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov esi, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
cmp dword [esi + 8], 0
je 0x42365f
mov eax, dword [ebp + 0x18]
lea edi, [esi + 8]
push 0xc
push 0x5029e5
push dword [ebp + 0x14]
call dword [eax + 0xc]
add esp, 0xc
mov ebx, esp
mov edx, esi
mov dword [ebx + 4], ebp
mov byte [ebx + 8], al
mov dword [ebx], 0
mov byte [ebx + 9], 0
mov ecx, ebx
push 0x5029f4
call fcn.00406cb0
add esp, 4
mov ecx, ebx
mov edx, edi
push 0x502a04
call fcn.00406cb0
add esp, 4
mov ecx, ebx
call fcn.00406dc0
add esp, 0xc
jmp 0x423672
mov ecx, dword [esi]
mov edx, dword [esi + 4]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004074a0
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret