Function at 0x14003d140
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140118728]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov r14, qword [rdx + 0x10]
mov rbx, rcx
mov rax, qword [rdx + 0x18]
lea rcx, str.Xu_f_
cmp qword [rdx], rcx
jne 0x14003d187
mov rdi, qword [rax + 0x128]
mov rsi, qword [rax + 0x130]
mov ebp, dword [rax + 0x138]
jmp 0x14003d19b
mov rdi, qword [rax + 0xa0]
mov rsi, qword [rax + 0xa8]
mov ebp, dword [rax + 0x728]
mov qword [rsp + 0x80], r15
test rdi, rdi
je 0x14003d36d
mov r9, qword [rbx]
test r9, r9
je 0x14003d1db
mov r8, r9
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14003d1d3
inc rax
test ecx, ecx
jne 0x14003d1c0
test edx, edx
je 0x14003d36d
mov rcx, qword [rbx + 8]
cmp rcx, r9
je 0x14003d1ea
call qword [str.d__t_]
mov rcx, qword [rbx + 0x10]
call qword [str.d__t_]
mov rcx, qword [rbx]
call qword [str.d__t_]
xor r15d, r15d
mov rcx, rdi
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov byte [rbx + 0x18], r15b
call qword [case.0x14003f8ff.1]
mov qword [rbx], rax
mov rcx, rax
test rax, rax
jne 0x14003d25e
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14003d232
call qword [str.d__t_]
mov rcx, qword [rbx + 0x10]
call qword [str.d__t_]
mov rcx, qword [rbx]
call qword [str.d__t_]
mov eax, 0x1b
mov qword [rbx + 8], r15
mov qword [rbx + 0x10], r15
mov qword [rbx], r15
mov byte [rbx + 0x18], r15b
jmp 0x14003d373
test rsi, rsi
je 0x14003d2a2
mov r8, rsi
sub r8, rdi
nop dword [rax]
movzx edx, byte [rdi]
movzx eax, byte [rdi + r8]
sub edx, eax
jne 0x14003d283
inc rdi
test eax, eax
jne 0x14003d270
test edx, edx
je 0x14003d2a2
mov rcx, rsi
call qword [case.0x14003f8ff.1]
mov qword [rbx + 8], rax
test rax, rax
jne 0x14003d2a6
cmp qword [rbx], r15
je 0x14003d232
xor ecx, ecx
jmp 0x14003d22c
mov qword [rbx + 8], rcx
mov rdi, qword [rbx]
mov qword [rbx + 0x10], r15
test rdi, rdi
je 0x14003d2e7
cmp byte [rdi], r15b
je 0x14003d2e7
lea r8, [rsp + 0x20]
mov rdx, rdi
mov ecx, 2
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
jne 0x14003d2e3
lea r8, [rsp + 0x20]
mov rdx, rdi
lea ecx, [rax + 0x17]
call qword [sym.imp.WS2_32.dll_inet_pton]
test eax, eax
je 0x14003d2e7
mov cl, 1
jmp 0x14003d2e9
xor cl, cl
mov rax, qword [rbx]
mov byte [rbx + 0x18], cl
cmp byte [rax], r15b
je 0x14003d36d
test cl, cl
jne 0x14003d36d
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], r15b
jne 0x14003d300
test rdi, rdi
je 0x14003d318
cmp byte [rax + rdi - 1], 0x2e
jne 0x14003d318
dec rdi
cmp rdi, 0xffff
jae 0x14003d36d
lea rdx, [rdi + 1]
mov ecx, 1
call qword [fcn.140095dac]
mov qword [rbx + 0x10], rax
test rax, rax
jne 0x14003d357
mov rcx, qword [rbx + 8]
mov rax, r15
cmp rcx, qword [rbx]
je 0x14003d34f
call qword [str.d__t_]
mov rax, qword [rbx + 0x10]
mov rcx, rax
jmp 0x14003d236
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, rax
call fcn.1400491e0
mov rax, qword [rbx + 0x10]
mov byte [rdi + rax], r15b
mov dword [r14 + 0x50], ebp
xor eax, eax
mov r15, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.14008f2c0
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret