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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x1b8]
mov eax, dword [rax + 0x10]
mov rbx, rcx
cmp eax, 1
jne 0x14004ae20
mov r9, qword [rdx + 0x718]
test r9, r9
je 0x14004ada0
add rdx, 0x660
lea r8, str.SIZE__s
call sym.Curl_pp_sendf
test eax, eax
je 0x14004af90
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0xd
je 0x14004adfe
test byte [rbx + 0xa37], 0x10
je 0x14004adfe
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004adcd
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004adfe
mov rdx, qword [0x140129ed0]
mov r10d, dword [rdx + 8]
test r10d, r10d
jle 0x14004adfe
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
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
test eax, eax
jne 0x14004aef0
movzx eax, byte [rcx + 0xa35]
mov rsi, qword [rcx + 0x20]
test al, 0x10
jne 0x14004b0d0
test al, al
jns 0x14004b000
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004b0f8
lea rdx, [rsi + 0x660]
test byte [rcx + 0x1266], 2
jne 0x14004b0e0
lea r8, str.PRET_RETR__s
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004ad94
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1d
je 0x14004aee0
test byte [rbx + 0xa37], 0x10
je 0x14004aee0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004aea8
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004aee0
mov rdx, qword [0x140129ed0]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004aee0
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 dword [rax]
mov byte [rsi + 0x76e], 0x1d
xor eax, eax
jmp 0x14004ad94
cmp qword [rdx + 0x718], 0
je 0x14004ada0
add rdx, 0x660
xor r9d, r9d
lea r8, str.REST__d
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004ad94
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1a
je 0x14004af80
test byte [rbx + 0xa37], 0x10
je 0x14004af80
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004af47
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004af80
mov rdx, qword [0x140129ed0]
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004af80
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 word cs:[rax + rax]
mov byte [rsi + 0x76e], 0x1a
xor eax, eax
jmp 0x14004ad94
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x17
je 0x14004aff0
test byte [rbx + 0xa37], 0x10
je 0x14004aff0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004afbd
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004aff0
mov rdx, qword [0x140129ed0]
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004aff0
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
nop dword [rax]
mov byte [rsi + 0x76e], 0x17
xor eax, eax
jmp 0x14004ad94
mov eax, dword [rsi + 0x3a0]
and eax, 0x11000
cmp eax, 0x1000
jne 0x14004b019
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 0x14004ad94
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 0x14004b17a
and edx, 0x10
je 0x14004b120
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004b09b
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004b120
mov rdx, qword [0x140129ed0]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004b14b
mov byte [rsi + 0x76e], 0x1e
lea rdx, str.Connect_data_stream_passively
mov rcx, rbx
call sym.Curl_infof
xor eax, eax
jmp 0x14004ad94
xor edx, edx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_use_port
lea r8, str.PRET_STOR__s
call sym.Curl_pp_sendf
jmp 0x14004ae73
mov r9, qword [rcx + 0x7e8]
test r9, r9
je 0x14004b130
lea rdx, [rsi + 0x660]
lea r8, str.PRET__s
mov rcx, rbx
call sym.Curl_pp_sendf
jmp 0x14004ae73
mov byte [rsi + 0x76e], 0x1e
xor eax, eax
jmp 0x14004ad94
test byte [rcx + 0x1265], 0x20
lea r9, [0x1401065bb]
lea rax, str.NLST
cmovne r9, rax
jmp 0x14004b104
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 0x14004aee7
mov rax, qword [rbx + 0x11e8]
test rax, rax
je 0x14004b0b4
mov eax, dword [rax + 8]
test eax, eax
jg 0x14004b0b4
xor eax, eax
jmp 0x14004ad94