Function at 0x40290c
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x65c
mov eax, 0x40369f
call fcn.00403000
xor ebx, ebx
mov dword [ebp - 0x65c], ebx
mov dword [ebp - 0x658], ebx
mov dword [ebp - 0x654], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x64c], ebx
mov dword [ebp - 0x648], ebx
mov dword [ebp - 0x668], ebx
mov dword [ebp - 0x664], ebx
mov dword [ebp - 0x660], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
mov dword [ebp - 0x630], ebx
mov dword [ebp - 0x644], ebx
mov dword [ebp - 0x640], ebx
mov dword [ebp - 0x63c], ebx
mov byte [ebp - 4], 4
mov esi, 0x80000000
cmp dword [ebp + 8], ebx
je 0x4029cd
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40178c
push esi
lea ecx, [ebp - 0x65c]
call fcn.00401990
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40177c
push esi
lea ecx, [ebp - 0x650]
call fcn.00401990
push ebx
push ebx
push 2
push ebx
push ebx
push 0x401770
push esi
lea ecx, [ebp - 0x668]
call fcn.00401990
push ebx
push ebx
push 2
push ebx
push ebx
push 0x401700
mov edi, 0x80000002
push edi
lea ecx, [ebp - 0x638]
call fcn.00401990
push ebx
push ebx
push 2
push ebx
push ebx
push 0x401680
push edi
lea ecx, [ebp - 0x644]
call fcn.00401990
mov eax, dword [0x404020]
dec eax
je 0x402b1a
dec eax
jne 0x402bfb
cmp dword [ebp + 8], ebx
je 0x402ad2
push 8
pop ecx
push 0x1e8
lea eax, [ebp - 0x400]
push ebx
mov esi, 0x401660
lea edi, [ebp - 0x420]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x420]
push eax
push 0x40178c
push 0x80000000
call fcn.00401cb4
push 9
pop ecx
mov esi, 0x401638
lea edi, [ebp - 0x628]
rep movsd dword es:[edi], dword [esi]
push 0x1e2
lea eax, [ebp - 0x602]
push ebx
push eax
movsw word es:[edi], word [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x628]
push eax
push 0x40177c
push 0x80000000
call fcn.00401cb4
push 0xa
pop ecx
push 0x1e0
lea eax, [ebp - 0x1f0]
push ebx
mov esi, 0x401610
lea edi, [ebp - 0x218]
push eax
rep movsd dword es:[edi], dword [esi]
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x401770
push 0x80000000
call fcn.00401cb4
push 0x4015fc
push dword [ebp - 0x644]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 4
lea eax, [ebp - 0x62c]
push eax
push 4
push ebx
push 0x4015e0
push dword [ebp - 0x638]
xor esi, esi
inc esi
mov dword [ebp - 0x62c], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.00401e16
call fcn.00402364
push esi
jmp 0x402bf6
cmp dword [ebp + 8], ebx
je 0x402baf
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x218]
push eax
push 0x40178c
push esi
call fcn.00401cb4
xor eax, eax
push edi
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x628]
push eax
push 0x40177c
push esi
call fcn.00401cb4
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push ebx
lea eax, [ebp - 0x420]
push eax
push 0x401770
push esi
call fcn.00401cb4
push 2
push 0x4015a8
push 0x4015fc
lea ecx, [ebp - 0x644]
call fcn.00401a3a
push 4
lea eax, [ebp - 0x62c]
push eax
push 4
push ebx
push 0x4015e0
push dword [ebp - 0x638]
mov dword [ebp - 0x62c], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
call fcn.00401e16
call fcn.004027bd
push ebx
call fcn.0040274a
lea ecx, [ebp - 0x644]
call fcn.00401972
lea ecx, [ebp - 0x638]
call fcn.00401972
lea ecx, [ebp - 0x668]
call fcn.00401972
lea ecx, [ebp - 0x650]
call fcn.00401972
lea ecx, [ebp - 0x65c]
call fcn.00401972
call fcn.00403054
ret 4