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

Disassembly:
sub esp, 0x20c
mov eax, dword [0x480040]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
push esi
mov esi, dword [esp + 0x218]
push edi
cmp dword [esi + 0x2f8], 3
jne 0x4349b8
cmp byte [esi + 0x509], 0
jne 0x4349b8
cmp byte [esi + 0x523], 0
jne 0x4349b8
mov edi, dword [esp + 0x220]
lea eax, [esp + 0xc]
mov ebx, dword [esi]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x10], 0x80
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x434831
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00420540
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.00432ee0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0041ec12
add esp, 0x20c
ret
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x4348a5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push esi
call fcn.00420540
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebx
call fcn.00432ee0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0041ec12
add esp, 0x20c
ret
lea eax, [esi + 0x3a0]
push eax
lea edi, [esi + 0x372]
push edi
push dword [esp + 0x14]
lea eax, [esp + 0xa0]
push eax
call fcn.00433a20
add esp, 0x10
test al, al
jne 0x434915
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
mov edi, dword [eax]
call esi
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push edi
call fcn.00420540
push eax
push dword [esi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00432ee0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0041ec12
add esp, 0x20c
ret
movups xmm0, xmmword [edi]
mov eax, dword [edi + 0x28]
movups xmmword [esi + 0x2c4], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [esi + 0x2d4], xmm0
movq xmm0, qword [edi + 0x20]
movq qword [esi + 0x2e4], xmm0
mov dword [esi + 0x2ec], eax
mov ax, word [edi + 0x2c]
mov word [esi + 0x2f0], ax
lea eax, [esi + 0x3d4]
push eax
lea eax, [esi + 0x3a4]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.00433a20
add esp, 0x10
test al, al
jne 0x4349b8
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call esi
mov edi, dword [eax]
call esi
mov esi, eax
lea eax, [esp + 0x114]
push 0x100
push eax
push edi
call fcn.00420540
push eax
push dword [esi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.00432ee0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0041ec12
add esp, 0x20c
ret
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x372]
pop edi
movups xmmword [ecx + 0x10b8], xmm0
movups xmm0, xmmword [esi + 0x382]
movups xmmword [ecx + 0x10c8], xmm0
movq xmm0, qword [esi + 0x392]
movq qword [ecx + 0x10d8], xmm0
mov eax, dword [esi + 0x39a]
mov dword [ecx + 0x10e0], eax
movzx eax, word [esi + 0x39e]
mov word [ecx + 0x10e4], ax
mov ecx, dword [esi]
movups xmm0, xmmword [esi + 0x3a4]
movups xmmword [ecx + 0x10ec], xmm0
movups xmm0, xmmword [esi + 0x3b4]
movups xmmword [ecx + 0x10fc], xmm0
movq xmm0, qword [esi + 0x3c4]
movq qword [ecx + 0x110c], xmm0
mov eax, dword [esi + 0x3cc]
mov dword [ecx + 0x1114], eax
movzx eax, word [esi + 0x3d0]
mov word [ecx + 0x1118], ax
mov eax, dword [esi + 0x548]
mov ecx, dword [esi]
mov eax, dword [eax]
mov dword [ecx + 0x1120], eax
mov eax, dword [esi + 0x548]
mov ecx, dword [esi]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x1124], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3a0]
mov dword [ecx + 0x10e8], eax
mov ecx, dword [esi]
mov eax, dword [esi + 0x3d4]
pop esi
pop ebx
mov dword [ecx + 0x111c], eax
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0041ec12
add esp, 0x20c
ret