Function at 0x140187740
Capabilities:
Check http status code

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140430040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov r14, qword [rcx]
mov byte [rsp + 0x37], 0
mov r12, qword [r14 + 0x1e0]
cmp byte [rcx + 0x653], 0
jne 0x140187864
mov rcx, rsi
call fcn.14019bef0
test al, al
je 0x1401877b9
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140278ca0
mov rcx, rsi
mov edx, 1
xor r8d, r8d
xor r9d, r9d
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
jmp fcn.14019b1d0
lea r15, [rsp + 0x37]
mov rcx, rsi
mov edx, 1
mov r8, r15
call fcn.14015ce70
cmp byte [r15], 0
jne 0x140187864
mov ebx, eax
test eax, eax
je 0x14018788e
cmp dword [rsi + 0xaac], 0
jne 0x140187877
mov dword [rdi], 0xffffffff
cmp byte [rsi + 0x65f], 1
jne 0x140187814
cmp byte [rsi + 0x663], 0
jne 0x140187814
cmp byte [rsi + 0x65b], 0
je 0x1401879b0
mov rcx, qword [rsi]
lea rdx, str.Failed_EPSV_attempt._Disabling_EPSV_n
call fcn.1401581f0
xor ebx, ebx
mov byte [rsi + 0x666], bl
mov rax, qword [rsi]
mov byte [rax + 0x1597], bl
lea rcx, [rsi + 0xa00]
lea rdx, [0x1403db9da]
lea r8, str.PASV
call fcn.1401aa640
test eax, eax
jne 0x140187875
inc dword [rsi + 0xaac]
mov dword [rsi + 0xab8], 0x1e
jmp 0x140187877
mov rcx, rsi
mov edx, 1
call fcn.14019b060
test eax, eax
je 0x1401878a3
mov ebx, eax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x140187892
call fcn.140278ca0
int3
xor ebx, ebx
jmp 0x140187877
mov eax, ebx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp dword [rsi + 0x3dc], 2
jne 0x1401878b5
cmp byte [rsi + 0x651], 1
jne 0x14018788e
cmp byte [rsi + 0x663], 1
jne 0x1401878d3
cmp byte [rsi + 0x65a], 1
jne 0x1401878d3
mov rcx, rsi
call fcn.14019bef0
test al, al
jne 0x14018788e
cmp dword [rsi + 0xab8], 0
je 0x140187918
lea rcx, [rsi + 0xa00]
xor ebx, ebx
xor edx, edx
xor r8d, r8d
call fcn.1401aa230
xor ecx, ecx
cmp dword [rsi + 0xab8], 0
sete cl
mov dword [rdi], ecx
test eax, eax
jne 0x140187875
cmp byte [rsi + 0xa99], 1
jne 0x140187877
mov dword [rdi], 0
cmp dword [r12 + 0x10], 1
jle 0x140187959
mov dword [rsp + 0x20], 0xffffffff
xor ebx, ebx
mov rcx, r14
mov edx, 0xffffffff
mov r8, 0xffffffffffffffff
xor r9d, r9d
call fcn.14017f8a0
cmp byte [rsi + 0xa99], 0
jne 0x140187877
mov dword [rdi], 1
jmp 0x140187877
cmp byte [rsi + 0xa99], 1
jne 0x1401879c9
lea rdx, [rsp + 0x36]
mov byte [rdx], 0xaa
mov rcx, rsi
call fcn.14018b190
test eax, eax
jne 0x140187875
xor ebx, ebx
cmp byte [rsp + 0x36], 1
jne 0x140187877
mov rcx, rsi
call fcn.14018b3a0
mov byte [rsi + 0xa99], 0
test eax, eax
jne 0x140187875
mov rcx, rsi
call fcn.14018b0e0
test eax, eax
jne 0x140187875
jmp 0x14018794e
mov rcx, qword [rsi]
lea rdx, str.Failed_EPSV_attempt__exiting_n
call fcn.140158420
mov ebx, 8
jmp 0x140187877
cmp byte [r14 + 0xf1d], 1
je 0x140187a12
mov qword [r12 + 0x18], 0xffffffffffffffff
mov rcx, rsi
call fcn.1401aab20
test eax, eax
je 0x140187ad9
lea rcx, [rsi + 0xa00]
xor edx, edx
xor r8d, r8d
call fcn.1401aa230
mov ebx, eax
xor eax, eax
cmp dword [rsi + 0xab8], 0
sete al
mov dword [rdi], eax
jmp 0x140187877
mov bpl, byte [r14 + 0xf0b]
xor bpl, 1
shl bpl, 3
or bpl, 0x41
cmp byte [rsi + 0xaa8], bpl
je 0x140187a60
movzx r8d, bpl
lea rcx, [rsi + 0xa00]
lea rdx, str.TYPE__c
call fcn.1401aa640
test eax, eax
jne 0x140187875
mov dword [rsi + 0xab8], 0x16
mov byte [rsi + 0xaa8], bpl
jmp 0x1401879ec
mov dword [rsi + 0xab8], 0x16
mov rax, qword [rsi]
mov rax, qword [rax + 0x9c0]
mov dword [rsi + 0xaac], 0
test rax, rax
je 0x140187ac2
mov rax, qword [rax]
xor edx, edx
cmp byte [rax], 0x2a
lea rcx, [rsi + 0xa00]
sete dl
lea r8, [rdx + rax]
mov dword [rsi + 0xab0], edx
lea rdx, [0x1403db9da]
call fcn.1401aa640
test eax, eax
jne 0x140187875
mov dword [rsi + 0xab8], 0xe
jmp 0x1401879ec
mov rcx, rsi
xor edx, edx
call fcn.14018a2c0
test eax, eax
jne 0x140187875
jmp 0x1401879ec
cmp qword [r14 + 0xf0], 0
js 0x140187aea
mov byte [rsi + 0xa90], 1
cmp byte [r14 + 0xf0d], 0
je 0x140187b2c
cmp dword [r12 + 0x10], 0
jne 0x1401879ec
cmp byte [rsi + 0xaa8], 0x41
jne 0x140187b9f
mov dword [rsi + 0xab8], 0x14
mov rcx, rsi
mov edx, 0xc8
mov r8d, reloc.WS2_32.dll_sendto
call fcn.140189e30
jmp 0x140187acc
cmp qword [rsi + 0xa88], 0
je 0x140187af4
mov bpl, byte [r14 + 0xf0b]
xor bpl, 1
shl bpl, 3
or bpl, 0x41
cmp byte [rsi + 0xaa8], bpl
jne 0x140187b71
mov dword [rsi + 0xab8], 0x15
mov rcx, rsi
mov dl, 1
mov r8d, reloc.WS2_32.dll_listen
call fcn.140189bb0
jmp 0x140187acc
movzx r8d, bpl
lea rcx, [rsi + 0xa00]
lea rdx, str.TYPE__c
call fcn.1401aa640
test eax, eax
jne 0x140187875
mov dword [rsi + 0xab8], 0x15
jmp 0x140187a57
lea rcx, [rsi + 0xa00]
lea rdx, str.TYPE__c
mov r8d, 0x41
call fcn.1401aa640
test eax, eax
jne 0x140187875
mov dword [rsi + 0xab8], 0x14
mov byte [rsi + 0xaa8], 0x41
jmp 0x1401879ec