Function at 0x1401dcd65
Capabilities:
Convert ip address from string

Disassembly:
jmp 0x1405312a0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
lea rdi, [rsp + 0x20]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x210]
mov rax, qword [0x140818ac0]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
cmp qword [rsp + 0x210], 0
je 0x140531301
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x210]
movsx eax, byte [rcx + rax]
test eax, eax
jne 0x140531308
xor al, al
jmp 0x140531955
cmp qword [rsp + 0x218], 0
je 0x140531953
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x218]
movsx eax, byte [rcx + rax]
test eax, eax
je 0x140531953
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0xb8], rax
mov dword [rsp + 0xc8], 0
mov rdx, qword [rsp + 0x218]
lea rcx, [0x14080e74c]
call fcn.1401e04c4
test eax, eax
jne 0x14053136e
mov al, 1
jmp 0x140531955
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x210]
movsx eax, byte [rcx + rax]
cmp eax, 0x5b
jne 0x140531466
mov edx, 0x5d
mov rcx, qword [rsp + 0x210]
call fcn.1401d67cb
mov qword [rsp + 0xd0], rax
cmp qword [rsp + 0xd0], 0
jne 0x1405313b8
xor al, al
jmp 0x140531955
mov rax, qword [rsp + 0x210]
inc rax
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0xd0]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0x80
jb 0x1405313fe
xor al, al
jmp 0x140531955
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x210]
lea rcx, [rsp + 0x30]
call fcn.1401da7a9
nop
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1d0], rax
cmp qword [rsp + 0x1d0], 0x80
jae 0x140531439
jmp 0x14053143f
call fcn.1401dcb8f
nop
mov rax, qword [rsp + 0x1d0]
mov byte [rsp + rax + 0x30], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x210], rax
mov dword [rsp + 0xc8], 2
jmp 0x1405314da
mov rcx, qword [rsp + 0x210]
call fcn.1401da209
mov qword [rsp + 0xc0], rax
lea r8, [rsp + 0xe4]
mov rdx, qword [rsp + 0x210]
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1405314a8
mov dword [rsp + 0xc8], 1
jmp 0x1405314da
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0x2e
jne 0x1405314da
mov rax, qword [rsp + 0xc0]
dec rax
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
test eax, eax
je 0x140531953
mov qword [rsp + 0x100], 0
mov byte [rsp + 0x108], 0
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
test eax, eax
je 0x140531545
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x140531530
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 9
jne 0x140531545
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
jmp 0x140531501
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
test eax, eax
je 0x1405315bc
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x1405315bc
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 9
je 0x1405315bc
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x2c
je 0x1405315bc
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x100]
inc rax
mov qword [rsp + 0x100], rax
jmp 0x140531555
cmp qword [rsp + 0x100], 0
je 0x1405318e2
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x1e0], eax
cmp dword [rsp + 0x1e0], 0
je 0x140531604
cmp dword [rsp + 0x1e0], 1
je 0x1405317a2
cmp dword [rsp + 0x1e0], 2
je 0x1405317a2
jmp 0x1405318d2
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xf8]
add rcx, rax
mov rax, rcx
movsx eax, byte [rax - 1]
cmp eax, 0x2e
jne 0x140531636
mov rax, qword [rsp + 0x100]
dec rax
mov qword [rsp + 0x100], rax
cmp qword [rsp + 0x100], 0
je 0x140531677
mov rax, qword [rsp + 0xf8]
movsx eax, byte [rax]
cmp eax, 0x2e
jne 0x140531677
mov rax, qword [rsp + 0xf8]
inc rax
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0x100]
dec rax
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x100], rax
jne 0x1405316d6
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0x210]
mov rcx, qword [rsp + 0xf8]
call fcn.1401dcee6
test eax, eax
jne 0x1405316b7
mov dword [rsp + 0x1e4], 0
jmp 0x1405316c2
mov dword [rsp + 0x1e4], 1
movzx eax, byte [rsp + 0x1e4]
mov byte [rsp + 0x108], al
jmp 0x14053179d
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x100], rax
jae 0x14053179d
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x210]
movsx eax, byte [rcx + rax - 1]
cmp eax, 0x2e
jne 0x140531761
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x210]
add rcx, rax
mov rax, rcx
mov r8, qword [rsp + 0x100]
mov rdx, rax
mov rcx, qword [rsp + 0xf8]
call fcn.1401dcee6
test eax, eax
je 0x140531761
mov dword [rsp + 0x1e8], 1
jmp 0x14053176c
mov dword [rsp + 0x1e8], 0
cmp dword [rsp + 0x1e8], 0
jne 0x140531783
mov dword [rsp + 0x1ec], 0
jmp 0x14053178e
mov dword [rsp + 0x1ec], 1
movzx eax, byte [rsp + 0x1ec]
mov byte [rsp + 0x108], al
jmp 0x1405318d2
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0x110], rax
mov dword [rsp + 0x120], 0
cmp qword [rsp + 0x100], 0x80
jb 0x1405317d0
jmp 0x1405318d2
mov r8, qword [rsp + 0x100]
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0x140]
call fcn.1401da7a9
nop
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x1d8], rax
cmp qword [rsp + 0x1d8], 0x80
jae 0x14053180e
jmp 0x140531814
call fcn.1401dcb8f
nop
mov rax, qword [rsp + 0x1d8]
mov byte [rsp + rax + 0x140], 0
lea rax, [rsp + 0x140]
mov qword [rsp + 0x110], rax
mov edx, 0x2f
mov rcx, qword [rsp + 0x110]
call fcn.1401d67cb
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x14053187e
mov rax, qword [rsp + 0x118]
inc rax
mov rcx, rax
call fcn.1401d7789
mov dword [rsp + 0x120], eax
mov rax, qword [rsp + 0x118]
mov byte [rax], 0
cmp dword [rsp + 0xc8], 2
jne 0x1405318ae
mov r8d, dword [rsp + 0x120]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x210]
call fcn.140531af0
mov byte [rsp + 0x108], al
jmp 0x1405318d2
mov r8d, dword [rsp + 0x120]
mov rdx, qword [rsp + 0x110]
mov rcx, qword [rsp + 0x210]
call fcn.140531990
mov byte [rsp + 0x108], al
movzx eax, byte [rsp + 0x108]
test eax, eax
je 0x1405318e2
mov al, 1
jmp 0x140531955
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x20
je 0x140531902
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 9
jne 0x140531917
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
jmp 0x1405318e2
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x2c
je 0x140531929
jmp 0x140531953
mov rax, qword [rsp + 0xb8]
movsx eax, byte [rax]
cmp eax, 0x2c
jne 0x14053194e
mov rax, qword [rsp + 0xb8]
inc rax
mov qword [rsp + 0xb8], rax
jmp 0x140531929
jmp 0x1405314da
xor al, al
mov rdi, rax
mov rcx, rsp
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.1401ddb7f
mov rax, rdi
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.1401da763
add rsp, 0x200
pop rdi
ret