Function at 0x406940
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c8
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x45c]
test eax, eax
je 0x408166
cmp byte [eax], 0
je 0x408166
push esi
push 0x400
call fcn.00411c29
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
test esi, esi
jne 0x406980
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push dword [ebx + 0x45c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x400
push esi
push str.hide
push str.size
push str.General
call edi
mov ecx, str.maximized
mov eax, esi
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4069d0
test dl, dl
je 0x4069cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4069d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4069b0
xor eax, eax
jmp 0x4069d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4069e1
mov dword [ebx], 1
jmp 0x406a1e
mov ecx, str.hide
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406a08
test dl, dl
je 0x406a04
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406a08
add eax, 2
add ecx, 2
test dl, dl
jne 0x4069e8
xor ecx, ecx
jmp 0x406a0d
sbb ecx, ecx
or ecx, 1
test ecx, ecx
mov eax, 2
mov edx, 0x10
cmove eax, edx
mov dword [ebx], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push str.vertical
push str.gradiant
push str.General
call edi
mov ecx, str.vertical
mov eax, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x406a62
test dl, dl
je 0x406a5e
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x406a62
add eax, 2
add ecx, 2
test dl, dl
jne 0x406a42
xor eax, eax
jmp 0x406a67
sbb eax, eax
or eax, 1
test eax, eax
jne 0x406a70
or dword [ebx], 4
jmp 0x406a73
or dword [ebx], 8
push dword [ebx + 0x45c]
push 0x400
push esi
push str.DVR_Install
push str.title
push str.General
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
cmp ax, 0x12
jne 0x406b08
push str.JANUS
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x406ad6
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aa64
jmp 0x406b38
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x406b43
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aa78
jmp 0x406b38
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x406b43
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push str.GNET_Player__s_x86_
mov eax, dword [sym.imp.USER32.dll_wsprintfA]
push esi
call eax
add esp, 0x18
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x14], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42aaa4
push str.tibetcode
push str.General
call edi
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x18], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push str.false
push str.add_folder
push str.General
call edi
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x74], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.subtitle
push str.General
call edi
cmp byte [esi], 0
je 0x406bcf
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x1c], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push str.DVR_Uninstall
push str.uninstall
push str.General
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
push str.JANUS
push esi
cmp ax, 0x12
jne 0x406ccc
call fcn.00414470
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x406c70
push 0x32
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00413c60
push 0x32
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00413c60
mov eax, dword [ebp - 4]
push esi
push 0x32
mov byte [eax], 0
lea eax, [ebp - 0x60]
push eax
call fcn.00415b43
mov eax, dword [ebp - 4]
add eax, 5
push eax
lea eax, [ebp - 0xc4]
push 0x42aa64
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0xc4]
push eax
lea eax, [ebp - 0x60]
jmp 0x406d82
push str.GNET
push esi
call fcn.00414470
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x406d92
push 0x32
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00413c60
push 0x32
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00413c60
mov eax, dword [ebp - 4]
push esi
push 0x32
mov byte [eax], 0
lea eax, [ebp - 0xc4]
push eax
call fcn.00415b43
mov eax, dword [ebp - 4]
add eax, 4
push eax
push 0x42aaf0
jmp 0x406d6e
call fcn.00414470
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x406d1b
push 0x32
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00413c60
push 0x32
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00413c60
mov eax, dword [ebp - 4]
push esi
push 0x32
mov byte [eax], 0
lea eax, [ebp - 0xc4]
push eax
call fcn.00415b43
mov eax, dword [ebp - 4]
add eax, 5
push eax
push 0x42aa64
jmp 0x406d6e
push str.GNET
push esi
call fcn.00414470
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x406d92
push 0x32
lea eax, [ebp - 0xc4]
push 0
push eax
call fcn.00413c60
push 0x32
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.00413c60
mov eax, dword [ebp - 4]
push esi
push 0x32
mov byte [eax], 0
lea eax, [ebp - 0xc4]
push eax
call fcn.00415b43
mov eax, dword [ebp - 4]
add eax, 4
push eax
push str.GNET_Player_s_x86_
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0xc4]
push eax
push str._s_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x40
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x20], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.version2
push str.General
call edi
cmp byte [esi], 0
jne 0x406de2
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.version
push str.General
call edi
cmp byte [esi], 0
je 0x406dee
push esi
call fcn.0041b4d3
mov dword [ebx + 0x24], eax
add esp, 4
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.patch_ver
push str.General
call edi
lea eax, [ebx + 0x3f4]
mov byte [eax], 0
cmp byte [esi], 0
je 0x406e25
push esi
push 0x64
push eax
call fcn.00415b9d
add esp, 0xc
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.provider_url
push str.General
call edi
cmp byte [esi], 0
je 0x406e53
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x2c], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.product_update_url
push str.General
call edi
cmp byte [esi], 0
je 0x406e81
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x30], eax
push dword [ebx + 0x45c]
push 0
push 0x42ab5c
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x70], eax
push 0x400
push esi
push str.008096_000000
push str.bkcolor
push str.General
call edi
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push esi
call fcn.0041b491
add esp, 0xc
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
test eax, eax
je 0x406f39
push eax
call fcn.0040d1e0
movzx ecx, al
mov dword [ebx + 4], eax
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push 0
mov dword [ebx + 4], ecx
call fcn.0041b491
add esp, 0x10
test eax, eax
je 0x406f39
push eax
call fcn.0040d1e0
movzx ecx, al
add esp, 4
mov dword [ebx + 8], eax
movzx eax, byte [ebx + 9]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xa]
shl ecx, 8
or ecx, eax
mov dword [ebx + 8], ecx
push 0x3c
lea eax, [ebx + 0x34]
push 0
push eax
call fcn.00413c60
add esp, 0xc
push dword [ebx + 0x45c]
push 0x400
push esi
push str.Arial_24
push str.bkfont
push str.General
call edi
lea eax, [ebp - 0x14]
mov dword [ebx + 0x34], 0x18
push eax
push 0x42aa10
push esi
mov dword [ebx + 0x44], 0x2bc
call fcn.0041b491
add esp, 0xc
test eax, eax
je 0x406fb9
push eax
lea eax, [ebx + 0x50]
push 0x20
push eax
call fcn.00415b43
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push 0
call fcn.0041b491
add esp, 0x18
test eax, eax
je 0x406fb9
push eax
call fcn.0041b8a3
add esp, 4
mov dword [ebx + 0x34], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.watermark
push str.General
call edi
push 0
push esi
mov dword [ebx + 0xc], 0
call fcn.00416b06
add esp, 8
cmp eax, 0xffffffff
je 0x406ff9
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0xc], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.header
push str.General
call edi
push 0
push esi
mov dword [ebx + 0x10], 0
call fcn.00416b06
add esp, 8
cmp eax, 0xffffffff
je 0x407039
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x10], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.eula
push str.General
call edi
push 0
push esi
mov dword [ebx + 0x28], 0
call fcn.00416b06
add esp, 8
cmp eax, 0xffffffff
je 0x407079
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x28], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.readme
push str.General
call edi
push 0
push esi
mov dword [ebx + 0x464], 0
call fcn.00416b06
add esp, 8
cmp eax, 0xffffffff
je 0x4070bf
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x464], eax
push dword [ebx + 0x45c]
push 0
push str.patch
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebx + 0x4dc], eax
mov byte [ebx + 0x390], 0
test eax, eax
je 0x407169
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x407135
push eax
lea eax, [ebp - 0x2c8]
push 0x100
push eax
call fcn.00415b43
push str.__PATCH_
lea eax, [ebp - 0x2c8]
push 0x100
push eax
call fcn.00415b9d
push dword [ebx + 0x14]
call fcn.00415b3e
lea eax, [ebp - 0x2c8]
push eax
call fcn.0041b4d3
add esp, 0x20
mov dword [ebx + 0x14], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.patch_file
push str.General
call edi
cmp byte [esi], 0
je 0x407169
push esi
lea eax, [ebx + 0x390]
push 0x64
push eax
call fcn.00415b43
add esp, 0xc
push dword [ebx + 0x45c]
push dword [ebx + 0x474]
push str.OEM_ID
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x474], eax
push 0x400
push esi
push str.C:dvr
push str.installpath
push str.Contents
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
push str.JANUS
and ax, cx
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x4071e8
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aa64
jmp 0x407218
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407222
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push str.GNET_Player_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
cmp dword [ebx + 0x474], 1
jne 0x40725a
lea edi, [ebx + 0x84]
push str.Zone_DefenseZoneDefender_MkI
push edi
call dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea eax, [ebx + 0x28c]
push 0x104
push eax
call fcn.00415b43
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0x14
jmp 0x407281
push esi
lea eax, [ebx + 0x84]
push 0x104
push eax
call fcn.00415b43
push esi
lea eax, [ebx + 0x28c]
push 0x104
push eax
call fcn.00415b43
add esp, 0x18
push esi
lea eax, [ebx + 0x188]
push 0x104
push eax
call fcn.00415b43
add esp, 0xc
cmp dword [ebx + 0x4dc], 0
je 0x4072d9
cmp byte [ebx + 0x390], 0
je 0x4072d9
push 0x42a618
lea eax, [ebx + 0x188]
push 0x104
push eax
call fcn.00415b9d
lea eax, [ebx + 0x390]
push eax
lea eax, [ebx + 0x188]
push 0x104
push eax
call fcn.00415b9d
add esp, 0x18
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42ac34
push 0x42ac38
push str.Contents
call edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
push str.JANUS
and ax, cx
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407336
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aa64
jmp 0x407366
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407370
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push str.GNET_Player_s
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 0x42ac40
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407386
mov byte [eax - 1], 0
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x458], eax
mov dword [ebx + 0x478], 0
mov dword [ebx + 0x78], 0
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.drivers
push str.Contents
call edi
push 0x42aa10
lea eax, [ebp - 0x1c8]
push esi
push eax
mov dword [ebp - 0xc], eax
call fcn.0040d280
add esp, 0xc
mov dword [ebp - 0x10], eax
test eax, eax
jle 0x407517
lea edx, [ebp - 0x1c8]
nop dword [eax]
push dword [ebx + 0x45c]
xor edi, edi
mov dword [ebp - 8], 0
push 0x400
push esi
push 0x42a6d0
push str.name
push edx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x40742a
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 8], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42ac58
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x40745c
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x4074e3
test edi, edi
je 0x4074da
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jne 0x40747e
push 0x10
call fcn.0041758a
add esp, 4
jmp 0x407492
mov eax, dword [ebx + 0x478]
inc eax
shl eax, 4
push eax
push ecx
call fcn.0041bbe5
add esp, 8
mov dword [ebx + 0x78], eax
test eax, eax
je 0x4074d7
mov edi, dword [ebx + 0x478]
shl edi, 4
add edi, eax
mov eax, dword [ebp - 8]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
mov dword [edi], 0
mov dword [edi + 0xc], eax
push dword [ebx + 0x45c]
push 0
push str.select
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [edi + 4], eax
inc dword [ebx + 0x478]
jmp 0x4074f0
mov eax, dword [ebp - 8]
push eax
call fcn.00415b3e
add esp, 4
test edi, edi
je 0x4074f0
push edi
call fcn.00415b3e
add esp, 4
mov edx, dword [ebp - 0xc]
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4074f8
sub ecx, edi
inc edx
add edx, ecx
sub dword [ebp - 0x10], 1
mov dword [ebp - 0xc], edx
jne 0x4073f0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x47c], 0
push 0x400
push esi
push 0x42a6d0
push str.apps
push str.Contents
mov dword [ebx + 0x7c], 0
call edi
push 0x42aa10
lea eax, [ebp - 0x1c8]
push esi
push eax
mov dword [ebp - 8], eax
call fcn.0040d280
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x40793c
lea eax, [ebp - 0x1c8]
nop
push dword [ebx + 0x45c]
xor edi, edi
push 0x400
push esi
push 0x42a6d0
push str.name
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407670
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov ecx, 0x3ff
and ax, cx
push str.JANUS
push esi
cmp ax, 0x12
jne 0x40761c
call fcn.00414470
add esp, 8
test eax, eax
je 0x4075ea
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aa64
jmp 0x407658
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407662
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push 0x42aaf0
jmp 0x407658
call fcn.00414470
add esp, 8
test eax, eax
jne 0x4075ca
push str.GNET
push esi
call fcn.00414470
add esp, 8
test eax, eax
je 0x407662
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x90]
push 0x64
push eax
call fcn.00415b43
lea eax, [ebp - 0x90]
push eax
push str.GNET_Player_s_x86_
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 4], eax
mov edi, eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.file
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x4076a0
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.icon
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x4076d0
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0x10], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.param
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407700
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0x1c], eax
test edi, edi
je 0x4078f0
cmp dword [ebp - 0xc], 0
je 0x4078e7
mov edx, dword [ebx + 0x7c]
test edx, edx
jne 0x407725
push 0x1c
call fcn.0041758a
add esp, 4
jmp 0x407742
mov ecx, dword [ebx + 0x47c]
inc ecx
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
push eax
push edx
call fcn.0041bbe5
add esp, 8
mov edx, eax
mov dword [ebx + 0x7c], eax
test edx, edx
je 0x4078e7
mov eax, dword [ebx + 0x47c]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [ebp - 4]
lea edi, [edx + ecx*4]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi], 1
mov dword [edi + 0x14], eax
push dword [ebx + 0x45c]
push 0
push str.select
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [edi + 4], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.shortcut
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x14]
mov dword [edi + 0x18], 0
push eax
push 0x42aa10
push esi
call fcn.0041b491
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
je 0x407842
mov esi, eax
nop dword [eax]
push str.desktop
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x4077f8
or dword [edi + 0x18], 2
jmp 0x407826
push str.startup
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x407810
or dword [edi + 0x18], 4
jmp 0x407826
push 0x42ac38
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x407826
or dword [edi + 0x18], 1
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push 0
call fcn.0041b491
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4077e0
mov esi, dword [ebp - 0x2c]
push dword [ebx + 0x45c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x400
push esi
push 0x42a6d0
push str.postrun
push dword [ebp - 8]
call edi
cmp byte [esi], 0
je 0x4078df
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407871
sub ecx, edx
lea eax, [ecx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x490], eax
test eax, eax
je 0x4078a5
push 0x42aa10
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebx + 0x4a0], eax
cmp dword [ebx + 0x4a0], 0
jg 0x4078d3
mov eax, dword [ebx + 0x490]
test eax, eax
je 0x4078c9
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x490], 0
mov dword [ebx + 0x4a0], 0
mov eax, dword [ebx + 0x47c]
mov dword [ebx + 0x4a0], eax
inc dword [ebx + 0x47c]
jmp 0x407916
push edi
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407900
push eax
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x407910
push eax
call fcn.00415b3e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [ebp - 8]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407920
mov eax, dword [ebp - 8]
sub ecx, edx
inc eax
add eax, ecx
sub dword [ebp - 0x18], 1
mov dword [ebp - 8], eax
jne 0x407570
push dword [ebx + 0x45c]
mov dword [ebx + 0x480], 0
push 0x400
push esi
push 0x42a6d0
push str.plugins
push str.Contents
mov dword [ebx + 0x80], 0
call edi
lea edi, [ebp - 0x1c8]
push 0x42aa10
mov eax, edi
mov dword [ebp - 0x10], edi
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x407cd9
push dword [ebx + 0x45c]
mov dword [ebp - 0xc], 0
push 0x400
push esi
push 0x42a6d0
push str.name
push edi
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x4079ea
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0xc], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.file
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407a18
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 8], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.icon
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407a46
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 4], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.param
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407a74
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0x28], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.type
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407aa2
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0x18], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.class
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [esi], 0
je 0x407ad0
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebp - 0x1c], eax
push dword [ebx + 0x45c]
push 0
push str.property
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x407c79
cmp dword [ebp - 8], 0
je 0x407c70
cmp dword [ebp - 0x18], 0
je 0x407c70
cmp dword [ebp - 0x1c], 0
je 0x407c70
mov ecx, dword [ebx + 0x80]
test ecx, ecx
jne 0x407b26
push 0x28
call fcn.0041758a
add esp, 4
jmp 0x407b3d
mov eax, dword [ebx + 0x480]
inc eax
lea eax, [eax + eax*4]
shl eax, 3
push eax
push ecx
call fcn.0041bbe5
add esp, 8
mov ecx, eax
mov dword [ebx + 0x80], eax
test ecx, ecx
je 0x407c6d
mov eax, dword [ebx + 0x480]
lea eax, [eax + eax*4]
lea edi, [ecx + eax*8]
mov eax, dword [ebp - 0xc]
mov dword [edi], 2
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 4]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [edi + 0x20], eax
push dword [ebx + 0x45c]
push 0
push str.select
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x24]
mov dword [edi + 0x24], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.shortcut
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407bc6
sub ecx, edx
push ecx
push esi
call fcn.0041bb95
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push esi
call fcn.0041b491
add esp, 0x14
mov dword [ebp - 0x24], eax
mov dword [edi + 0x18], 0
test eax, eax
je 0x407c62
mov esi, eax
nop dword [eax + eax]
push str.desktop
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x407c18
or dword [edi + 0x18], 2
jmp 0x407c46
push str.startup
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x407c30
or dword [edi + 0x18], 4
jmp 0x407c46
push 0x42ac38
push esi
call fcn.00415cc4
add esp, 8
test eax, eax
jne 0x407c46
or dword [edi + 0x18], 1
lea eax, [ebp - 0x14]
push eax
push 0x42aa10
push 0
call fcn.0041b491
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x407c00
mov esi, dword [ebp - 0x2c]
inc dword [ebx + 0x480]
mov edi, dword [ebp - 0x10]
jmp 0x407cb9
mov eax, dword [ebp - 0xc]
push eax
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x407c89
push eax
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x407c99
push eax
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x407ca9
push eax
call fcn.00415b3e
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x407cb9
push eax
call fcn.00415b3e
add esp, 4
mov ecx, edi
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407cc0
sub ecx, edx
inc edi
add edi, ecx
sub dword [ebp - 0x20], 1
mov dword [ebp - 0x10], edi
jne 0x407992
push dword [ebx + 0x45c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x400
push esi
push 0x42a6d0
push str.prerun
push str.Contents
mov dword [ebx + 0x49c], 0
mov dword [ebx + 0x48c], 0
call edi
cmp byte [esi], 0
je 0x407d82
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407d20
sub ecx, edx
lea eax, [ecx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x48c], eax
test eax, eax
je 0x407d54
push 0x42aa10
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebx + 0x49c], eax
cmp dword [ebx + 0x49c], 0
jg 0x407d82
mov eax, dword [ebx + 0x48c]
test eax, eax
je 0x407d78
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x48c], 0
mov dword [ebx + 0x49c], 0
push dword [ebx + 0x45c]
mov dword [ebx + 0x4a4], 0
push 0x400
push esi
push 0x42a6d0
push str.infinstall
push str.Contents
mov dword [ebx + 0x494], 0
call edi
cmp byte [esi], 0
je 0x407e22
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407dc0
sub ecx, edx
lea eax, [ecx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x494], eax
test eax, eax
je 0x407df4
push 0x42aa10
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebx + 0x4a4], eax
cmp dword [ebx + 0x4a4], 0
jg 0x407e22
mov eax, dword [ebx + 0x494]
test eax, eax
je 0x407e18
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x494], 0
mov dword [ebx + 0x4a4], 0
push dword [ebx + 0x45c]
mov dword [ebx + 0x4a8], 0
push 0x400
push esi
push 0x42a6d0
push str.infinstallex
push str.Contents
mov dword [ebx + 0x498], 0
call edi
cmp byte [esi], 0
je 0x407ec2
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407e60
sub ecx, edx
lea eax, [ecx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x498], eax
test eax, eax
je 0x407e94
push 0x42aa10
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebx + 0x4a8], eax
cmp dword [ebx + 0x4a8], 0
jg 0x407ec2
mov eax, dword [ebx + 0x498]
test eax, eax
je 0x407eb8
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x498], 0
mov dword [ebx + 0x4a8], 0
push dword [ebx + 0x45c]
mov dword [ebx + 0x484], 0
push 0x400
push esi
push 0x42a6d0
push str.shutdown_process
push str.Contents
mov dword [ebx + 0x488], 0
call edi
cmp byte [esi], 0
je 0x407f62
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x407f00
sub ecx, edx
lea eax, [ecx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebx + 0x488], eax
test eax, eax
je 0x407f34
push 0x42aa10
push esi
push eax
call fcn.0040d280
add esp, 0xc
mov dword [ebx + 0x484], eax
cmp dword [ebx + 0x484], 0
jg 0x407f62
mov eax, dword [ebx + 0x488]
test eax, eax
je 0x407f58
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov dword [ebx + 0x488], 0
mov dword [ebx + 0x484], 0
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42ad0c
push str.viewer
call edi
cmp byte [esi], 0
je 0x407f93
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4ac], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42a4bc
push str.viewer
call edi
cmp byte [esi], 0
je 0x407fc4
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4b0], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42ad1c
push str.management
call edi
cmp byte [esi], 0
je 0x407ff5
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4b4], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42ad30
push str.management
call edi
cmp byte [esi], 0
je 0x408026
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4b8], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push 0x42ad4c
push 0x42ad44
call edi
cmp byte [esi], 0
je 0x408057
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4bc], eax
push dword [ebx + 0x45c]
push 0xffffffffffffffff
push 0x42ad58
push 0x42ad44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x4c0], eax
push 0
push str.pos_hebrew
push 0x42ad44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x4c4], eax
push 0
push str.sma_pos
push 0x42ad44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x4c8], eax
push 0xffffffffffffffff
push 0x42ad74
push 0x42ad44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push dword [ebx + 0x45c]
mov dword [ebx + 0x4d0], eax
push 0x400
push esi
push 0x42a6d0
push 0x42ad8c
push 0x42ad84
call edi
cmp byte [esi], 0
je 0x408100
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4cc], eax
push dword [ebx + 0x45c]
push 0x400
push esi
push 0x42a6d0
push str.file
push str.embed
call edi
cmp byte [esi], 0
pop edi
je 0x408132
push esi
call fcn.0041b4d3
add esp, 4
mov dword [ebx + 0x4d4], eax
push dword [ebx + 0x45c]
push 0
push str.policy
push str.embed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 1
push esi
mov dword [ebx + 0x4d8], eax
call fcn.004119b3
add esp, 8
mov eax, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret