Function at 0x429cd1
Capabilities:
Set registry value

Disassembly:
mov eax, 0x49f4a4
call fcn.0049e6bc
push ecx
mov eax, 0x2110
call fcn.00442250
push ebx
push esi
push edi
lea eax, [ebp - 0x2120]
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], ebx
call fcn.00429b7f
test eax, eax
js 0x42a064
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x2120]
call fcn.00429a94
test eax, eax
jne 0x429d26
mov eax, 0x80020009
jmp 0x42a064
mov ecx, esi
call fcn.00429b56
lea eax, [ebp - 0x2120]
mov ecx, esi
push eax
call fcn.00429b7f
test eax, eax
js 0x42a064
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x42a02e
sub eax, 9
je 0x429ed9
dec eax
dec eax
je 0x429e9d
sub eax, 0x3ff5
jne 0x42a051
lea eax, [ebp - 0x2120]
push eax
call fcn.00438238
pop ecx
mov dword [ebp - 0x120], ebx
lea ecx, [eax + 2]
xor eax, eax
mov dword [ebp - 4], ebx
shld eax, ecx, 1
mov byte [ebp - 4], 1
add ecx, ecx
cmp eax, ebx
ja 0x429dbe
cmp ecx, 0xffffffff
ja 0x429dbe
cmp ecx, 0x100
jbe 0x429db0
push ecx
lea ecx, [ebp - 0x120]
call fcn.0042b08f
jmp 0x429dd0
lea esi, [ebp - 0x11c]
mov dword [ebp - 0x120], esi
jmp 0x429dd6
push 0x80070216
call fcn.0041a36c
mov eax, 0x429dce
ret
mov esi, dword [ebp - 0x120]
test esi, esi
je 0x429e6e
cmp word [ebp - 0x2120], 0
lea edi, [ebp - 0x2120]
je 0x429e26
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x429e18
push 0x30
pop edx
cmp word [eax], dx
jne 0x429e18
xor ecx, ecx
mov word [esi], cx
add esi, 2
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x429e21
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], bx
jne 0x429dee
xor eax, eax
mov dword [esi], eax
mov esi, dword [ebp - 0x120]
test esi, esi
jne 0x429e38
push 0xd
jmp 0x429e70
mov edi, ebx
mov ebx, esi
push ebx
call fcn.00438238
inc eax
pop ecx
lea ebx, [ebx + eax*2]
lea edi, [edi + eax*2]
cmp eax, 1
jne 0x429e3c
mov eax, dword [ebp + 8]
xor ebx, ebx
push edi
push esi
push 7
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, dword [ebp - 0x120]
mov edi, eax
jmp 0x429e71
push 0xe
pop edi
lea eax, [ebp - 0x11c]
cmp esi, eax
je 0x429e86
lea ecx, [ebp - 0x120]
call fcn.0042b086
mov esi, dword [ebp - 0x18]
test edi, edi
je 0x42a051
mov ecx, edi
call fcn.00429135
jmp 0x42a064
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2120]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x42a064
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push 4
push eax
push 4
mov eax, dword [ebp + 8]
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x429e89
lea eax, [ebp - 0x2120]
push eax
call fcn.00438238
mov dword [ebp - 0x1c], eax
pop ecx
test al, 1
je 0x429ef7
mov eax, 0x80004005
jmp 0x42a064
cdq
sub eax, edx
mov dword [ebp - 0x120], ebx
mov esi, eax
sar esi, 1
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 3
mov byte [ebp - 4], 4
cmp ebx, ebx
ja 0x429dbe
cmp esi, 0xffffffff
ja 0x429dbe
cmp esi, 0x100
jbe 0x429f39
push esi
lea ecx, [ebp - 0x120]
call fcn.0042b08f
jmp 0x429f52
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
jmp 0x429f58
mov eax, dword [ebp - 0x120]
test eax, eax
jne 0x429f76
lea eax, [ebp - 0x11c]
test eax, eax
je 0x429eed
lea ecx, [ebp - 0x120]
call fcn.0042b086
jmp 0x429eed
push esi
push ebx
push eax
call fcn.00438560
mov edi, dword [ebp - 0x1c]
add esp, 0xc
test edi, edi
jle 0x429ff2
push 0x30
pop ecx
mov esi, ebx
mov eax, esi
cdq
sub eax, edx
movzx edx, word [ebp + esi*2 - 0x2120]
sar eax, 1
add eax, dword [ebp - 0x120]
mov dword [ebp - 0x1c], eax
mov eax, edx
cmp eax, ecx
jl 0x429fd1
cmp eax, 0x39
jle 0x429fcc
cmp eax, 0x40
jle 0x429fd1
cmp eax, 0x46
jle 0x429fc7
add eax, 0xffffff9f
cmp eax, 5
ja 0x429fd1
sub dl, 0x57
jmp 0x429fd3
sub dl, 0x37
jmp 0x429fd3
sub dl, 0x30
jmp 0x429fd3
mov dl, bl
mov eax, esi
and eax, 1
push 4
shl eax, 2
pop ecx
sub ecx, eax
mov eax, dword [ebp - 0x1c]
shl dl, cl
push 0x30
pop ecx
or byte [eax], dl
inc esi
cmp esi, edi
jl 0x429f8d
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0x120]
push 3
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x429e86
lea ecx, [ebp - 0x120]
call fcn.0042b086
jmp 0x429e86
lea eax, [ebp - 0x2120]
push eax
call fcn.00438238
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x2120]
push eax
push 1
jmp 0x429ec6
push dword [ebp + 0x10]
mov ecx, esi
call fcn.00429b7f
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc