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

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x30
mov r9, qword [rcx + 0x1c8]
mov rsi, qword [rcx + 0x18]
mov r12, rcx
mov ebx, r8d
cmp r8b, 0xe
jbe 0x14004d5a0
cmp r8b, 0xf
jne 0x14004d5aa
mov rax, qword [rcx + 0x700]
test dl, dl
je 0x14004d5ba
mov dword [rsi + 0x750], 0
test rax, rax
je 0x14004d600
mov r9, qword [rax]
xor eax, eax
cmp byte [r9], 0x2a
jne 0x14004d523
add r9, 1
mov eax, 1
mov dword [rsi + 0x754], eax
lea rdx, [rsi + 0x650]
lea r8, [0x140162001]
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004d596
mov rsi, qword [r12 + 0x18]
movzx edx, byte [rsi + 0x75e]
cmp bl, dl
je 0x14004d590
test byte [r12 + 0xa47], 0x10
je 0x14004d590
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004d574
mov r9d, dword [rcx + 8]
test r9d, r9d
jle 0x14004d590
mov rcx, qword [0x140171ad0]
mov r8d, dword [rcx + 8]
test r8d, r8d
jg 0x14004d88c
nop dword [rax + rax]
mov byte [rsi + 0x75e], bl
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
cmp r8b, 0xc
ja 0x14004d6f8
mov rax, qword [r12 + 0x6f8]
test dl, dl
jne 0x14004d4fc
mov r8d, dword [rsi + 0x750]
lea edx, [r8 + 1]
mov dword [rsi + 0x750], edx
test rax, rax
je 0x14004d600
test edx, edx
jle 0x14004d50f
xor edx, edx
jmp 0x14004d5e5
test rax, rax
je 0x14004d600
mov ecx, edx
mov rax, qword [rax + 8]
add edx, 1
cmp r8d, ecx
jne 0x14004d5e0
test rax, rax
jne 0x14004d50f
nop dword [rax]
cmp bl, 0xe
je 0x14004d800
cmp bl, 0xf
je 0x14004d718
cmp bl, 0xd
je 0x14004d728
test byte [rsi + 0x764], 8
jne 0x14004d704
mov dword [rsi + 0x754], 0
mov eax, dword [rsi + 0x748]
test byte [rsi + 0x3b8], 0x40
jne 0x14004d812
test eax, eax
je 0x14004d704
mov rax, qword [rsi + 0x710]
mov r9, qword [rax]
mov dword [rsi + 0x74c], 1
lea rdx, [rsi + 0x650]
lea r8, str.CWD__s
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004d596
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x10
je 0x14004d6e6
test byte [r12 + 0xa47], 0x10
je 0x14004d6e6
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004d6af
mov ecx, dword [rcx + 8]
test ecx, ecx
jle 0x14004d6e6
mov rcx, qword [0x140171ad0]
mov esi, dword [rcx + 8]
test esi, esi
jle 0x14004d6e6
lea rcx, [0x140163240]
lea r9, [0x14016239a]
mov dword [rsp + 0x2c], eax
mov r8, qword [rcx + rdx*8]
lea rdx, str.__s_______s_
mov rcx, r12
call sym.Curl_trc_ftp
mov eax, dword [rsp + 0x2c]
mov byte [rbx + 0x75e], 0x10
jmp 0x14004d596
mov rax, qword [rcx + 0x708]
jmp 0x14004d4f4
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
jmp sym.ftp_state_mdtm
xor eax, eax
add rsp, 0x30
pop rbx
pop rsi
pop r12
ret
mov r11d, dword [r9 + 0x10]
test r11d, r11d
jne 0x14004d8ba
mov rdx, qword [rsi + 0x740]
cmp rdx, 0xffffffffffffffff
jne 0x14004d86d
mov r9, qword [rsi + 0x708]
lea rdx, [rsi + 0x650]
test byte [r12 + 0xa48], 2
jne 0x14004d76e
test byte [r12 + 0x131d], 0x40
je 0x14004d925
lea r8, str.RETR__s
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004d596
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x20
je 0x14004d7ee
test byte [r12 + 0xa47], 0x10
je 0x14004d7ee
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004d7b7
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x14004d7ee
mov rcx, qword [0x140171ad0]
mov ecx, dword [rcx + 8]
test ecx, ecx
jle 0x14004d7ee
lea rcx, [0x140163240]
lea r9, [0x140162140]
mov dword [rsp + 0x2c], eax
mov r8, qword [rcx + rdx*8]
lea rdx, str.__s_______s_
mov rcx, r12
call sym.Curl_trc_ftp
mov eax, dword [rsp + 0x2c]
mov byte [rbx + 0x75e], 0x20
jmp 0x14004d596
xor edx, edx
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
jmp sym.ftp_state_ul_setup
mov rdx, qword [rsi + 0x700]
test rdx, rdx
je 0x14004d645
test eax, eax
je 0x14004d83a
mov rax, qword [rsi + 0x710]
mov r9, qword [rax]
cmp byte [r9], 0x2f
je 0x14004d657
mov dword [rsi + 0x74c], 0
mov r9, rdx
mov rcx, r12
lea r10, [rsi + 0x650]
lea r8, str.CWD__s
mov rdx, r10
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004d596
jmp 0x14004d67f
mov rcx, r12
call sym.Curl_pgrsSetDownloadSize
mov rdx, qword [rsi + 0x740]
mov rcx, r12
add rsp, 0x30
pop rbx
pop rsi
pop r12
jmp sym.ftp_state_retr
lea r8, [0x140163240]
movzx ecx, bl
mov dword [rsp + 0x2c], eax
mov r9, qword [r8 + rcx*8]
mov r8, qword [r8 + rdx*8]
mov rcx, r12
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov eax, dword [rsp + 0x2c]
jmp 0x14004d590
movzx eax, byte [rsi + 0x75e]
test al, al
je 0x14004d917
test byte [r12 + 0xa47], 0x10
je 0x14004d917
mov rdx, qword [r12 + 0x1270]
test rdx, rdx
je 0x14004d8e6
mov r10d, dword [rdx + 8]
test r10d, r10d
jle 0x14004d917
mov rdx, qword [0x140171ad0]
mov r9d, dword [rdx + 8]
test r9d, r9d
jle 0x14004d917
lea rdx, [0x140163240]
lea r9, [0x140161fb6]
mov rcx, r12
mov r8, qword [rdx + rax*8]
lea rdx, str.__s_______s_
call sym.Curl_trc_ftp
mov byte [rsi + 0x75e], 0
xor eax, eax
jmp 0x14004d596
lea r8, str.SIZE__s
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004d596
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x18
je 0x14004d9a1
test byte [r12 + 0xa47], 0x10
je 0x14004d9a1
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004d96b
cmp dword [rcx + 8], 0
jle 0x14004d9a1
mov rcx, qword [0x140171ad0]
cmp dword [rcx + 8], 0
jle 0x14004d9a1
lea rcx, [0x140163240]
lea r9, str.RETR_SIZE
mov dword [rsp + 0x2c], eax
mov r8, qword [rcx + rdx*8]
lea rdx, str.__s_______s_
mov rcx, r12
call sym.Curl_trc_ftp
mov eax, dword [rsp + 0x2c]
mov byte [rbx + 0x75e], 0x18
jmp 0x14004d596