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

Disassembly:
mov bh, 0x48
add eax, 0xc0330000
add esp, 0xc
mov dword [ebp - 0x620], eax
mov dword [ebp - 0x624], eax
mov dword [ebp - 0x61c], eax
mov dword [ebp - 0x60c], eax
mov byte [ebp - 0x5fd], 1
mov dword [ebp - 0x604], eax
test esi, esi
je 0x10057b69
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057910
sub ecx, edx
cmp ecx, 1
jbe 0x10057b69
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057927
sub ecx, edx
cmp ecx, 0x41
jae 0x1005793c
mov ecx, 0x41
jmp 0x1005794a
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057941
sub ecx, edx
lea eax, [ecx + 1]
push 1
push eax
call dword [0x100bd010]
add esp, 8
mov dword [ebp - 0x604], eax
test eax, eax
jne 0x10057979
pop edi
pop esi
mov eax, 0x1b
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call 0x100c9d44
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 0x5b
jne 0x100579a1
push 0x5d
push esi
call 0x100cd537
add esp, 8
mov dword [ebp - 0x60c], eax
test eax, eax
je 0x10057a84
lea ecx, [esi + 1]
sub eax, ecx
push eax
push ecx
jmp 0x100579fc
cmp al, 0x3a
je 0x10057a10
push 0x3a
push esi
call 0x100cd55d
add esp, 8
mov dword [ebp - 0x60c], eax
test eax, eax
je 0x10057a6f
lea eax, [ebp - 0x5fc]
push eax
push esi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x100579f2
mov ecx, dword [ebp - 0x604]
sub ecx, esi
nop dword [eax + eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x100579e0
jmp 0x100ae876
mov eax, dword [ebp - 0x60c]
sub eax, esi
push eax
push esi
push dword [ebp - 0x604]
call 0x100dd187
mov esi, dword [ebp - 0x60c]
add esp, 0xc
push 0x3a
push esi
call 0x100cd5c8
add esp, 8
mov dword [ebp - 0x614], eax
xor esi, esi
xor edx, edx
test eax, eax
je 0x10057a88
push 0xa
push edx
lea ecx, [eax + 1]
push ecx
call 0x100dd32d
push eax
call fcn.1008ce9b
push 0x2d
push dword [ebp - 0x614]
movzx esi, ax
call 0x100cd5fb
add esp, 0x18
test eax, eax
je 0x10057a6b
push 0xa
inc eax
push 0
push eax
call 0x100dd355
push eax
call fcn.1008cec3
add esp, 0x10
movzx edx, ax
jmp 0x10057a88
mov edx, esi
jmp 0x10057a88
mov ecx, dword [ebp - 0x604]
sub ecx, esi
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x10057a77
xor esi, esi
xor edx, edx
xor ecx, ecx
movzx eax, dx
cmp si, dx
cmovbe ecx, eax
movzx eax, cx
xor ecx, ecx
mov dword [ebp - 0x60c], eax
cmp si, dx
movzx eax, si
cmovbe ecx, eax
mov eax, dword [ebp - 0x604]
movzx ecx, cx
mov dword [ebp - 0x614], ecx
cmp byte [eax], 0
je fcn.10057b51
push 0x401
lea ecx, [ebp - 0x57c]
push ecx
push eax
mov eax, dword [ebp - 0x608]
push dword [eax + 0x54]
mov eax, dword [eax + 0x48]
push dword [eax + 0x18]
call 0x100b7820
mov esi, dword [ebp - 0x608]
add esp, 4
add al, 0x50
mov eax, dword [esi + 0x48]
push dword [eax + 4]
call fcn.10066ce5
add esp, 0x18
sub eax, 0
je 0x10057b19
sub eax, 1
je 0x1005816a
push es
add byte [eax], al
sub eax, 1
jne 0x10057b27
lea ecx, [ebp - 0x57c]
mov dword [ebp - 0x620], ecx
jmp 0x10057b29
mov ecx, dword [ebp - 0x604]
mov dword [ebp - 0x620], ecx
jmp 0x10057b29
xor ecx, ecx
mov eax, dword [ebp - 0x614]
movzx edx, ax
invalid
test esp, esi
stc