Function at 0x14004a880
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 0x14004a950
mov r9, qword [rdx + 0x718]
test r9, r9
je 0x14004a8d0
add rdx, 0x660
lea r8, str.SIZE__s
call sym.Curl_pp_sendf
test eax, eax
je 0x14004aac0
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0xd
je 0x14004a92e
test byte [rbx + 0xa37], 0x10
je 0x14004a92e
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a8fd
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004a92e
mov rdx, qword [0x14011e920]
mov r10d, dword [rdx + 8]
test r10d, r10d
jle 0x14004a92e
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 0x14004aa20
movzx eax, byte [rcx + 0xa35]
mov rsi, qword [rcx + 0x20]
test al, 0x10
jne 0x14004ac00
test al, al
jns 0x14004ab30
mov r9, qword [rsi + 0x718]
test r9, r9
je 0x14004ac28
lea rdx, [rsi + 0x660]
test byte [rcx + 0x1266], 2
jne 0x14004ac10
lea r8, str.PRET_RETR__s
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a8c4
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1d
je 0x14004aa10
test byte [rbx + 0xa37], 0x10
je 0x14004aa10
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a9d8
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004aa10
mov rdx, qword [0x14011e920]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004aa10
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 0x14004a8c4
cmp qword [rdx + 0x718], 0
je 0x14004a8d0
add rdx, 0x660
xor r9d, r9d
lea r8, str.REST__d
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a8c4
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x1a
je 0x14004aab0
test byte [rbx + 0xa37], 0x10
je 0x14004aab0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004aa77
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004aab0
mov rdx, qword [0x14011e920]
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004aab0
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 0x14004a8c4
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x17
je 0x14004ab20
test byte [rbx + 0xa37], 0x10
je 0x14004ab20
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004aaed
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004ab20
mov rdx, qword [0x14011e920]
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004ab20
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 0x14004a8c4
mov eax, dword [rsi + 0x3a0]
and eax, 0x11000
cmp eax, 0x1000
jne 0x14004ab49
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 0x14004a8c4
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 0x14004acaa
and edx, 0x10
je 0x14004ac50
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004abcb
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004ac50
mov rdx, qword [0x14011e920]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004ac7b
mov byte [rsi + 0x76e], 0x1e
lea rdx, str.Connect_data_stream_passively
mov rcx, rbx
call sym.Curl_infof
xor eax, eax
jmp 0x14004a8c4
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 0x14004a9a3
mov r9, qword [rcx + 0x7e8]
test r9, r9
je 0x14004ac60
lea rdx, [rsi + 0x660]
lea r8, str.PRET__s
mov rcx, rbx
call sym.Curl_pp_sendf
jmp 0x14004a9a3
mov byte [rsi + 0x76e], 0x1e
xor eax, eax
jmp 0x14004a8c4
test byte [rcx + 0x1265], 0x20
lea r9, [0x1400fb49b]
lea rax, str.NLST
cmovne r9, rax
jmp 0x14004ac34
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 0x14004aa17
mov rax, qword [rbx + 0x11e8]
test rax, rax
je 0x14004abe4
mov eax, dword [rax + 8]
test eax, eax
jg 0x14004abe4
xor eax, eax
jmp 0x14004a8c4