Function at 0xfb598
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0xfb5a0
push ecx
push ebx
push esi
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0xfb87c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov eax, 0xfb88c
call fcn.00031d88
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
call fcn.000280c0
push dword [ebp - 0x20]
lea edx, [ebp - 0x24]
mov eax, 0xfb894
call fcn.00031d88
push dword [ebp - 0x24]
mov eax, esi
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.00033468
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.00013f8c
mov eax, dword [ebp - 0x18]
mov edx, ebx
call fcn.000fafd8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0xfb85a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.kernel32.dll_SetLastError
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2a9118]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
call fcn.000280c0
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov edx, 0xfb8ac
call fcn.00013f18
mov eax, dword [ebp - 0x2c]
call fcn.00014090
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0xfb7f1
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xfb8f8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xfb900
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xfb910
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
call fcn.00013c3c
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 1
push 0
push 0xfb91c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov edx, 0xfb930
call fcn.00013cd4
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 1
push 0
push 0xfb93c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov edx, 0xfb930
call fcn.00013cd4
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 1
push 0
push 0xfb948
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov edx, 0xfb95c
call fcn.00013cd4
mov eax, dword [ebp - 0x14]
call fcn.00013ecc
inc eax
push eax
mov eax, dword [ebp - 0x14]
call fcn.00014090
push eax
push 1
push 0
push 0xfb964
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 1
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xfb974
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esi
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
push 0xfb980
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0xfb838
lea edx, [ebp - 0x34]
mov eax, 0xfb98c
call fcn.00031d88
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
call fcn.000280c0
mov edx, dword [ebp - 0x38]
pop eax
call fcn.00013ed4
mov eax, dword [ebp - 0x34]
mov edx, ebx
call fcn.000fb018
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0002b100
mov eax, dword [ebp - 0x3c]
mov edx, ebx
call fcn.000fb018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xfb861
cmp dword [ebp - 8], 0
je 0xfb854
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 8], eax
ret