Function at 0x43a7c2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2110
call fcn.0045bf30
push ebx
push edi
lea eax, [ebp - 0x2110]
mov ebx, ecx
xor edi, edi
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], edi
call fcn.0043bfb1
test eax, eax
js 0x43aa83
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x2110]
push eax
call fcn.0043e7e0
pop ecx
pop ecx
test eax, eax
jne 0x43a80f
mov eax, 0x80020009
jmp 0x43aa83
mov ecx, ebx
call fcn.0043e277
lea eax, [ebp - 0x2110]
mov ecx, ebx
push eax
call fcn.0043bfb1
test eax, eax
js 0x43aa83
movzx eax, word [ebp - 4]
push esi
sub eax, 8
je 0x43aa56
sub eax, 9
je 0x43a957
dec eax
dec eax
je 0x43a918
sub eax, 0x3ff5
jne 0x43aa6f
lea ecx, [ebp - 0x2110]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x43a85f
sub ecx, edx
mov dword [ebp - 0x110], edi
sar ecx, 1
lea eax, [ecx + 2]
push eax
lea ecx, [ebp - 0x110]
call fcn.0043aaba
mov esi, dword [ebp - 0x110]
test esi, esi
je 0x43a8f7
cmp word [ebp - 0x2110], 0
lea edi, [ebp - 0x2110]
je 0x43a8d8
xor ebx, ebx
push edi
call dword [sym.imp.USER32.dll_CharNextW]
movzx ecx, word [edi]
cmp ecx, 0x5c
jne 0x43a8c7
cmp word [eax], 0x30
jne 0x43a8c7
xor ecx, ecx
mov word [esi], cx
add esi, 2
push eax
call dword [sym.imp.USER32.dll_CharNextW]
mov edi, eax
jmp 0x43a8d0
mov word [esi], cx
add esi, 2
add edi, 2
cmp word [edi], bx
jne 0x43a89f
mov ebx, dword [ebp - 8]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
push dword [ebp - 0x110]
push dword [ebp + 0xc]
call fcn.0043e0ef
mov esi, dword [ebp - 0x110]
mov edi, eax
jmp 0x43a8fa
push 0xe
pop edi
lea eax, [ebp - 0x10c]
cmp esi, eax
je 0x43aa49
lea ecx, [ebp - 0x110]
call fcn.0043b5b7
jmp 0x43aa49
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x2110]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
test eax, eax
js 0x43aa82
mov eax, dword [ebp - 8]
push 4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push 4
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
jmp 0x43aa49
lea ebx, [ebp - 0x2110]
lea ecx, [ebx + 2]
mov ax, word [ebx]
add ebx, 2
cmp ax, di
jne 0x43a960
sub ebx, ecx
sar ebx, 1
test bl, 1
jne 0x43a9af
mov eax, ebx
mov dword [ebp - 0x110], edi
cdq
lea ecx, [ebp - 0x110]
sub eax, edx
mov esi, eax
sar esi, 1
push esi
mov dword [ebp - 0xc], esi
call fcn.0043aa8b
cmp dword [ebp - 0x110], edi
jne 0x43a9b9
lea eax, [ebp - 0x10c]
test eax, eax
je 0x43a9af
lea ecx, [ebp - 0x110]
call fcn.0043b5b7
mov eax, 0x80004005
jmp 0x43aa82
push esi
push edi
push dword [ebp - 0x110]
call fcn.00438c15
add esp, 0xc
mov ecx, edi
mov dword [ebp - 4], ecx
test ebx, ebx
jle 0x43aa13
mov esi, dword [ebp - 0x110]
mov eax, ecx
movzx ecx, word [ebp + ecx*2 - 0x2110]
cdq
sub eax, edx
mov edi, eax
push ecx
sar edi, 1
call fcn.0043b138
mov edx, dword [ebp - 4]
pop ecx
and edx, 1
shl edx, 2
push 4
pop ecx
sub ecx, edx
shl al, cl
mov ecx, dword [ebp - 4]
or byte [edi + esi], al
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x43a9d2
mov esi, dword [ebp - 0xc]
xor edi, edi
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0x110]
push 3
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, eax
lea eax, [ebp - 0x10c]
cmp dword [ebp - 0x110], eax
je 0x43aa46
lea ecx, [ebp - 0x110]
call fcn.0043b5b7
mov ebx, dword [ebp - 8]
test edi, edi
je 0x43aa6f
push edi
call fcn.0043af92
pop ecx
jmp 0x43aa82
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x2110]
push 1
push eax
push dword [ebp + 0xc]
call fcn.0043e14d
jmp 0x43a950
push dword [ebp + 0x10]
mov ecx, ebx
call fcn.0043bfb1
xor ecx, ecx
test eax, eax
cmovs ecx, eax
mov eax, ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc