Function at 0x14004aa30
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 0x14004aab0
movzx eax, byte [rcx + 0xa35]
test al, 0x10
jne 0x14004aaa0
test al, al
jns 0x14004ab40
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004ab10
lea rdx, [rsi + 0x660]
test byte [rcx + 0x1266], 2
je 0x14004ac10
lea r8, str.PRET_STOR__s
call sym.Curl_pp_sendf
test eax, eax
je 0x14004ac28
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 0x14004aaed
test byte [rcx + 0xa37], 0x10
je 0x14004aaed
mov rdx, qword [rcx + 0x11e8]
test rdx, rdx
je 0x14004aad9
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004aaed
mov rdx, qword [0x140129ed0]
mov r10d, dword [rdx + 8]
test r10d, r10d
jg 0x14004aca0
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 0x14004ad30
lea rdx, [rsi + 0x660]
lea r8, str.PRET__s
mov rcx, rbx
call sym.Curl_pp_sendf
jmp 0x14004aa8f
mov eax, dword [rsi + 0x3a0]
and eax, 0x11000
cmp eax, 0x1000
jne 0x14004ab59
or byte [rsi + 0x3a2], 1
movzx eax, byte [rsi + 0x3a2]
lea rcx, str.EPSV
lea rdx, [rsi + 0x660]
lea r8, [0x1401061f9]
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 0x14004aa97
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 0x14004acf5
and edx, 0x10
je 0x14004ad20
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004abdb
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004ad20
mov rdx, qword [0x140129ed0]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004acc6
mov byte [rsi + 0x76e], 0x1e
lea rdx, str.Connect_data_stream_passively
mov rcx, rbx
call sym.Curl_infof
xor eax, eax
jmp 0x14004aa97
lea r8, str.PRET_RETR__s
call sym.Curl_pp_sendf
jmp 0x14004aa8f
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1d
je 0x14004ac90
test byte [rbx + 0xa37], 0x10
je 0x14004ac90
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004ac55
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004ac90
mov rdx, qword [0x140129ed0]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004ac90
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 0x14004aa97
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 0x14004aaed
lea rdx, str.STOP
lea r9, [0x1401061f4]
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 0x14004ac03
mov rax, qword [rbx + 0x11e8]
test rax, rax
je 0x14004abf4
mov eax, dword [rax + 8]
test eax, eax
jg 0x14004abf4
xor eax, eax
jmp 0x14004aa97
mov byte [rsi + 0x76e], 0x1e
xor eax, eax
jmp 0x14004aa97
test byte [rcx + 0x1265], 0x20
lea r9, [0x1401065bb]
lea rax, str.NLST
cmovne r9, rax
jmp 0x14004ab20