Function at 0x4535c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48dcd2
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4c2010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push eax
call fcn.00455570
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0x10
jb 0x45360b
mov eax, dword [esi]
jmp 0x45360d
mov eax, esi
push dword [esi + 0x10]
push eax
call fcn.00456c50
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
push dword [ebp - 0x58]
cmovae eax, dword [ebp - 0x68]
push eax
call fcn.00456c50
cmp dword [edi + 0x14], 0x10
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
jb 0x453642
mov edi, dword [edi]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
cmp byte [edi], 0
jne 0x45365d
xor ecx, ecx
jmp 0x45366b
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x453662
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x80]
call fcn.00454cb0
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea eax, [ebp - 0x80]
push 0
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x50], 0x80000001
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00454eb0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x4536cf
inc eax
push 1
push eax
push dword [ebp - 0x80]
call fcn.00406d20
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 6
xor edi, edi
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x453743
cmp eax, edi
jbe 0x45375a
cmp dword [ebp - 0x54], 0x10
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0x28]
cmovae eax, dword [ebp - 0x68]
add eax, edi
push eax
call fcn.004544b0
mov eax, dword [ebp - 0x58]
inc edi
cmp eax, edi
ja 0x453725
mov eax, dword [esi + 0x10]
xor edi, edi
test eax, eax
je 0x453779
cmp eax, edi
jbe 0x45375a
cmp dword [esi + 0x14], 0x10
jb 0x453764
mov eax, dword [esi]
jmp 0x453766
push str.invalid_string_position
call fcn.00457b3f
mov eax, esi
add eax, edi
lea ecx, [ebp - 0x1c]
push eax
call fcn.004544b0
mov eax, dword [esi + 0x10]
inc edi
cmp eax, edi
ja 0x453750
push 4
push str.code
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00454cb0
lea ecx, [ebp - 0x50]
call fcn.004575c0
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test al, al
je 0x4537cb
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x28]
sub ecx, eax
cmp dword [ebp - 0x6c], 0x10
push ecx
cmovae edx, dword [ebp - 0x80]
push eax
push 3
push 0
push edx
push dword [ebp - 0x34]
call esi
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x4537e6
inc eax
push 1
push eax
push dword [ebp - 0x80]
call fcn.00406d20
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x80]
push 4
push str.path
mov dword [ebp - 0x6c], 0xf
mov dword [ebp - 0x70], 0
mov byte [ebp - 0x80], 0
call fcn.00454cb0
lea ecx, [ebp - 0x50]
call fcn.004575c0
test al, al
je 0x453836
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
cmp dword [ebp - 0x6c], 0x10
push ecx
cmovae edx, dword [ebp - 0x80]
push eax
push 3
push 0
push edx
push dword [ebp - 0x34]
call esi
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x6c]
cmp eax, 0x10
jb 0x453851
inc eax
push 1
push eax
push dword [ebp - 0x80]
call fcn.00406d20
add esp, 0xc
mov byte [ebp - 4], 9
cmp dword [ebp - 0x1c], 0
je 0x45388c
lea ecx, [ebp - 0x1c]
call fcn.00406ec0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push 1
push ecx
push eax
call fcn.00406d20
add esp, 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x28], 0
je 0x4538c7
lea ecx, [ebp - 0x28]
call fcn.00406ec0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x28]
sub ecx, eax
push 1
push ecx
push eax
call fcn.00406d20
add esp, 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x4538dc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x4538f7
inc eax
push 1
push eax
push dword [ebp - 0x4c]
call fcn.00406d20
add esp, 0xc
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0x54]
cmp eax, 0x10
jb 0x453927
push 1
inc eax
push eax
push dword [ebp - 0x68]
call fcn.00406d20
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458fdd
mov esp, ebp
pop ebp
ret