Function at 0x14004af70
Capabilities:
Convert ip address from string
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
cmp byte [rcx + 0xa34], 0
mov rsi, qword [rcx + 0x20]
mov rbx, rcx
js 0x14004af91
cmp byte [rcx + 0x518], 0
je 0x14004afc8
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004afc8
lea rdx, [rsi + 0x660]
lea r8, str.MDTM__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
je 0x14004b240
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp byte [rbx + 0x1cd], 0
mov rax, qword [rbx + 0x1b8]
jns 0x14004b0b8
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b178
movsx edx, byte [rsi + 0x738]
test byte [rbx + 0x1265], 0x10
jne 0x14004b160
cmp edx, 0x49
je 0x14004b1a0
mov r9d, 0x49
mov edi, 0x49
mov dword [rax + 0x10], 1
lea rdx, [rsi + 0x660]
lea r8, str.TYPE__c
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004afbb
mov rbp, qword [rbx + 0x20]
movzx eax, byte [rbp + 0x76e]
cmp al, 0x13
je 0x14004b098
test byte [rbx + 0xa37], 0x10
je 0x14004b098
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b062
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004b098
mov rdx, qword [0x14011e920]
mov r10d, dword [rdx + 8]
test r10d, r10d
jle 0x14004b098
lea rdx, str.STOP
lea r9, str.TYPE
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
nop dword [rax + rax]
mov byte [rbp + 0x76e], 0x13
xor eax, eax
mov byte [rsi + 0x738], dil
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
mov eax, dword [rax + 0x10]
cmp eax, 1
jne 0x14004b180
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b188
lea rdx, [rsi + 0x660]
lea r8, str.SIZE__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004afbb
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x17
je 0x14004b150
test byte [rbx + 0xa37], 0x10
je 0x14004b150
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b11f
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004b150
mov rdx, qword [0x14011e920]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004b150
lea rdx, str.STOP
lea r9, str.SIZE
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x76e], 0x17
xor eax, eax
jmp 0x14004b0a8
cmp edx, 0x41
je 0x14004b1a0
mov r9d, 0x41
mov edi, 0x41
jmp 0x14004b014
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x14004b188
test eax, eax
jne 0x14004b2b0
mov rcx, rbx
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp sym.ftp_state_prepare_transfer
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x14004b0d4
test eax, eax
je 0x14004b188
xor r9d, r9d
lea rdx, [rsi + 0x660]
lea r8, str.REST__d
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004afbb
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1a
je 0x14004b230
test byte [rbx + 0xa37], 0x10
je 0x14004b230
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b1fc
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004b230
mov rdx, qword [0x14011e920]
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004b230
lea rdx, str.STOP
lea r9, str.REST
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
nop dword [rax + rax]
mov byte [rsi + 0x76e], 0x1a
xor eax, eax
jmp 0x14004b0a8
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x12
je 0x14004b2a0
test byte [rbx + 0xa37], 0x10
je 0x14004b2a0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b26b
mov ebp, dword [rdx + 8]
test ebp, ebp
jle 0x14004b2a0
mov rdx, qword [0x14011e920]
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004b2a0
lea rdx, str.STOP
lea r9, str.MDTM
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
nop word [rax + rax]
mov byte [rsi + 0x76e], 0x12
xor eax, eax
jmp 0x14004b0a8
cmp qword [rsi + 0x718], 0
jne 0x14004b1b0
jmp 0x14004b188