Function at 0x14004a030
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 0x14004a138
mov rax, qword [rcx + 0x6f0]
test dl, dl
jne 0x14004a320
mov r9d, dword [rdi + 0x760]
lea edx, [r9 + 1]
mov dword [rdi + 0x760], edx
test rax, rax
je 0x14004a544
test edx, edx
jle 0x14004a0a8
xor edx, edx
jmp 0x14004a091
test rax, rax
je 0x14004a230
mov ecx, edx
mov rax, qword [rax + 8]
add edx, 1
cmp r9d, ecx
jne 0x14004a088
test rax, rax
je 0x14004a230
mov r9, qword [rax]
xor eax, eax
cmp byte [r9], 0x2a
jne 0x14004a0bc
add r9, 1
mov eax, 1
mov dword [rdi + 0x764], eax
lea rdx, [rdi + 0x660]
lea r8, [0x1400fb0d9]
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a129
mov rdi, qword [rbx + 0x20]
movzx eax, byte [rdi + 0x76e]
cmp sil, al
je 0x14004a120
test byte [rbx + 0xa37], 0x10
je 0x14004a120
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a108
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004a120
mov rdx, qword [0x14011e920]
mov edx, dword [rdx + 8]
test edx, edx
jg 0x14004a438
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 0x14004a360
mov rax, qword [rcx + 0x6f8]
test dl, dl
je 0x14004a061
mov dword [rdi + 0x760], 0
test rax, rax
jne 0x14004a0a8
cmp sil, 0xe
je 0x14004a348
mov r10d, dword [r8 + 0x10]
test r10d, r10d
jne 0x14004a45f
mov rdx, qword [rdi + 0x750]
cmp rdx, 0xffffffffffffffff
jne 0x14004a3bf
mov r9, qword [rdi + 0x718]
lea rdx, [rdi + 0x660]
test byte [rbx + 0xa38], 2
jne 0x14004a1b0
test byte [rbx + 0x1265], 0x10
je 0x14004a4c7
lea r8, str.RETR__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a129
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x20
je 0x14004a221
test byte [rbx + 0xa37], 0x10
je 0x14004a221
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a1f2
mov ecx, dword [rdx + 8]
test ecx, ecx
jle 0x14004a221
mov rdx, qword [0x14011e920]
mov edx, dword [rdx + 8]
test edx, edx
jle 0x14004a221
lea rdx, str.STOP
lea r9, [0x1400fb230]
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 0x14004a129
cmp sil, 0xe
je 0x14004a348
cmp sil, 0xf
je 0x14004a127
cmp sil, 0xd
je 0x14004a16e
test byte [rdi + 0x774], 8
jne 0x14004a3b0
cmp byte [rdi + 0x3a0], 0
mov eax, dword [rdi + 0x758]
mov dword [rdi + 0x764], 0
js 0x14004a3dd
test eax, eax
je 0x14004a3b0
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 0x14004a129
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x10
je 0x14004a30e
test byte [rbx + 0xa37], 0x10
je 0x14004a30e
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a2dd
mov edi, dword [rdx + 8]
test edi, edi
jle 0x14004a30e
mov rdx, qword [0x14011e920]
mov r11d, dword [rdx + 8]
test r11d, r11d
jle 0x14004a30e
lea rdx, str.STOP
lea r9, [0x1400fb48d]
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 0x14004a129
mov dword [rdi + 0x760], 0
test rax, rax
jne 0x14004a0a8
cmp sil, 0xf
jne 0x14004a244
jmp 0x14004a127
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 0x14004a388
mov dword [rdi + 0x760], 0
test rax, rax
je 0x14004a24e
jmp 0x14004a0a8
mov r9d, dword [rdi + 0x760]
lea edx, [r9 + 1]
mov dword [rdi + 0x760], edx
test rax, rax
jne 0x14004a07b
jmp 0x14004a24e
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 0x14004a278
test eax, eax
je 0x14004a405
mov rax, qword [rdi + 0x720]
mov r9, qword [rax]
cmp byte [r9], 0x2f
je 0x14004a28a
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 0x14004a129
jmp 0x14004a2b2
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 0x14004a120
movzx eax, byte [rdi + 0x76e]
test al, al
je 0x14004a4b9
test byte [rbx + 0xa37], 0x10
je 0x14004a4b9
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a488
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004a4b9
mov rdx, qword [0x14011e920]
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x14004a4b9
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 0x14004a129
lea r8, str.SIZE__s
mov rcx, rbx
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004a129
mov rsi, qword [rbx + 0x20]
movzx eax, byte [rsi + 0x76e]
cmp al, 0x18
je 0x14004a536
test byte [rbx + 0xa37], 0x10
je 0x14004a536
mov rdx, qword [rbx + 0x11e8]
test rdx, rdx
je 0x14004a508
cmp dword [rdx + 8], 0
jle 0x14004a536
mov rdx, qword [0x14011e920]
cmp dword [rdx + 8], 0
jle 0x14004a536
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 0x14004a129
cmp sil, 0xe
je 0x14004a348
cmp sil, 0xf
jne 0x14004a16e
xor eax, eax
jmp 0x14004a129