Function at 0x40ce40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428936
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c4
mov dword [ebp - 0x6d0], ecx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4ac], 0
je 0x40cf0b
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
add eax, 0x188
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041e1b0
add esp, 8
push 0x42aae0
lea edx, [ebp - 0x20c]
push edx
call fcn.0041e1c0
add esp, 8
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4ac]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0041e1c0
add esp, 8
push 0x42aae4
lea ecx, [ebp - 0x20c]
push ecx
push 0x42aaf0
push 0x42aaf4
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x6d0]
add edx, 0x184
push edx
lea eax, [ebp - 0x20c]
push eax
push 0x42aafc
push 0x42ab00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x4b0], 0
je 0x40cfb2
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
add ecx, 0x188
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0041e1b0
add esp, 8
push 0x42ab08
lea eax, [ebp - 0x20c]
push eax
call fcn.0041e1c0
add esp, 8
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x4b0]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041e1c0
add esp, 8
push 0x42ab0c
lea edx, [ebp - 0x20c]
push edx
push 0x42ab18
push 0x42ab20
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
add eax, 0x184
push eax
lea ecx, [ebp - 0x20c]
push ecx
push 0x42ab28
push str.Viewer
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
cmp dword [eax + 0x4b4], 0
je 0x40d05a
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
add edx, 0x188
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.0041e1b0
add esp, 8
push 0x42ab38
lea ecx, [ebp - 0x20c]
push ecx
call fcn.0041e1c0
add esp, 8
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x4b4]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.0041e1c0
add esp, 8
push 0x42ab3c
lea eax, [ebp - 0x20c]
push eax
push 0x42ab48
push 0x42ab5c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.DVRbank_PathName
push 0x42ab7c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4b8], 0
je 0x40d0be
push 0x42ab88
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x4b8]
push ecx
push 0x42ab94
push 0x42aba8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x6d0]
add edx, 0x184
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4b8]
push edx
push str.DVRbank_ClassName
push str.Management
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4bc], 0
je 0x40d122
push 0x42abd4
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x4bc]
push ecx
push 0x42abe0
push 0x42abec
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x6d0]
add edx, 0x184
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4bc]
push edx
push str.txtinsert
push 0x42ac00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4c0], 0
jl 0x40d195
push 0xa
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4c0]
push edx
call fcn.00422515
add esp, 0xc
push 0x42ac08
lea eax, [ebp - 0x20c]
push eax
push 0x42ac14
push 0x42ac1c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.encoder
push 0x42ac2c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4c4], 0
je 0x40d208
push 0xa
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4c4]
push edx
call fcn.00422515
add esp, 0xc
push 0x42ac34
lea eax, [ebp - 0x20c]
push eax
push 0x42ac40
push 0x42ac4c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.pos_hebrew
push 0x42ac60
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4c8], 0
je 0x40d27b
push 0xa
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4c8]
push edx
call fcn.00422515
add esp, 0xc
push 0x42ac68
lea eax, [ebp - 0x20c]
push eax
push 0x42ac74
push 0x42ac7c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.sma_pos
push 0x42ac8c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4d0], 0
jl 0x40d2ee
push 0xa
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4d0]
push edx
call fcn.00422515
add esp, 0xc
push 0x42ac94
lea eax, [ebp - 0x20c]
push eax
push 0x42aca0
push 0x42acb0
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x6d0]
add ecx, 0x184
push ecx
lea edx, [ebp - 0x20c]
push edx
push str.dual_streaming
push 0x42acc8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4cc], 0
je 0x40d352
push 0x42acd0
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
mov ecx, dword [eax + 0x4cc]
push ecx
push 0x42acdc
push 0x42ace8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov edx, dword [ebp - 0x6d0]
add edx, 0x184
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x4cc]
push edx
push str.rec_quant
push 0x42acfc
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
cmp dword [ecx + 0x4dc], 0
je 0x40d39e
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
movsx ecx, byte [eax + 0x3f4]
test ecx, ecx
je 0x40d39e
push 0x42ad04
mov edx, dword [ebp - 0x6d0]
mov eax, dword [edx + 4]
add eax, 0x3f4
push eax
push 0x42ad10
push 0x42ad14
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x40d3b5
push 0x42ad1c
push 0
push 0x42ad28
push str.patch
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x42ad34
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x18]
push eax
call fcn.00420120
add esp, 8
test eax, eax
je 0x40d3f5
push 0x42ad38
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
mov eax, dword [edx + 0x18]
push eax
call fcn.00420120
add esp, 8
test eax, eax
jne 0x40d628
mov ecx, dword [ebp - 0x6d0]
mov edx, dword [ecx + 4]
cmp dword [edx + 0x4bc], 0
je 0x40d507
mov dword [ebp - 0x26c], str.SoftwareHsnTbs_setup
lea ecx, [ebp - 0x264]
call fcn.0041d7e0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x264]
call fcn.0041d850
test eax, eax
jne 0x40d44d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0041d830
jmp 0x40d628
lea eax, [ebp - 0x268]
push eax
mov ecx, dword [ebp - 0x26c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d4f0
lea edx, [ebp - 0x36c]
push edx
lea ecx, [ebp - 0x264]
call fcn.0041d890
test eax, eax
je 0x40d4e3
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x46c]
push ecx
call fcn.0041e1b0
add esp, 8
lea edx, [ebp - 0x36c]
push edx
call fcn.0041e990
add esp, 4
push eax
lea eax, [ebp - 0x36c]
push eax
push 3
push 0
push 0x42ad54
mov ecx, dword [ebp - 0x268]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.spptn.ini
lea edx, [ebp - 0x46c]
push edx
push str.setup
push 0x42ad70
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x268]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x264]
call fcn.0041d830
jmp 0x40d628
mov dword [ebp - 0x4cc], str.SoftwareHsnTbseptd
lea ecx, [ebp - 0x4c4]
call fcn.0041d7e0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c4]
call fcn.0041d850
test eax, eax
jne 0x40d549
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.0041d830
jmp 0x40d628
lea ecx, [ebp - 0x4c8]
push ecx
mov edx, dword [ebp - 0x4cc]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d5ec
lea eax, [ebp - 0x5cc]
push eax
lea ecx, [ebp - 0x4c4]
call fcn.0041d890
test eax, eax
je 0x40d5df
lea ecx, [ebp - 0x5cc]
push ecx
lea edx, [ebp - 0x6cc]
push edx
call fcn.0041e1b0
add esp, 8
lea eax, [ebp - 0x5cc]
push eax
call fcn.0041e990
add esp, 4
push eax
lea ecx, [ebp - 0x5cc]
push ecx
push 3
push 0
push str.drive
mov edx, dword [ebp - 0x4c8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push str.eptd.ini
lea eax, [ebp - 0x6cc]
push eax
push str.eptd
push str.hwphdd
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x4c8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x6d0]
add edx, 0x184
push edx
mov eax, dword [ebp - 0x6d0]
mov ecx, dword [eax + 4]
mov edx, dword [ecx + 0x18]
push edx
push str.mode
push str.Uninstall_Info
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c4]
call fcn.0041d830
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret