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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov r9d, dword [rcx + 0x270]
xor edi, edi
mov rbx, rdx
test r9d, r9d
mov rbp, rcx
mov ecx, dword [rcx + 0x274]
mov edx, edi
mov r15d, 1
mov r14, r8
cmovg edx, r15d
mov esi, 0x493e0
test ecx, ecx
jle 0x14012247b
or edx, 2
dec edx
je 0x140122496
dec edx
je 0x140122492
dec edx
jne 0x140122499
mov esi, ecx
cmp r9d, ecx
cmovl esi, r9d
jmp 0x140122499
mov esi, ecx
jmp 0x140122499
mov esi, r9d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov eax, 0x10624dd3
mul ecx
mov r8d, edx
shr r8d, 6
mov eax, r8d
mov dword [rsp + 0x40], r8d
imul eax, eax, 0x3e8
sub ecx, eax
imul ecx, ecx, 0x3e8
mov dword [rsp + 0x44], ecx
mov rcx, qword [rbp + 0x6b8]
mov rdx, qword [rsp + 0x40]
shr rdx, 0x20
mov rax, rcx
sub ecx, r8d
shr rax, 0x20
sub edx, eax
mov eax, 0x10624dd3
imul ecx, ecx, 0x3e8
imul edx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0xffffffff
sub ecx, edx
add esi, ecx
cmove esi, eax
cmp dword [rbx + 0x234], edi
je 0x140122569
mov dword [r14], edi
cmp dword [rbx + 0x238], edi
je 0x1401226b6
mov rdx, qword [rbx + 0xa8]
mov qword [rbx + 0xb0], rdx
movzx ecx, byte [rdx]
test cl, cl
je 0x1401226b6
nop dword [rax + rax]
lea rdx, [rdx + 1]
and cl, 0x80
jne 0x140122555
movzx ecx, byte [rdx]
test cl, cl
jne 0x140122540
jmp 0x1401226b6
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains
mov rcx, rbp
call fcn.140125a80
jmp 0x1401226b6
mov rcx, qword [rbx + 0xa8]
mov qword [rbx + 0xb0], rcx
movzx eax, byte [rcx]
test al, al
je 0x1401225a0
nop
lea rcx, [rcx + 1]
and al, 0x80
jne 0x140122591
movzx eax, byte [rcx]
test al, al
jne 0x140122580
jmp 0x1401225a0
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains
mov rcx, rbp
call fcn.140125a80
mov rax, qword [rbx + 0xc8]
test rax, rax
je 0x14012264e
cmp byte [rax], dil
je 0x14012264e
mov rcx, rax
mov qword [rbx + 0xd0], rax
movzx eax, byte [rax]
test al, al
je 0x1401225f0
nop word [rax + rax]
lea rcx, [rcx + 1]
and al, 0x80
jne 0x1401225e1
movzx eax, byte [rcx]
test al, al
jne 0x1401225d0
jmp 0x1401225f0
lea rdx, str.IDN_support_not_present__cant_parse_Unicode_domains
mov rcx, rbp
call fcn.140125a80
mov qword [rsp + 0x40], rdi
test esi, esi
js 0x1401226a8
mov r8d, dword [rbx + 0xd8]
mov rdx, qword [rbx + 0xc8]
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140124f30
cmp eax, r15d
jne 0x140122625
mov dword [r14], r15d
jmp 0x1401226ad
cmp eax, 0xfffffffe
je 0x1401226a8
cmp qword [rsp + 0x40], rdi
jne 0x1401226ad
mov r8, qword [rbx + 0xd0]
lea rdx, str.Couldnt_resolve_proxy__s
mov rcx, rbp
call fcn.140125b60
mov edi, 5
jmp 0x1401226ad
movzx r8d, word [rbx + 0xdc]
mov qword [rsp + 0x40], rdi
mov dword [rbx + 0xd8], r8d
test esi, esi
js 0x1401226a8
mov rdx, qword [rbx + 0xa8]
lea r9, [rsp + 0x40]
mov rcx, rbx
call fcn.140124f30
cmp eax, r15d
je 0x14012261d
cmp eax, 0xfffffffe
je 0x1401226a8
cmp qword [rsp + 0x40], rdi
jne 0x1401226ad
mov r8, qword [rbx + 0xb0]
lea rdx, str.Couldnt_resolve_host__s
mov rcx, rbp
call fcn.140125b60
mov edi, 6
jmp 0x1401226ad
mov edi, 0x1c
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x50], rax
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
mov eax, edi
add rsp, 0x20
pop r15
pop r14
pop rdi
ret