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

Disassembly:
mov rcx, qword [rcx]
test rcx, rcx
jne 0x18009eb20
xor eax, eax
ret
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b8]
sub rsp, 0x2b8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1801548a8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r15, r9
mov r12, r8
movsxd rdi, edx
mov rbx, rcx
test edx, edx
jns 0x18009eb6d
xor eax, eax
jmp 0x18009eec5
lea rax, vtable._BaseModule::CAutoLocker.0
mov qword [rsp + 0x58], rax
lea rsi, [rcx + 0x58]
mov qword [rsp + 0x60], rsi
test rsi, rsi
je 0x18009eb90
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax]
nop
cmp dword [rbx + 0x40], 0
jl 0x18009eba1
mov r14d, 1
jmp 0x18009eeb3
mov ecx, 8
call fcn.1800969c8
mov qword [rsp + 0x38], rax
xor r13d, r13d
test rax, rax
je 0x18009ebc2
mov rcx, rax
call fcn.180077500
jmp 0x18009ebc5
mov rax, r13
mov qword [rbx + 0x98], rax
mov rdx, rdi
mov rcx, rax
call fcn.18007c7e0
test al, al
jne 0x18009ec0f
mov rcx, qword [rbx + 0x98]
call fcn.18007ee80
mov r14, qword [rbx + 0x98]
test r14, r14
je 0x18009ec08
mov rcx, r14
call fcn.1800776b0
mov edx, 8
mov rcx, r14
call fcn.1800965cc
mov qword [rbx + 0x98], r13
mov dword [rbx + 0x40], edi
test edi, edi
jns 0x18009ec1e
mov r14d, r13d
jmp 0x18009eeb3
test r12, r12
je 0x18009ec2f
lea rcx, [rbx + 0x50]
mov rdx, r12
call fcn.180020a10
test r15, r15
je 0x18009ec42
lea rcx, [rbx + 0x48]
mov rdx, r15
call fcn.180020a10
jmp 0x18009ecb4
mov rcx, qword [rbx + 0x98]
test rcx, rcx
je 0x18009ecb4
xor r8d, r8d
lea rdx, [rsp + 0x70]
call fcn.180078c40
nop
cmp qword [rax + 0x18], 8
jb 0x18009ec66
mov rax, qword [rax]
lea rcx, [rbx + 0x48]
mov rdx, rax
call fcn.180020a10
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x18009ecb4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18009ecaf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18009eef3
call fcn.1800965cc
mov rcx, rbx
call fcn.18009f050
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
mov qword [rsp + 0x50], r13
mov r9d, 0x2021f
lea r8, str.SOFTWAREComMaster
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.180041b90
mov r14d, 1
test eax, eax
je 0x18009ed31
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1800cfbf4
call fcn.1800cfbc8
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
inc r8d
mov dword [rbx + 0x38], r8d
mov rdi, qword [rsp + 0x40]
jmp 0x18009eea4
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.1800c61d0
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.stat_rand
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x18009edb4
mov eax, dword [rsp + 0x34]
dec eax
cmp eax, r14d
ja 0x18009edb4
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x18009eda3
test r14b, al
jne 0x18009edb4
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
je 0x18009eda8
jmp 0x18009edb4
mov word [rbp - 0x70], r13w
lea rcx, [rbp - 0x70]
call fcn.1800ce3d0
mov dword [rbx + 0x38], eax
cmp dword [rbx + 0x38], 0
jne 0x18009ee93
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
call fcn.1800cfbf4
call fcn.1800cfbc8
mov r8d, eax
mov eax, 0x51eb851f
imul r8d
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
imul ecx, edx, 0x64
sub r8d, ecx
inc r8d
mov dword [rbx + 0x38], r8d
call fcn.18000a5b0
mov rcx, rax
test rax, rax
je 0x18009eee8
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r8d, dword [rbx + 0x38]
lea rdx, [0x180106c28]
lea rcx, [rsp + 0x38]
call fcn.1800243a0
mov rsi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x18009ee72
mov rax, rsi
nop dword [rax + rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x18009ee40
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r14d
xor r8d, r8d
lea rdx, str.stat_rand
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x18009ee89
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
test rdi, rdi
je 0x18009eea4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r13
test rdi, rdi
je 0x18009eeb3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rsi, rsi
je 0x18009eec2
mov rdx, qword [rsi]
mov rcx, rsi
call qword [rdx + 8]
nop
mov eax, r14d
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.180096b80
add rsp, 0x2b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.180009b50
nop
call fcn.1800c9338
int3