Function at 0x14004b440
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 0x14004b461
cmp byte [rcx + 0x518], 0
je 0x14004b498
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b498
lea rdx, [rsi + 0x660]
lea r8, str.MDTM__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
je 0x14004b710
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp byte [rbx + 0x1cd], 0
mov rax, qword [rbx + 0x1b8]
jns 0x14004b588
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b648
movsx edx, byte [rsi + 0x738]
test byte [rbx + 0x1265], 0x10
jne 0x14004b630
cmp edx, 0x49
je 0x14004b670
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 0x14004b48b
mov rbp, qword [rbx + 0x20]
movzx eax, byte [rbp + 0x76e]
cmp al, 0x13
je 0x14004b568
test byte [rbx + 0xa37], 0x10
je 0x14004b568
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b532
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004b568
mov rdx, qword [0x140129ed0]
mov r10d, dword [rdx + 8]
test r10d, r10d
jle 0x14004b568
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 0x14004b650
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b658
lea rdx, [rsi + 0x660]
lea r8, str.SIZE__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004b48b
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x17
je 0x14004b620
test byte [rbx + 0xa37], 0x10
je 0x14004b620
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b5ef
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004b620
mov rdx, qword [0x140129ed0]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004b620
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 0x14004b578
cmp edx, 0x41
je 0x14004b670
mov r9d, 0x41
mov edi, 0x41
jmp 0x14004b4e4
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x14004b658
test eax, eax
jne 0x14004b780
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 0x14004b5a4
test eax, eax
je 0x14004b658
xor r9d, r9d
lea rdx, [rsi + 0x660]
lea r8, str.REST__d
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004b48b
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1a
je 0x14004b700
test byte [rbx + 0xa37], 0x10
je 0x14004b700
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b6cc
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004b700
mov rdx, qword [0x140129ed0]
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004b700
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 0x14004b578
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x12
je 0x14004b770
test byte [rbx + 0xa37], 0x10
je 0x14004b770
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b73b
mov ebp, dword [rdx + 8]
test ebp, ebp
jle 0x14004b770
mov rdx, qword [0x140129ed0]
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004b770
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 0x14004b578
cmp qword [rsi + 0x718], 0
jne 0x14004b680
jmp 0x14004b658