Function at 0x4f23b4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov edi, edx
mov eax, dword [ebp + 0x10]
call fcn.004055d4
mov eax, dword [ebp + 0xc]
call fcn.004055d4
mov eax, dword [ebp + 8]
call fcn.004055d4
xor eax, eax
push ebp
push 0x4f28d8
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x47a03c]
call fcn.0047a234
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4f2893
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x4f2867
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0047a320
cmp ebx, 6
ja case.0x4f2436.3
jmp dword [ebx*4 + 0x4f243d]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edi
call fcn.004e889c
jmp case.0x4f2436.3
mov eax, dword [ebp + 8]
call fcn.004e96bc
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edi
call fcn.004e89dc
jmp case.0x4f2436.3
mov eax, dword [ebp + 8]
call fcn.004053e4
mov esi, eax
dec esi
test esi, esi
jb 0x4f24b9
inc esi
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp byte [eax + ebx - 1], 0x2c
jne 0x4f24b5
lea eax, [ebp + 8]
mov ecx, 1
mov edx, ebx
call fcn.00405684
inc ebx
dec esi
jne 0x4f249c
mov eax, dword [ebp + 8]
call fcn.004053e4
sar eax, 1
jns 0x4f24c8
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4f2390]
call fcn.00406778
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jb 0x4f25d8
inc esi
xor ebx, ebx
test ebx, ebx
je 0x4f2568
mov edx, 0x4f28e8
lea eax, [ebp - 0x18]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edi, ebx
add edi, edi
mov edx, dword [ebp + 8]
mov dl, byte [edx + edi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004038ec
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dl, byte [edx + edi + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov cl, 3
call fcn.004038ec
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.00405388
mov eax, dword [ebp - 0x14]
call fcn.004e96bc
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
jmp 0x4f25d0
mov edx, 0x4f28e8
lea eax, [ebp - 0x18]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004038ec
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov cl, 3
call fcn.004038ec
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x24]
call fcn.00405388
mov eax, dword [ebp - 0x24]
call fcn.004e96bc
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
inc ebx
dec esi
jne 0x4f24f4
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047a9cc
jmp case.0x4f2436.3
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
mov eax, dword [ebp + 0x10]
call fcn.004055e4
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne case.0x4f2436.3
mov eax, dword [ebp + 8]
call fcn.004053e4
mov edi, eax
mov esi, edi
test esi, esi
jle 0x4f2641
mov ebx, 1
mov eax, dword [ebp + 8]
cmp byte [eax + ebx - 1], 0xff
jne 0x4f263d
lea eax, [ebp + 8]
call fcn.0040563c
mov byte [eax + ebx - 1], 0
inc ebx
dec esi
jne 0x4f2626
push edi
lea eax, [ebp + 8]
call fcn.0040563c
push eax
push 7
push 0
mov eax, dword [ebp + 0xc]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp case.0x4f2436.3
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edi
call fcn.004e893c
jmp case.0x4f2436.3
mov eax, dword [ebp + 8]
call fcn.004053e4
test eax, eax
jne 0x4f26e2
lea eax, [ebp - 0x10]
push eax
push 0x20006
push 0
mov eax, dword [ebp + 0x10]
call fcn.004055e4
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne case.0x4f2436.3
push 0
push 0x4f28ec
push 0
push 0
mov eax, dword [ebp + 0xc]
call fcn.004055e4
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
jmp case.0x4f2436.3
mov eax, dword [ebp + 8]
call fcn.004053e4
mov esi, eax
dec esi
test esi, esi
jb 0x4f2711
inc esi
xor ebx, ebx
mov eax, dword [ebp + 8]
cmp byte [eax + ebx - 1], 0x2c
jne 0x4f270d
lea eax, [ebp + 8]
mov ecx, 1
mov edx, ebx
call fcn.00405684
inc ebx
dec esi
jne 0x4f26f4
mov eax, dword [ebp + 8]
call fcn.004053e4
sar eax, 1
jns 0x4f2720
adc eax, 0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x4f2390]
call fcn.00406778
add esp, 4
mov esi, dword [ebp - 0xc]
dec esi
test esi, esi
jb 0x4f2834
inc esi
xor ebx, ebx
test ebx, ebx
je 0x4f27c4
mov edx, 0x4f28e8
lea eax, [ebp - 0x18]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004038ec
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, ebx
add edx, edx
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov cl, 3
call fcn.004038ec
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x28]
call fcn.00405388
mov eax, dword [ebp - 0x28]
call fcn.004e96bc
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
jmp 0x4f282c
mov edx, 0x4f28e8
lea eax, [ebp - 0x18]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004038ec
lea edx, [ebp - 0x18]
lea eax, [ebp - 0x20]
call fcn.0040391c
lea eax, [ebp - 0x1c]
mov edx, dword [ebp + 8]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov cl, 3
call fcn.004038ec
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x2c]
call fcn.00405388
mov eax, dword [ebp - 0x2c]
call fcn.004e96bc
mov edx, dword [ebp - 8]
mov byte [edx + ebx], al
inc ebx
dec esi
jne 0x4f274c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov eax, edi
call fcn.004e8a68
mov eax, dword [ebp - 4]
call fcn.0047a2ec
mov eax, dword [0x513554]
mov eax, dword [eax]
call fcn.00478754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4f287d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f289a
mov eax, dword [ebp - 4]
call fcn.004042d4
ret