Function at 0x140028a50
Capabilities:
Convert ip address from string

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov eax, dword [rsp + 0xd8]
mov r13, qword [rsp + 0xd0]
mov rsi, rdx
mov rbx, rcx
mov edx, 0x40
mov dword [rsp + 0x3c], eax
mov rcx, rsi
mov rdi, r8
mov ebp, r9d
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], 0
call sym.memchr
test rax, rax
je 0x140028db8
mov rcx, qword [rbx]
lea r12, [rax + 1]
test rcx, rcx
je 0x140028ad3
call sym.Curl_get_scheme_handler
test rax, rax
je 0x140028ad3
test byte [rax + 0x95], 4
jne 0x140028d58
xor eax, eax
mov qword [rsp + 0x20], rax
mov r14, r12
lea r9, [rsp + 0x48]
mov rcx, rsi
sub r14, rsi
lea r8, [rsp + 0x40]
lea rdx, [r14 - 1]
call sym.Curl_parse_login_details
test eax, eax
mov rax, qword [rsp + 0x40]
jne 0x140028b90
test rax, rax
je 0x140028b2a
mov r15, qword [0x140129da0]
and ebp, 0x20
mov rdx, qword [r15]
jne 0x140028dd0
mov rcx, qword [rbx + 8]
call rdx
mov rax, qword [rsp + 0x40]
mov qword [rbx + 8], rax
cmp qword [rsp + 0x48], 0
je 0x140028b48
mov rax, qword [0x140129da0]
mov rcx, qword [rbx + 0x10]
call qword [rax]
mov rax, qword [rsp + 0x48]
mov qword [rbx + 0x10], rax
cmp qword [rsp + 0x50], 0
je 0x140028b66
mov rax, qword [0x140129da0]
mov rcx, qword [rbx + 0x18]
call qword [rax]
mov rax, qword [rsp + 0x50]
mov qword [rbx + 0x18], rax
sub rdi, r14
mov r8, rdi
mov rdx, r12
mov rcx, r13
call sym.Curl_dyn_addn
mov ebp, eax
test eax, eax
je 0x140028be0
cmp eax, 0x64
je 0x140028d68
mov ebp, 7
jmp 0x140028bca
mov r15, qword [0x140129da0]
mov ebp, 0x17
mov rcx, rax
call qword [r15]
mov rcx, qword [rsp + 0x48]
call qword [r15]
mov rcx, qword [rsp + 0x50]
call qword [r15]
pxor xmm0, xmm0
mov qword [rbx + 0x18], 0
movups xmmword [rbx + 8], xmm0
test ebp, ebp
je 0x140028de0
mov eax, ebp
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r13
call sym.Curl_dyn_ptr
cmp byte [rax], 0x5b
mov rdi, rax
je 0x140028d78
mov edx, 0x3a
mov rcx, rax
call sym.strchr
mov rsi, rax
test rax, rax
jne 0x140028df0
mov rcx, r13
call sym.Curl_dyn_len
test rax, rax
je 0x140028f40
mov rcx, r13
call sym.Curl_dyn_ptr
pxor xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
cmp byte [rax], 0x5b
mov rsi, rax
je 0x140028f60
mov rdi, qword [sym.imp.msvcrt.dll__errno]
xor r14d, r14d
lea r12, [rsp + 0x48]
call rdi
mov dword [rax], 0
mov qword [rsp + 0x48], 0
movzx eax, byte [rsi]
sub eax, 0x30
cmp al, 9
ja 0x140028c9a
mov rcx, rsi
xor r8d, r8d
mov rdx, r12
call sym.strtoul
mov esi, eax
call rdi
mov eax, dword [rax]
test eax, eax
jne 0x140028c9a
mov dword [rsp + r14*4 + 0x50], esi
mov rsi, qword [rsp + 0x48]
movzx eax, byte [rsi]
test al, al
je 0x140028ec0
cmp al, 0x2e
je 0x140028ea0
mov rcx, r13
call sym.Curl_dyn_ptr
mov edx, 0x25
mov rcx, rax
mov rsi, rax
call sym.strchr
test rax, rax
je 0x140028d0d
xor edx, edx
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x50]
mov rcx, rsi
mov dword [rsp + 0x20], 3
call sym.Curl_urldecode
test eax, eax
jne 0x140028f9b
mov rcx, r13
call sym.Curl_dyn_reset
mov r8, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call sym.Curl_dyn_addn
mov rcx, qword [rsp + 0x50]
mov esi, eax
mov rax, qword [0x140129da0]
call qword [rax]
test esi, esi
jne 0x140028fa5
mov rcx, r13
call sym.Curl_dyn_len
mov rcx, r13
mov rsi, rax
call sym.Curl_dyn_ptr
mov rcx, rax
test rsi, rsi
je 0x140028f40
cmp byte [rax], 0x5b
je 0x1400290cc
lea rdx, str.__r_n_t_:_______________
call sym.strcspn
cmp rsi, rax
mov eax, 0x15
cmovne ebp, eax
jmp 0x140028bca
lea rax, [rsp + 0x50]
jmp 0x140028ad5
mov ebp, 0x1f
jmp 0x140028bca
mov edx, 0x5d
mov rcx, rax
call sym.strchr
test rax, rax
je 0x140028f91
movzx edx, byte [rax + 1]
test dl, dl
je 0x140028c0d
lea rsi, [rax + 1]
cmp dl, 0x3a
je 0x140028df0
nop dword [rax + rax]
mov ebp, 4
jmp 0x140028bca
mov r15, qword [0x140129da0]
xor ebp, ebp
jmp 0x140028b9c
mov ebp, 8
jmp 0x140028b9c
mov r12, rsi
jmp 0x140028b69
mov qword [rsp + 0x50], 0
mov rdx, rsi
mov rcx, r13
sub rdx, rdi
call sym.Curl_dyn_setlen
movzx eax, byte [rsi + 1]
test al, al
je 0x140028f50
sub eax, 0x30
cmp al, 9
ja 0x140028da8
mov rdi, qword [sym.imp.msvcrt.dll__errno]
call rdi
lea rdx, [rsp + 0x50]
lea rcx, [rsi + 1]
mov r8d, 0xa
mov dword [rax], 0
call sym.strtoul
mov esi, eax
call rdi
mov edx, dword [rax]
test edx, edx
jne 0x140028da8
cmp esi, 0xffff
ja 0x140028da8
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x140028da8
mov rax, qword [0x140129da0]
mov rcx, qword [rbx + 0x30]
mov word [rbx + 0x50], si
call qword [rax]
mov edx, esi
lea rcx, [0x140103be2]
call sym.curl_maprintf
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x140028c0d
jmp 0x140028b86
add r14, 1
cmp r14, 4
je 0x140028c9a
add rsi, 1
jmp 0x140028c52
cmp r14d, 2
je 0x14002902a
cmp r14d, 3
je 0x140028fba
test r14d, r14d
je 0x14002908d
mov edi, dword [rsp + 0x50]
cmp edi, 0xff
ja 0x140028c9a
mov esi, dword [rsp + 0x54]
cmp esi, 0xffffff
ja 0x140028c9a
mov rcx, r13
call sym.Curl_dyn_reset
movzx eax, sil
mov r8d, edi
mov rcx, r13
mov dword [rsp + 0x28], eax
mov eax, esi
shr esi, 0x10
lea rdx, [0x140103be6]
movzx eax, ah
mov r9d, esi
mov dword [rsp + 0x20], eax
call sym.Curl_dyn_addf
test eax, eax
je 0x140028bca
jmp 0x140028b86
mov ebp, 0xe
jmp 0x140028bca
cmp byte [rsp + 0x3c], 0
jne 0x140028c0d
jmp 0x140028da8
mov rcx, r13
call sym.Curl_dyn_len
mov rcx, r13
mov rsi, rax
call sym.Curl_dyn_ptr
mov r8, rsi
mov rdx, rax
mov rcx, rbx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.ipv6_parse
mov ebp, 0x16
jmp 0x140028bca
mov ebp, 0x15
jmp 0x140028bca
cmp esi, 0x64
mov ebp, 7
mov eax, 0x1f
cmove ebp, eax
jmp 0x140028bca
mov esi, dword [rsp + 0x50]
cmp esi, 0xff
ja 0x140028c9a
mov edi, dword [rsp + 0x54]
cmp edi, 0xff
ja 0x140028c9a
mov r12d, dword [rsp + 0x58]
cmp r12d, 0xff
ja 0x140028c9a
mov r14d, dword [rsp + 0x5c]
cmp r14d, 0xff
ja 0x140028c9a
mov rcx, r13
call sym.Curl_dyn_reset
mov dword [rsp + 0x28], r14d
mov r9d, edi
mov r8d, esi
mov dword [rsp + 0x20], r12d
lea rdx, [0x140103be6]
mov rcx, r13
call sym.Curl_dyn_addf
jmp 0x140028f2e
mov edi, dword [rsp + 0x50]
cmp edi, 0xff
ja 0x140028c9a
mov r12d, dword [rsp + 0x54]
cmp r12d, 0xff
ja 0x140028c9a
mov esi, dword [rsp + 0x58]
cmp esi, 0xffff
ja 0x140028c9a
mov rcx, r13
call sym.Curl_dyn_reset
movzx eax, sil
shr esi, 8
mov r9d, r12d
mov dword [rsp + 0x28], eax
mov r8d, edi
mov rcx, r13
lea rdx, [0x140103be6]
mov dword [rsp + 0x20], esi
call sym.Curl_dyn_addf
jmp 0x140028f2e
mov rcx, r13
call sym.Curl_dyn_reset
mov eax, dword [rsp + 0x50]
mov rcx, r13
movzx edx, al
mov r9d, eax
mov dword [rsp + 0x28], edx
movzx edx, ah
shr r9d, 0x10
mov dword [rsp + 0x20], edx
shr eax, 0x18
movzx r9d, r9b
lea rdx, [0x140103be6]
mov r8d, eax
call sym.Curl_dyn_addf
jmp 0x140028f2e
mov r8, rsi
mov rdx, rax
jmp 0x140028f79