Function at 0x416c3f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x47a81a
call fcn.0045c348
sub esp, 0x2ac
push ebx
push esi
push edi
mov esi, ecx
call fcn.004761d8
mov ecx, dword [eax + 4]
call fcn.0046fa31
mov eax, dword [0x4a84c4]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x64], eax
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0040a6df
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call fcn.0042f368
mov eax, dword [0x4a84c4]
mov dword [ebp - 0x28], eax
push ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.00402531
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
call fcn.004683c3
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x4a84c4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x1f0]
push 0x104
push eax
push ebx
mov byte [ebp - 4], 9
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x28]
push eax
call fcn.0046b386
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xec]
push eax
call fcn.0042f394
test eax, eax
mov edi, str.Unknown
je 0x416d07
push dword [ebp - 0x14]
jmp 0x416d08
push edi
mov ecx, dword [esi + 4]
push str._LANHost_
call fcn.0044ec2d
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0xec]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042f407
test eax, eax
je 0x416d31
push dword [ebp - 0x64]
jmp 0x416d32
push edi
mov ecx, dword [esi + 4]
push str._LANDomain_
call fcn.0044ec2d
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0xec]
push eax
call fcn.0042f3c9
test eax, eax
je 0x416d57
push dword [ebp - 0x14]
jmp 0x416d58
push edi
mov ecx, dword [esi + 4]
push str._LANUser_
call fcn.0044ec2d
lea eax, [ebp - 0x14]
push ebx
push eax
lea ecx, [ebp - 0xec]
call fcn.0042f522
test eax, eax
je 0x416d7e
push dword [ebp - 0x14]
jmp 0x416d7f
push edi
mov ecx, dword [esi + 4]
push str._LANIP_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push 0x49f1e8
push str._AdditionalDiskSpace_
call fcn.0044ec2d
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0042eddb
pop ecx
cmp eax, 1
pop ecx
jl 0x416de9
movzx eax, byte [ebp - 0x2b]
push eax
movzx eax, byte [ebp - 0x2c]
push eax
movzx eax, byte [ebp - 0x2d]
push eax
movzx eax, byte [ebp - 0x2e]
push eax
movzx eax, byte [ebp - 0x2f]
push eax
movzx eax, byte [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
push str._02x_02x_02x_02x_02x_02x
push eax
call fcn.00468cd1
add esp, 0x20
push dword [ebp - 0x14]
jmp 0x416dea
push edi
mov ecx, dword [esi + 4]
push str._LANNIC_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
mov edi, str.FALSE
push edi
push str._IsWin95_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWin98_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWinNT3_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWinNT4_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWin2000_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWinME_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push edi
push str._IsWinXP_
call fcn.0044ec2d
cmp dword [ebp - 0x98], ebx
je 0x416e78
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWin95_
call fcn.0044ec2d
cmp dword [ebp - 0x94], ebx
je 0x416e92
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWin98_
call fcn.0044ec2d
cmp dword [ebp - 0x90], ebx
je 0x416eac
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWinME_
call fcn.0044ec2d
cmp dword [ebp - 0x8c], ebx
je 0x416ec6
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWinNT3_
call fcn.0044ec2d
cmp dword [ebp - 0x88], ebx
je 0x416ee0
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWinNT4_
call fcn.0044ec2d
cmp dword [ebp - 0x84], ebx
je 0x416efa
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWin2000_
call fcn.0044ec2d
cmp dword [ebp - 0x80], ebx
je 0x416f11
mov ecx, dword [esi + 4]
push str.TRUE
push str._IsWinXP_
call fcn.0044ec2d
mov ecx, esi
call fcn.00417cf2
test eax, eax
je 0x416f23
push str.TRUE
jmp 0x416f24
push edi
mov ecx, dword [esi + 4]
push str._IsUserNTAdmin_
call fcn.0044ec2d
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.00468929
cmp eax, 0xffffffff
je 0x416f6c
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x28]
call fcn.004688b1
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xa
push str._TempLaunchDir_
call fcn.0044ec2d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046b386
mov edi, 0x49e93c
lea ecx, [ebp - 0x14]
push edi
call fcn.00468ce4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._WinDir_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push str._WinDir_
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call fcn.0046b336
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jl 0x41700b
lea eax, [ebp - 0x18]
push 2
push eax
lea ecx, [ebp - 0x14]
call fcn.004688b1
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xc
push str._SysDrv_
call fcn.0044ec2d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
lea eax, [ebp - 0x1f0]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046b386
push edi
lea ecx, [ebp - 0x14]
call fcn.00468ce4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._SysDir_
call fcn.0044ec2d
lea eax, [ebp - 0x1f0]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x417085
lea eax, [ebp - 0x1f0]
lea ecx, [ebp - 0x14]
push eax
call fcn.0046b386
push edi
lea ecx, [ebp - 0x14]
call fcn.00468ce4
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._TempDir_
call fcn.0044ec2d
jmp 0x4170b5
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push str._SrcDir_
push eax
call fcn.0044edf9
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xd
push str._TempDir_
call fcn.0044ec2d
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
call edi
push 1
mov dword [ebp - 0x18], eax
call edi
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov edi, 0x49f290
lea eax, [ebp - 0x2b8]
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push str._ScreenWidth_
call fcn.0044ec2d
push dword [ebp - 0x10]
lea eax, [ebp - 0x2b8]
push edi
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esi + 4]
add esp, 0xc
lea eax, [ebp - 0x2b8]
push eax
push str._ScreenHeight_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push 0x4a9d28
push str._RegOwner_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
push 0x4a9d28
push str._RegOrganization_
call fcn.0044ec2d
cmp dword [ebp - 0x7c], 1
lea ecx, [ebp - 0x5c]
jne 0x417259
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.RegisteredOwner
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x4171d0
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4a9d28
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xe
push str._RegOwner_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
lea ecx, [ebp - 0x5c]
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.RegisteredOrganization
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x417360
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4a9d28
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0xf
push str._RegOrganization_
call fcn.0044ec2d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10]
jmp 0x41735b
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.RegisteredOwner
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x4172db
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4a9d28
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x10
push str._RegOwner_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
lea ecx, [ebp - 0x5c]
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindows_NTCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.RegisteredOrganization
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x417360
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0x4a9d28
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x11
push str._RegOrganization_
call fcn.0044ec2d
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x10]
call fcn.0046b249
lea eax, [ebp - 0x10]
push str._m__d__y
push eax
lea ecx, [ebp - 0x20]
call fcn.00468425
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x12
push str._Date_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
mov eax, dword [eax + 0x10]
inc eax
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentMonth_
call fcn.0044ec2d
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
push dword [eax + 0xc]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentDay_
call fcn.0044ec2d
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
mov eax, dword [eax + 0x14]
add eax, 0x76c
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentYear_
call fcn.0044ec2d
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
push dword [eax + 8]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._CurrentHour_
call fcn.0044ec2d
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
push dword [eax + 4]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x41748b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push 0x49f1e8
push eax
call fcn.0046b506
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x13
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._CurrentMinute_
call fcn.0044ec2d
push ebx
lea ecx, [ebp - 0x20]
call fcn.004683d6
push dword [eax]
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x4174e9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push 0x49f1e8
push eax
call fcn.0046b506
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x14
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._CurrentSecond_
call fcn.0044ec2d
mov ecx, esi
call fcn.00417f13
push eax
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._JulianDate_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._CurrentMonth_
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x15
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov eax, dword [ebp - 0x24]
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x41757e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push 0x49f1e8
push eax
call fcn.0046b506
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x16
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._CurrentDay_
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x17
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 8]
cmp eax, 1
jg 0x4175de
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push 0x49f1e8
push eax
call fcn.0046b506
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x18
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov ecx, dword [esi + 4]
mov edi, str._CurrentYear_
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044edf9
push dword [ebp - 0x1c]
mov byte [ebp - 4], 0x19
push dword [ebp - 0x24]
push dword [eax]
lea eax, [ebp - 0x14]
push str._s__s__s
push eax
call fcn.00468cd1
add esp, 0x14
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._ISODate_
call fcn.0044ec2d
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0044edf9
lea ecx, [ebp - 0x10]
push 2
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.00468835
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0x1b
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0x1a
call fcn.0046b249
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x60]
lea eax, [ebp - 0x14]
push dword [ebp - 0x24]
push dword [ebp - 0x1c]
push 0x49f810
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0x14
push dword [ebp - 0x14]
push str._EuropeanDate_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0x14
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1c
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._FontDir_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push ebx
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1d
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, str._Desktop_
push edi
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0x19
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1e
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
cmp dword [ebp - 0x7c], 1
jne 0x417754
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x1f
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._DesktopNT_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0xb
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x20
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, str._StartMenu_
push edi
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0x16
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x21
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
cmp dword [ebp - 0x7c], 1
jne 0x4177ed
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x22
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenuNT_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 2
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x23
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, str._StartMenuPrograms_
push edi
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0x17
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x24
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
cmp dword [ebp - 0x7c], 1
jne 0x417886
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x25
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartMenuProgramsNT_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 7
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x26
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
mov edi, str._Startup_
push edi
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 0x18
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x27
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
cmp dword [ebp - 0x7c], 1
jne 0x41791f
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x28
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
push dword [ebp - 0x14]
mov ecx, dword [esi + 4]
push str._StartupNT_
call fcn.0044ec2d
lea ecx, [ebp - 0x5c]
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.CommonFilesDir
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x4179b7
push ecx
mov edi, 0x4a9d28
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x29
push str._CommonFiles_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
jmp 0x4179ec
mov ecx, dword [esi + 4]
lea eax, [ebp - 0x10]
push str._WinDir_
push eax
call fcn.0044edf9
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x2a
push str._CommonFiles_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov edi, 0x4a9d28
lea ecx, [ebp - 0x5c]
call fcn.00402b6f
push str.LocalMachine
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.ProgramFilesDir
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x417a6f
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x2b
push str._ProgramFiles_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
jmp 0x417a81
mov ecx, dword [esi + 4]
push str.C:Program_Files
push str._ProgramFiles_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
push 5
push eax
mov ecx, esi
call fcn.00417ddf
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2c
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jle 0x417ab6
push eax
jmp 0x417b7d
lea ecx, [ebp - 0x5c]
call fcn.00402b6f
push str.CurrentUser
lea ecx, [ebp - 0x5c]
call fcn.00402784
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
lea ecx, [ebp - 0x5c]
call fcn.004027ae
push str.Personal
lea ecx, [ebp - 0x5c]
call fcn.004027d8
push ebx
push ebx
push ebx
push ebx
push 0x20019
push ebx
lea ecx, [ebp - 0x5c]
call fcn.004028ae
test eax, eax
je 0x417b78
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0x2d
call fcn.0046b336
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
mov eax, dword [ebp - 0x14]
cmp dword [eax - 8], 2
jle 0x417b78
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push edi
call fcn.0046b2b7
push 1
push 1
lea eax, [ebp - 0x10]
push ebx
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402b8c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x2e
push str._MyDocumentsDir_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
jmp 0x417b8a
push 0x49f6b4
mov ecx, dword [esi + 4]
push str._MyDocumentsDir_
call fcn.0044ec2d
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.00417f69
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x2f
push str._DAOPath_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0041828c
push dword [eax]
mov ecx, dword [esi + 4]
mov byte [ebp - 4], 0x30
push str._BDEPath_
call fcn.0044ec2d
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0046b249
lea eax, [ebp - 0x68]
lea ecx, [ebp - 0xec]
push eax
call fcn.0042f781
mov eax, dword [ebp - 0x68]
shr eax, 0x14
inc eax
mov dword [ebp - 0x68], eax
push eax
lea eax, [ebp - 0x14]
push 0x49f698
push eax
call fcn.00468cd1
mov ecx, dword [esi + 4]
add esp, 0xc
push dword [ebp - 0x14]
push str._SystemRAM_
call fcn.0044ec2d
push 0x13
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x417c2c
push str.TRUE
jmp 0x417c31
push str.FALSE
mov ecx, dword [esi + 4]
push str._MousePresent_
call fcn.0044ec2d
call dword [sym.imp.WINMM.dll_waveOutGetNumDevs]
test eax, eax
jbe 0x417c4f
push str.TRUE
jmp 0x417c54
push str.FALSE
mov ecx, dword [esi + 4]
push str._SoundCardPresent_
call fcn.0044ec2d
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call fcn.0046b249
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0046b249
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0046b249
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 5
call fcn.004034f6
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0046b249
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 3
call fcn.0042f38d
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 2
call fcn.0040a859
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.0046b249
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
call fcn.004761d8
mov ecx, dword [eax + 4]
call fcn.0046fa46
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret