Function at 0x14004f210
Capabilities:
Set registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x240], rbx
mov rax, qword [0x14009b038]
xor rax, rsp
mov qword [rbp + 0x120], rax
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x20], xmm0
xor ebx, ebx
mov word [rbp - 0x30], bx
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x30]
call fcn.14000f9f0
nop
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x30]
lea r9, str.____UpdateStateRegistry_Method_started
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x48], 2
lea rax, [rbp - 0x70]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x60], xmm1
mov word [rbp - 0x70], bx
lea r8d, [rbx + 0x26]
lea rdx, str.CollectionHandler::UpdateStateRegistry
lea rcx, [rbp - 0x70]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea r8d, [rbx + 0x15]
lea rdx, str.CollectionHandler.cpp
lea rcx, [rsp + 0x60]
call fcn.14000fab0
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, [rsp + 0x50]
mov r8d, 0x223
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x60]
call fcn.140030690
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14004f349
inc r8
mov rdx, qword [rbp - 0x30]
call fcn.1400107d0
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp - 0x32]
movzx ecx, word [rbp - 0x34]
movzx edx, word [rbp - 0x36]
movzx r10d, word [rbp - 0x38]
movzx r11d, word [rbp - 0x3a]
movzx r9d, word [rbp - 0x3e]
movzx r8d, word [rbp - 0x40]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rdx, str._d__02d__02d__02d:_02d:_02d._03d
lea rcx, [rbp + 0x20]
call fcn.140061470
mov qword [rsp + 0x40], rbx
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareAMDPPC
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14004f40b
mov dword [rsp + 0x28], 0x10
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 3
xor r8d, r8d
lea rdx, str.UpdateStateTime
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, word [rbp - 0x34]
movzx ecx, word [rbp - 0x36]
movzx edx, word [rbp - 0x38]
movzx r10d, word [rbp - 0x40]
movzx r9d, word [rbp - 0x3a]
movzx r8d, word [rbp - 0x3e]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._i__i__i__i:_i:_i
lea rcx, [rbp - 0x10]
call qword [sym.imp.USER32.dll_wsprintfW]
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rsp + 0x70], xmm0
mov word [rsp + 0x60], bx
lea rax, [rbp - 0x10]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14004f463
lea rdx, [rbp - 0x10]
lea rcx, [rsp + 0x60]
call fcn.14000fab0
lea r8, [rsp + 0x60]
lea rdx, str.UpdateStateTimeTag
call fcn.14001f6a0
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], bx
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x30]
call fcn.14000f9f0
nop
lea rcx, [rbp - 0x30]
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x30]
lea r9, str.____UpdateStateRegistry_Method_ended
or r8, 0xffffffffffffffff
call fcn.14000ba60
mov dword [rbp - 0x48], 2
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x48]
mov qword [rbp - 0x80], rax
lea rax, [rbp - 0x44]
mov qword [rbp - 0x78], rax
movaps xmm0, xmmword [rbp - 0x80]
movdqa xmmword [rbp - 0x80], xmm0
movdqa xmm1, xmmword [0x1400812a0]
movdqu xmmword [rsp + 0x70], xmm1
mov word [rsp + 0x60], bx
mov r8d, 0x26
lea rdx, str.CollectionHandler::UpdateStateRegistry
lea rcx, [rsp + 0x60]
call fcn.14000fab0
nop
movdqa xmm0, xmmword [0x1400812a0]
movdqu xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], bx
mov r8d, 0x15
lea rdx, str.CollectionHandler.cpp
lea rcx, [rbp - 0x70]
call fcn.14000fab0
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rax, qword [rbp - 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebx
lea r9, [rbp - 0x80]
mov r8d, 0x238
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140030690
nop
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14004f593
inc r8
mov rdx, qword [rbp - 0x30]
call fcn.1400107d0
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.140062800
mov rbx, qword [rsp + 0x240]
add rsp, 0x230
pop rbp
ret