Function at 0x40e190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
lea eax, [ebp - 4]
push eax
push 0x6e98ef
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
je 0x40e1cb
lea edx, [ebp - 4]
push edx
push 0x6e9916
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegCreateKeyA
test eax, eax
jne 0x40ec23
push dword [0x6e7140]
push 0x6e993d
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9940
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x824603
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066c9ec
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9949
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x824707
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066c9ec
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9953
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x82480b
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066c9ec
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e995d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e737c]
push 0x6e9964
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9967
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x822d44
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066c9ec
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9971
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e739c]
push 0x6e997b
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e997e
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73b4]
push 0x6e9989
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e998c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73b8]
push 0x6e999c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e999f
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73d4]
push 0x6e99ae
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e99b1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73d8]
push 0x6e99be
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e99c1
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73dc]
push 0x6e99cc
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e99cf
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73e4]
push 0x6e99d8
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e99db
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73e8]
push 0x6e99ec
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e99ef
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6f6ab4]
push 0x6e99fe
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a01
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7468]
push 0x6e9a05
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a08
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73a0]
push 0x6e9a13
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a16
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x80c210]
push 0x6e9a21
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a24
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x80c214]
push 0x6e9a2c
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a2f
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e746c]
push 0x6e9a3a
lea ecx, [ebp - 0x10c]
push ecx
call fcn.00670e94
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6e9a3d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
lea ecx, [ebp - 0x10c]
push ecx
push dword [0x7676f0]
push dword [0x7676ec]
call fcn.0049e150
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a46
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
lea eax, [ebp - 0x10c]
push eax
push 0xa19d94
call fcn.0049e73c
add esp, 8
test eax, eax
je 0x40e748
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a50
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7470]
push 0x6e9a57
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a5a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7474]
push 0x6e9a6a
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a6d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7438]
push 0x6e9a79
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a7c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7448]
push 0x6e9a87
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a8a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7458]
push 0x6e9a93
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9a96
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6f6924]
push 0x6e9aa1
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9aa4
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e70e0]
push 0x6e9ab3
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9ab6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e70e4]
push 0x6e9ac3
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9ac6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e70fc]
push 0x6e9ad0
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9ad3
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e70f0]
push 0x6e9ae5
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9ae8
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e70f4]
push 0x6e9af6
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9af9
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x76784c]
push 0x6e9b06
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b09
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x767848]
push 0x6e9b14
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b17
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x767854]
push 0x6e9b23
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b26
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e7464]
push 0x6e9b31
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b34
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e761c]
push 0x6e9b3e
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b41
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73a4]
push 0x6e9b4a
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b4d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73a8]
push 0x6e9b5a
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b5d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6e73ac]
push 0x6e9b67
lea eax, [ebp - 0x10c]
push eax
call fcn.00670e94
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ca1c
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6e9b6a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret