Function at 0x140079d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rax, qword [rcx + 0x10]
mov rdi, qword [rax + 0x30]
mov r12, r8
mov r8d, dword [rdi + 0x18]
mov rsi, rcx
mov r13, rdx
mov rbx, r9
test r8d, r8d
jne 0x140079dc6
mov rax, qword [0x140171aa0]
mov rcx, qword [rdi + 8]
lea r8, [rdi + 0x10]
mov edx, 4
mov rax, qword [rax]
call qword [rax + 0x58]
test eax, eax
jne 0x14007a02f
mov r8d, dword [rdi + 0x18]
mov eax, dword [rdi + 0x14]
mov ecx, dword [rdi + 0x10]
cmp r8, rbx
cmovbe rbx, r8
add rcx, rax
mov rax, qword [0x1401719a0]
add rcx, rbx
call qword [rax]
mov r14, rax
test rax, rax
je 0x14007a057
mov eax, dword [rdi + 0x10]
mov rcx, rbx
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x54], 7
mov dword [rsp + 0x50], eax
call sym.curlx_uztoul
mov edx, dword [rdi + 0x14]
mov r8d, eax
mov eax, dword [rdi + 0x10]
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x60], r8d
mov r8, rbx
lea rcx, [r14 + rax]
add rax, rbx
mov dword [rsp + 0x70], edx
mov rdx, r12
add rax, r14
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rax, qword [0x14016a6c0]
mov dword [rsp + 0x74], 6
mov qword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x40], rax
call sym.memcpy
xor r9d, r9d
xor edx, edx
mov rcx, qword [rdi + 8]
mov rax, qword [0x140171aa0]
lea r8, [rsp + 0x40]
mov rax, qword [rax]
call qword [rax + 0xc8]
test eax, eax
jne 0x140079f80
mov edi, dword [rsp + 0x60]
add edi, dword [rsp + 0x50]
add edi, dword [rsp + 0x70]
test rdi, rdi
je 0x14007a049
xor r12d, r12d
xor ebx, ebx
lea r15, [rsp + 0x3c]
jmp 0x140079f3f
movabs rax, 0x7fffffffffffffff
mov rdx, r13
mov rcx, rsi
cmove rbp, rax
call sym.Curl_conn_cf_get_socket
mov rdx, 0xffffffffffffffff
mov rcx, 0xffffffffffffffff
mov r8, rax
mov r9, rbp
call sym.Curl_socket_check
test eax, eax
js 0x140079ff0
je 0x140079f58
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x28], r15
mov r9, rdi
mov rdx, r13
mov dword [rsp + 0x20], 0
sub r9, rbx
lea r8, [r14 + rbx]
call sym.Curl_conn_cf_send
mov edx, dword [rsp + 0x3c]
cmp edx, 0x51
je 0x140079f33
test edx, edx
jne 0x14007a020
add r12, rax
mov rbx, r12
cmp r12, rdi
jae 0x140079fd0
xor r8d, r8d
xor edx, edx
mov rcx, r13
call sym.Curl_timeleft
mov rbp, rax
test rax, rax
jns 0x140079ec0
mov r8, r12
lea rdx, str.schannel:_timed_out_sending_data__bytes_sent:__zd_
mov rcx, r13
call sym.Curl_failf
mov rax, qword [rsp + 0x100]
mov dword [rax], 0x1c
jmp 0x140079f9c
cmp eax, 0x80090300
mov edx, 0x1b
mov eax, 0x37
mov rsi, qword [rsp + 0x100]
cmove eax, edx
mov dword [rsi], eax
mov rax, qword [0x1401718c0]
mov rcx, r14
mov r12, 0xffffffffffffffff
call qword [rax]
mov rax, r12
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [0x1401718c0]
mov rcx, r14
call qword [rax]
cmp rdi, r12
jne 0x140079faf
mov r12d, dword [rsp + 0x60]
jmp 0x140079faf
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.select_poll_on_SSL_socket__errno:__d
mov rcx, r13
mov r8d, eax
call sym.Curl_failf
mov rax, qword [rsp + 0x100]
mov dword [rax], 0x37
jmp 0x140079f9c
mov rax, qword [rsp + 0x100]
mov dword [rax], edx
jmp 0x140079f9c
mov rax, qword [rsp + 0x100]
mov r12, 0xffffffffffffffff
mov dword [rax], 0x37
jmp 0x140079faf
mov rax, qword [0x1401718c0]
mov rcx, r14
call qword [rax]
jmp 0x140079fe1
mov rax, qword [rsp + 0x100]
mov r12, 0xffffffffffffffff
mov dword [rax], 0x1b
jmp 0x140079faf