Function at 0x4554a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60ebfc
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x6c0924]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], 0
mov byte [ebp - 0x71], 0
lea eax, [ebp - 0x7c]
push eax
push 0x20106
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x455617
call fcn.00478bf0
mov dword [ebp - 0x80], eax
push 1
mov eax, dword [ebp - 0x80]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x80]
mov eax, dword [edx + 8]
call eax
mov byte [ebp - 0x90], al
cmp byte [ebp - 0x90], 1
je 0x455527
jmp 0x455612
push 0x62e7c8
lea ecx, [ebp - 0x40]
call fcn.00408710
mov dword [ebp - 4], 0
push 0x62e7c4
lea ecx, [ebp - 0x28]
call fcn.00408710
mov byte [ebp - 4], 1
call fcn.00478bf0
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x78]
push ecx
push str.RegOpenKeyExA_error_:__d
lea edx, [ebp - 0xa4]
push edx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x98], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
push ecx
push 0x6d6
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x154]
call fcn.0040d3b0
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
call fcn.0040b2a0
push eax
mov edx, dword [ebp - 0x84]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x84]
mov edx, dword [eax + 0x1c]
call edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.0040e140
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa4]
call fcn.00405df0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00405e70
jmp 0x45576d
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x455761
call fcn.00478bf0
mov dword [ebp - 0x88], eax
push 1
mov edx, dword [ebp - 0x88]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x88]
mov edx, dword [eax + 8]
call edx
mov byte [ebp - 0xa8], al
cmp byte [ebp - 0xa8], 1
je 0x455674
jmp 0x45575f
push 0x62e828
lea ecx, [ebp - 0x70]
call fcn.00408710
mov dword [ebp - 4], 4
push 0x62e86c
lea ecx, [ebp - 0x58]
call fcn.00408710
mov byte [ebp - 4], 5
call fcn.00478bf0
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x78]
push eax
push str.RegSetValueExA_error_:__d
lea ecx, [ebp - 0xbc]
push ecx
call fcn.0040b9a0
add esp, 0xc
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0xb0]
push eax
push 0x6dd
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x1ec]
call fcn.0040d3b0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xb8]
call fcn.0040b2a0
push eax
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x8c]
mov eax, dword [edx + 0x1c]
call eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ec]
call fcn.0040e140
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xbc]
call fcn.00405df0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00405e70
jmp 0x45576d
mov byte [ebp - 0x71], 1
xor ecx, ecx
jne 0x4554f2
cmp dword [ebp - 0x7c], 0
je 0x455784
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x7c], 0
mov al, byte [ebp - 0x71]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052e057
mov esp, ebp
pop ebp
ret