Function at 0x402a00
Capabilities:
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41283b
push eax
mov eax, 0x1608
mov dword fs:[0], esp
call fcn.00412350
push str.Menus
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x1618]
lea eax, [esp]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x402a76
lea ecx, [esp + 4]
mov dword [esp + 0x1610], 0xffffffff
call fcn.00412128
xor eax, eax
mov ecx, dword [esp + 0x1608]
mov dword fs:[0], ecx
add esp, 0x1614
ret 4
mov eax, dword [str.Pop1]
mov cl, byte [0x4152e4]
push esi
push edi
mov dword [esp + 0x1410], eax
mov byte [esp + 0x1414], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1415]
mov edx, dword [str.Veqics_pop1]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4152dc]
mov dword [esp + 0x810], edx
stosw word es:[edi], ax
mov eax, dword [0x4152d8]
mov dword [esp + 0x818], ecx
mov dword [esp + 0x814], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x81c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x810]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x810]
repne scasb al, byte es:[edi]
not ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
lea eax, [esp + 0x1420]
push eax
push ecx
call esi
mov al, byte [0x4152d0]
mov edx, dword [str.Pop2]
mov byte [esp + 0xb14], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xb15]
mov dword [esp + 0xb10], edx
mov edx, dword [0x4152c4]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Veqics_pop2]
mov dword [esp + 0x714], edx
stosw word es:[edi], ax
mov eax, dword [0x4152c8]
mov dword [esp + 0x710], ecx
mov dword [esp + 0x718], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x71c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x710]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xb10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x714]
push ecx
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call esi
mov ecx, dword [str.Pop3]
mov dl, byte [0x4152bc]
mov dword [esp + 0xe10], ecx
mov byte [esp + 0xe14], dl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xe15]
mov edx, dword [0x4152b4]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4152b0]
mov dword [esp + 0x518], edx
stosw word es:[edi], ax
mov eax, dword [str.Veqics_pop3]
mov dword [esp + 0x514], ecx
mov dword [esp + 0x510], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x51c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x510]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x510]
push ecx
push eax
push 1
lea ecx, [esp + 0xe1c]
push 0
push ecx
push edx
call esi
mov eax, dword [str.Pop4]
mov cl, byte [0x4152a8]
mov dword [esp + 0x1210], eax
mov byte [esp + 0x1214], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1215]
mov edx, dword [str.Veqics_pop4]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4152a0]
mov dword [esp + 0x910], edx
stosw word es:[edi], ax
mov eax, dword [0x41529c]
mov dword [esp + 0x918], ecx
mov dword [esp + 0x914], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x91c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x910]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x910]
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
lea eax, [esp + 0x1220]
push eax
push ecx
call esi
mov al, byte [0x415294]
mov edx, dword [str.Pop5]
mov byte [esp + 0x1014], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1015]
mov dword [esp + 0x1010], edx
mov edx, dword [0x415288]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Veqics_pop5]
mov dword [esp + 0x314], edx
stosw word es:[edi], ax
mov eax, dword [0x41528c]
mov dword [esp + 0x310], ecx
mov dword [esp + 0x318], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x31c]
lea edx, [esp + 0x1010]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x310]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x314]
push ecx
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call esi
mov ecx, dword [str.Pop6]
mov dl, byte [0x415280]
mov dword [esp + 0xc10], ecx
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xc15]
mov byte [esp + 0xc14], dl
mov edx, dword [0x415278]
rep stosd dword es:[edi], eax
mov ecx, dword [0x415274]
mov dword [esp + 0x418], edx
stosw word es:[edi], ax
mov eax, dword [str.Veqics_pop6]
mov dword [esp + 0x414], ecx
mov dword [esp + 0x410], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x41c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x410]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x410]
push ecx
push eax
push 1
lea ecx, [esp + 0xc1c]
push 0
push ecx
push edx
call esi
mov eax, dword [str.Pop7]
mov cl, byte [0x41526c]
mov dword [esp + 0xd10], eax
mov byte [esp + 0xd14], cl
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xd15]
mov edx, dword [str.Veqics_pop7]
rep stosd dword es:[edi], eax
mov ecx, dword [0x415264]
mov dword [esp + 0x610], edx
stosw word es:[edi], ax
mov eax, dword [0x415260]
mov dword [esp + 0x618], ecx
mov dword [esp + 0x614], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x61c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
or ecx, 0xffffffff
lea edi, [esp + 0x610]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x610]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 1
push eax
lea eax, [esp + 0xd20]
push eax
push ecx
call esi
mov al, byte [0x415258]
mov edx, dword [str.Pop8]
mov byte [esp + 0xf14], al
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0xf15]
mov dword [esp + 0xf10], edx
mov edx, dword [0x41524c]
rep stosd dword es:[edi], eax
mov ecx, dword [str.Veqics_pop8]
mov dword [esp + 0x214], edx
stosw word es:[edi], ax
mov eax, dword [0x415250]
mov dword [esp + 0x210], ecx
mov dword [esp + 0x218], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0x21c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0x210]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xf10]
repne scasb al, byte es:[edi]
not ecx
push ecx
lea ecx, [esp + 0x214]
push ecx
push 1
push eax
mov eax, dword [esp + 0x18]
push edx
push eax
call esi
mov ecx, dword [str.Pop9]
mov dl, byte [0x415244]
mov dword [esp + 0x1110], ecx
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1115]
mov byte [esp + 0x1114], dl
mov edx, dword [0x41523c]
rep stosd dword es:[edi], eax
mov ecx, dword [0x415238]
mov dword [esp + 0xa18], edx
stosw word es:[edi], ax
mov eax, dword [str.Veqics_pop9]
mov dword [esp + 0xa14], ecx
mov dword [esp + 0xa10], eax
mov ecx, 0x3c
xor eax, eax
lea edi, [esp + 0xa1c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edi, [esp + 0xa10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0xa10]
push ecx
push eax
push 1
lea ecx, [esp + 0x111c]
push 0
push ecx
mov edx, dword [esp + 0x1c]
push edx
call esi
mov eax, dword [str.Pop10]
mov cx, word [0x415230]
mov dword [esp + 0x1310], eax
mov word [esp + 0x1314], cx
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1316]
mov edx, dword [str.Veqics_pop10]
rep stosd dword es:[edi], eax
mov ecx, dword [0x415224]
mov dword [esp + 0x10], edx
mov dl, byte [0x415228]
mov dword [esp + 0x18], ecx
stosb byte es:[edi], al
mov eax, dword [0x415220]
mov ecx, 0x3c
mov dword [esp + 0x14], eax
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x10]
push ecx
push eax
push 1
lea ecx, [esp + 0x131c]
push 0
push ecx
push edx
call esi
mov eax, dword [str.Pop11]
mov cx, word [0x415218]
mov dword [esp + 0x1510], eax
mov word [esp + 0x1514], cx
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x1516]
mov edx, dword [str.Veqics_pop11]
rep stosd dword es:[edi], eax
mov ecx, dword [0x41520c]
mov dword [esp + 0x110], edx
mov dl, byte [0x415210]
mov dword [esp + 0x118], ecx
stosb byte es:[edi], al
mov eax, dword [0x415208]
mov ecx, 0x3c
mov dword [esp + 0x114], eax
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edi, [esp + 0x110]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 8]
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x110]
push ecx
push eax
push 1
lea ecx, [esp + 0x151c]
push 0
push ecx
push edx
call esi
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1618], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00412128
mov ecx, dword [esp + 0x1610]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1614
ret 4