Function at 0x40e2c8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
lea eax, [ebp - 4]
push eax
push 0x6ee1a5
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyA
test eax, eax
je 0x40e303
lea edx, [ebp - 4]
push edx
push 0x6ee1cc
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegCreateKeyA
test eax, eax
jne 0x40ed5b
push dword [0x6eba08]
push 0x6ee1f3
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee1f6
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x831fd7
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066ce08
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee1ff
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x8320db
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066ce08
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee209
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x8321df
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066ce08
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee213
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc44]
push 0x6ee21a
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee21d
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push 0x830718
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0066ce08
add esp, 8
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee227
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc64]
push 0x6ee231
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee234
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc7c]
push 0x6ee23f
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee242
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc80]
push 0x6ee252
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee255
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc9c]
push 0x6ee264
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee267
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebca0]
push 0x6ee274
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee277
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebca4]
push 0x6ee282
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee285
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebcac]
push 0x6ee28e
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee291
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebcb0]
push 0x6ee2a2
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2a5
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6fb2f0]
push 0x6ee2b4
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2b7
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd30]
push 0x6ee2bb
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2be
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc68]
push 0x6ee2c9
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2cc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x819be4]
push 0x6ee2d7
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2da
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x819be8]
push 0x6ee2e2
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2e5
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd34]
push 0x6ee2f0
lea ecx, [ebp - 0x10c]
push ecx
call fcn.006712b0
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
call fcn.0066ce38
pop ecx
inc eax
push eax
lea edx, [ebp - 0x10c]
push edx
push 1
push 0
push 0x6ee2f3
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
lea ecx, [ebp - 0x10c]
push ecx
push dword [0x7707fc]
push dword [0x7707f8]
call fcn.0049e438
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee2fc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
lea eax, [ebp - 0x10c]
push eax
push 0xa27768
call fcn.0049ea24
add esp, 8
test eax, eax
je 0x40e880
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee306
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd38]
push 0x6ee30d
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee310
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd3c]
push 0x6ee320
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee323
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd00]
push 0x6ee32f
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee332
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd10]
push 0x6ee33d
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee340
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd20]
push 0x6ee349
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee34c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6fb160]
push 0x6ee357
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee35a
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6eb9a8]
push 0x6ee369
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee36c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6eb9ac]
push 0x6ee379
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee37c
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6eb9c4]
push 0x6ee386
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee389
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6eb9b8]
push 0x6ee39b
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee39e
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6eb9bc]
push 0x6ee3ac
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3af
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x770958]
push 0x6ee3bc
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3bf
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x770954]
push 0x6ee3ca
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3cd
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x770960]
push 0x6ee3d9
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3dc
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebd2c]
push 0x6ee3e7
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3ea
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebee4]
push 0x6ee3f4
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee3f7
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc6c]
push 0x6ee400
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee403
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc70]
push 0x6ee410
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee413
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [0x6ebc74]
push 0x6ee41d
lea eax, [ebp - 0x10c]
push eax
call fcn.006712b0
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
call fcn.0066ce38
pop ecx
inc eax
push eax
lea ecx, [ebp - 0x10c]
push ecx
push 1
push 0
push 0x6ee420
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegSetValueExA
push dword [ebp - 4]
call sub.ADVAPI32.DLL_RegCloseKey
mov esp, ebp
pop ebp
ret