Function at 0x401354
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [str.SoftwareWestwoodTiberian_Sun]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401381
xor eax, eax
jmp 0x40207d
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea edx, [ebp - 0x20c]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x406260
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.SUN.EXE
lea edx, [ebp - 0x20c]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x406278
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.Command_and_Conquer_Tiberian_Sun
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x4062a8
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0x1203
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
push 0x4062b0
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0x10000
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x4062b4
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.0307746909661715413951
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push str.Serial
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x210]
push ecx
mov edx, dword [str.SoftwareWestwoodWOLAPI]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401514
xor eax, eax
jmp 0x40207d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402090
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.Internet_
lea eax, [ebp - 0x20c]
push eax
call fcn.004020a0
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x20c]
push edx
push 1
push 0
push str.InstallFromPath
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.WOLAPI.DLL
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push str.InstallPath
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.Westwood_Internet_Play
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push str.Name
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0x7f00
push 4
lea eax, [ebp - 4]
push eax
push 4
push 0
push 0x406330
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], 0x10006
push 4
lea edx, [ebp - 4]
push edx
push 4
push 0
push str.Version
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSID4DD3BAF5_7579_11D1_B1C6_006097176556]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x40168d
xor eax, eax
jmp 0x40207d
push str.Chat_Class
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x406950
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSID4DD3BAF5_7579_11D1_B1C6_006097176556]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
push 0x406348
lea ecx, [ebp - 0x108]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x40172c
xor eax, eax
jmp 0x40207d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x406358
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x406954
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.CLSID4DD3BAF5_7579_11D1_B1C6_006097176556]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402090
add esp, 8
push 0x40636c
lea edx, [ebp - 0x108]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4017ea
xor eax, eax
jmp 0x40207d
push str.Chat.Chat.1
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push 0x406958
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.CLSID4DD3BAF5_7579_11D1_B1C6_006097176556]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
push 0x406380
lea eax, [ebp - 0x108]
push eax
call fcn.004020a0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401889
xor eax, eax
jmp 0x40207d
push str.Chat.Chat
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x40695c
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSIDB832B0AB_A7D3_11D1_97C3_00609706FA0C]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401914
xor eax, eax
jmp 0x40207d
push str.NetUtil_Class
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x406960
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSIDB832B0AB_A7D3_11D1_97C3_00609706FA0C]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
push 0x4063b8
lea ecx, [ebp - 0x108]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x4019b3
xor eax, eax
jmp 0x40207d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push 0x4063c8
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x406964
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.CLSIDB832B0AB_A7D3_11D1_97C3_00609706FA0C]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402090
add esp, 8
push 0x4063dc
lea edx, [ebp - 0x108]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401a71
xor eax, eax
jmp 0x40207d
push str.NetUtil.NetUtil.1
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push 0x406968
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.CLSIDB832B0AB_A7D3_11D1_97C3_00609706FA0C]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
push 0x4063f8
lea eax, [ebp - 0x108]
push eax
call fcn.004020a0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401b10
xor eax, eax
jmp 0x40207d
push str.NetUtil.NetUtil
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x40696c
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSIDBF6EA206_9E55_11D1_9DC6_006097C54321]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401b9b
xor eax, eax
jmp 0x40207d
push str.Download_Class
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x406970
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.CLSIDBF6EA206_9E55_11D1_9DC6_006097C54321]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
push str.InProcServer32
lea ecx, [ebp - 0x108]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401c3a
xor eax, eax
jmp 0x40207d
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.InternetWOLAPI.DLL
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x20c]
push eax
push 1
push 0
push 0x406974
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.CLSIDBF6EA206_9E55_11D1_9DC6_006097C54321]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402090
add esp, 8
push str.ProgID
lea edx, [ebp - 0x108]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401cf8
xor eax, eax
jmp 0x40207d
push str.Download.Download.1
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
lea eax, [ebp - 0x108]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x108]
push ecx
push 1
push 0
push 0x406978
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.CLSIDBF6EA206_9E55_11D1_9DC6_006097C54321]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
push str.VersionIndependentProgID
lea eax, [ebp - 0x108]
push eax
call fcn.004020a0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401d97
xor eax, eax
jmp 0x40207d
push str.Download.Download
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x40697c
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.TypeLibB45A4A80_86DA_11D1_B706_00A024DDAFD11.0]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401e22
xor eax, eax
jmp 0x40207d
push str.Tiberian_Sun__1.0__Type_Library
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x108]
push edx
push 1
push 0
push 0x406980
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [str.TypeLibB45A4A80_86DA_11D1_B706_00A024DDAFD11.0]
push edx
lea eax, [ebp - 0x108]
push eax
call fcn.00402090
add esp, 8
push str.FLAGS
lea ecx, [ebp - 0x108]
push ecx
call fcn.004020a0
add esp, 8
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x108]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401ec1
xor eax, eax
jmp 0x40207d
push 0x4064cc
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402090
add esp, 8
lea edx, [ebp - 0x108]
push edx
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push 0x406984
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [str.TypeLibB45A4A80_86DA_11D1_B706_00A024DDAFD11.0]
push eax
lea ecx, [ebp - 0x108]
push ecx
call fcn.00402090
add esp, 8
push str.0win32
lea edx, [ebp - 0x108]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x108]
push ecx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x401f5f
xor eax, eax
jmp 0x40207d
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00402090
add esp, 8
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
push str.SUN.TLB
lea edx, [ebp - 0x20c]
push edx
call fcn.004020a0
add esp, 8
lea eax, [ebp - 0x20c]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x406988
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [str.TypeLibB45A4A80_86DA_11D1_B706_00A024DDAFD11.0]
push ecx
lea edx, [ebp - 0x108]
push edx
call fcn.00402090
add esp, 8
push str.HELPDIR
lea eax, [ebp - 0x108]
push eax
call fcn.004020a0
add esp, 8
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x108]
push edx
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x40201b
xor eax, eax
jmp 0x40207d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00402090
add esp, 8
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashA]
lea eax, [ebp - 0x20c]
push eax
call fcn.00402180
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 1
push 0
push 0x40698c
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret