Function at 0x42b0fe
Capabilities:
Set registry value

Disassembly:
mov eax, 0x559cdd
call fcn.00514868
push ecx
mov eax, 0x2114
call fcn.00514be0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea eax, [ebp - 0x2124]
push eax
call fcn.0042c8e8
test eax, eax
js 0x42b430
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2124]
push eax
call fcn.0042ea68
pop ecx
pop ecx
test eax, eax
jne 0x42b157
mov eax, 0x80020009
jmp 0x42b430
mov ecx, edi
call fcn.0042e518
lea eax, [ebp - 0x2124]
push eax
mov ecx, edi
call fcn.0042c8e8
test eax, eax
js 0x42b430
movzx eax, word [ebp - 0x14]
sub eax, 8
je 0x42b405
sub eax, 9
je 0x42b2cc
dec eax
sub eax, 1
je 0x42b27d
sub eax, 0x3ff5
jne 0x42b420
lea ecx, [ebp - 0x2124]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42b1a8
sub ecx, edx
sar ecx, 1
add ecx, 2
mov dword [ebp - 0x124], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x124]
call fcn.0042b472
jmp 0x42b1dd
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x124]
test esi, esi
je 0x42b246
lea edi, [ebp - 0x2124]
cmp word [ebp - 0x2124], 0
je 0x42b22d
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x42b21f
cmp word [eax], 0x30
jne 0x42b21f
xor ecx, ecx
mov word [esi], cx
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x42b225
mov word [esi], cx
add edi, 2
add esi, 2
cmp word [edi], bx
jne 0x42b1fa
xor eax, eax
mov dword [esi], eax
push dword [ebp - 0x124]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0042dc9e
mov esi, eax
jmp 0x42b249
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x42b266
lea ecx, [ebp - 0x124]
call fcn.0042c4dd
mov edi, dword [ebp - 0x1c]
test esi, esi
je 0x42b420
push esi
call fcn.0042b695
pop ecx
jmp 0x42b430
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2124]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
jns 0x42b2a7
or dword [ebp - 4], 0xffffffff
jmp 0x42b430
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
push 4
lea eax, [ebp - 0x18]
push eax
push 4
push ebx
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
jmp 0x42b269
lea ecx, [ebp - 0x2124]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x42b2d5
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], ecx
test cl, 1
je 0x42b2f9
mov eax, 0x80004005
jmp 0x42b430
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x124], ebx
push 4
pop edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x124]
call fcn.0042b443
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x20]
jmp 0x42b33c
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x124], 0
jne 0x42b367
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x42b2ef
lea ecx, [ebp - 0x124]
call fcn.0042c4dd
jmp 0x42b2ef
push eax
push ebx
push dword [ebp - 0x124]
call fcn.0052c4e0
add esp, 0xc
mov eax, ebx
mov dword [ebp - 0x18], eax
test esi, esi
jle 0x42b3c3
mov ebx, dword [ebp - 0x20]
mov edi, eax
test edi, edi
jns 0x42b38c
add edi, 1
sar edi, 1
mov esi, dword [ebp - 0x124]
movzx eax, word [ebp + eax*2 - 0x2124]
push eax
call fcn.0042ba1f
pop ecx
mov edx, dword [ebp - 0x18]
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [edi + esi], al
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp eax, ebx
jl 0x42b383
xor ebx, ebx
mov eax, dword [ebp + 8]
push dword [ebp - 0x14]
push dword [ebp - 0x124]
push 3
push ebx
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x120]
cmp dword [ebp - 0x124], eax
je 0x42b266
lea ecx, [ebp - 0x124]
call fcn.0042c4dd
jmp 0x42b266
push 1
lea eax, [ebp - 0x2124]
push eax
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.0042dcfc
mov esi, eax
jmp 0x42b269
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0042c8e8
test eax, eax
js 0x42b430
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc