Function at 0x40206b
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x41cfcc
call fcn.004057fc
sub esp, 0x24c
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], 0x41e62c
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
push str.AppList
mov dword [ebp - 4], ebx
call fcn.0041acc3
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x4022c5
mov ax, word [0x4296e4]
push esi
push edi
push 0x40
mov word [ebp - 0x154], ax
pop ecx
xor eax, eax
lea edi, [ebp - 0x152]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor edi, edi
mov esi, 0x104
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x10]
push ebx
push ecx
lea ecx, [ebp - 0x258]
mov eax, edi
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], esi
inc edi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x40219e
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
lea eax, [ebp - 0x258]
push ebx
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x154]
lea ecx, [ebp - 0x18]
push eax
call fcn.00413136
lea eax, [ebp - 0x258]
lea ecx, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call fcn.00413136
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
call fcn.00412e3d
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.00412e3d
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x30]
push eax
mov byte [ebp - 4], 4
push dword [ebp - 0x28]
call fcn.004026b4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.004130c8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004130c8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004130c8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call fcn.004130c8
jmp 0x4020ce
xor esi, esi
cmp dword [ebp - 0x28], ebx
je 0x4021ba
mov eax, dword [ebp - 0x2c]
push dword [eax + esi*8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
inc esi
cmp esi, dword [ebp - 0x28]
jne 0x4021a5
xor edi, edi
cmp dword [ebp - 0x28], ebx
je 0x4022ba
mov eax, dword [ebp - 0x2c]
mov esi, edi
shl esi, 3
push 0x5c
lea ecx, [esi + eax]
call fcn.0040e5cc
cmp eax, ebx
mov dword [ebp - 0x1c], eax
jl 0x40228a
push 0x427894
lea ecx, [ebp - 0x34]
call fcn.00413136
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00401a7c
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
push dword [esi + eax]
call fcn.00401bf3
test eax, eax
je 0x402243
push 0x427884
lea ecx, [ebp - 0x18]
call fcn.00413136
lea eax, [ebp - 0x18]
push ebx
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 8
lea eax, [esi + eax + 4]
push eax
call fcn.00401dac
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.004130c8
mov eax, dword [ebp - 0x1c]
inc eax
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x2c]
lea ecx, [esi + eax]
call fcn.0040e49b
push eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
lea ecx, [esi + eax]
call fcn.004131b5
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.004130c8
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00401bac
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.004130c8
mov eax, dword [ebp - 0x2c]
add eax, esi
mov edx, dword [eax + 4]
lea ecx, [eax + 4]
mov esi, dword [eax]
mov edx, dword [edx - 8]
inc edx
push edx
push ebx
call fcn.00413497
push eax
push 1
push ebx
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
inc edi
cmp edi, dword [ebp - 0x28]
jne 0x4021c5
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402500
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret