Function at 0x4012b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x5bc
mov eax, dword [0x42c400]
xor eax, esp
mov dword [esp + 0x5b4], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0x7f
lea eax, [esp + 0x1d]
push ebx
push eax
mov byte [esp + 0x24], bl
call fcn.0041c150
add esp, 0xc
push 0x103
lea ecx, [esp + 0x9d]
push ebx
push ecx
mov byte [esp + 0xa4], bl
call fcn.0041c150
add esp, 0xc
push 0x103
lea edx, [esp + 0x2ad]
push ebx
push edx
mov byte [esp + 0x2b4], bl
call fcn.0041c150
add esp, 0xc
push 0x103
lea eax, [esp + 0x3b5]
push ebx
push eax
mov byte [esp + 0x3bc], bl
call fcn.0041c150
add esp, 0xc
push 0x103
lea ecx, [esp + 0x4bd]
push ebx
push ecx
mov byte [esp + 0x4c4], bl
call fcn.0041c150
add esp, 0xc
push 0x103
lea edx, [esp + 0x1a5]
push ebx
push edx
mov byte [esp + 0x1ac], bl
call fcn.0041c150
add esp, 0xc
push str._IsAgent
push 0x53
push str..Setup.cpp
push 3
mov ecx, str.Run_Setup
mov dword [esp + 0x24], ebx
call fcn.00405d70
push str._IsAgent
push 0x53
push str..Setup.cpp
push 3
mov ecx, str.Run_Setup
call fcn.00405a90
add esp, 0x20
lea eax, [esp + 0x98]
call fcn.0040b3a0
lea eax, [esp + 0x98]
add eax, 0xffffffff
lea esp, [esp]
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x4013c0
mov ecx, dword [str.IsAgent]
mov edx, dword [0x424c88]
mov dword [eax], ecx
mov cl, byte [0x424c8c]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
lea ecx, [esp + 0x98]
call fcn.00403140
test eax, eax
jne 0x40142e
push str.Extract_zip_file_to_setup_folder_fail
push 0x5b
push str..Setup.cpp
push 1
mov ecx, str.Run_Setup
call fcn.00405d70
push str.Extract_zip_file_to_setup_folder_fail
push 0x5b
push str..Setup.cpp
push 1
mov ecx, str.Run_Setup
call fcn.00405a90
add esp, 0x20
xor eax, eax
jmp 0x4015d8
lea edx, [esp + 0x98]
push edx
push str._sdbghelp.dll
lea eax, [esp + 0x4c0]
push 0x103
push eax
call fcn.004135e2
add esp, 0x10
lea edi, [esp + 0x1a0]
call fcn.00407020
mov eax, edi
add eax, 0xffffffff
mov cl, byte [eax + 1]
add eax, 1
cmp cl, bl
jne 0x401461
mov ecx, dword [str.dbghelp.dll]
mov edx, dword [0x424ccc]
mov dword [eax], ecx
mov ecx, dword [0x424cd0]
mov dword [eax + 4], edx
mov dl, byte [0x424cd4]
mov dword [eax + 8], ecx
lea esi, [esp + 0x1a0]
lea edi, [esp + 0x4b8]
mov byte [eax + 0xc], dl
call fcn.004072e0
call fcn.00405060
call fcn.00405320
lea eax, [esp + 0x18]
push eax
call fcn.00403bb0
add esp, 4
test eax, eax
je 0x4014ce
lea ecx, [esp + 0x18]
call fcn.00409f20
test eax, eax
je 0x4014ce
call fcn.00404660
call fcn.00405540
call fcn.00404240
call fcn.00401600
test eax, eax
jne 0x401521
push str.Install_service_for_ISA_fail
push 0x80
push str..Setup.cpp
push 1
mov ecx, str.Run_Setup
call fcn.00405d70
push str.Install_service_for_ISA_fail
push 0x80
push str..Setup.cpp
push 1
mov ecx, str.Run_Setup
call fcn.00405a90
add esp, 0x20
xor eax, eax
jmp 0x4015d8
call fcn.0040b360
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
je 0x401550
push str.Wow64DisableWow64FsRedirection
push str.kernel32
call ebp
push eax
call edi
cmp eax, ebx
je 0x401550
lea ecx, [esp + 0x14]
push ecx
call eax
push 0x104
lea edx, [esp + 0x2ac]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, str.IsaRemove.lnk
lea ebx, [esp + 0x2a8]
call fcn.0040bab0
lea eax, [esp + 0x98]
mov ecx, 0x104
lea ebx, [esp + 0x3b0]
call fcn.0040ba60
mov eax, 0x424d08
call fcn.0040bab0
mov esi, ebx
lea ebx, [esp + 0x2a8]
call fcn.00407500
call fcn.0040b360
test eax, eax
je 0x4015c7
mov esi, dword [esp + 0x14]
push str.Wow64RevertWow64FsRedirection
push str.kernel32
call ebp
push eax
call edi
test eax, eax
je 0x4015c7
push esi
call eax
lea esi, [esp + 0x1a0]
call fcn.004073e0
mov eax, 1
mov ecx, dword [esp + 0x5c4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0041310b
add esp, 0x5bc
ret