Function at 0x429fa0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x14c]
sub esp, 0x14c
push 0xffffffffffffffff
push 0x68ba38
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x71a00c]
xor eax, ebp
mov dword [ebp + 0x148], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], vtable.win32only::CRegistry.0
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
lea ecx, [ebp + 0x30]
push 0x26
push 0x6afc04
mov dword [ebp + 0x44], 0xf
mov dword [ebp + 0x40], 0
mov byte [ebp + 0x30], 0
call fcn.004023e0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x42a026
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x44], 0x10
lea ecx, [ebp - 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp + 0x30]
cmovae eax, dword [ebp + 0x30]
push 0
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [ebp + 0x44]
cmp edx, 0x10
jb 0x42a066
mov ecx, dword [ebp + 0x30]
inc edx
push 1
call fcn.004020c0
add esp, 4
xor edi, edi
lea ebx, [esi + 8]
nop dword [eax + eax]
mov dword [ebp + 0x14], 0xf
mov dword [ebp + 0x10], 0
mov byte [ebp], 0
lea eax, [ebp]
mov byte [ebp - 4], 1
push eax
push edi
mov ecx, ebx
call fcn.00428a40
push edi
push 0x6afbf8
lea eax, [ebp + 0x48]
push 0x100
push eax
call fcn.00406100
add esp, 0x10
mov dword [ebp + 0x44], 0xf
cmp dword [ebp + 0x14], 0x10
lea edx, [ebp]
mov dword [ebp + 0x40], 0
cmovae edx, dword [ebp]
mov byte [ebp + 0x30], 0
cmp byte [edx], 0
jne 0x42a0cf
xor ecx, ecx
jmp 0x42a0dd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a0d4
sub ecx, esi
push ecx
push edx
lea ecx, [ebp + 0x30]
call fcn.004023e0
mov byte [ebp - 4], 2
cmp byte [ebp + 0x48], 0
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
jne 0x42a107
xor eax, eax
jmp 0x42a119
lea eax, [ebp + 0x48]
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42a110
sub eax, edx
push eax
lea eax, [ebp + 0x48]
push eax
lea ecx, [ebp + 0x18]
call fcn.004023e0
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x42a155
cmp dword [ebp + 0x44], 0x10
lea edx, [ebp + 0x30]
mov eax, dword [ebp + 0x40]
lea ecx, [ebp + 0x18]
cmovae edx, dword [ebp + 0x30]
cmp dword [ebp + 0x2c], 0x10
cmovae ecx, dword [ebp + 0x18]
inc eax
push eax
push edx
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp + 0x2c]
cmp edx, 0x10
jb 0x42a16b
mov ecx, dword [ebp + 0x18]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov edx, dword [ebp + 0x44]
mov dword [ebp + 0x2c], 0xf
mov dword [ebp + 0x28], 0
mov byte [ebp + 0x18], 0
cmp edx, 0x10
jb 0x42a193
mov ecx, dword [ebp + 0x30]
inc edx
push 1
call fcn.004020c0
add esp, 4
mov byte [ebp - 4], 0
mov edx, dword [ebp + 0x14]
cmp edx, 0x10
jb 0x42a1ad
mov ecx, dword [ebp]
inc edx
push 1
call fcn.004020c0
add esp, 4
inc edi
cmp edi, 0x10
jl 0x42a070
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0x14], vtable.win32only::CRegistry.0
test esi, esi
je 0x42a1cc
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x148]
xor ecx, ebp
call fcn.0066bc45
lea esp, [ebp + 0x14c]
pop ebp
ret