Function at 0x5ebcc8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x5ebcd0
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.004058f8
xor eax, eax
push ebp
push 0x5ec13c
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5ebd22
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x40
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x494264]
call fcn.004952cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ebd2e
test ebx, ebx
je 0x5ec0c0
mov dl, 1
mov eax, dword [0x41ef44]
call fcn.00403c40
mov dword [ebp - 0x14], eax
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov eax, ebx
call fcn.00403c70
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5ec0b8
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x18]
call fcn.00409c98
mov edx, 0x5ec154
mov eax, dword [ebp - 0x18]
call fcn.005d7098
test al, al
je 0x5ebe6f
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x3c]
mov cl, 1
mov eax, 2
call fcn.005f41f0
mov ecx, dword [ebp - 0x38]
mov edx, dword [0x6e5e98]
mov edx, dword [edx]
mov eax, 0x80000000
call fcn.005dab5c
test al, al
jne 0x5ebe6f
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x48]
mov cl, 1
mov eax, 1
call fcn.005f41f0
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
call fcn.004054bc
mov ecx, dword [ebp - 0x40]
mov edx, dword [0x6e44a8]
mov edx, dword [edx]
lea eax, [ebp - 0x28]
call fcn.004055b4
mov eax, dword [ebp - 0x28]
call fcn.004973d4
cmp al, 1
jne 0x5ebe6f
push 0
push 0x5ec160
push dword [ebp - 0x28]
push 0x5ec188
lea eax, [ebp - 0x4c]
mov edx, 3
call fcn.0040561c
mov eax, dword [ebp - 0x4c]
mov cl, 1
mov edx, 1
call fcn.005fa674
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x28]
mov edx, 0x5ec190
call fcn.004055b4
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov edx, 0x5ec1a0
mov eax, dword [ebp - 0x18]
call fcn.005d7098
test al, al
je 0x5ec0ac
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x58]
mov cl, 1
mov eax, 1
call fcn.005f41f0
mov eax, dword [ebp - 0x54]
call fcn.005fd6a0
mov ebx, eax
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x60]
mov cl, 1
mov eax, 2
call fcn.005f41f0
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
call fcn.004054bc
lea eax, [ebp - 0x64]
mov edx, dword [ebp - 0x28]
call fcn.00404e54
mov edx, dword [ebp - 0x64]
mov eax, ebx
call fcn.005daae8
test al, al
jne 0x5ebf24
lea eax, [ebp - 0x68]
mov ecx, dword [ebp - 0x28]
mov edx, 0x5ec1b0
call fcn.004055b4
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, ebx
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0x24]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x6c]
mov edx, dword [ebp - 0x28]
call fcn.00404e54
mov eax, dword [ebp - 0x6c]
call fcn.0040508c
push eax
push ebx
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x5ec0ac
lea eax, [ebp - 0x1c]
push eax
mov cl, 1
mov edx, dword [ebp - 0x18]
mov eax, 4
call fcn.005f41f0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x70]
mov cl, 1
mov eax, 3
call fcn.005f41f0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x74]
mov cl, 1
mov eax, 5
call fcn.005f41f0
mov eax, dword [ebp - 0x1c]
mov edx, 0x5ec1c0
call fcn.00404fd8
jne 0x5ec010
xor eax, eax
push ebp
push 0x5ec001
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x24]
call fcn.0040a6a8
mov dword [ebp - 0x10], eax
push 4
lea eax, [ebp - 0x10]
push eax
push 4
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegSetValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5ec0a3
mov eax, dword [ebp - 0x1c]
mov edx, 0x5ec1d0
call fcn.00404fd8
jne 0x5ec049
mov eax, dword [ebp - 0x24]
call fcn.00404e8c
push eax
lea eax, [ebp - 0x24]
call fcn.004050e4
push eax
push 1
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegSetValueExA
jmp 0x5ec0a3
mov eax, dword [ebp - 0x1c]
mov edx, 0x5ec1dc
call fcn.00404fd8
jne 0x5ec0a3
mov eax, dword [ebp - 0x24]
call fcn.00404e8c
sar eax, 1
jns 0x5ec067
adc eax, 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00402b48
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 0x24]
call fcn.005d7250
mov eax, dword [ebp - 0x10]
push eax
push ebx
push 3
push 0
mov eax, dword [ebp - 0x20]
call fcn.0040508c
push eax
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegSetValueExA
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.00402b78
mov eax, dword [ebp - 0x2c]
push eax
call sub.advapi32.dll_RegCloseKey_1
inc dword [ebp - 0xc]
dec dword [ebp - 0x30]
jne 0x5ebd72
mov eax, dword [ebp - 0x14]
call fcn.00403c70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ec143
lea eax, [ebp - 0x74]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x68]
call fcn.004052d8
lea eax, [ebp - 0x64]
mov edx, 5
call fcn.00404bc4
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.004052f0
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404bc4
lea eax, [ebp - 0x40]
call fcn.004052d8
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.00404bc4
lea eax, [ebp - 0x28]
call fcn.004052d8
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00404bc4
lea eax, [ebp - 4]
call fcn.004052d8
ret