Function at 0x140005700
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
mov qword [rbp - 0x11], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor r13d, r13d
mov qword [rbp + 0x1f], r13
mov qword [rbp + 0x27], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xf]
call fcn.14000dec0
nop
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 1], rax
mov qword [rbp + 7], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 9], xmm0
mov qword [rbp + 7], r13
lea r12, [0x140071d28]
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x1400057a5
test dword [rcx + 0x1c], 0x10000000
je 0x1400057a5
cmp byte [rcx + 0x19], 5
jb 0x1400057a5
lea edx, [rax + 0x5c]
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
xor ecx, ecx
call fcn.140037004
lea r15, [rsi + 0xc8]
mov qword [r15], rax
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x1400057e2
test dword [rcx + 0x1c], 0x10000000
je 0x1400057e2
cmp byte [rcx + 0x19], 5
jb 0x1400057e2
mov edx, 0x5d
mov r9, rax
mov rcx, qword [rcx + 0x10]
call fcn.140003880
mov byte [rbp - 0x59], 0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x41], r13d
movups xmm0, xmmword [rbp - 0x59]
movups xmmword [rbp - 0x3d], xmm0
movzx eax, byte [rbp - 0x49]
mov byte [rbp - 0x2d], al
lea rdx, [rbp - 0x41]
lea rcx, [rsi + 0x88]
call fcn.14000ac90
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x59]
lea rcx, [rsi + 0x88]
call fcn.14000ace0
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x14000585a
test dword [rcx + 0x1c], 0x10000000
je 0x14000585a
cmp byte [rcx + 0x19], 5
jb 0x14000585a
mov edx, 0x5e
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.1400017d0
lea rbx, [0x1400614b8]
mov edi, 2
nop word [rax + rax]
mov byte [rbp - 0x41], 1
mov eax, dword [rbx]
mov dword [rbp - 0x40], eax
mov qword [rbp - 0x3c], r13
mov dword [rbp - 0x34], r13d
mov dword [rbp - 0x29], eax
movups xmm0, xmmword [rbp - 0x41]
movups xmmword [rbp - 0x25], xmm0
movzx eax, byte [rbp - 0x31]
mov byte [rbp - 0x15], al
lea rdx, [rbp - 0x29]
lea rcx, [rsi + 0x88]
call fcn.14000ac90
lea r9, [rax + 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x59]
lea rcx, [rsi + 0x88]
call fcn.14000ace0
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x1400058ef
test dword [rcx + 0x1c], 0x10000000
je 0x1400058ef
cmp byte [rcx + 0x19], 5
jb 0x1400058ef
mov edx, 0x5f
mov r9d, dword [rbx]
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
add rbx, 4
sub rdi, 1
jne 0x140005870
lea rdx, [rbp - 9]
lea rcx, [rsi + 0x88]
call fcn.1400068a0
mov ebx, eax
test eax, eax
je 0x140005955
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
lea edx, [rdi + 0x60]
mov r9d, eax
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
jmp 0x140005c03
lea rax, [rsi + 4]
mov dword [rax], r13d
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdi, str.Enabled
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x1400059c0
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x61
jmp 0x140005bf1
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], r15
mov r9d, 0xb
xor r8d, r8d
lea rdi, str.StartTime
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005a24
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x62
jmp 0x140005bf1
mov rcx, qword [rbp - 1]
mov r8, qword [rbp - 9]
sub rcx, r8
movabs rax, 0x7878787878787879
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, edx, 0x11
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r8
mov r9d, 3
xor r8d, r8d
lea rdi, str.Statistics
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005aad
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x63
jmp 0x140005bf1
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rsi
mov r9d, 4
xor r8d, r8d
lea rdi, str.DeviceNotPresent
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005b11
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x64
jmp 0x140005bf1
lea rax, [rsi + 0xd4]
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdi, str.TotalRuns
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005b79
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x65
jmp 0x140005bf1
mov r8d, 9
lea rdx, [0x140061130]
lea rcx, [rbp + 0xf]
call fcn.14000dac0
lea rcx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rcx, qword [rbp + 0xf]
mov eax, dword [rbp + 0x1f]
inc eax
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdi, str.Version
mov rdx, rdi
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
test eax, eax
je 0x140005c03
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c0a
cmp byte [rcx + 0x19], 2
jb 0x140005c0a
mov edx, 0x66
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
mov rcx, qword [rcx + 0x10]
call fcn.140003790
mov rcx, qword [0x140071d28]
cmp rcx, r12
je 0x140005c37
test dword [rcx + 0x1c], 0x10000000
je 0x140005c37
cmp byte [rcx + 0x19], 5
jb 0x140005c37
mov edx, 0x67
mov r9d, ebx
lea r8, [0x1400614d0]
mov rcx, qword [rcx + 0x10]
call fcn.140001800
nop
lea rcx, [rbp - 9]
call fcn.140009920
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0xf]
call fcn.14000dec0
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140011f50
lea r11, [rsp + 0xd0]
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