Function at 0x454da5
Capabilities:
Set registry value

Disassembly:
mov eax, 0x46839f
call fcn.004341ac
sub esp, 0x8c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
cmp edi, eax
mov dword [ebp - 0x14], edi
je 0x454f61
jmp 0x454dd6
mov edi, dword [ebp - 0x14]
mov al, byte [edi + 0x10]
add edi, 0x10
push ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 0x34], al
call fcn.00402bfd
push dword [0x469688]
lea ecx, [ebp - 0x34]
push ebx
push edi
call fcn.0040e8b0
push 1
lea eax, [ebp - 0xd]
push ebx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], 0x25
call fcn.0040fe43
mov edi, eax
cmp edi, dword [0x469688]
je 0x454e9c
lea eax, [edi + 1]
push 1
push eax
lea eax, [ebp - 0xd]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 0xd], 0x25
call fcn.0040fe43
cmp eax, dword [0x469688]
je 0x454e9c
mov esi, eax
lea ecx, [ebp - 0x34]
sub esi, edi
lea eax, [esi - 1]
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0040f463
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
lea ecx, [eax + 0x144]
call fcn.00455283
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.00402bfd
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x148]
cmp ecx, eax
je 0x454e9c
push dword [0x469688]
lea eax, [ecx + 0x1c]
inc esi
lea ecx, [ebp - 0x34]
push ebx
push eax
push esi
push edi
call fcn.004550b3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x454eab
mov eax, 0x4695a0
lea ecx, [ebp - 0x21]
push 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401a6d
mov esi, eax
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 2
cmp eax, ebx
jne 0x454ecc
mov eax, 0x4695a0
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00401a6d
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401c5e
mov ecx, esi
mov edi, eax
call fcn.00401c5e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
mov eax, dword [ebp + 0xc]
push edi
push 1
pop edi
push edi
push ebx
push esi
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
lea ecx, [ebp - 0x98]
setne byte [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00401306
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], bl
call fcn.00401306
cmp byte [ebp - 0xd], bl
je 0x454f3f
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x154], ebx
je 0x454f72
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x34]
call fcn.00402bfd
add dword [ebp - 0x14], 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax + 0x20]
jne 0x454dd3
mov esi, eax
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov dword [ebp - 0x18], eax
je 0x455057
jmp 0x454f87
or dword [ebp - 4], 0xffffffff
push edi
lea ecx, [ebp - 0x34]
call fcn.00402bfd
jmp 0x455075
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 4], 4
cmp eax, ebx
jne 0x454f9d
mov eax, 0x4695a0
lea ecx, [ebp - 0x19]
push 1
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.00401a6d
mov ecx, dword [ebp + 0xc]
mov byte [ebp - 4], 5
mov edi, dword [ecx]
mov ecx, eax
call fcn.00401c5e
lea ecx, [ebp - 0x38]
mov dword [ebp + 8], ebx
push ecx
lea ecx, [ebp + 8]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x454ffe
xor eax, eax
cmp dword [ebp - 0x14], ebx
je 0x454ff0
push dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call edi
jmp 0x454ff6
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
jmp 0x455004
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
lea ecx, [ebp - 0x70]
setne byte [ebp + 0xb]
mov byte [ebp - 4], 4
call fcn.00401306
cmp byte [ebp + 0xb], bl
jne 0x45502e
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
call fcn.00454da5
test eax, eax
jne 0x455039
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x154], ebx
je 0x45506b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], ebx
je 0x455047
push dword [ebp - 0x14]
call edi
add dword [ebp - 0x18], 0x38
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0x30]
jne 0x454f84
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
cmp dword [ebp - 0x14], ebx
je 0x455075
push dword [ebp - 0x14]
call edi
xor eax, eax
jmp 0x45505a