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

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x38
cmp byte [rcx + 0xa44], 0
mov rbx, qword [rcx + 0x18]
mov r12, rcx
js 0x14004e4d2
cmp byte [rcx + 0x528], 0
je 0x14004e510
mov r9, qword [rbx + 0x708]
test r9, r9
je 0x14004e510
lea rdx, [rbx + 0x650]
lea r8, str.MDTM__s
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
je 0x14004e7c8
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret
mov rax, qword [r12 + 0x1c8]
test byte [r12 + 0x1de], 2
je 0x14004e608
mov r9, qword [rbx + 0x708]
test r9, r9
je 0x14004e6e0
movsx edx, byte [rbx + 0x728]
test byte [r12 + 0x131d], 0x40
jne 0x14004e6c0
cmp edx, 0x49
je 0x14004e7a0
mov dword [rax + 0x10], 1
mov r9d, 0x49
mov esi, 0x49
lea rdx, [rbx + 0x650]
lea r8, str.TYPE__c
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004e4fc
mov rdi, qword [r12 + 0x18]
movzx edx, byte [rdi + 0x75e]
cmp dl, 0x13
je 0x14004e5f0
test byte [r12 + 0xa47], 0x10
je 0x14004e5f0
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004e5b6
mov ecx, dword [rcx + 8]
test ecx, ecx
jle 0x14004e5f0
mov rcx, qword [0x140171ad0]
mov r11d, dword [rcx + 8]
test r11d, r11d
jle 0x14004e5f0
lea rcx, [0x140163240]
lea r9, str.TYPE
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]
nop
mov byte [rdi + 0x75e], 0x13
mov byte [rbx + 0x728], sil
jmp 0x14004e4fc
mov eax, dword [rax + 0x10]
cmp eax, 1
jne 0x14004e6ec
mov r9, qword [rbx + 0x708]
test r9, r9
je 0x14004e7b4
lea rdx, [rbx + 0x650]
lea r8, str.SIZE__s
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004e4fc
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x17
je 0x14004e6b0
test byte [r12 + 0xa47], 0x10
je 0x14004e6b0
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004e674
mov r10d, dword [rcx + 8]
test r10d, r10d
jle 0x14004e6b0
mov rcx, qword [0x140171ad0]
mov r9d, dword [rcx + 8]
test r9d, r9d
jle 0x14004e6b0
lea rcx, [0x140163240]
lea r9, str.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]
nop dword [rax]
mov byte [rbx + 0x75e], 0x17
jmp 0x14004e4fc
cmp edx, 0x41
je 0x14004e7a0
mov dword [rax + 0x10], 1
mov r9d, 0x41
mov esi, 0x41
jmp 0x14004e568
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x14004e7b4
test eax, eax
je 0x14004e7b4
cmp qword [rbx + 0x708], 0
je 0x14004e7b4
xor r9d, r9d
lea rdx, [rbx + 0x650]
lea r8, str.REST__d
mov rcx, r12
call sym.Curl_pp_sendf
test eax, eax
jne 0x14004e4fc
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x1a
je 0x14004e790
test byte [r12 + 0xa47], 0x10
je 0x14004e790
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004e755
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x14004e790
mov rcx, qword [0x140171ad0]
mov ecx, dword [rcx + 8]
test ecx, ecx
jle 0x14004e790
lea rcx, [0x140163240]
lea r9, str.REST
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]
nop dword [rax]
mov byte [rbx + 0x75e], 0x1a
jmp 0x14004e4fc
mov eax, dword [rax + 0x10]
cmp eax, 1
je 0x14004e624
test eax, eax
jne 0x14004e702
mov rcx, r12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
jmp sym.ftp_state_prepare_transfer
mov rbx, qword [r12 + 0x18]
movzx edx, byte [rbx + 0x75e]
cmp dl, 0x12
je 0x14004e833
test byte [r12 + 0xa47], 0x10
je 0x14004e833
mov rcx, qword [r12 + 0x1270]
test rcx, rcx
je 0x14004e7fa
mov r9d, dword [rcx + 8]
test r9d, r9d
jle 0x14004e833
mov rcx, qword [0x140171ad0]
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x14004e833
lea rcx, [0x140163240]
lea r9, str.MDTM
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], 0x12
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop r12
ret