Function at 0x451ea0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
mov eax, dword [0x54c384]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x9c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x50102d
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.00404000
cmp dword [edi + 0x10], 0
lea ebx, [edi + 0x10]
jne 0x451f4e
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x50102d
mov byte [esi], 0
call fcn.00404000
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x4527fc
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4527f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
jmp 0x4527f2
push 0x70
lea eax, [ebp - 0x13c]
push 0
push eax
call fcn.004c05c0
add esp, 0xc
lea ecx, [ebp - 0x13c]
call fcn.00405c70
lea eax, [ebp - 0x114]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x4c], xmm0
cmp eax, edi
je 0x451fa2
cmp dword [edi + 0x14], 0x10
jb 0x451f94
mov edi, dword [edi]
push dword [ebx]
lea ecx, [ebp - 0x114]
push edi
call fcn.00404000
cmp dword [ebp - 0x100], 0x10
lea ecx, [ebp - 0x114]
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 0x4c]
cmovae ecx, dword [ebp - 0x114]
push 1
add eax, ecx
push edx
push eax
push ecx
lea ecx, [ebp - 0x13c]
call fcn.00405d30
test al, al
jne 0x45200b
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x50102d
mov byte [esi], al
call fcn.00404000
lea ecx, [ebp - 0x4c]
call fcn.00408f30
lea ecx, [ebp - 0x13c]
call fcn.00407ea0
jmp 0x451f11
mov al, byte [ebp - 0x44]
test al, al
je 0x452794
cmp al, 7
sete al
test al, al
je 0x452794
xor eax, eax
mov dword [ebp - 0x144], 0
push ecx
push str.hkey
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x140], eax
call fcn.004096a0
lea edx, [ebp - 0x144]
mov ecx, eax
call fcn.00441190
push ecx
push str.reg_path
lea ecx, [ebp - 0x4c]
call fcn.004096a0
lea edx, [ebp - 0x20]
mov ecx, eax
call fcn.00441240
push ecx
push 0x50e53c
lea ecx, [ebp - 0x4c]
call fcn.004096a0
lea edx, [ebp - 0x38]
mov ecx, eax
call fcn.00441240
push ecx
push str.type
lea ecx, [ebp - 0x4c]
call fcn.004096a0
lea edx, [ebp - 0x14c]
mov ecx, eax
call fcn.00441190
push ecx
push str.encrypt
lea ecx, [ebp - 0x4c]
call fcn.004096a0
lea edx, [ebp - 0x140]
mov ecx, eax
call fcn.00441190
cmp dword [ebp - 0x144], 1
jne 0x45268a
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0x64]
call fcn.004101c0
mov ebx, dword [ebp - 0x50]
lea ecx, [ebp - 0x64]
mov edi, dword [ebp - 0x64]
cmp ebx, 8
mov edx, dword [ebp - 0x54]
push 0xf
cmovae ecx, edi
mov dword [ebp - 0x144], 0
push 0x5052c4
push ecx
call fcn.00404b10
add esp, 0xc
cmp eax, 0xffffffff
je 0x452173
mov edx, dword [ebp - 0x54]
lea ecx, [ebp - 0x64]
cmp ebx, 8
push 0xf
cmovae ecx, edi
push 0x5052c4
push ecx
call fcn.00404b10
add esp, 0xc
mov ecx, 1
test eax, eax
mov eax, 0
cmove eax, ecx
mov dword [ebp - 0x144], eax
cmp ebx, 8
jb 0x4521a7
lea ecx, [ebx*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x45219d
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452811
push ecx
push edi
call fcn.004bdd39
add esp, 8
cmp dword [ebp - 0x144], 0
je 0x45268a
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x14c]
test bl, bl
jne 0x4521ee
push ecx
push str.value
lea ecx, [ebp - 0x4c]
call fcn.004096a0
mov ecx, eax
cmp edi, 1
jne 0x4521e3
lea edx, [ebp - 0xb4]
call fcn.00441240
jmp 0x4521ee
lea edx, [ebp - 0x148]
call fcn.00441190
xor eax, eax
mov dword [ebp - 0x3c], 0
mov word [ebp - 0xcc], ax
xorps xmm0, xmm0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
movlpd qword [ebp - 0x5c], xmm0
test eax, eax
jne 0x4523f9
test edi, edi
jne 0x45235b
test bl, bl
je 0x45231c
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x38]
lea edx, [ebp - 0x20]
cmp dword [ebp - 0xc], 8
push ecx
cmovae edx, dword [ebp - 0x20]
mov ecx, SysReAllocString
push eax
call fcn.0040ff90
add esp, 8
test eax, eax
je 0x452519
push ecx
push str.type
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov edx, eax
xor ecx, ecx
call fcn.00441000
push ecx
push str.value
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov ecx, dword [ebp - 0x3c]
mov edx, eax
call fcn.00441040
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x84], vtable.Json::FastWriter.0
push eax
lea eax, [ebp - 0x164]
mov dword [ebp - 0x70], 0
push eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x6c], 0xf
mov byte [ebp - 0x80], 0
mov byte [ebp - 0x68], 0
call fcn.0040bc60
push eax
lea ecx, [ebp - 0x9c]
call fcn.004031f0
mov edx, dword [ebp - 0x150]
cmp edx, 0x10
jb 0x4524e7
mov ecx, dword [ebp - 0x164]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4524dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
jmp 0x4524dd
cmp dword [ebp - 0x24], 8
lea edx, [ebp - 0x140]
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x38]
cmovae ecx, dword [ebp - 0x38]
cmp dword [ebp - 0xc], 8
push 4
push edx
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x20]
cmovae eax, dword [ebp - 0x20]
push 4
push ecx
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x452519
cmp edi, 1
jne 0x452519
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x20]
test bl, bl
je 0x4523d2
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0xcc]
push ecx
cmovae eax, dword [ebp - 0x38]
mov ecx, SysReAllocString
cmp dword [ebp - 0xc], 8
push eax
cmovae edx, dword [ebp - 0x20]
call fcn.0040ffe0
add esp, 8
test eax, eax
je 0x452519
push ecx
push str.type
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov edx, eax
mov ecx, edi
call fcn.00441000
push ecx
push str.value
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.00441080
jmp 0x45229d
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0x38]
mov ecx, SysReAllocString
cmp dword [ebp - 0xc], 8
push eax
cmovae edx, dword [ebp - 0x20]
call fcn.004100f0
jmp 0x452516
cmp eax, 1
jne 0x452519
test edi, edi
jne 0x45246a
lea edx, [ebp - 0x20]
test bl, bl
je 0x452434
cmp dword [ebp - 0x24], 8
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x38]
cmp dword [ebp - 0xc], 8
push ecx
cmovae edx, dword [ebp - 0x20]
mov ecx, SysReAllocString
push eax
call fcn.0040f5a0
jmp 0x452263
mov eax, dword [ebp - 0x148]
lea ecx, [ebp - 0x140]
cmp dword [ebp - 0x24], 8
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x38]
cmovae eax, dword [ebp - 0x38]
cmp dword [ebp - 0xc], 8
push ecx
cmovae edx, dword [ebp - 0x20]
mov ecx, SysReAllocString
push eax
call fcn.0040fa80
jmp 0x452516
cmp edi, 1
jne 0x452519
lea eax, [ebp - 0x38]
lea edx, [ebp - 0x20]
test bl, bl
je 0x4524f4
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0xcc]
push ecx
cmovae eax, dword [ebp - 0x38]
mov ecx, SysReAllocString
cmp dword [ebp - 0xc], 8
push eax
cmovae edx, dword [ebp - 0x20]
call fcn.0040f7e0
add esp, 8
test eax, eax
je 0x452519
push ecx
push str.type
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov edx, eax
mov ecx, edi
call fcn.00441000
push ecx
push str.value
lea ecx, [ebp - 0x5c]
call fcn.004096a0
mov edx, eax
lea ecx, [ebp - 0xcc]
call fcn.00441080
jmp 0x45229d
push edx
push ecx
call fcn.004bdd39
add esp, 8
lea ecx, [ebp - 0x84]
call fcn.0040b0b0
jmp 0x452519
cmp dword [ebp - 0x24], 8
lea ecx, [ebp - 0xb4]
push ecx
cmovae eax, dword [ebp - 0x38]
mov ecx, SysReAllocString
cmp dword [ebp - 0xc], 8
push eax
cmovae edx, dword [ebp - 0x20]
call fcn.0040fd70
add esp, 8
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.00403270
lea ecx, [ebp - 0x5c]
call fcn.00408f30
mov edx, dword [ebp - 0xb8]
cmp edx, 8
jb 0x45256f
mov ecx, dword [ebp - 0xcc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452565
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xa0]
xor eax, eax
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 7
mov word [ebp - 0xcc], ax
cmp edx, 8
jb 0x4525cc
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4525c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x24]
xor eax, eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 7
mov word [ebp - 0xb4], ax
cmp edx, 8
jb 0x452623
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x452671
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452667
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
xor eax, eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
jmp 0x451ff3
push 0x1b7
push str.UnInstallFrame::OperateRegValue
push str.__s__d___OperateRegValue_not_allow
call fcn.0041f720
add esp, 0xc
lea eax, [ebp - 0x9c]
mov ecx, esi
push eax
call fcn.00403270
mov edx, dword [ebp - 0xa0]
cmp edx, 8
jb 0x4526ef
mov ecx, dword [ebp - 0xb4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4526e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0x24]
cmp edx, 8
jb 0x452729
mov ecx, dword [ebp - 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45271f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov edx, dword [ebp - 0xc]
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
cmp edx, 8
jb 0x452671
mov ecx, dword [ebp - 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x452771
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], 7
mov word [ebp - 0x20], ax
jmp 0x451ff3
push 0
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 0xf
push 0x50102d
mov byte [esi], 0
call fcn.00404000
lea ecx, [ebp - 0x4c]
call fcn.00408f30
lea ecx, [ebp - 0x13c]
call fcn.00407ea0
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x4527fc
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4527f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x452816
push edx
push ecx
call fcn.004bdd39
add esp, 8
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bdaf8
mov esp, ebp
pop ebp
ret 0xc
call fcn.004c8da3
call fcn.004c8da3
int3