Function at 0x1005ab20
Capabilities:
Convert ip address from string

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0ec4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
mov eax, dword [0x100ff230]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebx + 8]
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x58]
cmp eax, 2
je 0x1005ac56
cmp eax, 0x17
jne 0x1005ad77
movups xmm0, xmmword [0x100dbbc0]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x1c
push eax
push dword [esi + 0xc]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1005ad77
push dword [ebx + 0xc]
mov eax, 0x17
mov word [ebp - 0x30], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x28]
push eax
push edi
push 0x17
call dword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1005ad77
push 0x100db776
push 0x58
call fcn.10091cf8
mov edi, eax
add esp, 8
mov dword [ebp - 0x3c], edi
test edi, edi
je 0x1005ac35
sub esp, 0x28
mov ecx, esp
mov dword [ebp - 0x38], ecx
mov dword [ecx + 0x24], 0
mov byte [ebp - 4], 4
mov edx, dword [ebx + 0x34]
test edx, edx
je 0x1005ac20
mov eax, dword [edx]
push ecx
mov ecx, edx
mov eax, dword [eax]
call eax
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x24], eax
push 0
push 0
push 1
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.10059ed0
mov edi, eax
jmp 0x1005ac37
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x1005ad77
push edi
lea eax, [edi + 0x54]
push eax
push 0
push 0
push 0x1c
lea eax, [ebp - 0x30]
jmp 0x1005ad0f
mov eax, dword [0x100dbbbc]
xorps xmm0, xmm0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x24]
push 0x10
push eax
push dword [esi + 0xc]
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], 2
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1005ad77
mov eax, 2
push edi
mov word [ebp - 0x24], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebx + 0xc]
mov dword [ebp - 0x20], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0x100db776
push 0x58
mov word [ebp - 0x22], ax
call fcn.10091cf8
add esp, 8
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1005acf7
sub esp, 0x28
mov edi, esp
mov dword [ebp - 0x3c], edi
mov dword [edi + 0x24], 0
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x34]
test ecx, ecx
je 0x1005ace2
mov eax, dword [ecx]
push edi
mov eax, dword [eax]
call eax
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x38]
push 0
push 0
push 1
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.10059ed0
mov edi, eax
jmp 0x1005acf9
xor edi, edi
mov byte [ebp - 4], 0
test edi, edi
je 0x1005ad77
push edi
lea eax, [edi + 0x54]
push eax
push 0
push 0
push 0x10
lea eax, [ebp - 0x24]
push eax
mov dword [edi + 0x14], esi
push dword [esi + 0xc]
call dword [0x101073ac]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x1005adb7
cmp eax, 0x3e5
je 0x1005adb7
cmp byte [edi + 0x48], 0
je 0x1005ad4d
mov eax, dword [edi + 0x50]
test eax, eax
je 0x1005ad4d
push eax
call fcn.100919ab
add esp, 4
mov ecx, dword [edi + 0x44]
lea esi, [edi + 0x20]
test ecx, ecx
je 0x1005ad6c
mov edx, dword [ecx]
cmp ecx, esi
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [esi + 0x24], 0
push 0x58
push edi
call fcn.1009197a
add esp, 8
xor al, al
mov ecx, dword [ebx + 0x34]
mov byte [ebp - 0x31], al
test ecx, ecx
je 0x1005ad97
mov esi, dword [ecx]
lea eax, [ebx + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10091622
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x30
mov al, 1
jmp 0x1005ad79