Function at 0x4e8a60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x2c
push ecx
push edi
lea edi, [esp + 8]
mov eax, 0xcccccccc
mov ecx, 0xb
rep stosd dword es:[edi], eax
pop edi
pop ecx
mov dword [ebp - 0x30], ecx
mov byte [ebp - 0x29], 0
call fcn.0052fe80
cmp al, 0
je 0x4e8b6c
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4e8aa1
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ebx, dword [edx + 0x10]
jmp 0x4e8aa7
mov ebx, dword [0x5494f8]
call fcn.00514260
cmp ebx, eax
je 0x4e8b6c
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4e8ac6
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
jmp 0x4e8acc
mov edx, dword [0x5494f8]
cmp dword [0x549500], edx
jne 0x4e8add
mov byte [ebp - 0x29], 1
jmp 0x4e8b6c
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x1c], 0
je 0x4e8af0
mov edx, dword [ebp - 0x1c]
inc dword [edx]
call fcn.00514260
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00513f70
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
je 0x4e8b18
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
jmp 0x4e8b1d
mov eax, dword [0x5494f8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00513f70
add esp, 0xc
cmp dword [ebp - 0x20], 0
je 0x4e8b3c
mov ecx, dword [ebp - 0x20]
call fcn.0040c8f0
cmp dword [ebp - 0x1c], 0
je 0x4e8b4a
mov ecx, dword [ebp - 0x1c]
call fcn.0040c8f0
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.0040e1a0
cmp eax, 0
je 0x4e8b5e
mov byte [ebp - 0x29], 1
cmp dword [ebp - 8], 0
je 0x4e8b6c
mov ecx, dword [ebp - 8]
call fcn.0040c8f0
cmp byte [ebp - 0x29], 0
je 0x4e8bf7
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040cf40
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.0040cf40
cmp dword [ebp - 0x10], 0
je 0x4e8b9e
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0xc]
shr edx, 1
jmp 0x4e8ba3
mov edx, 0
add edx, 1
lea edx, [edx + edx]
push edx
lea ecx, [ebp - 0x10]
call fcn.0040d280
push eax
push 7
push 0
lea ecx, [ebp - 0xc]
call fcn.0040d280
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, 0
sete bl
cmp dword [ebp - 0x10], 0
je 0x4e8bdf
mov ecx, dword [ebp - 0x10]
call fcn.0040c8f0
cmp dword [ebp - 0xc], 0
je 0x4e8bed
mov ecx, dword [ebp - 0xc]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
je 0x4e8c0a
mov edx, dword [ebp - 0x24]
inc dword [edx]
call fcn.00514260
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00513f70
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x4e8c2e
mov ecx, dword [ebp - 0x24]
call fcn.0040c8f0
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
je 0x4e8c41
mov edx, dword [ebp - 0x28]
inc dword [edx]
call fcn.00514260
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00513f70
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x4e8c65
mov ecx, dword [ebp - 0x28]
call fcn.0040c8f0
cmp dword [ebp - 0x18], 0
je 0x4e8c73
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
jmp 0x4e8c78
mov eax, 0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040d250
push eax
push 1
push 0
lea ecx, [ebp - 0x14]
call fcn.0040d1c0
push eax
mov eax, dword [ebp - 0x30]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, 0
sete bl
cmp dword [ebp - 0x18], 0
je 0x4e8cae
mov ecx, dword [ebp - 0x18]
call fcn.0040c8f0
cmp dword [ebp - 0x14], 0
je 0x4e8cbc
mov ecx, dword [ebp - 0x14]
call fcn.0040c8f0
mov al, bl
lea esp, [ebp - 4]
pop ebx
pop ebp
ret 8