Function at 0x43451f
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e2fb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x2128
call fcn.0041b190
mov eax, dword [0x441008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2124], edi
mov dword [ebp - 0x211c], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2128], esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x2130], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2138], eax
xor eax, eax
mov word [ebp - 0x2120], ax
lea eax, [ebp - 0x2014]
push eax
call fcn.0043562f
test eax, eax
js 0x434901
lea edx, [ebp - 0x2120]
lea ecx, [ebp - 0x2014]
call fcn.00436c68
test eax, eax
jne 0x4345bc
mov eax, 0x80020009
jmp 0x434901
mov ecx, edi
call fcn.00436948
lea eax, [ebp - 0x2014]
push eax
mov ecx, edi
call fcn.0043562f
test eax, eax
js 0x434901
movzx eax, word [ebp - 0x2120]
sub eax, 8
je 0x4348d7
sub eax, 9
je 0x434760
dec eax
sub eax, 1
je 0x434702
sub eax, 0x3ff5
jne 0x4348ee
lea ecx, [ebp - 0x2014]
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x434612
sub ecx, edx
sar ecx, 1
add ecx, 2
mov dword [ebp - 0x2118], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
push ecx
lea ecx, [ebp - 0x2118]
call fcn.00434959
mov dword [ebp - 4], ebx
jmp 0x434659
mov esi, dword [ebp - 0x2118]
test esi, esi
je 0x4346c8
lea edi, [ebp - 0x2014]
cmp word [ebp - 0x2014], 0
je 0x4346a9
push edi
call dword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x43469b
cmp word [eax], 0x30
jne 0x43469b
xor ecx, ecx
mov word [esi], cx
add esi, 2
push eax
call dword [sym.imp.api_ms_win_core_string_l2_1_0.dll_CharNextW]
mov edi, eax
jmp 0x4346a4
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], bx
jne 0x434673
xor eax, eax
mov dword [esi], eax
push dword [ebp - 0x2118]
push dword [ebp - 0x2130]
mov ecx, dword [ebp - 0x2128]
call fcn.0043681b
mov esi, eax
jmp 0x4346cb
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x4346e8
lea ecx, [ebp - 0x2118]
call fcn.0043549c
mov edi, dword [ebp - 0x2124]
test esi, esi
je 0x4348ee
mov ecx, esi
call fcn.00434ab2
jmp 0x434901
xor ebx, ebx
mov dword [ebp - 0x2128], ebx
mov dword [ebp - 4], 3
lea eax, [ebp - 0x212c]
push eax
push ebx
push ebx
lea eax, [ebp - 0x2014]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x212c]
mov dword [ebp - 0x211c], eax
push 4
lea eax, [ebp - 0x211c]
push eax
push 4
push ebx
push dword [ebp - 0x2130]
push dword [esi]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2128]
call fcn.0043324a
jmp 0x4346ee
lea ecx, [ebp - 0x2014]
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x43476b
sub ecx, edx
sar ecx, 1
mov dword [ebp - 0x2120], ecx
mov dword [ebp - 0x2134], ecx
test cl, 1
je 0x434795
mov eax, 0x80004005
jmp 0x434901
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x212c], eax
mov dword [ebp - 0x2118], ebx
push 4
pop edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2118]
call fcn.00434924
mov dword [ebp - 4], edi
mov esi, dword [ebp - 0x2120]
jmp 0x4347f0
mov eax, dword [ebp - 0x212c]
cmp dword [ebp - 0x2118], 0
jne 0x434825
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x43478b
lea ecx, [ebp - 0x2118]
call fcn.0043549c
jmp 0x43478b
push eax
push ebx
push dword [ebp - 0x2118]
call sub.msvcrt.dll_memset
add esp, 0xc
mov ecx, ebx
mov dword [ebp - 0x211c], ecx
test esi, esi
jle 0x43488c
mov ebx, dword [ebp - 0x2120]
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov esi, dword [ebp - 0x2118]
mov cx, word [ebp + ecx*2 - 0x2014]
call fcn.00434afd
mov edx, dword [ebp - 0x211c]
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [edi + esi], al
mov ecx, dword [ebp - 0x211c]
inc ecx
mov dword [ebp - 0x211c], ecx
cmp ecx, ebx
jl 0x434847
xor ebx, ebx
push dword [ebp - 0x212c]
push dword [ebp - 0x2118]
push 3
push ebx
push dword [ebp - 0x2130]
mov eax, dword [ebp - 0x2128]
push dword [eax]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x2114]
cmp dword [ebp - 0x2118], eax
je 0x4346e8
lea ecx, [ebp - 0x2118]
call fcn.0043549c
jmp 0x4346e8
push ecx
lea eax, [ebp - 0x2014]
push eax
push ebx
mov ecx, esi
call fcn.00436886
mov esi, eax
jmp 0x4346ee
push dword [ebp - 0x2138]
mov ecx, edi
call fcn.0043562f
test eax, eax
js 0x434901
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041a3d0
mov esp, ebp
pop ebp
ret 0xc