Function at 0x428046
Capabilities:
Set registry value

Disassembly:
mov eax, 0x443339
call fcn.00417a9e
push ecx
mov eax, 0x1228
call fcn.0041763c
mov eax, dword [0x44de1c]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x1238], esi
xor edi, edi
mov dword [ebp - 0x1228], edi
lea eax, [ebp - 0x121c]
push eax
call fcn.004261b4
cmp eax, edi
jl 0x4283d3
lea eax, [ebp - 0x1228]
push eax
lea eax, [ebp - 0x121c]
push eax
call fcn.00425f9f
test eax, eax
jne 0x4280ae
mov eax, 0x80020009
jmp 0x4283d3
mov ecx, esi
call fcn.00426192
lea eax, [ebp - 0x121c]
push eax
mov ecx, esi
call fcn.004261b4
cmp eax, edi
jl 0x4283d3
movzx eax, word [ebp - 0x1228]
sub eax, 8
je 0x42839b
sub eax, 9
je 0x428286
dec eax
dec eax
je 0x4281c0
sub eax, 0x3ff5
jne 0x4283bf
lea eax, [ebp - 0x121c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
mov dword [ebp - 0x21c], edi
mov dword [ebp - 4], edi
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x21c]
call fcn.00426c71
and dword [ebp - 4], 0
mov edi, dword [ebp - 0x21c]
test edi, edi
je 0x428197
lea esi, [ebp - 0x121c]
cmp byte [ebp - 0x121c], 0
je 0x42817f
mov ebx, dword [sym.imp.USER32.dll_CharNextA]
push esi
call ebx
mov cl, byte [esi]
cmp cl, 0x5c
jne 0x428161
cmp byte [eax], 0x30
jne 0x428161
mov byte [edi], 0
inc edi
push eax
call ebx
mov esi, eax
jmp 0x42817a
mov byte [edi], cl
xor eax, eax
mov al, byte [esi]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x428178
inc edi
inc esi
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
cmp byte [esi], 0
jne 0x428141
mov byte [edi], 0
push dword [ebp - 0x21c]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00425e78
mov esi, eax
jmp 0x42819a
push 0xe
pop esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x218]
cmp dword [ebp - 0x21c], eax
je 0x4283b1
lea ecx, [ebp - 0x21c]
call fcn.00424667
jmp 0x4283b1
call dword [0x44db34]
mov dword [ebp - 0x1234], eax
mov dword [ebp - 0x1220], edi
push 3
pop ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x121c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea edi, [esi + esi]
cmp edi, 0x400
ja 0x428210
push edi
call fcn.00404ff3
test al, al
je 0x428210
mov eax, edi
add eax, ebx
and eax, 0xfffffffc
call fcn.0041763c
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x42821c
push edi
lea ecx, [ebp - 0x1220]
call fcn.004246aa
push dword [ebp - 0x1234]
push esi
lea ecx, [ebp - 0x121c]
push ecx
push eax
call fcn.004245ad
test eax, eax
jne 0x42824d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1220]
call fcn.00407355
mov eax, 0x8007000e
jmp 0x4283d3
lea ecx, [ebp - 0x122c]
push ecx
push 0
push 0
push eax
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
push dword [ebp - 0x122c]
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00425e35
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1220]
call fcn.00407355
jmp 0x4283b1
lea eax, [ebp - 0x121c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x1224], eax
test al, 1
jne 0x4282ff
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x1230], ebx
mov dword [ebp - 0x118], edi
mov dword [ebp - 4], 4
mov byte [ebp - 4], 5
push ebx
lea ecx, [ebp - 0x118]
call fcn.00426c71
jmp 0x4282d5
mov dword [ebp - 4], 4
mov edi, dword [ebp - 0x118]
test edi, edi
jne 0x428309
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x114]
cmp edi, eax
je 0x4282ff
lea ecx, [ebp - 0x118]
call fcn.00424667
mov eax, 0x80004005
jmp 0x4283d3
mov ecx, ebx
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
xor edi, edi
cmp dword [ebp - 0x1224], edi
jle 0x428360
mov eax, edi
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x118]
lea esi, [eax + ecx]
xor eax, eax
mov al, byte [ebp + edi - 0x121c]
push eax
call fcn.0042605e
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 - 0x1224]
jl 0x428325
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push dword [ebp - 0x118]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x114]
cmp dword [ebp - 0x118], eax
je 0x4283b1
lea ecx, [ebp - 0x118]
call fcn.00424667
jmp 0x4283b1
push 1
lea eax, [ebp - 0x121c]
push eax
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call fcn.00425e4f
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x4283bf
push esi
call fcn.00425b2c
jmp 0x4283d3
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1238]
call fcn.004261b4
cmp eax, edi
jl 0x4283d3
xor eax, eax
lea esp, [ebp - 0x1244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00417bd0
pop edi
pop esi
pop ebx
leave
ret 0xc