Function at 0x14001f0c0
Capabilities:
Send data
Send data on socket

Disassembly:
push rdi
sub rsp, 0x20
mov rdi, rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], 0
jne 0x140017e10
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
jbe 0x140017e31
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
lea rsi, [rax*2 + 2]
mov rcx, rsi
call qword [section..data]
mov rbx, rax
test rax, rax
jne 0x140017e64
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.1400aa7f0
mov rsi, qword [rsp + 0x38]
mov rax, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
push rbp
push rdi
sub rsp, 0x48
mov rdi, qword [r8 + 0xe8]
mov rbp, r8
mov qword [rsp + 0x68], rbx
lea rbx, [r8 + 0x20]
mov qword [rsp + 0x38], r12
mov r12d, ecx
mov qword [rsp + 0x30], r13
xor r13d, r13d
mov qword [rsp + 0x20], r15
xor r15d, r15d
mov qword [rsp + 0x70], rdi
test ecx, ecx
jne 0x14001f24d
mov qword [rsp + 0x40], rsi
mov rsi, qword [rbx]
mov qword [rsp + 0x28], r14
test rsi, rsi
je 0x14001f224
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x14001f134
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14001f125
inc rbx
jmp 0x14001f136
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x14001f144
lea r14d, [rax + 0xe]
jmp 0x14001f151
cmp eax, 0x17
jne 0x14001f212
lea r14d, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x14001f212
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x14001f212
cmp rax, r14
jb 0x14001f212
lea rcx, [rbx + 0x30]
add rcx, r14
call qword [section..data]
mov rdi, rax
test rax, rax
je 0x14001f29c
mov ecx, dword [rsi]
mov r8, r14
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [rdi + 0x30]
mov dword [rax + 0x10], r14d
xor eax, eax
mov qword [rdi + 0x18], rax
mov qword [rdi + 0x28], rax
mov qword [rdi + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.1400aa7f0
test rbx, rbx
je 0x14001f1ff
mov rcx, qword [rdi + 0x20]
xor edx, edx
add rcx, r14
mov qword [rdi + 0x18], rcx
test rbx, rbx
je 0x14001f1f7
nop word [rax + rax]
mov rax, qword [rsi + 0x18]
mov rcx, qword [rdi + 0x18]
movzx eax, byte [rax + rdx*2]
mov byte [rdx + rcx], al
inc rdx
cmp rdx, rbx
jb 0x14001f1e0
mov rax, qword [rdi + 0x18]
mov byte [rbx + rax], 0
test r15, r15
cmove r15, rdi
test r13, r13
je 0x14001f20f
mov qword [r13 + 0x28], rdi
mov r13, rdi
mov rsi, qword [rsi + 0x40]
test rsi, rsi
jne 0x14001f115
test r15, r15
jne 0x14001f233
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rdi, qword [rsp + 0x70]
lea rbx, [rbp + 0x20]
mov r14, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x40]
mov qword [rbp + 0xb0], r15
mov rcx, qword [rbx]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x30]
test rcx, rcx
je 0x14001f26c
call qword [0x1400de008]
mov qword [rbx], 0
mov rbx, qword [rsp + 0x68]
test r12d, r12d
je 0x14001f2b6
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x14001f2af
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0xa8], eax
test eax, eax
jne 0x14001f2b6
mov dword [rbp + 0xa8], 8
jmp 0x14001f2b6
mov rcx, r15
mov r12d, 8
call fcn.1400413a0
xor r15d, r15d
jmp 0x14001f233
mov dword [rbp + 0xa8], r12d
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [rbp + 0x80], 0
mov r12, qword [rsp + 0x38]
je 0x14001f342
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rbp + 0x78]
test rcx, rcx
je 0x14001f2f1
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbp + 0x78]
call qword [fcn.140081520]
mov rcx, qword [rbp + 0x88]
call qword [fcn.140081520]
mov rcx, qword [rbp + 0xb0]
test rcx, rcx
je 0x14001f30f
call fcn.1400413a0
mov rcx, qword [rbp + 0xa0]
cmp rcx, 0xffffffffffffffff
je case.default.0x14001f33b
call qword [sym.imp.WS2_32.dll_closesocket]
xor edx, edx
mov r8d, 0xf0
mov rcx, rbp
call fcn.1400aae90
mov rcx, rdi
add rsp, 0x48
pop rdi
pop rbp
jmp qword [fcn.140081520]
mov rcx, qword [rbp + 0xa0]
cmp rcx, 0xffffffffffffffff
je 0x14001f376
xor r9d, r9d
mov byte [rsp + 0x60], 1
lea rdx, [rsp + 0x60]
lea r8d, [r9 + 1]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x14001f376
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp + 0xa8], eax
mov rcx, qword [rbp + 0x78]
mov dword [rbp + 0x80], 1
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001f398
call qword [sym.imp.KERNEL32.dll_SetEvent]
add rsp, 0x48
pop rdi
pop rbp
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, rcx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
call fcn.140025b90
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x38], rbx
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x140023b22
mov rcx, qword [rbx + 0x30]
call qword [fcn.140081520]
mov rcx, rbx
call qword [fcn.140081520]
mov rbx, qword [rsp + 0x30]
mov qword [rdi + 0x10], 0
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
call fcn.140025b90
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140023b78
mov rax, qword [rcx]
mov rdx, rsi
call qword [rax + 0x20]
mov rax, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x38], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r13
push r14
push r15
sub rsp, 0x40
cmp byte [rcx + 0x24], 0
mov r14, r9
mov r13, qword [rcx + 0x10]
movzx r15d, r8b
mov rsi, rdx
mov rbp, rcx
je 0x140023bc6
mov byte [r9], 1
xor eax, eax
jmp 0x140023d5e
mov qword [rsp + 0x60], rbx
lea r8, str.cf_connect__
mov rbx, qword [r13 + 0x38]
mov rdx, rbp
mov rcx, rsi
mov qword [r13 + 0x38], rsi
mov qword [rsp + 0x68], rdi
call fcn.14002bfb0
mov rcx, qword [rbp + 8]
mov r9, r14
movzx r8d, r15b
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + 0x18]
mov edi, eax
test eax, eax
jne 0x140023d2d
cmp byte [r14], al
je 0x140023d2d
lea rcx, [r13 + 8]
mov byte [r14], al
mov rdx, rbp
call fcn.1400257a0
mov edi, eax
test eax, eax
jne 0x140023d2d
movzx eax, byte [rsi + 0x5a0]
test r15b, r15b
je 0x140023cb4
mov rdx, qword [rbp + 0x10]
cmp al, 8
jb 0x140023c5f
lea rdx, str.Unrecognized_parameter_value_passed_via_CURLOPT_SSLVERSION
mov rcx, rsi
call fcn.14002bdb0
mov edi, 0x23
test edi, edi
sete al
mov byte [r14], al
jmp 0x140023d0e
mov ecx, dword [rsi + 0x59c]
test ecx, 0xfffeffff
je 0x140023c92
shr ecx, 0x10
cmp ecx, eax
jae 0x140023c92
lea rdx, str.CURL_SSLVERSION_MAX_incompatible_with_CURL_SSLVERSION
mov rcx, rsi
call fcn.14002bdb0
mov edi, 0x23
test edi, edi
sete al
mov byte [r14], al
jmp 0x140023d0e
mov dword [rdx], 1
mov rcx, rbp
mov rax, qword [case.0x14001f33b.33]
mov rdx, rsi
call qword [rax + 0x60]
test eax, eax
mov edi, eax
sete al
mov byte [r14], al
jmp 0x140023d0e
cmp al, 8
jb 0x140023cce
lea rdx, str.Unrecognized_parameter_value_passed_via_CURLOPT_SSLVERSION
mov rcx, rsi
call fcn.14002bdb0
mov edi, 0x23
jmp 0x140023d2d
mov ecx, dword [rsi + 0x59c]
test ecx, 0xfffeffff
je 0x140023cf9
shr ecx, 0x10
cmp ecx, eax
jae 0x140023cf9
lea rdx, str.CURL_SSLVERSION_MAX_incompatible_with_CURL_SSLVERSION
mov rcx, rsi
call fcn.14002bdb0
mov edi, 0x23
jmp 0x140023d2d
mov rax, qword [case.0x14001f33b.33]
mov r8, r14
mov rdx, rsi
mov rcx, rbp
call qword [rax + 0x68]
mov edi, eax
test edi, edi
jne 0x140023d2d
cmp byte [r14], dil
je 0x140023d2d
lea rcx, [rsp + 0x30]
mov byte [rbp + 0x24], 1
call fcn.14001e010
movups xmm0, xmmword [rax]
movups xmmword [r13 + 0x40], xmm0
movzx eax, byte [r14]
lea r8, str.cf_connect_______d__done_d
mov r9d, edi
mov dword [rsp + 0x20], eax
mov rdx, rbp
mov rcx, rsi
call fcn.14002bfb0
mov rax, qword [rbp + 0x10]
mov qword [rax + 0x38], rbx
mov eax, edi
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [case.0x14001f33b.33]
call qword [rax + 0x48]
test al, al
je 0x140023db3
mov al, 1
jmp 0x140023dc0
mov rcx, qword [rdi + 8]
mov rdx, rsi
mov rax, qword [rcx]
call qword [rax + gethostname]
mov rcx, qword [rdi + 0x10]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x38], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
mov rdi, rcx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov dword [rax], 0
mov rax, qword [case.0x14001f33b.33]
call qword [rax + 0xe0]
mov rcx, qword [rdi + 0x10]
mov qword [rcx + 0x38], rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rax, qword [rcx + 0x10]
mov r15, r9
mov rdi, qword [rsp + 0x70]
mov r14, rdx
mov rsi, rcx
mov qword [rsp + 0x20], rdi
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov dword [rdi], 0
mov rax, qword [case.0x14001f33b.33]
call qword [rax + 0xd8]
mov rbp, rax
test rax, rax
jne 0x140023e84
mov dword [rdi], eax
mov ecx, dword [rdi]
lea r8, str.cf_recv_len_zu______zd___d
mov dword [rsp + 0x28], ecx
mov r9, r15
mov rcx, r14
mov qword [rsp + 0x20], rbp
mov rdx, rsi
call fcn.14002bfb0
mov rax, qword [rsi + 0x10]
mov rsi, qword [rsp + 0x60]
mov qword [rax + 0x38], rbx
mov rax, rbp
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
push rdi
sub rsp, 0x20
cmp byte [rcx + 0x24], 0
mov rdi, rcx
jne 0x140023f07
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x30], rbx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [case.0x14001f33b.33]
call qword [rax + reloc.WS2_32.dll_WSASetLastError]
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x38], rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
sub r8d, 1
je 0x140023f55
cmp r8d, 1
jne 0x140023f87
mov rax, qword [case.0x14001f33b.33]
cmp qword [rax + 0xc8], 0
je 0x140023f87
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [case.0x14001f33b.33]
call qword [rax + 0xc8]
jmp 0x140023f7f
mov rax, qword [case.0x14001f33b.33]
cmp qword [rax + 0xc0], 0
je 0x140023f87
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [case.0x14001f33b.33]
call qword [rax + 0xc0]
mov rax, qword [rdi + 0x10]
mov qword [rax + 0x38], rbx
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret
mov r10, qword [rcx + 0x10]
cmp r8d, 5
je 0x140023fc0
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x140023fba
mov r10, qword [rcx]
jmp qword [r10 + 0x68]
mov eax, 0x30
ret
cmp byte [rcx + 0x24], 0
je 0x140023fdf
lea rax, str.SSL_PROXY
cmp qword [rcx], rax
je 0x140023fdf
mov rax, qword [rsp + 0x28]
movups xmm0, xmmword [r10 + 0x40]
movups xmmword [rax], xmm0
xor eax, eax
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x10]
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
mov rbx, qword [rax + 0x38]
mov qword [rax + 0x38], rdx
mov rax, qword [case.0x14001f33b.33]
call qword [rax + gethostname]
mov r9, qword [rsi + 0x10]
mov qword [r9 + 0x38], rbx
test eax, eax
jle 0x140024036
mov byte [rdi], 1
mov al, 1
jmp 0x140024060
jne 0x14002403f
mov byte [rdi], 0
xor al, al
jmp 0x140024060
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140024059
mov rax, qword [rcx]
mov r8, rdi
mov rdx, rbp
call qword [rax + 0x58]
movzx eax, al
jmp 0x14002405b
xor eax, eax
test eax, eax
setne al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14002ab20
mov rax, qword [rcx]
jmp qword [rax + 0x60]
xor eax, eax
ret
mov r10, rcx
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14002ab73
mov r10, qword [rcx]
jmp qword [r10 + 0x28]
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x50]
mov qword [r8], rcx
mov rax, qword [r10 + 0x18]
mov rcx, qword [rax + 0x58]
mov qword [r9], rcx
mov rax, qword [r10 + 0x18]
mov ecx, dword [rax + 0x15c]
mov rax, qword [rsp + 0x28]
mov dword [rax], ecx
ret
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14002abb0
mov r10, qword [rcx]
jmp qword [r10 + 0x68]
mov eax, 0x30
ret
push rbx
push rbx
add byte [rax], r8b
add byte [rax], al
add byte [rbx + 0x53], dl
push rbx
push rbx
push rbx
push rbx
sub rax, 0x584f5250
pop rcx
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rbp + 0x6e], dl
push rbp
outsb dx, byte [rsi]
jb 0x1400b0991
invalid
pop rdi
push rbx
push rbx
push rsi
push r10
push rbx
add byte [rax], r8b
add byte [rcx + 0x64], ah
invalid
push 0x75
jae 0x1400b0a1a
pop rdi
jo 0x1400b0a18
insb byte [rdi], dx
insb byte [rdi], dx
jae 0x1400b0a12
je 0x1400b09db
and byte [rax + 0x4f], dl
push r13
push rsp
and byte [rsi + 0x64], ah
cmp eax, 0x647125
add byte [rcx + 0x64], ah
invalid
push 0x75
jae 0x1400b0a3a
pop rdi
jo 0x1400b0a38
insb byte [rdi], dx
insb byte [rdi], dx
jae 0x1400b0a32
je 0x1400b09fb
and byte [rax + 0x4f], dl
and byte [rsi + 0x64], r12b
cmp eax, 0x647125
add byte [rax], al
sub eax, 0x2d2d2d2d
jno 0x1400b0a41
add byte [rax], al
add byte [0x16d383712], ch
sub eax, 0x2d2d2d2d
and byte [rax + 0x55], r10b
and byte [r11 + 0x45], cl
pop rcx
sub eax, 0x2d2d2d2d
add byte [rax], al
add byte [rax], al
add byte [rax], al
or ch, byte [0x16d383733]
add byte [rax], al
add byte [rax], al
add byte [rdx], cl
or ch, byte [0x16d383733]
and byte [rax + 0x55], r10b
and byte [r11 + 0x45], cl
pop rcx
pop r9
sub eax, 0x2d2d2d2d
add byte [rax], al
add byte [rax], al
sub eax, 0
add byte [rax], al
add byte [rax], al
add byte [rax], al
jae 0x1400b0a8a
add byte [rax], al
add byte [rbx + 0x68], dh
jae 0x1400b0a8a
invalid
jne 0x1400b0a96
insb byte [rdi], dx
imul esp, dword [rbx + 0x20], 0x2079656b
imul esp, dword [rbp + 0x79], 0x20
jns 0x1400b0a5c
push 0x3a687361
and byte [rbx + 0x68], dh
invalid
sub dword [rax], eax
add byte [rax], al
sub byte [rax], al
add byte [rax], al
and byte [rax], al
add byte [rax], al
and eax, 0x25732573
jae 0x1400b0a94
jae 0x1400b0a71
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rbx + 0x55], al
push r13
push rdx
pop rdi
push rbx
push rbx
pop rdi
add byte [rax], r8b
add byte [rax], al
add byte [rax], al
add byte [rax], al
invalid
outsd dx, dword [rsi]
outsb dx, byte [rsi]
outsb dx, byte [rsi]
invalid
or byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
movabs al, byte [0x7600000001400b4a]
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], dh
add byte [rax], al
add byte [rax], al
add byte [rax], al
loopne 0x1400b46c2
add al, 0x40
add dword [rax], eax
add byte [rax], al
add byte [rcx], dh
add al, 0x40
add dword [rax], eax
add byte [rax], al
adc byte [rcx], dh
add al, 0x40
add dword [rax], eax
add byte [rax], al
add byte [rax + 2], 0x40
add dword [rax], eax
add byte [rax], al
xor byte [rsi], ch
add al, 0x40
add dword [rax], eax
add byte [rax], al
nop
sub eax, 0x14004
add byte [rax], al
xor byte [rcx], dh
add al, 0x40
add dword [rax], eax
add byte [rax], al
movabs al, byte [0x7000000001400240]
sub eax, 0x14004
add byte [rax], al
invalid
or byte [rax + 1], al
add byte [rax], al
add byte [rax], ah
and byte [rax + 8], ch
add dword [rax], eax
add byte [rax], al
mov dword [rcx], ecx
add dword [rax], eax
add byte [rax], al
xor byte [rdi], dl
or byte [rax + 1], al
add byte [rax], al
add byte [rax], al
jle 0x1400dc02c
add dword [rax], eax
add dword [rax], eax
add byte [rax], al
adc byte [rcx], cl
or eax, dword [rax + 1]
add byte [rax], al
add byte [rdx], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add al, ah
cmp al, byte [rdx]
add dword [rax], eax
add byte [rax], al
nop
cmp eax, dword [rdx]
add dword [rax], eax
add byte [rax], al
cmp eax, dword [rdx]
add dword [rax], eax
add byte [rax], al
invalid