Function at 0x41b3a2
Capabilities:
Set registry value

Disassembly:
push ebp
mov eax, 0x2118
lea ebp, [esp - 0x6c]
call fcn.0042db90
mov eax, dword [0x44dcf8]
push esi
mov dword [ebp + 0x68], eax
push edi
lea eax, [ebp - 0x209c]
mov esi, ecx
xor edi, edi
push eax
mov dword [ebp - 0x20ac], esi
mov dword [ebp - 0x20a4], edi
call fcn.0041aa00
cmp eax, edi
jl 0x41b689
lea eax, [ebp - 0x20a4]
push eax
lea eax, [ebp - 0x209c]
push eax
call fcn.0041b6d4
test eax, eax
pop ecx
pop ecx
jne 0x41b402
mov eax, 0x80020009
jmp 0x41b689
mov ecx, esi
call fcn.0041a9d7
lea eax, [ebp - 0x209c]
push eax
mov ecx, esi
call fcn.0041aa00
cmp eax, edi
jl 0x41b689
movzx eax, word [ebp - 0x20a4]
sub eax, 8
push ebx
je 0x41b651
sub eax, 9
je 0x41b556
dec eax
dec eax
je 0x41b50f
sub eax, 0x3ff5
jne 0x41b674
lea eax, [ebp - 0x209c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
cmp eax, 0x100
mov dword [ebp - 0x9c], edi
jbe 0x41b477
push eax
lea ecx, [ebp - 0x9c]
call fcn.0041b798
jmp 0x41b483
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov esi, dword [ebp - 0x9c]
cmp esi, edi
je 0x41b4ea
cmp word [ebp - 0x209c], 0
lea edi, [ebp - 0x209c]
je 0x41b4cf
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
push edi
call ebx
mov cx, word [edi]
cmp cx, 0x5c
jne 0x41b4c2
cmp word [eax], 0x30
jne 0x41b4c2
and word [esi], 0
inc esi
push eax
inc esi
call ebx
mov edi, eax
jmp 0x41b4c9
mov word [esi], cx
inc esi
inc esi
inc edi
inc edi
cmp word [edi], 0
jne 0x41b4a3
and word [esi], 0
push dword [ebp - 0x9c]
mov ecx, dword [ebp + 0x74]
push dword [ebp + 0x78]
call fcn.0041b69a
mov esi, eax
xor edi, edi
jmp 0x41b4ed
push 0xe
pop esi
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x9c], eax
je 0x41b667
lea ecx, [ebp - 0x9c]
call fcn.0041a88f
jmp 0x41b667
call dword [0x4521c8]
lea eax, [ebp - 0x20a0]
push eax
push edi
push edi
lea eax, [ebp - 0x209c]
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x20a0]
push 4
mov dword [ebp - 0x20a8], eax
lea eax, [ebp - 0x20a8]
push eax
mov eax, dword [ebp + 0x74]
push 4
push edi
push dword [ebp + 0x78]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41b665
lea eax, [ebp - 0x209c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test al, 1
mov dword [ebp - 0x20a0], eax
je 0x41b577
mov eax, 0x80004005
jmp 0x41b688
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
cmp ebx, 0x100
mov dword [ebp - 0x9c], edi
jbe 0x41b59a
push ebx
lea ecx, [ebp - 0x9c]
call fcn.0041b798
jmp 0x41b5a6
lea eax, [ebp - 0x98]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], edi
jne 0x41b5c5
lea eax, [ebp - 0x98]
test eax, eax
je 0x41b56d
lea ecx, [ebp - 0x9c]
call fcn.0041a88f
jmp 0x41b56d
push ebx
push edi
push dword [ebp - 0x9c]
call fcn.0042d500
add esp, 0xc
cmp dword [ebp - 0x20a0], edi
jle 0x41b61b
mov eax, edi
cdq
sub eax, edx
mov esi, eax
xor eax, eax
mov ax, word [ebp + edi*2 - 0x209c]
sar esi, 1
add esi, dword [ebp - 0x9c]
push eax
call fcn.0041b766
pop ecx
mov ecx, edi
and ecx, 1
shl ecx, 2
mov edx, ecx
push 4
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 0x20a0]
jl 0x41b5dd
xor edi, edi
mov eax, dword [ebp + 0x74]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x9c]
push 3
push edi
push dword [ebp + 0x78]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x9c], eax
je 0x41b667
lea ecx, [ebp - 0x9c]
call fcn.0041a88f
jmp 0x41b667
mov ecx, dword [ebp + 0x74]
push 1
lea eax, [ebp - 0x209c]
push eax
push dword [ebp + 0x78]
call fcn.004122fe
mov esi, eax
cmp esi, edi
je 0x41b674
push esi
call fcn.0041b2f9
pop ecx
jmp 0x41b688
push dword [ebp + 0x7c]
mov ecx, dword [ebp - 0x20ac]
call fcn.0041aa00
cmp eax, edi
jl 0x41b688
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x68]
pop edi
pop esi
call fcn.0042da10
add ebp, 0x6c
leave
ret 0xc