Function at 0x1400c9440
Capabilities:
Convert ip address from string

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x60
xor r11d, r11d
mov rbx, qword [rsp + 0xc0]
mov ebp, dword [rsp + 0xc8]
mov r13, rdx
mov rsi, rcx
mov edx, 0x40
mov qword [rsp + 0x40], r11
mov rcx, r13
mov qword [rsp + 0x48], r11
mov r12, r8
mov r14d, r9d
mov qword [rsp + 0x50], r11
call sub.msvcrt.dll_memchr
mov rdi, rax
test rax, rax
je 0x1400c9545
mov rcx, qword [rsi]
inc rdi
test rcx, rcx
jne 0x1400c94a3
xor eax, eax
jmp 0x1400c94bb
call fcn.14007d600
test rax, rax
je 0x1400c949f
test byte [rax + 0x95], 4
je 0x1400c949f
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
sub rdi, r13
lea r9, [rsp + 0x48]
mov rcx, r13
lea rdx, [rdi - 1]
lea r8, [rsp + 0x40]
call fcn.140087840
test eax, eax
jne 0x1400c9549
cmp qword [rsp + 0x40], 0
je 0x1400c9504
mov rax, qword [0x140135e70]
and r14d, 0x20
mov rax, qword [rax]
jne 0x1400c9550
mov rcx, qword [rsi + 8]
call rax
mov rax, qword [rsp + 0x40]
mov qword [rsi + 8], rax
cmp qword [rsp + 0x48], 0
je 0x1400c9522
mov rax, qword [0x140135e70]
mov rcx, qword [rsi + 0x10]
call qword [rax]
mov rax, qword [rsp + 0x48]
mov qword [rsi + 0x10], rax
cmp qword [rsp + 0x50], 0
je 0x1400c9540
mov rax, qword [0x140135e70]
mov rcx, qword [rsi + 0x18]
call qword [rax]
mov rax, qword [rsp + 0x50]
mov qword [rsi + 0x18], rax
mov rax, rdi
jmp 0x1400c9592
xor eax, eax
jmp 0x1400c9555
mov eax, 0x17
jmp 0x1400c9555
mov eax, 8
mov rdi, qword [0x140135e70]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x30], eax
call qword [rdi]
mov rcx, qword [rsp + 0x48]
call qword [rdi]
mov rcx, qword [rsp + 0x50]
call qword [rdi]
mov eax, dword [rsp + 0x30]
xor r10d, r10d
mov qword [rsi + 8], r10
mov qword [rsi + 0x10], r10
mov qword [rsi + 0x18], r10
test eax, eax
jne 0x1400c99bb
xor eax, eax
mov r8, r12
lea rdx, [r13 + rax]
mov rcx, rbx
sub r8, rax
call fcn.14007bba0
mov edx, eax
test eax, eax
je 0x1400c95c3
mov eax, 0x1f
cmp edx, 0x64
je 0x1400c99bb
mov eax, 7
jmp 0x1400c99bb
mov rcx, rbx
call fcn.14007bc10
cmp byte [rax], 0x5b
mov r12, rax
jne 0x1400c9602
mov edx, 0x5d
mov rcx, rax
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400c9857
mov dl, byte [rax + 1]
test dl, dl
je 0x1400c96bb
lea rdi, [rax + 1]
cmp dl, 0x3a
je 0x1400c961b
jmp 0x1400c96b1
mov edx, 0x3a
mov rcx, rax
call sub.msvcrt.dll_strchr
mov rdi, rax
test rax, rax
je 0x1400c96bb
mov rdx, rdi
xor r9d, r9d
mov rcx, rbx
sub rdx, r12
mov qword [rsp + 0x50], r9
call fcn.14007bc40
mov al, byte [rdi + 1]
test al, al
jne 0x1400c963f
test bpl, bpl
jne 0x1400c96bb
jmp 0x1400c96b1
sub eax, 0x30
cmp al, 9
ja 0x1400c96b1
mov rbp, qword [sym.imp.msvcrt.dll__errno]
call rbp
xor r8d, r8d
lea rcx, [rdi + 1]
lea rdx, [rsp + 0x50]
mov dword [rax], r8d
mov r8d, 0xa
call sub.msvcrt.dll_strtoul
mov edi, eax
call rbp
cmp dword [rax], 0
jne 0x1400c96b1
cmp edi, 0xffff
ja 0x1400c96b1
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x1400c96b1
mov rax, qword [0x140135e70]
mov rcx, qword [rsi + 0x30]
mov word [rsi + 0x50], di
call qword [rax]
mov edx, edi
lea rcx, [0x14012d925]
call fcn.1400b4f30
mov qword [rsi + 0x30], rax
test rax, rax
jne 0x1400c96bb
jmp 0x1400c95b9
mov eax, 4
jmp 0x1400c99bb
mov rcx, rbx
call fcn.14007bc00
test rax, rax
je 0x1400c9861
mov rcx, rbx
call fcn.14007bc10
xor ecx, ecx
mov qword [rsp + 0x50], rcx
mov rdi, rax
mov qword [rsp + 0x58], rcx
cmp byte [rax], 0x5b
je 0x1400c974f
mov r12, qword [sym.imp.msvcrt.dll__errno]
xor ebp, ebp
lea r13, [rsp + 0x48]
call r12
xor edx, edx
mov dword [rax], edx
xor eax, eax
mov qword [rsp + 0x48], rax
mov al, byte [rdi]
sub eax, 0x30
cmp al, 9
ja 0x1400c9799
xor r8d, r8d
mov rcx, rdi
mov rdx, r13
call sub.msvcrt.dll_strtoul
mov edi, eax
call r12
cmp dword [rax], 0
jne 0x1400c9799
movsxd rax, ebp
mov dword [rsp + rax*4 + 0x50], edi
mov rdi, qword [rsp + 0x48]
mov al, byte [rdi]
test al, al
je 0x1400c986b
cmp al, 0x2e
jne 0x1400c9799
cmp ebp, 3
je 0x1400c9799
inc ebp
inc rdi
jmp 0x1400c96fd
mov rcx, rbx
call fcn.14007bc00
mov rcx, rbx
mov qword [rsp + 0x30], rax
call fcn.14007bc10
mov r8, qword [rsp + 0x30]
mov rcx, rsi
mov rdx, rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp 0x1400c37b0
mov r8d, dword [rsp + 0x50]
cmp r8d, 0xff
mov dword [rsp + 0x30], r8d
jbe 0x1400c98b1
mov rcx, rbx
call fcn.14007bc10
mov edx, 0x25
mov rcx, rax
mov rdi, rax
call sub.msvcrt.dll_strchr
test rax, rax
je 0x1400c9824
xor edx, edx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rdi
mov dword [rsp + 0x20], 3
call fcn.14008e850
mov edx, eax
mov eax, 0x15
test edx, edx
jne 0x1400c99bb
mov rcx, rbx
call fcn.14007bc20
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14007bba0
mov rcx, qword [rsp + 0x50]
mov edi, eax
mov rax, qword [0x140135e70]
call qword [rax]
test edi, edi
je 0x1400c9824
cmp edi, 0x64
mov eax, 7
mov edx, 0x1f
cmove eax, edx
jmp 0x1400c99bb
mov rcx, rbx
call fcn.14007bc00
mov rcx, rbx
mov qword [rsp + 0x30], rax
call fcn.14007bc10
mov r8, qword [rsp + 0x30]
mov rcx, rsi
mov rdx, rax
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
jmp fcn.1400be5c0
mov eax, 0x16
jmp 0x1400c99bb
mov eax, 0xe
jmp 0x1400c99bb
cmp ebp, 2
je 0x1400c98ea
cmp ebp, 3
je 0x1400c993d
test ebp, ebp
jne 0x1400c9782
mov rcx, rbx
call fcn.14007bc20
mov eax, dword [rsp + 0x50]
movzx edx, al
mov r9d, eax
mov dword [rsp + 0x28], edx
shr r9d, 0x10
movzx edx, ah
shr eax, 0x18
mov dword [rsp + 0x20], edx
movzx r9d, r9b
mov r8d, eax
jmp 0x1400c99a5
mov edi, dword [rsp + 0x54]
cmp edi, 0xffffff
ja 0x1400c9799
mov rcx, rbx
call fcn.14007bc20
movzx eax, dil
mov r8d, dword [rsp + 0x30]
mov dword [rsp + 0x28], eax
mov eax, edi
shr edi, 0x10
movzx eax, ah
mov r9d, edi
mov dword [rsp + 0x20], eax
jmp 0x1400c99a5
mov r8d, dword [rsp + 0x50]
cmp r8d, 0xff
mov dword [rsp + 0x3c], r8d
ja 0x1400c9799
mov r9d, dword [rsp + 0x54]
cmp r9d, 0xff
mov dword [rsp + 0x30], r9d
ja 0x1400c9799
mov edi, dword [rsp + 0x58]
cmp edi, 0xffff
ja 0x1400c9799
mov rcx, rbx
call fcn.14007bc20
movzx eax, dil
shr edi, 8
mov dword [rsp + 0x28], eax
jmp 0x1400c9997
mov r8d, dword [rsp + 0x50]
cmp r8d, 0xff
mov dword [rsp + 0x3c], r8d
ja 0x1400c9799
mov r9d, dword [rsp + 0x54]
cmp r9d, 0xff
mov dword [rsp + 0x30], r9d
ja 0x1400c9799
mov edi, dword [rsp + 0x58]
cmp edi, 0xff
ja 0x1400c9799
mov ebp, dword [rsp + 0x5c]
cmp ebp, 0xff
ja 0x1400c9799
mov rcx, rbx
call fcn.14007bc20
mov dword [rsp + 0x28], ebp
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x3c]
mov dword [rsp + 0x20], edi
lea rdx, str._u._u._u._u
mov rcx, rbx
call fcn.14007bb70
test eax, eax
jmp 0x1400c95b3
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret