Function at 0x140008640
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rdi
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rdi, rcx
xor ebx, ebx
mov qword [r11 - 0x38], rbx
mov qword [r11 - 0x30], rbx
xor r8d, r8d
xor edx, edx
lea rcx, [r11 - 0x48]
call fcn.14000dec0
nop
xor eax, eax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rbx
lea r14, [0x140071d28]
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x1400086ee
test dword [rcx + 0x1c], 0x10000000
je 0x1400086ee
cmp byte [rcx + 0x19], 5
jb 0x1400086ee
mov edx, 0xcf
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
mov rcx, qword [0x140071d28]
cmp dword [rdi + 4], 0
jne 0x14000872e
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 5
jb 0x140008a44
mov edx, 0xd0
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
jmp 0x140008a3d
mov rcx, rdi
call fcn.1400049c0
test eax, eax
jne 0x14000877b
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008771
test dword [rcx + 0x1c], 0x10000000
je 0x140008771
cmp byte [rcx + 0x19], 2
jb 0x140008771
mov edx, 0xd1
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
mov rcx, qword [0x140071d28]
mov ebx, 0x139f
jmp 0x140008a44
mov rcx, rdi
call fcn.140004a90
test eax, eax
jne 0x1400087a9
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008771
test dword [rcx + 0x1c], 0x10000000
je 0x140008771
cmp byte [rcx + 0x19], 2
jb 0x140008771
mov edx, 0xd2
jmp 0x14000875a
lea rcx, [rdi + 0x88]
lea rdx, [rsp + 0x48]
call fcn.1400068a0
mov ebx, eax
test eax, eax
je 0x140008804
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 2
jb 0x140008a44
mov edx, 0xd3
mov r9d, eax
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
jmp 0x140008a3d
mov r8d, 9
lea rdx, [0x140061130]
lea rcx, [rsp + 0x60]
call fcn.14000dac0
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0x10
cmovae rcx, qword [rsp + 0x60]
mov eax, dword [rsp + 0x70]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rsi, str.Version
mov rdx, rsi
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140008892
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 2
jb 0x140008a44
mov edx, 0xd4
jmp 0x140008a2b
mov rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
sub rcx, r8
movabs rax, 0x7878787878787879
imul rcx
mov rsi, rdx
sar rsi, 3
mov rax, rsi
shr rax, 0x3f
add rsi, rax
imul ebp, esi, 0x11
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
lea r15, str.Statistics
mov rdx, r15
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140008929
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 2
jb 0x140008a44
mov edx, 0xd5
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r15
jmp 0x140008a34
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008974
test dword [rcx + 0x1c], 0x10000000
je 0x140008974
cmp byte [rcx + 0x19], 5
jb 0x140008974
mov eax, ebp
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
mulss xmm0, dword [0x140061c18]
cvtps2pd xmm1, xmm0
mov edx, 0xd6
mov dword [rsp + 0x28], ebp
movsd qword [rsp + 0x20], xmm1
mov r9d, esi
mov rcx, qword [rcx + 0x10]
call fcn.140003440
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rdi
mov r9d, 4
xor r8d, r8d
lea rsi, str.DeviceNotPresent
mov rdx, rsi
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400089d1
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 2
jb 0x140008a44
mov edx, 0xd7
jmp 0x140008a2b
lea rax, [rdi + 0xd4]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rsi, str.TotalRuns
mov rdx, rsi
mov rcx, qword [rdi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140008a3d
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a44
cmp byte [rcx + 0x19], 2
jb 0x140008a44
mov edx, 0xd8
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rsi
mov rcx, qword [rcx + 0x10]
call fcn.140003790
mov rcx, qword [0x140071d28]
cmp rcx, r14
je 0x140008a71
test dword [rcx + 0x1c], 0x10000000
je 0x140008a71
cmp byte [rcx + 0x19], 5
jb 0x140008a71
mov edx, 0xd9
mov r9d, ebx
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
nop
lea rcx, [rsp + 0x48]
call fcn.140009920
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.14000dec0
mov eax, ebx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140011f50
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret