Function at 0x10018710
Capabilities:
Convert ip address from string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6169
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x1010f16c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xbc], edi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0xd0], edi
call fcn.1007aba2
add esp, 4
mov dword [ebp - 4], 0
add edi, 4
push esi
mov ecx, edi
mov dword [ebp - 0xb0], edi
call fcn.100070c0
mov esi, dword [ebp - 0xbc]
mov eax, dword [esi + 0xcc]
lea edx, [esi + 0xc8]
mov dword [ebp - 0xa0], edx
mov ecx, dword [eax]
mov dword [eax], eax
mov eax, dword [edx + 4]
mov dword [eax + 4], eax
mov dword [edx + 8], 0
cmp ecx, dword [edx + 4]
je 0x100187c6
mov edi, edx
nop
mov esi, dword [ecx]
push 0x18
push ecx
call fcn.1009091b
add esp, 8
mov ecx, esi
cmp esi, dword [edi + 4]
jne 0x100187a0
mov edi, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xbc]
push 8
mov ecx, edx
call fcn.10019f20
mov eax, 2
mov word [esi + 0x7c], ax
cmp dword [edi + 0x14], 0x10
jb 0x100187e0
mov edi, dword [edi]
lea eax, [esi + 0x80]
push eax
push edi
push 2
call dword [sym.imp.WS2_32.dll_inet_pton]
movzx eax, word [esi + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x7e], ax
mov edi, dword [esi + 0x30]
mov dword [ebp - 0xc0], edi
mov eax, dword [edi]
mov dword [ebp - 0xb0], eax
cmp eax, edi
je 0x10018c30
nop dword [eax + eax]
lea esi, [eax + 0x10]
push esi
lea ecx, [ebp - 0x98]
call fcn.100180e0
mov byte [ebp - 4], 1
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x80]
call fcn.100180e0
mov byte [ebp - 4], 3
lea edx, [ebp - 0x98]
cmp dword [ebp - 0x84], 0x10
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
cmovae edx, dword [ebp - 0x98]
mov ecx, edx
mov dword [ebp - 0x3c], 0
movlpd qword [ebp - 0xa8], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10018887
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x50]
call fcn.100057f0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
cmp dword [ebp - 0x3c], 0x10
lea eax, [ebp - 0x50]
push ecx
cmovae eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push ecx
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x24]
push ecx
push str._u._u._u._u:_u
push eax
movups xmmword [ebp - 0x24], xmm0
call fcn.1001abb0
add esp, 0x1c
cmp eax, 5
jne 0x1001890c
mov esi, dword [ebp - 0x24]
movzx eax, word [ebp - 0x14]
shl esi, 8
or esi, dword [ebp - 0x20]
shl esi, 8
or esi, dword [ebp - 0x1c]
shl esi, 8
or esi, dword [ebp - 0x18]
mov dword [ebp - 0xb4], esi
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0x99], 1
jmp 0x10018919
mov esi, dword [ebp - 0xb4]
mov byte [ebp - 0x99], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x10018951
mov ecx, dword [ebp - 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c69
push edx
push ecx
call fcn.1009091b
add esp, 8
cmp byte [ebp - 0x99], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
je 0x10018c02
push esi
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 0xb8]
xor ecx, ecx
shld ecx, eax, 0x10
shl eax, 0x10
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
call dword [sym.imp.WS2_32.dll_htons]
movzx eax, ax
cdq
add dword [ebp - 0xa8], eax
mov dword [ebp - 0x58], 0
adc dword [ebp - 0xa4], edx
lea edx, [ebp - 0x80]
cmp dword [ebp - 0x6c], 0x10
mov dword [ebp - 0x54], 0
cmovae edx, dword [ebp - 0x80]
mov ecx, edx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100189d8
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x68]
call fcn.100057f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push ecx
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], 0
push ecx
lea ecx, [ebp - 0x34]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0x38]
push ecx
push str._u._u._u._u:_u
push eax
movups xmmword [ebp - 0x38], xmm0
call fcn.1001abb0
add esp, 0x1c
cmp eax, 5
jne 0x10018a5d
mov eax, dword [ebp - 0x38]
shl eax, 8
or eax, dword [ebp - 0x34]
shl eax, 8
or eax, dword [ebp - 0x30]
shl eax, 8
or eax, dword [ebp - 0x2c]
mov dword [ebp - 0xb4], eax
movzx eax, word [ebp - 0x28]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 0x99], 1
jmp 0x10018a64
mov byte [ebp - 0x99], 0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x54]
cmp edx, 0x10
jb 0x10018a9c
mov ecx, dword [ebp - 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10018a92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10018c69
push edx
push ecx
call fcn.1009091b
add esp, 8
cmp byte [ebp - 0x99], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
je 0x10018c02
lea eax, [ebp - 0xa8]
push eax
call fcn.1001a410
mov ecx, dword [ebp - 0xa0]
and eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0xac], eax
mov esi, edx
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc4], edx
mov ecx, dword [eax + 4]
cmp edx, ecx
jne 0x10018afc
mov eax, ecx
jmp 0x10018b1c
mov edx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0xac]
mov eax, dword [edx + 0xc]
mov edx, dword [ebp - 0xc4]
mov eax, dword [edi + eax]
mov edi, dword [ebp - 0xc0]
mov eax, dword [eax]
cmp esi, eax
je 0x10018b50
mov eax, dword [ebp - 0xa8]
cmp dword [esi + 8], eax
jne 0x10018b36
mov eax, dword [ebp - 0xa4]
cmp dword [esi + 0xc], eax
je 0x10018b3a
mov esi, dword [esi]
jmp 0x10018af4
cmp esi, ecx
je 0x10018b50
mov dword [ebp - 0xcc], esi
mov byte [ebp - 0xc8], 0
jmp 0x10018be3
mov esi, dword [ecx]
push 0x18
mov eax, dword [esi + 4]
mov dword [ebp - 0xac], eax
call fcn.10090929
mov edx, eax
add esp, 4
mov eax, dword [ebp - 0xac]
mov dword [edx], esi
mov dword [edx + 4], eax
xor eax, eax
mov ecx, dword [ebp - 0xa8]
mov dword [edx + 8], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [edx + 0xc], ecx
mov word [edx + 0x14], ax
mov eax, dword [ebp - 0xa0]
mov dword [edx + 0x10], 0
mov ecx, dword [eax + 8]
mov eax, 0xaaaaaa9
sub eax, ecx
cmp eax, 1
jb 0x10018c5f
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 4], edx
mov dword [eax], edx
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
lea ecx, [eax + 8]
push ecx
mov ecx, dword [ebp - 0xa0]
lea eax, [ebp - 0xcc]
push eax
call fcn.1001a9d0
mov esi, dword [ebp - 0xcc]
push dword [ebp - 0xb4]
call dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 0xb8]
mov dword [esi + 0x10], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x14], ax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x98]
call fcn.1000c260
lea ecx, [ebp - 0xb0]
call fcn.1000a3a0
mov eax, dword [ebp - 0xb0]
cmp eax, edi
jne 0x10018820
mov esi, dword [ebp - 0xbc]
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.1007abbe
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100908e7
mov esp, ebp
pop ebp
ret 4
push str.list_T__too_long
call fcn.100796fe
call fcn.100abcda
int3