Function at 0x416b6d
Capabilities:
Check os version
Get common file path

Disassembly:
mov eax, 0x47ba46
call fcn.0045c5c4
sub esp, 0x334
push ebx
push esi
push edi
mov esi, ecx
call fcn.0047740b
mov ecx, dword [eax + 4]
call fcn.00470c75
mov eax, dword [0x4a94a4]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040a7c9
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.004301db
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x2c], eax
push edi
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00402446
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
call fcn.004695b3
mov eax, dword [0x4a94a4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x278]
push 0x104
push eax
push edi
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0046c5c5
mov ecx, dword [esi + 4]
mov edi, str.Unknown
push edi
push str._LANHost_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push edi
push str._LANDomain_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push edi
push str._LANUser_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push edi
push str._LANIP_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push edi
push str._LANNIC_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push 0x4a018c
push str._AdditionalDiskSpace_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push 0x4acd28
push str._NextDownloadWebFilename_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
mov ebx, str.FALSE
mov edi, str._IsWin95_
push ebx
push edi
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWin98_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWinNT3_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWinNT4_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWin2000_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWinME_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWinXP_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWin2003Server_
call fcn.0044ec5d
cmp dword [ebp - 0x94], 0
je 0x416d0f
mov ecx, dword [esi + 4]
push str.TRUE
push edi
call fcn.0044ec5d
cmp dword [ebp - 0x90], 0
mov edi, str.TRUE
je 0x416d2b
mov ecx, dword [esi + 4]
push edi
push str._IsWin98_
call fcn.0044ec5d
cmp dword [ebp - 0x8c], 0
je 0x416d42
mov ecx, dword [esi + 4]
push edi
push str._IsWinME_
call fcn.0044ec5d
cmp dword [ebp - 0x88], 0
je 0x416d59
mov ecx, dword [esi + 4]
push edi
push str._IsWinNT3_
call fcn.0044ec5d
cmp dword [ebp - 0x84], 0
je 0x416d70
mov ecx, dword [esi + 4]
push edi
push str._IsWinNT4_
call fcn.0044ec5d
cmp dword [ebp - 0x80], 0
je 0x416d84
mov ecx, dword [esi + 4]
push edi
push str._IsWin2000_
call fcn.0044ec5d
cmp dword [ebp - 0x7c], 0
je 0x416d98
mov ecx, dword [esi + 4]
push edi
push str._IsWinXP_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push ebx
push str._IsWin2003Server_
call fcn.0044ec5d
lea eax, [ebp - 0x174]
mov dword [ebp - 0x174], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x416dea
cmp dword [ebp - 0x164], 2
jne 0x416dea
cmp dword [ebp - 0x170], 5
jne 0x416dea
cmp dword [ebp - 0x16c], 2
jne 0x416dea
mov ecx, dword [esi + 4]
push edi
push str._IsWin2003Server_
call fcn.0044ec5d
mov ecx, esi
call fcn.00417cd1
mov ecx, dword [esi + 4]
test eax, eax
je 0x416dfb
push edi
jmp 0x416dfc
push ebx
push str._IsUserNTAdmin_
call fcn.0044ec5d
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.00469b19
cmp eax, 0xffffffff
je 0x416e41
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00469aa1
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xa
push str._TempLaunchDir_
call fcn.0044ec5d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
lea eax, [ebp - 0x278]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046c5c5
mov edi, 0x49f918
lea ecx, [ebp - 0x14]
push edi
call fcn.00469ed4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._WinDir_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push str._WinDir_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0046c575
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jl 0x416ee0
lea eax, [ebp - 0x18]
push 2
push eax
lea ecx, [ebp - 0x14]
call fcn.00469aa1
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xc
push str._SysDrv_
call fcn.0044ec5d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
lea eax, [ebp - 0x278]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046c5c5
push edi
lea ecx, [ebp - 0x14]
call fcn.00469ed4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._SysDir_
call fcn.0044ec5d
lea eax, [ebp - 0x278]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x416f5a
lea eax, [ebp - 0x278]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046c5c5
push edi
lea ecx, [ebp - 0x14]
call fcn.00469ed4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._TempDir_
call fcn.0044ec5d
jmp 0x416f8a
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push str._SrcDir_
push eax
call fcn.0044ee28
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xd
push str._TempDir_
call fcn.0044ec5d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov edi, 0x4a0230
lea eax, [ebp - 0x340]
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x340]
push eax
push str._ScreenWidth_
call fcn.0044ec5d
push dword [ebp - 0x10]
lea eax, [ebp - 0x340]
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x340]
push eax
push str._ScreenHeight_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push 0x4acd28
push str._RegOwner_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
push 0x4acd28
push str._RegOrganization_
call fcn.0044ec5d
cmp dword [ebp - 0x78], 1
lea ecx, [ebp - 0x58]
jne 0x41711f
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.RegisteredOwner
lea ecx, [ebp - 0x58]
call fcn.004026ed
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push eax
push eax
push eax
push 0x20019
push eax
call fcn.004027bf
test eax, eax
je 0x4170a9
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xe
push str._RegOwner_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.RegisteredOrganization
lea ecx, [ebp - 0x58]
call fcn.004026ed
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push eax
push eax
push eax
push 0x20019
push eax
call fcn.004027bf
test eax, eax
je 0x41722c
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
mov byte [ebp - 4], 0xf
jmp 0x417211
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.RegisteredOwner
lea ecx, [ebp - 0x58]
call fcn.004026ed
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push eax
push eax
push eax
push 0x20019
push eax
call fcn.004027bf
test eax, eax
je 0x4171a4
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x10
push str._RegOwner_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.RegisteredOrganization
lea ecx, [ebp - 0x58]
call fcn.004026ed
xor eax, eax
lea ecx, [ebp - 0x58]
push eax
push eax
push eax
push eax
push 0x20019
push eax
call fcn.004027bf
test eax, eax
je 0x41722c
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push 0
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
mov byte [ebp - 4], 0x11
push dword [eax]
mov ecx, dword [esi + 4]
push str._RegOrganization_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea eax, [ebp - 0x10]
push str._m__d__y
push eax
lea ecx, [ebp - 0x24]
call fcn.00469615
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x12
push str._Date_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
mov eax, dword [eax + 0x10]
inc eax
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentMonth_
call fcn.0044ec5d
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
push dword [eax + 0xc]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentDay_
call fcn.0044ec5d
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
mov eax, dword [eax + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentYear_
call fcn.0044ec5d
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
push dword [eax + 8]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentHour_
call fcn.0044ec5d
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
push dword [eax + 4]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x41735c
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push 0x4a018c
push eax
call fcn.0046c745
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._CurrentMinute_
call fcn.0044ec5d
push 0
lea ecx, [ebp - 0x24]
call fcn.004695c6
push dword [eax]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x4173bb
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push 0x4a018c
push eax
call fcn.0046c745
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._CurrentSecond_
call fcn.0044ec5d
mov ecx, esi
call fcn.00417f33
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._JulianDate_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._CurrentMonth_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x15
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x417450
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push 0x4a018c
push eax
call fcn.0046c745
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._CurrentDay_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov eax, dword [ebp - 0x28]
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x4174b0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push 0x4a018c
push eax
call fcn.0046c745
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x18
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._CurrentYear_
push eax
call fcn.0044ee28
push dword [ebp - 0x28]
mov byte [ebp - 4], 0x19
push dword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0x14]
push str._s__s__s
push eax
call fcn.00469ec1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._ISODate_
call fcn.0044ec5d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push str._CurrentYear_
push eax
call fcn.0044ee28
lea ecx, [ebp - 0x10]
push 2
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.00469a25
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1b
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.0046c488
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x5c]
lea eax, [ebp - 0x14]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push 0x4a07c0
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0x14
push dword [ebp - 0x14]
push str._EuropeanDate_
call fcn.0044ec5d
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
and eax, 0x3ff
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._AbsSysLanguage_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x14
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.0046c575
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10]
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._FontDir_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, str._Desktop_
push edi
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x19
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1e
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
cmp dword [ebp - 0x78], 1
jne 0x417656
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._DesktopNT_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x1a
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x20
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push 1
push 2
lea ecx, [ebp - 0x18]
call fcn.00469666
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call fcn.0045d01b
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 0x18]
setl byte [ebp - 0x1d]
call fcn.0046c488
cmp byte [ebp - 0x1d], 0
je 0x417740
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.CurrentUser
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.AppData
lea ecx, [ebp - 0x58]
call fcn.004026ed
xor edi, edi
lea ecx, [ebp - 0x58]
push edi
push edi
push edi
push edi
push 0x20019
push edi
call fcn.004027bf
test eax, eax
je 0x417742
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x21
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
jmp 0x417742
xor edi, edi
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._ApplicationData_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0xb
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenu_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x16
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x23
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
cmp dword [ebp - 0x78], 1
jne 0x4177de
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._StartMenu_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x24
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenuNT_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 2
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x25
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenuPrograms_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x17
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x26
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
cmp dword [ebp - 0x78], 1
jne 0x41787a
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._StartMenuPrograms_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x27
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenuProgramsNT_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 7
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x28
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._Startup_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 0x18
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x29
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
cmp dword [ebp - 0x78], 1
jne 0x417916
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._Startup_
push eax
call fcn.0044ee28
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2a
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartupNT_
call fcn.0044ec5d
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.CommonFilesDir
lea ecx, [ebp - 0x58]
call fcn.004026ed
push edi
push edi
push edi
push edi
push 0x20019
push edi
lea ecx, [ebp - 0x58]
call fcn.004027bf
test eax, eax
je 0x417992
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
mov byte [ebp - 4], 0x2b
jmp 0x4179a7
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._WinDir_
push eax
call fcn.0044ee28
mov byte [ebp - 4], 0x2c
push dword [eax]
mov ecx, dword [esi + 4]
push str._CommonFiles_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.LocalMachine
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.ProgramFilesDir
lea ecx, [ebp - 0x58]
call fcn.004026ed
push edi
push edi
push edi
push edi
push 0x20019
push edi
lea ecx, [ebp - 0x58]
call fcn.004027bf
test eax, eax
je 0x417a49
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x2d
push str._ProgramFiles_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
jmp 0x417a5b
mov ecx, dword [esi + 4]
push str.C:Program_Files
push str._ProgramFiles_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
push 5
push eax
mov ecx, esi
call fcn.00417dff
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2e
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jle 0x417a90
push eax
jmp 0x417b63
lea ecx, [ebp - 0x58]
call fcn.00402a6e
push str.CurrentUser
lea ecx, [ebp - 0x58]
call fcn.00402699
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x58]
call fcn.004026c3
push str.Personal
lea ecx, [ebp - 0x58]
call fcn.004026ed
push edi
push edi
push edi
push edi
push 0x20019
push edi
lea ecx, [ebp - 0x58]
call fcn.004027bf
test eax, eax
je 0x417b5e
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2f
call fcn.0046c575
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jle 0x417b5e
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4acd28
call fcn.0046c4f6
push 1
push 1
lea eax, [ebp - 0x10]
push edi
push eax
lea ecx, [ebp - 0x58]
call fcn.00402a8b
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x30
push str._MyDocumentsDir_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
jmp 0x417b70
push 0x4a0630
mov ecx, dword [esi + 4]
push str._MyDocumentsDir_
call fcn.0044ec5d
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00417f88
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x31
push str._DAOPath_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0041827b
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x32
push str._BDEPath_
call fcn.0044ec5d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046c488
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0xe0]
push eax
call fcn.004305f1
mov eax, dword [ebp - 0x60]
shr eax, 0x14
inc eax
mov dword [ebp - 0x60], eax
push eax
lea eax, [ebp - 0x14]
push 0x4a0614
push eax
call fcn.00469ec1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._SystemRAM_
call fcn.0044ec5d
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [esi + 4]
test eax, eax
je 0x417c15
push str.TRUE
jmp 0x417c16
push ebx
push str._MousePresent_
call fcn.0044ec5d
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
mov ecx, dword [esi + 4]
test eax, eax
jbe 0x417c34
push str.TRUE
jmp 0x417c35
push ebx
push str._SoundCardPresent_
call fcn.0044ec5d
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.0046c488
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 7
call fcn.0046c488
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0046c488
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 5
call fcn.00403504
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0046c488
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 3
call fcn.00430200
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 2
call fcn.0040a944
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0046c488
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046c488
or dword [ebp - 4], 0xffffffff
call fcn.0047740b
mov ecx, dword [eax + 4]
call fcn.00470c8a
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret