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

Disassembly:
sub esp, 0x108
mov eax, dword [0x49e0c4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push ebp
cmp dword [ebx + 0x94], 2
mov ebp, dword [ebx]
je 0x42bc7e
cmp byte [ebx + 0x27a], 0
push esi
push edi
jne 0x42bbaf
cmp byte [ebx + 0x296], 0
jne 0x42bbaf
mov esi, dword [esp + 0x120]
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x14], 0x80
push eax
push esi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x42ba93
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.004189b0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebp
call fcn.0041c620
add esp, 0x18
jmp 0x42bc7c
push 0x80
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x80
push 0
push eax
call fcn.00457cb0
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x42bae8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push ebx
call fcn.004189b0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
push ebp
call fcn.0041c620
add esp, 0x18
jmp 0x42bc7c
lea eax, [ebx + 0x138]
push eax
lea esi, [ebx + 0x10a]
lea eax, [esp + 0x98]
push esi
push eax
call fcn.0042c0e0
add esp, 0xc
test al, al
jne 0x42bb35
call fcn.0045e143
mov esi, dword [eax]
call fcn.0045e143
push esi
push ebx
mov edi, eax
call fcn.004189b0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.0041c620
add esp, 0x18
jmp 0x42bc7c
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
movups xmmword [ebx + 0x60], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [ebx + 0x70], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebx + 0x80], xmm0
mov dword [ebx + 0x88], eax
mov ax, word [esi + 0x2c]
mov word [ebx + 0x8c], ax
lea eax, [ebx + 0x16c]
push eax
lea eax, [ebx + 0x13c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042c0e0
add esp, 0xc
test al, al
jne 0x42bbaf
call fcn.0045e143
mov esi, dword [eax]
call fcn.0045e143
push esi
push ebx
mov edi, eax
call fcn.004189b0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebp
call fcn.0041c620
add esp, 0x18
jmp 0x42bc7c
mov ecx, dword [ebx]
movups xmm0, xmmword [ebx + 0x10a]
movups xmmword [ecx + 0x4c20], xmm0
movups xmm0, xmmword [ebx + 0x11a]
movups xmmword [ecx + 0x4c30], xmm0
movq xmm0, qword [ebx + 0x12a]
movq qword [ecx + 0x4c40], xmm0
mov eax, dword [ebx + 0x132]
mov dword [ecx + 0x4c48], eax
movzx eax, word [ebx + 0x136]
mov word [ecx + 0x4c4c], ax
mov ecx, dword [ebx]
movups xmm0, xmmword [ebx + 0x13c]
movups xmmword [ecx + 0x4c54], xmm0
movups xmm0, xmmword [ebx + 0x14c]
movups xmmword [ecx + 0x4c64], xmm0
movq xmm0, qword [ebx + 0x15c]
movq qword [ecx + 0x4c74], xmm0
mov eax, dword [ebx + 0x164]
mov dword [ecx + 0x4c7c], eax
movzx eax, word [ebx + 0x168]
mov word [ecx + 0x4c80], ax
mov eax, dword [ebx + 0x2c0]
mov ecx, dword [ebx]
mov eax, dword [eax]
mov dword [ecx + 0x4c88], eax
mov eax, dword [ebx + 0x2c0]
mov ecx, dword [ebx]
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x4c8c], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x138]
mov dword [ecx + 0x4c50], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 0x16c]
mov dword [ecx + 0x4c84], eax
pop edi
pop esi
mov ecx, dword [esp + 0x10c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00455c59
add esp, 0x108
ret