Function at 0x140069b70
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r14
push r15
sub rsp, 0x20
cmp dword [rcx + 0x1f4], 2
mov rsi, qword [rcx]
mov r15, qword [rcx + 0x1a8]
mov r14, r9
mov rbx, rcx
mov ebp, 1
jne 0x140069bab
mov dword [r9], ebp
xor eax, eax
jmp 0x140069e55
cmp dword [rcx + 0x210], 0
mov qword [rsp + 0x48], rdi
jne 0x140069c93
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
xor ecx, ecx
test r8d, r8d
mov edi, 0x493e0
cmovg ecx, ebp
test edx, edx
jle 0x140069bde
or ecx, 2
dec ecx
je 0x140069bf9
dec ecx
je 0x140069bf5
dec ecx
jne 0x140069bfc
mov edi, edx
cmp r8d, edx
cmovl edi, r8d
jmp 0x140069bfc
mov edi, edx
jmp 0x140069bfc
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
mov dword [rsp + 0x40], r9d
imul ecx, r9d, 0x3e8
sub r8d, ecx
imul eax, r8d, 0x3e8
mov r8, qword [rsi + 0x7d0]
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0x40]
mov rax, r8
shr rax, 0x20
shr rcx, 0x20
sub r8d, r9d
sub ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, r8d, 0x3e8
sub eax, edx
add edi, eax
test edi, edi
jg 0x140069c83
lea rdx, [0x14017e388]
mov rcx, rsi
call fcn.140052c80
mov eax, 0x1c
jmp 0x140069e50
mov rcx, rbx
call fcn.140066970
test eax, eax
jne 0x140069e50
mov eax, dword [rbx + 0x210]
dec eax
cmp eax, 2
ja 0x140069df4
mov r8d, dword [rsi + 0x338]
mov edx, dword [rsi + 0x33c]
xor eax, eax
test r8d, r8d
mov edi, 0x493e0
cmovg eax, ebp
test edx, edx
jle 0x140069cc5
or eax, 2
dec eax
je 0x140069ce0
dec eax
je 0x140069cdc
dec eax
jne 0x140069ce3
mov edi, edx
cmp r8d, edx
cmovl edi, r8d
jmp 0x140069ce3
mov edi, edx
jmp 0x140069ce3
mov edi, r8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, eax
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
mov dword [rsp + 0x40], r9d
imul ecx, r9d, 0x3e8
sub r8d, ecx
mov rcx, qword [rsi + 0x7d0]
imul eax, r8d, 0x3e8
mov dword [rsp + 0x44], eax
mov r8, qword [rsp + 0x40]
mov rax, rcx
shr r8, 0x20
sub ecx, r9d
shr rax, 0x20
sub r8d, eax
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, ecx, 0x3e8
sub eax, edx
add edi, eax
je 0x140069dde
test edi, edi
js 0x140069dde
mov edx, dword [rbx + 0x210]
lea eax, [rdx - 2]
cmp eax, ebp
ja 0x140069d8d
or r8, 0xffffffffffffffff
cmp edx, 3
cmove r8, r15
or rcx, 0xffffffffffffffff
cmp edx, 2
cmove rcx, r15
xor r9d, r9d
call fcn.140052450
test eax, eax
js 0x140069dbf
je 0x140069db3
mov rcx, rbx
call fcn.140066fa0
test eax, eax
jne 0x140069e50
mov ecx, dword [rbx + 0x210]
dec ecx
cmp ecx, 2
ja 0x140069c93
jmp 0x140069e50
mov dword [r14], 0
jmp 0x140069e4e
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.select_poll_on_SSL_socket__errno:__d
mov rcx, rsi
mov r8d, eax
call fcn.140052c80
mov eax, 0x23
jmp 0x140069e50
lea rdx, [0x14017e3a0]
mov rcx, rsi
call fcn.140052c80
mov eax, 0x1c
jmp 0x140069e50
cmp dword [rbx + 0x210], 4
jne 0x140069e09
mov rcx, rbx
call fcn.140069a00
test eax, eax
jne 0x140069e50
cmp dword [rbx + 0x210], 5
jne 0x140069e3d
mov dword [rbx + 0x1f4], 2
lea rax, [0x140069f90]
mov qword [rbx + 0x1d0], rax
lea rax, [0x140069e70]
mov qword [rbx + 0x1e0], rax
mov dword [r14], ebp
jmp 0x140069e44
mov dword [r14], 0
mov dword [rbx + 0x210], 0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop rsi
ret