Function at 0x41c92c
Capabilities:
Get common file path
Query environment variable

Disassembly:
mov eax, 0x4437e1
call fcn.0042a13c
sub esp, 0x53c
mov al, byte [ebp - 0x25]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
push ebx
mov dword [ebp - 0x138], esi
mov byte [esi], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x10]
push ebx
mov dword [ebp - 4], ebx
mov byte [ecx], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x20]
push ebx
mov byte [ebp - 4], 1
mov byte [ecx], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x30]
push ebx
mov byte [ebp - 4], 2
mov byte [ecx], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x40]
push ebx
mov byte [ebp - 4], 3
mov byte [ecx], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x50]
push ebx
mov byte [ebp - 4], 4
mov byte [ecx], al
call fcn.00403f10
mov al, byte [ebp - 0x25]
lea ecx, [esi + 0x60]
push ebx
mov byte [ebp - 4], 5
mov byte [ecx], al
call fcn.00403f10
lea eax, [ebp - 0x25]
lea ecx, [esi + 0x74]
push eax
lea eax, [ebp - 0xd]
push ebx
push eax
mov byte [ebp - 4], 6
call fcn.004168d0
mov dword [esi + 0x84], ebx
mov al, byte [0x469cb0]
push 0x40
mov byte [ebp - 0x134], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
mov byte [ebp - 4], 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x80000002
push eax
call fcn.00422d5a
neg eax
sbb eax, eax
and eax, 0x200
add eax, 0x20019
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push dword [ebp - 0x2c]
call dword [0x459abc]
cmp eax, ebx
jne 0x41ca80
push 1
lea eax, [ebp - 0x30]
pop edi
mov dword [ebp - 0x30], 0x104
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push str.ProgramFilesDir
mov dword [ebp - 0x14], edi
push dword [ebp - 0x2c]
call dword [0x459aac]
test eax, eax
je 0x41ca75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSetupWrapperApp:_RegQueryValueEx_HKLMSoftwareMicrosoftWindowsCurrentVersion____ProgramFilesDir__Failed_with__d___
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
push dword [ebp - 0x2c]
call dword [0x459aa0]
jmp 0x41ca98
push eax
push str.Could_not_open_CurrentVersion_reg_key.__error_d
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
push 1
pop edi
lea eax, [ebp - 0x134]
push eax
push str.Program_Filesx86_s
push 0x80
push 0x45a150
call fcn.004018d0
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push ebx
call fcn.00403f10
push str._Program_Filesx86_
call fcn.0042a0c0
pop ecx
push eax
push str._Program_Filesx86_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 8
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._ProgramFilesx86_
call fcn.0042a0c0
pop ecx
push eax
push str._ProgramFilesx86_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 9
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._PFx86_
call fcn.0042a0c0
pop ecx
push eax
push str._PFx86_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xa
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x60]
call fcn.00403ab0
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x134], bl
push eax
mov dword [ebp - 0x2c], 0x80000002
call fcn.00422d5a
neg eax
sbb eax, eax
and eax, 0x100
add eax, 0xf003f
push eax
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersion
push dword [ebp - 0x2c]
call dword [0x459abc]
cmp eax, ebx
jne 0x41cc98
lea eax, [ebp - 0x14]
mov dword [ebp - 0x30], edi
push eax
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push str.ProgramFilesDir
mov dword [ebp - 0x14], 0x104
push dword [ebp - 0x2c]
call dword [0x459aac]
test eax, eax
je 0x41cc8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSetupWrapperApp:_RegQueryValueEx_HKLMSoftwareMicrosoftWindowsCurrentVersion____ProgramFilesDir__Failed_with__d___
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
push dword [ebp - 0x2c]
call dword [0x459aa0]
jmp 0x41ccad
push eax
push str.Could_not_open_CurrentVersion_reg_key.__error_d
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
lea eax, [ebp - 0x134]
push eax
push str.Program_Files_s
push 0x80
push 0x45a150
call fcn.004018d0
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
add esp, 0x14
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
push ebx
call fcn.00403f10
push str._Program_Files_
call fcn.0042a0c0
pop ecx
push eax
push str._Program_Files_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xb
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._ProgramFiles_
call fcn.0042a0c0
pop ecx
push eax
push str._ProgramFiles_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xc
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._PF_
call fcn.0042a0c0
pop ecx
push eax
push str._PF_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xd
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x50]
call fcn.00403ab0
push ebx
mov byte [ebp - 0x134], bl
call fcn.0041d95d
lea eax, [ebp - 0x134]
mov dword [esp], 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x41ce62
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CSetupWrapperApp:_GetSystemDirectory___with__d___
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
call fcn.0041d988
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
pop ecx
call fcn.00422de7
test eax, eax
lea eax, [ebp - 0x134]
push eax
je 0x41d0ab
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x10]
call fcn.00403ab0
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._System_
call fcn.0042a0c0
pop ecx
push eax
push str._System_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xe
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Sys_
call fcn.0042a0c0
pop ecx
push eax
push str._Sys_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0xf
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push str..._system32_
push eax
call fcn.0042b350
mov al, byte [0x469cb0]
pop ecx
pop ecx
mov byte [ebp - 0x548], al
mov ecx, 0x103
xor eax, eax
lea edi, [ebp - 0x547]
push 0x410
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x548]
push eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x548]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
mov edi, str._System32_
push edi
call fcn.0042a0c0
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea edi, [esi + 0x74]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x10
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x548]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x548]
push eax
call fcn.00403ab0
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Sys32_
call fcn.0042a0c0
pop ecx
push eax
push str._Sys32_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
mov byte [ebp - 4], 0x11
call fcn.0041fd29
mov edi, eax
lea eax, [ebp - 0x548]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x548]
push eax
mov ecx, edi
call fcn.00403ab0
push 1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x548]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x548]
push eax
lea ecx, [esi + 0x20]
call fcn.00403ab0
push 1
pop edi
jmp 0x41d272
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x20]
call fcn.00403ab0
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._System32_
call fcn.0042a0c0
pop ecx
push eax
push str._System32_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x12
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Sys32_
call fcn.0042a0c0
pop ecx
push eax
push str._Sys32_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x13
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._System_
call fcn.0042a0c0
pop ecx
push eax
push str._System_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x14
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Sys_
call fcn.0042a0c0
pop ecx
push eax
push str._Sys_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x15
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x10]
call fcn.00403ab0
push ebx
call fcn.0041d95d
pop ecx
mov byte [ebp - 0x134], bl
call fcn.00422d5a
test eax, eax
je 0x41d2ab
call fcn.0042633a
mov eax, dword [0x46a7f4]
cmp eax, ebx
jne 0x41d29b
mov dword [ebp - 0x30], ebx
jmp 0x41d2c0
lea ecx, [ebp - 0x134]
push 0x104
push ecx
call eax
jmp 0x41d2bd
lea eax, [ebp - 0x134]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [ebp - 0x30], eax
call fcn.0041d988
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x30], ebx
jne 0x41d2f0
cmp eax, 0x78
je 0x41d2f0
push dword [0x46a7f4]
push eax
push str.Error__d_calling_GetSystemWow64Directory____pointer_is__p
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x14
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._SystemWow64_
call fcn.0042a0c0
pop ecx
push eax
push str._SystemWow64_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x16
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._SysWow64_
call fcn.0042a0c0
pop ecx
push eax
push str._SysWow64_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x17
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._SysWow64_
call fcn.0042a0c0
pop ecx
push eax
push str._SysWow64_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x18
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x30]
call fcn.00403ab0
lea eax, [ebp - 0x134]
push 0x104
push eax
mov byte [ebp - 0x134], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
jne 0x41d4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_GetWindowsDirectory__
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
lea eax, [ebp - 0x134]
push 0x104
push eax
push str.windir
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x41d4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Error__d_GetEnvironmentVariable_windir_
push 8
push 0x45a150
call fcn.004018d0
add esp, 0x10
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Windows_
call fcn.0042a0c0
pop ecx
push eax
push str._Windows_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x19
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Win_
call fcn.0042a0c0
pop ecx
push eax
push str._Win_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1a
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Windir_
call fcn.0042a0c0
pop ecx
push eax
push str._Windir_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1b
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
lea ecx, [esi + 0x40]
call fcn.00403ab0
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x131], bl
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._WindowsDrive_
call fcn.0042a0c0
pop ecx
push eax
push str._WindowsDrive_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1c
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
mov byte [ebp - 0x134], bl
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
test eax, eax
pop ecx
jne 0x41d70c
lea eax, [ebp - 0x134]
push 0x104
push eax
push str.temp
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x41d70c
push str.CSetupWrapperApp:_Both_GetTempPath___and_GetEnvironmentVariable___temp___Failed___
push 0x45a150
call fcn.0041a185
pop ecx
lea eax, [ebp - 0x134]
pop ecx
push 0x104
push eax
push 0x453054
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x41d70c
push str.CSetupWrapperApp:_Also_failed_to_get_environment_variable__tmp_.
push 0x45a150
call fcn.0041a185
pop ecx
pop ecx
push str.CSetupWrapperApp:_Could_not_set_the_Temp_directory_to_replace__Temp_.
push 0x45a150
call fcn.0041a185
pop ecx
pop ecx
lea eax, [ebp - 0x134]
push eax
call fcn.0041d933
mov al, byte [ebp - 0xd]
pop ecx
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Temp_
call fcn.0042a0c0
pop ecx
push eax
push str._Temp_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1d
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._Tmp_
call fcn.0042a0c0
pop ecx
push eax
push str._Tmp_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1e
call fcn.0041fd29
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x134]
push eax
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
lea eax, [ebp - 0x134]
push eax
call fcn.0042a0c0
pop ecx
push eax
lea eax, [ebp - 0x134]
push eax
mov ecx, esi
call fcn.00403ab0
mov al, byte [ebp - 0xd]
mov byte [ebp - 0x134], bl
mov byte [ebp - 0x24], al
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403f10
push str._cr_
call fcn.0042a0c0
pop ecx
push eax
push str._cr_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x1f
call fcn.0041fd29
push 0x452fac
mov dword [ebp - 0x14], eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push 0x452fac
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
push str._lf_
call fcn.0042a0c0
pop ecx
push eax
push str._lf_
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x20
call fcn.0041fd29
push 0x45238c
mov dword [ebp - 0x14], eax
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push 0x45238c
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov al, byte [ebp - 0xd]
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call fcn.00403f10
mov ebx, str._crlf_
push ebx
call fcn.0042a0c0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x24]
call fcn.00403ab0
lea eax, [ebp - 0x24]
lea ecx, [esi + 0x74]
push eax
mov byte [ebp - 4], 0x21
call fcn.0041fd29
mov ebx, 0x452c38
mov dword [ebp - 0x14], eax
push ebx
call fcn.0042a0c0
pop ecx
mov ecx, dword [ebp - 0x14]
push eax
push ebx
call fcn.00403ab0
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call fcn.00403f10
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret