Function at 0x14005ece0
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x3c0
mov rax, qword [0x14031a940]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
mov r12, r9
mov rdi, r8
mov r13, rdx
mov rbx, qword [rsp + 0x420]
xor r15d, r15d
xor sil, sil
mov byte [rsp + 0x30], sil
mov rcx, rbx
call fcn.1400028b4
nop
test r13, r13
je 0x14005f673
mov r14, r13
test rdi, rdi
je 0x14005ed6e
cmp word [rdi], r15w
je 0x14005ed6e
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rdi
mov rcx, r13
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005ed6e
mov r14, qword [rsp + 0x40]
mov qword [rsp + 0x2f0], r14
mov dword [rsp + 0x2f8], r15d
mov qword [rsp + 0x300], r15
mov ecx, 0x3e8
call fcn.140003e80
mov rdi, rax
xor edx, edx
mov r8d, 0x3e8
mov rcx, rax
call fcn.140225130
mov dword [rsp + 0x3c], r15d
mov qword [rsp + 0x48], r15
mov dword [rsp + 0x34], 0x7d0
lea rax, [rsp + 0x34]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ee8d
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
ja 0x14005ee8d
test rdi, rdi
je 0x14005eed1
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x14005ee73
test al, 1
jne 0x14005ee0f
shr rax, 1
cmp word [rdi + rax*2 - 2], 0
je 0x14005ee77
mov dword [rsp + 0x38], 4
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005eeec
cmp dword [rsp + 0x34], 4
jne 0x14005eeec
mov r8d, dword [rsp + 0x3c]
lea rdx, [0x1402d16f4]
mov rcx, rbx
call fcn.140044740
mov sil, 1
mov byte [rsp + 0x30], sil
jmp 0x14005f65c
mov word [rdi], r15w
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x14005ee80
jmp 0x14005eed4
test rdi, rdi
jne 0x14005ee0f
mov dword [rsp + 0x38], r15d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ee0f
cmp dword [rsp + 0x34], 7
jne 0x14005ee0f
mov r8d, r15d
mov rdx, rdi
mov rcx, rbx
call fcn.140002a9c
mov sil, 1
mov byte [rsp + 0x30], sil
jmp 0x14005f65c
mov dword [rsp + 0x38], 8
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, r12
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005ef48
cmp dword [rsp + 0x34], 0xb
jne 0x14005ef48
mov r8, qword [rsp + 0x48]
lea rdx, str._I64
mov rcx, rbx
call fcn.140044740
mov sil, 1
mov byte [rsp + 0x30], sil
jmp 0x14005f65c
call fcn.1400210a0
cmp dword [rax + 8], 1
jl 0x14005f65c
call fcn.1400210a0
mov r15, rax
lea rcx, [rsp + 0xb0]
call fcn.1400194c0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x310], xmm0
xor eax, eax
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], 7
mov word [rsp + 0x310], ax
lea rdx, [0x1402cca68]
lea rcx, [rsp + 0x310]
call fcn.140018440
xorps xmm0, xmm0
movups xmmword [rsp + 0x2b0], xmm0
xor r9d, r9d
mov edx, r9d
mov qword [rsp + 0x2c0], rdx
mov r8d, 7
mov qword [rsp + 0x2c8], r8
mov word [rsp + 0x2b0], r9w
mov ebx, r9d
nop dword [rax]
cmp ebx, dword [r15 + 0x10]
jge 0x14005f077
cmp ebx, 0xa
jge 0x14005f077
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x2b0]
cmp rax, 2
jb 0x14005f043
lea rax, [rdx + 2]
mov qword [rsp + 0x2c0], rax
cmp r8, 8
cmovae rcx, qword [rsp + 0x2b0]
mov eax, dword [0x1402cca30]
mov dword [rcx + rdx*2], eax
mov word [rcx + rdx*2 + 4], r9w
inc ebx
mov r8, qword [rsp + 0x2c8]
mov rdx, qword [rsp + 0x2c0]
jmp 0x14005efe0
mov qword [rsp + 0x20], 2
lea r9, [0x1402cca30]
mov edx, 2
call fcn.140022090
xor r9d, r9d
inc ebx
mov r8, qword [rsp + 0x2c8]
mov rdx, qword [rsp + 0x2c0]
jmp 0x14005efe0
xorps xmm0, xmm0
movups xmmword [rsp + 0x350], xmm0
mov qword [rsp + 0x360], r9
mov qword [rsp + 0x368], 7
mov word [rsp + 0x350], r9w
movups xmmword [rsp + 0x2d0], xmm0
mov qword [rsp + 0x2e0], r9
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], r9w
call fcn.140230f0c
mov edx, VariantTimeToDosDateTime
lea rcx, [rsp + 0x330]
call fcn.14023105c
lea rdx, [rsp + 0x330]
lea rcx, [rsp + 0x350]
call fcn.140018440
lea rcx, [rsp + 0x1b0]
call fcn.1400194c0
nop
cmp dword [r15 + 0x14], 0
jne 0x14005f120
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [r15 + 0x14], eax
xor edx, edx
lea rcx, [rsp + 0x1c0]
call fcn.140012fa0
jmp 0x14005f147
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [r15 + 0x14]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
divsd xmm1, qword [0x1402d3520]
lea rcx, [rsp + 0x1c0]
call fcn.140021a80
lea rdx, [rsp + 0x370]
lea rcx, [rsp + 0x1c8]
call fcn.14001a0c0
nop
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 8
jb 0x14005f1a5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f1a0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f6a1
call fcn.140004144
movups xmm0, xmmword [rsp + 0x370]
movups xmmword [rsp + 0x2d0], xmm0
movups xmm1, xmmword [rsp + 0x380]
movups xmmword [rsp + 0x2e0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x380], xmm0
xor eax, eax
mov word [rsp + 0x370], ax
lea rcx, [rsp + 0x1b0]
call fcn.1400193b0
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rsp + 0x50]
call fcn.140222c18
mov r15, rax
mov edx, 0x2040
lea rcx, [rsp + 0x60]
call fcn.140222c18
mov rcx, qword [rsp + 0xc0]
movsxd rdx, dword [rcx + 4]
lea rcx, [rsp + 0xc0]
add rcx, rdx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x350]
cmp qword [rsp + 0x368], 8
cmovae rdx, qword [rsp + 0x350]
mov r8, qword [rsp + 0x360]
lea rcx, [rsp + 0xc0]
call fcn.140016ce0
lea rdx, [0x1402cc568]
mov rcx, rax
call fcn.140016a20
mov rbx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rbx
mov edx, dword [r15 + 8]
call qword [r15]
mov edx, 6
lea rcx, [rsp + 0x70]
call fcn.140222c40
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x30
mov edx, 3
lea rcx, [rsp + 0x80]
call fcn.140222c2c
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov rdx, qword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x2d0]
cmp qword [rsp + 0x2e8], 8
cmovae rdx, qword [rsp + 0x2d0]
mov r8, qword [rsp + 0x2e0]
mov rcx, rbx
call fcn.140016ce0
mov rbx, rax
mov edx, 5
lea rcx, [rsp + 0x90]
call fcn.140222c40
mov r15, rax
lea rdx, [0x1402cc568]
mov rcx, rbx
call fcn.140016a20
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov rdx, qword [r15 + 8]
call qword [r15]
mov rax, qword [rbx]
movsxd rcx, dword [rax + 4]
mov word [rcx + rbx + 0x58], 0x20
mov edx, 0x40
lea rcx, [rsp + 0xa0]
call fcn.140222c18
mov rcx, qword [rbx]
movsxd rcx, dword [rcx + 4]
add rcx, rbx
mov edx, dword [rax + 8]
call qword [rax]
lea rdx, [rsp + 0x310]
cmp qword [rsp + 0x328], 8
cmovae rdx, qword [rsp + 0x310]
mov r8, qword [rsp + 0x320]
mov rcx, rbx
call fcn.140016ce0
lea rbx, [rsp + 0x2b0]
cmp qword [rsp + 0x2c8], 8
cmovae rbx, qword [rsp + 0x2b0]
lea rdx, [0x1402cca80]
mov rcx, rax
call fcn.140016a20
mov rdx, rbx
mov rcx, rax
call fcn.140016a20
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14032a09c], eax
jg 0x14005f6a7
xor ebx, ebx
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0xc8]
call fcn.14001a0c0
nop
mov rdx, qword [reloc.OLEAUT32.dll_VariantInit]
cmp rdx, 8
jb 0x14005f43b
lea rdx, [rdx*2 + 2]
mov rcx, qword [0x14031b5e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f436
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f700
call fcn.140004144
movups xmm0, xmmword [rsp + 0x390]
movups xmmword [0x14031b5e0], xmm0
movups xmm1, xmmword [rsp + 0x3a0]
movups xmmword [0x14031b5f0], xmm1
movdqa xmm0, xmmword [0x1402d3570]
movdqu xmmword [rsp + 0x3a0], xmm0
mov word [rsp + 0x390], bx
mov rdx, qword [rsp + 0x2e8]
cmp rdx, 8
jb 0x14005f4ba
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f4b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f706
call fcn.140004144
mov qword [rsp + 0x2e0], rbx
mov qword [rsp + 0x2e8], 7
mov word [rsp + 0x2d0], bx
mov rdx, qword [rsp + 0x368]
cmp rdx, 8
jb 0x14005f51e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x350]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f519
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f70c
call fcn.140004144
mov qword [rsp + 0x360], rbx
mov qword [rsp + 0x368], 7
mov word [rsp + 0x350], bx
mov rdx, qword [rsp + 0x2c8]
cmp rdx, 8
jb 0x14005f582
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x2b0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f57d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f712
call fcn.140004144
mov qword [rsp + 0x2c0], rbx
mov qword [rsp + 0x2c8], 7
mov word [rsp + 0x2b0], bx
mov rdx, qword [rsp + 0x328]
cmp rdx, 8
jb 0x14005f5e6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x310]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005f5e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005f718
call fcn.140004144
mov qword [rsp + 0x320], rbx
mov qword [rsp + 0x328], 7
mov word [rsp + 0x310], bx
lea rcx, [rsp + 0xb0]
call fcn.1400193b0
call fcn.1400210a0
lea rdx, [0x14031b5e0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x14031b5e0]
mov r8, qword [0x14031b5f0]
mov rcx, rax
call fcn.140016ce0
lea rdx, str.Cant_handle_Registry_value_for:
mov rcx, rax
call fcn.140016a20
mov rdx, r12
mov rcx, rax
call fcn.140016a20
mov rcx, rax
call fcn.140017c00
mov rcx, rdi
call fcn.140004144
cmp r14, r13
je 0x14005f673
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14005f67a
movzx eax, sil
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1402202b0
add rsp, 0x3c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.1402295a4
nop
lea rcx, [0x14032a09c]
call fcn.1402205f4
xor ebx, ebx
cmp dword [0x14032a09c], 0xffffffff
jne 0x14005f3df
xorps xmm0, xmm0
movups xmmword [0x14031b5e0], xmm0
movdqa xmm1, xmmword [0x1402d3570]
movdqu xmmword [0x14031b5f0], xmm1
mov word [0x14031b5e0], bx
lea rcx, [0x14026e440]
call fcn.140220508
lea rcx, [0x14032a09c]
call fcn.140220588
jmp 0x14005f3df
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
nop
call fcn.1402295a4
int3