Function at 0x445a80
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x211c
call fcn.00491130
mov eax, dword [0x4dbe18]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, edx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2114], eax
mov dword [ebp - 0x211c], ecx
lea eax, [ebp - 0x2004]
mov ecx, esi
mov dword [ebp - 0x2118], esi
mov dword [ebp - 0x2110], edi
mov dword [ebp - 0x210c], 0
call fcn.004460a0
test eax, eax
jl 0x445db4
push ebx
lea edx, [ebp - 0x210c]
push edx
lea ebx, [ebp - 0x2004]
call fcn.00445820
add esp, 4
test eax, eax
jne 0x445b0a
pop ebx
pop edi
mov eax, 0x80020009
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 8
call fcn.004469c0
lea eax, [ebp - 0x2004]
mov ecx, esi
call fcn.004460a0
test eax, eax
jl 0x445db3
movzx eax, word [ebp - 0x210c]
cmp eax, 0x13
jg 0x445cb1
je 0x445c69
cmp eax, 8
je 0x445c4f
cmp eax, 0x11
jne 0x445d98
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov ebx, eax
mov dword [ebp - 0x210c], ebx
test bl, 1
jne 0x445b9f
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov ecx, edi
lea esi, [ebp - 0x2108]
mov dword [ebp - 0x2108], 0
call fcn.004459d0
mov eax, dword [ebp - 0x2108]
test eax, eax
jne 0x445bb7
lea ecx, [ebp - 0x2104]
test ecx, ecx
je 0x445b9f
mov eax, esi
call fcn.004459c0
pop ebx
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 8
push edi
push 0
push eax
call fcn.0048f0a0
add esp, 0xc
xor esi, esi
test ebx, ebx
jle 0x445c09
lea esp, [esp]
mov eax, dword [ebp - 0x2108]
mov cx, word [ebp + esi*2 - 0x2004]
mov edx, esi
shr edx, 1
lea ebx, [edx + eax]
call fcn.00445a10
mov ecx, esi
and ecx, 1
add ecx, ecx
add ecx, ecx
mov edx, ecx
mov ecx, 4
sub ecx, edx
shl al, cl
inc esi
or byte [ebx], al
cmp esi, dword [ebp - 0x210c]
jl 0x445bd0
mov ecx, dword [ebp - 0x2108]
mov edx, dword [ebp - 0x2114]
mov eax, dword [ebp - 0x2110]
mov eax, dword [eax]
push edi
push ecx
push 3
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
lea eax, [ebp - 0x2104]
cmp dword [ebp - 0x2108], eax
je 0x445d7a
lea eax, [ebp - 0x2108]
call fcn.004459c0
jmp 0x445d7a
mov ecx, dword [ebp - 0x2114]
push ecx
push edi
lea esi, [ebp - 0x2004]
call fcn.004458d0
mov esi, eax
jmp 0x445d7a
lea edx, [ebp - 0x2110]
push edx
push 0
push 0
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x210c], 0
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov ecx, dword [ebp - 0x2110]
push ecx
mov ecx, dword [ebp - 0x2114]
mov edx, edi
call fcn.004459a0
lea ecx, [ebp - 0x210c]
mov esi, eax
call fcn.0043d0e0
jmp 0x445d7a
cmp eax, 0x4008
jne 0x445d98
lea edx, [ebp - 0x2004]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
add eax, 2
lea esi, [ebp - 0x2108]
mov dword [ebp - 0x2108], 0
call fcn.00445910
mov ebx, dword [ebp - 0x2108]
test ebx, ebx
je 0x445d60
cmp word [ebp - 0x2004], 0
lea esi, [ebp - 0x2004]
je 0x445d37
mov edi, dword [sym.imp.USER32.dll_CharNextW]
push esi
call edi
movzx ecx, word [esi]
cmp cx, 0x5c
jne 0x445d22
cmp word [eax], 0x30
jne 0x445d22
xor ecx, ecx
mov word [ebx], cx
push eax
add ebx, 2
call edi
mov esi, eax
jmp 0x445d2b
mov word [ebx], cx
add ebx, 2
add esi, 2
cmp word [esi], 0
jne 0x445d01
mov edi, dword [ebp - 0x2110]
xor edx, edx
mov word [ebx], dx
mov edx, dword [ebp - 0x2114]
xor eax, eax
mov word [ebx + 2], ax
mov ecx, dword [ebp - 0x2108]
push ecx
push edx
push edi
call fcn.00445950
mov ebx, dword [ebp - 0x2108]
mov esi, eax
jmp 0x445d65
mov esi, 0xe
lea eax, [ebp - 0x2104]
cmp ebx, eax
je 0x445d7a
lea eax, [ebp - 0x2108]
call fcn.004459c0
test esi, esi
je 0x445d98
mov eax, esi
call fcn.00446060
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x211c]
mov ecx, dword [ebp - 0x2118]
call fcn.004460a0
xor ecx, ecx
test eax, eax
setge cl
dec ecx
and eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0048ac3c
mov esp, ebp
pop ebp
ret 8