Function at 0x468f5f
Capabilities:
Convert ip address from string
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3ac
mov eax, dword [0x62aabc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x3a0], eax
xor ebx, ebx
mov eax, dword [edx + 4]
push esi
push edi
add eax, 0xfffffffe
mov dword [ebp - 0x3a4], edx
xor edi, edi
mov dword [ebp - 0x39c], ebx
cmp eax, 0xa
ja case.0x468f48.9
movzx eax, byte [eax + 0x46925c]
jmp dword [eax*4 + 0x46924c]
mov ecx, dword [0x62d57c]
jmp 0x468f76
mov ecx, dword [0x62d580]
jmp 0x468f76
mov eax, dword [0x62d230]
mov ecx, dword [0x62d578]
mov ebx, dword [0x62d22c]
mov dword [ebp - 0x39c], eax
mov dword [ebp - 0x398], ecx
test ecx, ecx
je case.0x468f48.9
lea eax, [ebp - 0x3ac]
push eax
push 7
push edx
call fcn.0046fd20
add esp, 0xc
test eax, eax
jne 0x468fb2
mov edi, 0xffffff89
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov esi, 0xff
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x3a8], esi
cmovb esi, dword [ebp - 0x3a8]
push esi
push dword [ebp - 0x3ac]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp esi, 0x100
jae 0x469246
lea ecx, [ebp - 0x104]
add ecx, esi
lea eax, [ebp - 0x104]
mov byte [ecx], 0
test ebx, ebx
je 0x46903d
push dword [ebp - 0x39c]
push eax
call ebx
mov edi, eax
add esp, 8
cmp edi, 0xffffff89
je 0x469233
mov esi, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x3a4]
push esi
push eax
push eax
call dword [ebp - 0x398]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
lea esi, [ecx - 1]
cmp esi, eax
je 0x469059
mov al, byte [esi]
cmp al, 0x5d
je 0x469059
cmp al, 0x3a
je 0x46905e
dec esi
lea eax, [ebp - 0x104]
cmp esi, eax
jne 0x469044
cmp byte [esi], 0x3a
jne 0x469063
mov byte [esi], 0
jmp 0x469065
mov esi, ecx
mov ebx, dword [sym.imp.WS2_32.dll_inet_pton]
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x104]
push eax
push 2
call ebx
cmp eax, 1
je 0x4690c8
lea ecx, [ebp - 0x104]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x469090
sub ecx, edx
cmp ecx, 3
jb 0x4690d0
cmp byte [ebp - 0x104], 0x5b
jne 0x4690d0
cmp byte [esi - 1], 0x5d
jne 0x4690d0
mov byte [esi - 1], al
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x103]
push eax
push 0x17
call ebx
dec eax
neg eax
sbb eax, eax
inc eax
test eax, eax
jne 0x469012
cmp dword [0x62d234], edi
je 0x468f9a
mov esi, dword [ebp - 0x3a0]
lea eax, [ebp - 0x39c]
push eax
lea eax, [ebp - 0x394]
mov dword [ebp - 0x398], 0x1e
push eax
push dword [esi]
mov dword [ebp - 0x39c], 0x80
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x4691af
movzx eax, word [ebp - 0x394]
sub eax, 2
je 0x469161
sub eax, 0x15
jne 0x469161
push 0x100
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x38c]
push eax
push 0x17
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x4691af
push dword [ebp - 0x392]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [ebp - 0x204]
push eax
push str.__s_:_d
jmp 0x46919b
push 0x100
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x390]
push eax
push 2
call sub.WS2_32.dll_inet_ntop
test eax, eax
je 0x4691af
push dword [ebp - 0x392]
call dword [sym.imp.WS2_32.dll_ntohs]
movzx eax, ax
push eax
lea eax, [ebp - 0x204]
push eax
push str._s:_d
lea eax, [ebp - 0x104]
push 0x100
push eax
call fcn.00401490
add esp, 0x14
lea eax, [ebp - 0x314]
push eax
call fcn.00465180
lea eax, [ebp - 0x104]
push eax
push dword [0x627c00]
lea eax, [ebp - 0x304]
push 0x100
push eax
call fcn.00401490
lea eax, [ebp - 0x304]
push eax
lea eax, [ebp - 0x314]
push eax
call fcn.00464ef0
push dword [ebp - 0x310]
lea eax, [ebp - 0x398]
push dword [ebp - 0x314]
push 0x561d64
push eax
push esi
call fcn.00466270
mov edi, eax
lea eax, [ebp - 0x314]
push eax
call fcn.00465120
add esp, 0x34
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054f742
mov esp, ebp
pop ebp
ret
mov edi, 0x1f4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054f742
mov esp, ebp
pop ebp
ret
call fcn.00550291
nop
pop edi
pop dword [esi]
dec edi
pop dword [esi]
push edi
pop dword [esi]
xchg edx, eax
inc esi
add byte [eax], al
add byte [eax], al
add dword [edx], eax
add al, byte [edx]
add eax, dword [ebx]
add dword [eax], eax
int3