Function at 0x14004a560
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
mov rsi, qword [rcx + 0x20]
mov edi, dword [rax + 0x10]
mov rbx, rcx
test edi, edi
jne 0x14004a5e0
movzx eax, byte [rcx + 0xa35]
test al, 0x10
jne 0x14004a5d0
test al, al
jns 0x14004a670
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004a640
lea rdx, [rsi + 0x660]
test byte [rcx + 0x1266], 2
je 0x14004a740
lea r8, str.PRET_STOR__s
call sym.Curl_pp_sendf
test eax, eax
je 0x14004a758
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor edx, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_use_port
movzx eax, byte [rsi + 0x76e]
cmp al, 0xd
je 0x14004a61d
test byte [rcx + 0xa37], 0x10
je 0x14004a61d
mov rdx, qword [rcx + 0x11e8]
test rdx, rdx
je 0x14004a609
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004a61d
mov rdx, qword [0x14011e920]
mov r10d, dword [rdx + 8]
test r10d, r10d
jg 0x14004a7d0
mov r8d, 0xd
mov edx, 1
mov rcx, rbx
mov byte [rsi + 0x76e], 0xd
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_quote
mov r9, qword [rcx + 0x7e8]
test r9, r9
je 0x14004a860
lea rdx, [rsi + 0x660]
lea r8, str.PRET__s
mov rcx, rbx
call sym.Curl_pp_sendf
jmp 0x14004a5bf
mov eax, dword [rsi + 0x3a0]
and eax, 0x11000
cmp eax, 0x1000
jne 0x14004a689
or byte [rsi + 0x3a2], 1
movzx eax, byte [rsi + 0x3a2]
lea rcx, str.EPSV
lea rdx, [rsi + 0x660]
lea r8, [0x1400fb0d9]
not eax
mov edi, eax
and eax, 1
lea rax, [rax + rax*4]
and edi, 1
lea r9, [rcx + rax]
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5c7
movzx edi, dil
movzx edx, byte [rbx + 0xa37]
mov dword [rsi + 0x760], edi
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1e
je 0x14004a825
and edx, 0x10
je 0x14004a850
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a70b
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004a850
mov rdx, qword [0x14011e920]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004a7f6
mov byte [rsi + 0x76e], 0x1e
lea rdx, str.Connect_data_stream_passively
mov rcx, rbx
call sym.Curl_infof
xor eax, eax
jmp 0x14004a5c7
lea r8, str.PRET_RETR__s
call sym.Curl_pp_sendf
jmp 0x14004a5bf
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1d
je 0x14004a7c0
test byte [rbx + 0xa37], 0x10
je 0x14004a7c0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a785
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004a7c0
mov rdx, qword [0x14011e920]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004a7c0
lea rdx, str.STOP
lea r9, str.PRET
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
nop word cs:[rax + rax]
mov byte [rsi + 0x76e], 0x1d
xor eax, eax
jmp 0x14004a5c7
lea rdx, str.STOP
lea r9, str.RETR_PREQUOTE
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
jmp 0x14004a61d
lea rdx, str.STOP
lea r9, [0x1400fb0d4]
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x76e], 0x1e
movzx edx, byte [rbx + 0xa37]
and edx, 0x10
je 0x14004a733
mov rax, qword [rbx + 0x11e8]
test rax, rax
je 0x14004a724
mov eax, dword [rax + 8]
test eax, eax
jg 0x14004a724
xor eax, eax
jmp 0x14004a5c7
mov byte [rsi + 0x76e], 0x1e
xor eax, eax
jmp 0x14004a5c7
test byte [rcx + 0x1265], 0x20
lea r9, [0x1400fb49b]
lea rax, str.NLST
cmovne r9, rax
jmp 0x14004a650