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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf018
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x512f80]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ebx, edx
mov dword [ebp - 0x3c], ebx
or edi, 0xffffffff
mov dword [ebp - 0x44], edi
cmp dword [ecx], 0xffffffff
je 0x457ee5
mov edi, ebx
call fcn.00458170
mov edi, eax
jmp 0x457ff9
mov esi, 0x523e1c
call fcn.0045f0f0
mov dword [0x523e50], ebx
lea ecx, [ebp - 0x5c]
push ecx
call fcn.004597a0
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x80]
push edx
call fcn.004598d0
add esp, 4
mov byte [ebp - 4], 1
lea eax, [ebp - 0x38]
push eax
mov ecx, esi
call fcn.0045f210
or esi, 0xffffffff
cmp dword [ebp - 0x38], esi
je 0x457f42
mov byte [ebp - 4], 2
mov edi, ebx
lea ecx, [ebp - 0x38]
call fcn.00458170
mov edi, eax
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 1
cmp edi, esi
jne 0x457fe0
mov ecx, 0x523e1c
call fcn.0045f290
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x523e1c
call fcn.0045f210
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov dx, word [eax + 4]
mov word [ebp - 0x34], dx
cmp ecx, esi
jne 0x457fd4
push str.No_ConfigServers_are_online
lea eax, [ebp - 0xd8]
push eax
xor cl, cl
call fcn.0040e5f0
push 0x5026f0
lea ecx, [ebp - 0xd8]
push ecx
call fcn.00488a7c
mov ecx, 0x523e1c
call fcn.0045f2b0
lea ecx, [ebp - 0x4c]
push ecx
mov ecx, 0x523e1c
call fcn.0045f210
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov ax, word [eax + 4]
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 1
mov eax, 0x457fc9
ret
mov edi, ebx
lea ecx, [ebp - 0x38]
call fcn.00458170
mov edi, eax
mov byte [ebp - 4], 0
lea edx, [ebp - 0x80]
push edx
call fcn.00458720
mov dword [ebp - 4], esi
lea eax, [ebp - 0x5c]
push eax
call fcn.004582e0
push edi
lea ecx, [ebp - 0x6c]
push ecx
mov ecx, dword [sym.imp.WS2_32.dll_closesocket]
call fcn.00454270
add esp, 8
mov dword [ebp - 4], 4
mov esi, 0x10
mov dword [ebp - 0x40], esi
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
je 0x458140
cmp dword [ebp - 0x40], esi
jne 0x458140
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x34], ecx
lea ebx, [esi - 0xd]
mov esi, dword [ebp - 0x30]
mov eax, esi
call fcn.00456570
mov ebx, dword [ebp - 0x3c]
mov edx, ebx
mov eax, esi
mov ecx, edi
call fcn.00453900
mov byte [ebp - 0x29], 0
push 1
call fcn.00450a40
test al, al
je 0x458077
mov ecx, ebx
mov eax, esi
mov edx, edi
call fcn.00453950
lea edx, [ebp - 0x29]
push edx
mov ebx, esi
call fcn.004566d0
call fcn.00456e30
cmp byte [ebp - 0x29], 0
jne 0x4580d2
mov esi, 0x523e1c
call fcn.0045f0f0
lea eax, [ebp - 0x5c]
push eax
call fcn.004597a0
add esp, 4
mov byte [ebp - 4], 5
mov ecx, esi
call fcn.0045f2b0
push str.ConfigServer_unacceptable_protocol_version
lea ecx, [ebp - 0xac]
push ecx
mov cl, 1
call fcn.0040e5f0
push 0x5026f0
lea edx, [ebp - 0xac]
push edx
call fcn.00488a7c
mov dword [ebp - 0x30], 0xffffffff
push 4
call fcn.00450a40
test al, al
je 0x4580f0
mov ecx, dword [ebp - 0x3c]
mov eax, esi
mov edx, edi
call fcn.00453950
lea eax, [ebp - 0x30]
push eax
push esi
call fcn.004569d0
call fcn.00456e30
mov ecx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x34]
call fcn.0045fcf0
add esp, 4
mov byte [ebp - 0x68], 1
mov dword [ebp - 4], 0xffffffff
lea edx, [ebp - 0x6c]
push edx
call fcn.00453ec0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048162f
mov esp, ebp
pop ebp
ret
push str.Failed_to_get_local_IP_address_of_SocketToServer
lea eax, [ebp - 0x104]
push eax
mov cl, 1
call fcn.0040e5f0
push 0x5026f0
lea ecx, [ebp - 0x104]
push ecx
call fcn.00488a7c
int3