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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x100dcdc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push 0x2e
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.1008e310
mov ecx, dword [ebp - 0x1b8]
add esp, 0xc
mov dword [ebp - 0x1c0], 0xffffffff
cmp dword [ecx + 0x58], 3
jne 0x1004e6d8
cmp byte [ecx + 0x267], 0
push esi
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push edi
mov edi, dword [ebp + 0x10]
jne 0x1004e623
cmp byte [ecx + 0x279], 0
jne 0x1004e623
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1bc], 0x80
push 0
push eax
call fcn.1008e310
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x1004e5bd
call esi
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.10079af0
push eax
push esi
push str.getpeername___failed_with_errno__d:__s
push ebx
call fcn.1004cb70
jmp 0x1004e61a
lea eax, [ebp - 0x1c4]
push eax
mov eax, dword [ebp - 0x1b8]
add eax, 0xd2
push eax
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x1b4]
push eax
call fcn.1004d4e0
add esp, 0x10
test al, al
jne 0x1004e623
call fcn.10091ad9
mov esi, dword [eax]
call fcn.10091ad9
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.10079af0
push eax
push dword [edi]
push str.ssrem_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1004cb70
mov edi, dword [ebp + 0x10]
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
add esp, 0x1c
push 0x80
lea eax, [ebp - 0x1b4]
mov dword [ebp - 0x1bc], 0x80
push 0
push eax
call fcn.1008e310
add esp, 0xc
lea eax, [ebp - 0x1bc]
push eax
lea eax, [ebp - 0x1b4]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
je 0x1004e67b
call esi
mov esi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.10079af0
push eax
push esi
push str.getsockname___failed_with_errno__d:__s
jmp 0x1004e6c7
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x1bc]
lea eax, [ebp - 0x1b4]
push eax
call fcn.1004d4e0
add esp, 0x10
test al, al
jne 0x1004e6d0
call fcn.10091ad9
mov esi, dword [eax]
call fcn.10091ad9
mov edi, eax
lea eax, [ebp - 0x134]
push 0x100
push eax
push esi
call fcn.10079af0
push eax
push dword [edi]
push str.ssloc_inet_ntop___failed_with_errno__d:__s
push ebx
call fcn.1004cb70
add esp, 0x1c
mov ecx, dword [ebp - 0x1b8]
pop edi
pop esi
cmp byte [ebp - 0x34], 0
movups xmm0, xmmword [ecx + 0xd2]
movups xmmword [ebx + 0xd80], xmm0
movups xmm0, xmmword [ecx + 0xe2]
movups xmmword [ebx + 0xd90], xmm0
movq xmm0, qword [ecx + 0xf2]
movq qword [ebx + 0xda0], xmm0
mov eax, dword [ecx + 0xfa]
mov dword [ebx + 0xda8], eax
mov ax, word [ecx + 0xfe]
mov word [ebx + 0xdac], ax
je 0x1004e75d
movups xmm0, xmmword [ebp - 0x34]
mov eax, dword [ebp - 0xc]
movups xmmword [ebx + 0xdb8], xmm0
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [ebx + 0xdc8], xmm0
movq xmm0, qword [ebp - 0x14]
movq qword [ebx + 0xdd8], xmm0
mov dword [ebx + 0xde0], eax
mov ax, word [ebp - 8]
mov word [ebx + 0xde4], ax
jmp 0x1004e764
mov byte [ebx + 0xdb8], 0
mov eax, dword [ecx + 0x2a8]
mov eax, dword [eax]
mov dword [ebx + 0xdec], eax
mov eax, dword [ecx + 0x2a8]
mov eax, dword [eax + 0x44]
mov dword [ebx + 0xdf0], eax
mov eax, dword [ecx + 0xc4]
mov dword [ebx + 0xdb0], eax
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ebp - 4]
mov dword [ebx + 0xdb4], eax
xor ecx, ebp
mov eax, dword [ebp - 0x1c0]
mov dword [ebx + 0xde8], eax
pop ebx
call fcn.1008c543
mov esp, ebp
pop ebp
ret