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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x808]
sub rsp, 0x8e0
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1401a1e90]
xor rax, rsp
mov qword [rbp + 0x7d0], rax
mov r13, rcx
mov qword [rbp - 0x48], rcx
xor r12d, r12d
mov dword [rsp + 0x78], r12d
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov qword [rsp + 0x68], r12
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x50], rdi
mov qword [rbp - 0x80], r12
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9d, [r12 + 1]
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x140048e68
mov r14, qword [rbp - 0x80]
jmp 0x140048ee5
mov ecx, dword [0x1401a9d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
mov eax, dword [0x1401aa56c]
mov ecx, 0x3669c0b
cmp r8d, 8
cmove eax, ecx
mov dword [0x1401aa56c], eax
mov qword [rbp - 0x78], r12
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140049339
mov r14, qword [rbp - 0x78]
mov qword [rsp + 0x58], r14
mov dword [rsp + 0x60], r12d
mov word [rbp - 0x30], r12w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rbp - 0x2e]
call fcn.1400c8db0
mov dword [rsp + 0x48], 0x800
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x74]
xor r8d, r8d
lea rdx, str.CurrentVersion
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140049321
mov eax, dword [rsp + 0x74]
dec eax
cmp eax, 1
ja 0x140049321
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x140048f6f
test al, 1
jne 0x140049321
shr rax, 1
cmp word [rbp + rax*2 - 0x32], 0
je 0x140048f74
jmp 0x140049321
mov word [rbp - 0x30], r12w
lea rax, [rbp - 0x30]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140048f80
test edi, edi
jne 0x140048fef
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140049071
cmp dword [rdx + 0x10], 0
jge 0x140048fc3
cmp dword [rbx - 0xc], 0
jge 0x140048fb6
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140049071
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140048fd3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x58]
jmp 0x140049071
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x30]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x14004900c
mov ecx, 0x80070057
call fcn.140001930
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14004902e
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140002330
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x140049052
lea r8, [rbx + r15*2]
call fcn.1400c419c
jmp 0x14004905b
lea r8, [rbp - 0x30]
call fcn.1400c4298
cmp edi, dword [rbx - 0xc]
jg 0x140049316
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r12 + rbx], ax
xor r12d, r12d
lea rcx, [0x1401a19a8]
mov rax, qword [0x1401a19a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rdx, [0x1401389d0]
test rdx, 0xffffffffffff0000
jne 0x1400490bc
movzx edi, dx
mov ecx, edi
call fcn.1400019f0
test rax, rax
je 0x1400490d1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140002530
jmp 0x1400490cc
mov r8d, 1
lea rcx, [rsp + 0x30]
call fcn.140002240
mov rbx, qword [rsp + 0x30]
mov dword [rsp + 0x44], 0x800
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor r8d, r8d
lea rdx, str.CurrentBuild
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140049142
mov eax, dword [rsp + 0x70]
dec eax
cmp eax, 1
jbe 0x14004911c
mov edi, 0xd
jmp 0x140049142
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x14004913a
test al, 1
jne 0x140049133
shr rax, 1
cmp word [rbp + rax*2 - 0x32], 0
je 0x14004913f
mov edi, 0xd
jmp 0x140049142
mov word [rbp - 0x30], r12w
mov edi, r12d
mov ecx, dword [0x1401a9d80]
lea r8d, [rcx + 2]
lea eax, [rcx + 1]
imul r8d, eax
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 2
sub r8d, eax
cmp r8d, 8
jne 0x140049183
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401a9d80], eax
test edi, edi
jne 0x1400492f1
lea rax, [rbp - 0x30]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140049192
test edi, edi
jne 0x1400491f9
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140049272
cmp dword [rdx + 0x10], 0
jge 0x1400491d5
cmp dword [rbx - 0xc], 0
jge 0x1400491c8
mov ecx, 0x80070057
call fcn.140001930
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x140049272
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400491e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
jmp 0x140049272
mov r15d, dword [rbx - 0x10]
lea r14, [rbp - 0x30]
sub r14, rbx
sar r14, 1
test edi, edi
jns 0x140049216
mov ecx, 0x80070057
call fcn.140001930
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140049238
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.140002330
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14004925c
lea r8, [rbx + r14*2]
call fcn.1400c419c
jmp 0x140049265
lea r8, [rbp - 0x30]
call fcn.1400c4298
cmp edi, dword [rbx - 0xc]
jg 0x1400492e6
mov dword [rbx - 0x10], edi
mov word [r15 + rbx], r12w
lea r8, [rsp + 0x30]
lea rdx, [0x140138b1c]
lea rcx, [rbp - 0x58]
call fcn.1400196f0
nop
lea r8, [0x140133380]
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.140019610
nop
mov rdx, qword [rax]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.14000f920
nop
mov rdx, qword [rbp - 0x50]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400492c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400492df
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x30]
jmp 0x1400492f1
mov ecx, 0x80070057
call fcn.140001930
nop
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140049305
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x50]
jmp 0x140049321
mov ecx, 0x80070057
call fcn.140001930
int3
test r14, r14
je 0x140049334
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov dword [rsp + 0x4c], r12d
mov dword [rsp + 0x40], r12d
mov qword [rbp - 0x70], r12
mov eax, dword [0x1401a9d80]
mov ecx, eax
imul ecx, eax
imul ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0xe
sub ecx, edx
cmp ecx, 9
jne 0x1400493bc
mov rax, qword [str.50x8EIGY63J5]
mov qword [rbp - 0x68], rax
mov eax, dword [0x140138b50]
mov dword [rbp - 0x60], eax
movzx eax, byte [0x140138b54]
mov byte [rbp - 0x5c], al
lea rax, [rbp - 0x68]
mov rcx, rsi
inc rcx
cmp byte [rax + rcx], 0
jne 0x140049397
mov eax, 4
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.1400c2fb8
mov rcx, rax
call fcn.1400c4098
mov rax, qword [0x1401aa8e8]
test rax, rax
jne 0x140049403
lea rcx, str.Version.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1400493f3
lea rdx, str.GetFileVersionInfoSizeW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1401aa8e8], rax
jmp 0x1400493fa
mov rax, qword [0x1401aa8e8]
test rax, rax
je 0x140049544
lea rdx, [rsp + 0x4c]
lea rcx, str.kernel32.dll
call rax
mov r14d, eax
test eax, eax
je 0x140049544
mov ecx, r14d
call fcn.1400c2fb8
mov r15, rax
mov rcx, qword [0x1401a9e98]
test rcx, rcx
jne 0x140049485
lea rcx, [0x1401a4e10]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [0x1401a9e98], 0
jne 0x140049471
mov ecx, 0xb8
call fcn.1400c4130
mov qword [rbp - 0x40], rax
test rax, rax
je 0x140049467
mov rcx, rax
call fcn.14003b230
jmp 0x14004946a
mov rax, r12
mov qword [0x1401a9e98], rax
lea rcx, [0x1401a4e10]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [0x1401a9e98]
mov qword [rsp + 0x20], r15
mov r9d, r14d
mov r8d, dword [rsp + 0x4c]
lea rdx, str.kernel32.dll
call fcn.14003b4c0
test eax, eax
je 0x14004953c
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x70]
lea rdx, [0x140135e30]
mov rcx, r15
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14004953c
cmp dword [rsp + 0x40], 0
je 0x14004953c
mov rax, qword [rbp - 0x70]
cmp dword [rax], 0xfeef04bd
jne 0x1400494fe
movzx r8d, word [rax + 0x12]
movzx r9d, word [rax + 0x10]
movzx eax, word [rax + 0x16]
mov dword [rsp + 0x20], eax
lea rdx, str._d._d___d_
lea rcx, [rsp + 0x50]
call fcn.1400111b0
mov rdi, qword [rsp + 0x50]
mov ecx, dword [0x1401a9d80]
mov r8d, ecx
imul r8d, ecx
imul r8d, ecx
mov eax, 0x2aaaaaab
imul r8d
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*2]
shl eax, 3
sub r8d, eax
cmp r8d, 0x14
jne 0x14004953c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1401a9d80], eax
mov rcx, r15
call fcn.1400c4098
lea r14, [rbx - 0x18]
mov rcx, r14
call fcn.140002390
add rax, 0x18
mov qword [r13], rax
mov dword [rsp + 0x78], 1
mov eax, r12d
test rdi, rdi
setne al
test eax, eax
jne 0x140049578
mov ecx, 0x80004005
call fcn.140001930
int3
mov rcx, rdi
sub rcx, rbx
nop
movzx eax, word [rbx]
cmp ax, word [rbx + rcx]
jne 0x140049597
add rbx, 2
test ax, ax
jne 0x140049580
mov eax, r12d
jmp 0x14004959c
sbb eax, eax
or eax, 1
test eax, eax
je 0x14004961d
cmp dword [rdi - 0x10], 0
jl 0x14004961d
lea rdx, [0x140138a10]
mov rcx, rdi
call fcn.1400c4670
test rax, rax
je 0x14004961d
sub rax, rdi
sar rax, 1
test eax, eax
jne 0x14004961d
lea rcx, [rdi - 0x18]
mov rbx, qword [r13]
sub rbx, 0x18
cmp rcx, rbx
je 0x14004961d
cmp dword [rbx + 0x10], eax
jl 0x14004960d
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x14004960d
call fcn.140002390
mov rdi, rax
lock add dword [rbx + 0x10], 0xffffffff
jg 0x1400495fe
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rdi + 0x18]
mov qword [r13], rax
mov rdi, qword [rsp + 0x50]
jmp 0x14004961d
mov r8d, dword [rdi - 0x10]
mov rdx, rdi
mov rcx, r13
call fcn.140002240
nop
lea rdx, [rdi - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140049632
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock add dword [r14 + 0x10], 0xffffffff
jg 0x140049648
mov rcx, qword [r14]
mov r8, qword [rcx]
mov rdx, r14
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004965d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], r12d
mov rax, r13
mov rcx, qword [rbp + 0x7d0]
xor rcx, rsp
call fcn.1400c3970
lea r11, [rsp + 0x8e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret