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

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rdi, qword [rcx + 0x20]
mov esi, r8d
mov rbx, rcx
mov r8, qword [rcx + 0x1b8]
cmp sil, 0xf
jne 0x14004a608
mov rax, qword [rcx + 0x6f0]
test dl, dl
jne 0x14004a7f0
mov r9d, dword [rdi + 0x760]
lea edx, [r9 + 1]
mov dword [rdi + 0x760], edx
test rax, rax
je 0x14004aa14
test edx, edx
jle 0x14004a578
xor edx, edx
jmp 0x14004a561
test rax, rax
je 0x14004a700
mov ecx, edx
mov rax, qword [rax + 8]
add edx, 1
cmp r9d, ecx
jne 0x14004a558
test rax, rax
je 0x14004a700
mov r9, qword [rax]
xor eax, eax
cmp byte [r9], 0x2a
jne 0x14004a58c
add r9, 1
mov eax, 1
mov dword [rdi + 0x764], eax
lea rdx, [rdi + 0x660]
lea r8, [0x1401061f9]
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5f9
mov rdi, qword [rbx + 0x20]
movzx eax, byte [rdi + 0x76e]
cmp sil, al
je 0x14004a5f0
test byte [rbx + 0xa37], 0x10
je 0x14004a5f0
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a5d8
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004a5f0
mov rdx, qword [0x140129ed0]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004a908
nop word [rax + rax]
mov byte [rdi + 0x76e], sil
xor eax, eax
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
cmp sil, 0xc
je 0x14004a830
mov rax, qword [rcx + 0x6f8]
test dl, dl
je 0x14004a531
mov dword [rdi + 0x760], 0
test rax, rax
jne 0x14004a578
cmp sil, 0xe
je 0x14004a818
mov r10d, dword [r8 + 0x10]
test r10d, r10d
jne 0x14004a92f
mov rdx, qword [rdi + 0x750]
cmp rdx, 0xffffffffffffffff
jne 0x14004a88f
mov r9, qword [rdi + 0x718]
lea rdx, [rdi + 0x660]
test byte [rbx + 0xa38], 2
jne 0x14004a680
test byte [rbx + 0x1265], 0x10
je 0x14004a997
lea r8, str.RETR__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5f9
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x20
je 0x14004a6f1
test byte [rbx + 0xa37], 0x10
je 0x14004a6f1
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a6c2
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004a6f1
mov rdx, qword [0x140129ed0]
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004a6f1
lea rdx, str.STOP
lea r9, [0x140106350]
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x76e], 0x20
xor eax, eax
jmp 0x14004a5f9
cmp sil, 0xe
je 0x14004a818
cmp sil, 0xf
je 0x14004a5f7
cmp sil, 0xd
je 0x14004a63e
test byte [rdi + 0x774], 8
jne 0x14004a880
cmp byte [rdi + 0x3a0], 0
mov eax, dword [rdi + 0x758]
mov dword [rdi + 0x764], 0
js 0x14004a8ad
test eax, eax
je 0x14004a880
mov rax, qword [rdi + 0x720]
mov r9, qword [rax]
mov dword [rdi + 0x75c], 1
lea rdx, [rdi + 0x660]
lea r8, str.CWD__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5f9
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x10
je 0x14004a7de
test byte [rbx + 0xa37], 0x10
je 0x14004a7de
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a7ad
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004a7de
mov rdx, qword [0x140129ed0]
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004a7de
lea rdx, str.STOP
lea r9, [0x1401065ad]
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x76e], 0x10
xor eax, eax
jmp 0x14004a5f9
mov dword [rdi + 0x760], 0
test rax, rax
jne 0x14004a578
cmp sil, 0xf
jne 0x14004a714
jmp 0x14004a5f7
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_ul_setup
mov rax, qword [rcx + 0x6e8]
test dl, dl
je 0x14004a858
mov dword [rdi + 0x760], 0
test rax, rax
je 0x14004a71e
jmp 0x14004a578
mov r9d, dword [rdi + 0x760]
lea edx, [r9 + 1]
mov dword [rdi + 0x760], edx
test rax, rax
jne 0x14004a54b
jmp 0x14004a71e
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_mdtm
mov rcx, rbx
call sym.Curl_pgrsSetDownloadSize
mov rdx, qword [rdi + 0x750]
mov rcx, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
jmp sym.ftp_state_retr
mov rdx, qword [rdi + 0x710]
test rdx, rdx
je 0x14004a748
test eax, eax
je 0x14004a8d5
mov rax, qword [rdi + 0x720]
mov r9, qword [rax]
cmp byte [r9], 0x2f
je 0x14004a75a
mov dword [rdi + 0x75c], 0
mov r9, rdx
mov rcx, rbx
add rdi, 0x660
lea r8, str.CWD__s
mov rdx, rdi
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5f9
jmp 0x14004a782
lea rcx, str.STOP
movzx edx, sil
mov r9, qword [rcx + rdx*8]
mov r8, qword [rcx + rax*8]
lea rdx, str.__s_______s_
mov rcx, rbx
call sym.Curl_trc_ftp
jmp 0x14004a5f0
movzx eax, byte [rdi + 0x76e]
test al, al
je 0x14004a989
test byte [rbx + 0xa37], 0x10
je 0x14004a989
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a958
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004a989
mov rdx, qword [0x140129ed0]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004a989
lea rdx, str.STOP
lea r9, str.STOP
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rdi + 0x76e], 0
xor eax, eax
jmp 0x14004a5f9
lea r8, str.SIZE__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a5f9
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x18
je 0x14004aa06
test byte [rbx + 0xa37], 0x10
je 0x14004aa06
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a9d8
cmp dword [rdx + 8], 0
jle 0x14004aa06
mov rdx, qword [0x140129ed0]
cmp dword [rdx + 8], 0
jle 0x14004aa06
lea rdx, str.STOP
lea r9, str.RETR_SIZE
mov rcx, rbx
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x76e], 0x18
xor eax, eax
jmp 0x14004a5f9
cmp sil, 0xe
je 0x14004a818
cmp sil, 0xf
jne 0x14004a63e
xor eax, eax
jmp 0x14004a5f9