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

Disassembly:
push rbp
push r15
xor rax, rax
push rax
push rax
sub rsp, 0x28
call fcn.1400f9dd0
mov dword [rsp + 0x28], 3
mov rcx, qword [0x140276740]
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
lea rcx, [rsp + 0x38]
pop rdx
call fcn.1400f9ad0
push 0xffffffffffffffff
mov rbp, qword [0x140276c80]
push qword [rbp + 0x130]
pop rcx
pop rdx
call fcn.140078b6e
mov qword [0x140276280], 0x2710
mov dword [0x140276998], 0
push qword [0x140276d70]
pop rcx
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c30
or rax, rax
je 0x1400600f8
mov rbp, qword [0x140276d78]
movsxd rax, dword [rbp + 0x10]
mov rax, rax
push rax
pop rcx
call fcn.1400a19a4
and rax, rax
je 0x14005ff63
movsxd r15, dword [0x140276998]
inc r15
mov rax, r15
push rax
pop rax
mov dword [0x140276998], eax
mov rbp, qword [0x140276d78]
fld dword [rbp + 0x21]
fcomp dword [0x1402499f8]
fnstsw ax
test ah, 0x40
je 0x14005fe9f
call sub.KERNEL32.dll_GetTickCount
push rax
fild qword [rsp]
fstp dword [rsp]
mov rbp, qword [0x140276d78]
pop rax
mov dword [rbp + 0x21], eax
jmp 0x14005ff5e
call sub.KERNEL32.dll_GetTickCount
mov r15, rax
mov rbp, qword [0x140276d78]
mov qword [rsp - 8], r15
fild qword [rsp - 8]
fsub dword [rbp + 0x21]
fadd dword [0x1402499f8]
fild qword [0x140276280]
fcompp
fnstsw ax
test ah, 1
je 0x14005ff5e
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movsx r15, byte [rbp + 0x7a]
and r15, r15
jne 0x14005ff10
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
mov byte [rbp + 0x7a], 1
call sub.KERNEL32.dll_GetTickCount
push rax
fild qword [rsp]
fstp dword [rsp]
mov rbp, qword [0x140276d78]
pop rax
mov dword [rbp + 0x21], eax
jmp 0x14005ff5e
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movabs rdx, 0x14022f742
lea rcx, [rbp + 0x69]
call fcn.1400f9bb0
mov rbp, qword [0x140276d78]
movsxd rax, dword [rbp + 0x10]
mov rax, rax
push rax
pop rcx
call fcn.1400a1b54
fld dword [0x140249a08]
sub rsp, 8
fstp dword [rsp]
movss xmm0, dword [rsp]
add rsp, 8
call fcn.14006bb76
jmp 0x1400600d8
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movsx r15, byte [rbp + 0xa7]
and r15, r15
jne 0x14005ff96
mov rbp, qword [0x140276d78]
movsx r15, byte [rbp + 0x20]
cmp r15, 1
jne 0x14005ff96
mov rax, 1
jmp 0x14005ff99
xor rax, rax
and rax, rax
je 0x1400600d8
push 0
mov rbp, qword [0x140276d78]
push qword [rbp + 0x14]
movabs rax, reloc.OLEAUT32.dll_VariantCopy
push rax
movsxd rax, dword [rsp + 0x40]
push rax
push qword [rsp + 0x50]
movabs rax, str.rewrite
push rax
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400388e1
add rsp, 0x30
lea rbp, [0x140276b18]
cmp byte [rbp + 0x64], 0
je 0x14006000f
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movabs rdx, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.1400f9bb0
lea rbp, [0x140276b18]
cmp byte [rbp + 0x62], 0
je 0x140060041
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
push qword [rbp + 0x93]
pop rcx
call fcn.1400f6470
and rax, rax
je 0x140060041
mov rax, 1
jmp 0x140060044
xor rax, rax
and rax, rax
je 0x14006006a
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movabs rdx, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x93]
call fcn.1400f9bb0
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
mov byte [rbp + 0xa7], 1
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400f99b0
add rsp, 0x20
pop rcx
push rax
push 0
mov rbp, qword [0x140276d78]
push qword [rbp + 0x14]
mov rbp, qword [rbp + 0x14]
movsxd rax, dword [rbp + 0xa3]
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140030f19
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14009ebc0
add rsp, 0x28
pop rax
fld dword [0x140249a1c]
sub rsp, 8
fstp dword [rsp]
movss xmm0, dword [rsp]
add rsp, 8
call fcn.14006bb76
jmp 0x14005fe24
push qword [0x140276d70]
pop rcx
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c30
or rax, rax
je 0x140060148
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movsx r15, byte [rbp + 0xa7]
cmp r15, 1
jne 0x140060146
push qword [0x140276d70]
pop rcx
call fcn.1400f0f1c
jmp 0x140060110
mov dword [0x140276998], 0
push qword [0x140276d70]
pop rcx
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c30
or rax, rax
je 0x1400601ac
mov rbp, qword [0x140276d78]
movsxd rax, dword [rbp + 0x10]
mov rax, rax
push rax
pop rcx
call fcn.1400a19a4
and rax, rax
je 0x1400601aa
movsxd r15, dword [0x140276998]
inc r15
mov rax, r15
push rax
pop rax
mov dword [0x140276998], eax
jmp 0x14006016a
movsxd r15, dword [0x140276998]
cmp r15d, dword [0x1402769c0]
jge 0x14006026e
push qword [0x140276d70]
pop rcx
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c30
or rax, rax
je 0x14006026e
mov rbp, qword [0x140276d78]
movsx r15, byte [rbp + 0x20]
and r15, r15
jne 0x140060269
lea rbp, [0x140276b18]
cmp byte [rbp + 0x37], 0
je 0x14006021a
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
mov byte [rbp + 0x7a], 1
mov rbp, qword [0x140276d78]
mov byte [rbp + 0x20], 1
push qword [rbp + 0x14]
lea rax, [0x14007259c]
mov rax, rax
push rax
pop rcx
pop rdx
call fcn.1400a1bcc
mov rax, rax
push rax
pop rax
mov dword [rbp + 0x10], eax
movsxd r15, dword [0x140276998]
inc r15
mov rax, r15
push rax
pop rax
mov dword [0x140276998], eax
movsxd r15, dword [0x140276998]
cmp r15d, dword [0x1402769c0]
jl 0x140060269
jmp 0x14006026e
jmp 0x1400601d8
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
mov rbp, qword [0x140276c80]
mov rcx, qword [rbp + 0x138]
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
movabs rcx, 0x1402402f0
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
mov rcx, qword [rbp + 0x140]
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
movabs rcx, 0x14022f04c
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400f99b0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
movsxd rax, dword [0x140276998]
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f6720
add rsp, 0x20
pop rax
movabs rcx, 0x14022f04c
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
mov rcx, qword [rbp + 0x270]
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
movabs rcx, 0x14022f04c
sub rsp, 0x28
call fcn.1400f9a60
add rsp, 0x28
push rcx
sub rsp, 0x20
call fcn.1400f99b0
add rsp, 0x20
pop rcx
push rax
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
sub rsp, 8
push qword [0x140276d70]
pop rcx
sub rsp, 0x20
call fcn.1400f0b74
add rsp, 0x28
mov rax, rax
push rax
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400f6720
add rsp, 0x20
pop rax
call fcn.1400f9ca0
push 5
push rax
call fcn.1400f9a30
mov rdx, rax
pop rax
add qword [rsp + 8], rdx
pop rcx
pop rdx
sub rsp, 0x20
call fcn.1400cd05c
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14009ebc0
add rsp, 0x28
pop rax
fld dword [0x140249a20]
sub rsp, 8
fstp dword [rsp]
movss xmm0, dword [rsp]
add rsp, 8
call fcn.14006bb76
movsxd r15, dword [0x140276998]
and r15, r15
jne 0x14005fe02
push qword [0x140276d70]
pop rcx
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c1c
mov rcx, qword [0x140276d70]
call fcn.1400f0c30
or rax, rax
je 0x14006059c
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movsx r15, byte [rbp + 0xa7]
and r15, r15
jne 0x140060597
push 0
mov rbp, qword [0x140276d78]
push qword [rbp + 0x14]
movabs rax, reloc.OLEAUT32.dll_VariantCopy
push rax
movsxd rax, dword [rsp + 0x40]
push rax
push qword [rsp + 0x50]
movabs rax, str.rewrite
push rax
pop rcx
pop rdx
pop r8
pop r9
sub rsp, 0x20
call fcn.1400388e1
add rsp, 0x30
lea rbp, [0x140276b18]
cmp byte [rbp + 0x64], 0
je 0x1400604ce
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movabs rdx, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x20]
call fcn.1400f9bb0
lea rbp, [0x140276b18]
cmp byte [rbp + 0x62], 0
je 0x140060500
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
push qword [rbp + 0x93]
pop rcx
call fcn.1400f6470
and rax, rax
je 0x140060500
mov rax, 1
jmp 0x140060503
xor rax, rax
and rax, rax
je 0x140060529
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
movabs rdx, reloc.WS2_32.dll_WSAGetLastError
lea rcx, [rbp + 0x93]
call fcn.1400f9bb0
mov rbp, qword [0x140276d78]
mov rbp, qword [rbp + 0x14]
mov byte [rbp + 0xa7], 1
push rcx
sub rsp, 0x28
call fcn.1400f99b0
add rsp, 0x28
pop rcx
push rax
push rcx
sub rsp, 0x20
call fcn.1400f99b0
add rsp, 0x20
pop rcx
push rax
push 0
mov rbp, qword [0x140276d78]
push qword [rbp + 0x14]
mov rbp, qword [rbp + 0x14]
movsxd rax, dword [rbp + 0xa3]
push rax
pop rcx
pop rdx
pop r8
sub rsp, 0x20
call fcn.140030f19
add rsp, 0x28
pop rcx
push rax
sub rsp, 0x28
call fcn.14009ebc0
add rsp, 0x28
pop rax
jmp 0x140060430
push qword [0x140276d70]
pop rcx
call fcn.1400f0cfc
xor rax, rax
push rax
mov rcx, qword [rsp + 0x38]
sub rsp, 0x28
call fcn.1400f9e70
add rsp, 0x28
pop rax
add rsp, 0x38
pop r15
pop rbp
ret