Function at 0x4acb94
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4acb9c
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4ace60
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
call fcn.00404a10
lea eax, [ebp - 0x14]
mov ecx, 0x4ace78
mov edx, dword [esi + 0x516a8]
call fcn.00404d1c
lea eax, [ebp - 0x18]
mov ecx, 0x4ace94
mov edx, dword [esi + 0x516a8]
call fcn.00404d1c
lea eax, [ebp - 0x1c]
push eax
mov ecx, 4
mov edx, 2
mov eax, 0x4acea4
call fcn.00404f30
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
mov ecx, 0x4aceb4
call fcn.00404d1c
lea eax, [ebp - 0xc]
mov edx, 0x4acec4
call fcn.00404aa8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ed0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
push 1
push 0x4aced0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
lea eax, [ebp - 8]
mov edx, 0x4acea4
call fcn.00404aa8
lea eax, [ebp - 0x20]
push eax
mov eax, 0x4acea4
mov ecx, 4
mov edx, 2
call fcn.00404f30
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov ecx, 0x4aceb4
call fcn.00404d1c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ed0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
push 1
push 0x4aced0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
mov dl, 1
mov eax, dword [0x4351a4]
call fcn.004352a4
mov ebx, eax
mov edx, 0x80000000
mov eax, ebx
call fcn.00435344
lea eax, [ebp - 0x24]
push eax
mov eax, 0x4acea4
mov ecx, 4
mov edx, 2
call fcn.00404f30
lea eax, [ebp - 0x24]
mov edx, 0x4acedc
call fcn.00404cd8
mov edx, dword [ebp - 0x24]
xor ecx, ecx
mov eax, ebx
call fcn.004353a8
test al, al
je 0x4acd0d
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, ebx
call fcn.00435570
mov eax, ebx
call fcn.00435314
mov eax, ebx
call fcn.00403c3c
mov eax, dword [ebp - 0x10]
mov edx, 0x4acef4
call fcn.00404e1c
jb 0x4acd3a
mov eax, dword [ebp - 0x18]
call fcn.00409790
test al, al
je 0x4acdd8
lea eax, [ebp - 0x28]
push eax
mov eax, 0x4acea4
mov ecx, 4
mov edx, 2
call fcn.00404f30
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 8]
mov ecx, 0x4aceb4
call fcn.00404d1c
lea eax, [ebp - 0xc]
mov edx, 0x4acef4
call fcn.00404aa8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ed0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
push 1
push 0x4acefc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
lea eax, [ebp - 0xc]
mov edx, dword [esi + 0x516a8]
call fcn.00404aa8
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
push 1
push 0x4acf04
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
mov eax, dword [ebp - 0x18]
call fcn.004098e8
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4acea4
mov ecx, 4
mov edx, 2
call fcn.00404f30
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
mov ecx, 0x4aceb4
call fcn.00404d1c
lea eax, [ebp - 0xc]
mov ecx, 0x4acf18
mov edx, dword [ebp - 0x14]
call fcn.00404d1c
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404ed0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyA
push 0x104
mov eax, dword [ebp - 0xc]
call fcn.00404ed0
push eax
push 1
push 0x4acf1c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ace67
lea eax, [ebp - 0x2c]
mov edx, 0xa
call fcn.00404a34
ret