Function at 0x42c274
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x42c27c
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42c4e2
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.0042bd78
test al, al
je 0x42c4c7
push 0xf003f
push 0
push 0
call dword [0x43d70c]
mov esi, eax
test esi, esi
je 0x42c4c7
push 0x1ff
lea edx, [ebp - 0x20]
mov eax, 0x42c4fc
call fcn.0041dcd4
mov eax, dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
mov dl, 1
call fcn.0041dd44
mov eax, dword [ebp - 0x1c]
push eax
push esi
call dword [0x43d710]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42c30a
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042c034
mov ebx, eax
mov eax, dword [ebp - 8]
push eax
call dword [0x43d700]
jmp 0x42c37b
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 1
push 1
push 1
push 0x1f01ff
lea edx, [ebp - 0x28]
mov eax, 0x42c510
call fcn.0041dcd4
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x24]
mov dl, 1
call fcn.0041dd44
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x30]
mov eax, 0x42c4fc
call fcn.0041dcd4
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x2c]
mov dl, 1
call fcn.0041dd44
mov eax, dword [ebp - 0x2c]
push eax
push esi
call dword [0x43d718]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42c37b
mov bl, 1
mov eax, dword [ebp - 8]
push eax
call dword [0x43d700]
push esi
call dword [0x43d700]
test bl, bl
je 0x42c4c7
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
lea edx, [ebp - 0x38]
mov eax, 0x42c53c
call fcn.0041dcd4
push dword [ebp - 0x38]
push 0x42c568
lea edx, [ebp - 0x3c]
mov eax, 0x42c4fc
call fcn.0041dcd4
push dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.0041b808
mov eax, dword [ebp - 0x34]
call fcn.0041b948
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call sub.ADVAPI32.dll_RegOpenKeyExA
test eax, eax
jne 0x42c4c7
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
lea edx, [ebp - 0x40]
mov eax, 0x42c574
call fcn.0041dcd4
mov eax, dword [ebp - 0x40]
call fcn.0041b948
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.dll_RegQueryValueExA
test eax, eax
jne 0x42c41e
cmp dword [ebp - 0xc], 4
je 0x42c492
mov dword [ebp - 0x18], 0x10000
mov dword [ebp - 0x14], 0x10000
mov eax, dword [ebp - 4]
call fcn.0042b0a0
mov dword [ebp - 8], eax
push 8
lea eax, [ebp - 0x18]
push eax
push 3
push 0
lea edx, [ebp - 0x44]
mov eax, 0x42c58c
call fcn.0041dcd4
mov eax, dword [ebp - 0x44]
call fcn.0041b948
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.dll_RegSetValueExA
push 4
lea eax, [ebp - 8]
push eax
push 3
push 0
lea edx, [ebp - 0x48]
mov eax, 0x42c59c
call fcn.0041dcd4
mov eax, dword [ebp - 0x48]
call fcn.0041b948
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.dll_RegSetValueExA
mov dword [ebp - 8], 1
jmp 0x42c495
inc dword [ebp - 8]
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0
mov eax, 0x42c574
lea edx, [ebp - 0x4c]
call fcn.0041dcd4
mov eax, dword [ebp - 0x4c]
call fcn.0041b948
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.dll_RegSetValueExA
mov eax, dword [ebp - 0x10]
push eax
call sub.ADVAPI32.dll_RegCloseKey
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c4e9
lea eax, [ebp - 0x4c]
mov edx, 0xd
call fcn.0041b50c
ret