Function at 0x429e30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ee0e5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x53e01c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x5c]
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x80000001
push eax
mov ecx, 0x10
call fcn.00428c00
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x429ea0
mov esi, dword [esi]
mov ecx, esi
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429ec0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00407890
mov byte [ebp - 4], 1
lea edx, [ebp - 0x5c]
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x44], 0
cmovae edx, dword [ebp - 0x5c]
mov ecx, edx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x429f02
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x44]
call fcn.00407890
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0
cmovae eax, dword [ebp - 0x44]
sub esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
push 0x20006
sub esp, 8
push eax
push dword [ebp - 0x60]
call fcn.00405cc0
test eax, eax
je 0x429f68
mov eax, dword [ebp - 0x6c]
test eax, eax
je 0x429f64
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x429fae
mov edx, dword [edi]
lea ecx, [ebp - 0x2c]
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x6c]
sub eax, edx
cmp dword [ebp - 0x18], 8
push eax
cmovae ecx, dword [ebp - 0x2c]
push edx
push 3
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x429f9e
test esi, esi
je 0x429f64
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
jmp 0x429fae
test esi, esi
je 0x429fa9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, 1
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x429fe8
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x429fde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a099
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x42a032
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a028
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a099
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x42a07c
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42a072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42a099
push edx
push ecx
call fcn.0045b5e1
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045b5b0
mov esp, ebp
pop ebp
ret
call fcn.004c1e0f
int3