Function at 0x431210
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53b27f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x35c
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x58]
call fcn.00406f00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00406f00
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0040b6d0
movzx eax, al
test eax, eax
je 0x43129b
push 0x5417bc
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
lea edx, [ebp - 0x118]
push edx
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407de0
lea ecx, [ebp - 0x118]
call fcn.00407a00
jmp 0x43137f
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.00404da0
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0040b100
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00419fe0
add esp, 0xc
mov byte [ebp - 4], 2
push 0x5417e4
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00407de0
lea ecx, [ebp - 0x130]
call fcn.00407a00
push 0x54180c
lea edx, [ebp - 0xa0]
push edx
lea eax, [ebp - 0x148]
push eax
call fcn.00405220
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00407de0
lea ecx, [ebp - 0x148]
call fcn.00407a00
lea ecx, [ebp - 0x58]
call fcn.0040b120
push eax
push str._Update_copy_config_file:__s
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
lea ecx, [ebp - 0x70]
call fcn.0040b120
push eax
push str._Update_copy_db_file:__s
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.00407a00
push 0x541898
mov edx, dword [ebp - 0x10]
add edx, 4
push edx
lea eax, [ebp - 0x88]
push eax
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 3
push 0x208
push 0
lea ecx, [ebp - 0x368]
push ecx
call fcn.00511fb0
add esp, 0xc
push 0
push 5
lea edx, [ebp - 0x368]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x368]
push eax
lea ecx, [ebp - 0x30]
call fcn.00406cf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x30]
call fcn.0040b6d0
movzx ecx, al
test ecx, ecx
je 0x431438
push str.TAInstall::OperateConfigFile_str_path_is_null_
push 5
push 0x5b0688
call fcn.00410bb0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00407a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00407a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407a00
jmp 0x431728
push 0xffffffffffffffff
push 0x5c
lea ecx, [ebp - 0x30]
call fcn.0040b8f0
add eax, 1
push eax
push 0
lea edx, [ebp - 0x160]
push edx
lea ecx, [ebp - 0x30]
call fcn.0040cfd0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
lea ecx, [ebp - 0x30]
call fcn.00407de0
lea ecx, [ebp - 0x160]
call fcn.00407a00
push 0x5418f8
lea ecx, [ebp - 0x30]
call fcn.00410640
lea ecx, [ebp - 0x30]
call fcn.0040b120
push eax
push str.TAInstall::OperateConfigFile_CreateFolder:_s
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
lea ecx, [ebp - 0x30]
push ecx
call fcn.004089b0
add esp, 4
movzx edx, al
test edx, edx
jne 0x4314ff
push str.TAInstall::OperateConfigFile_CreateFolder_is_null_
push 5
push 0x5b0688
call fcn.00410bb0
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00407a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00407a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407a00
jmp 0x431728
push str.TrustAgent.config
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 5
push str.TrustAgentExtra.config
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xe8]
push eax
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x58]
push edx
call fcn.00409300
add esp, 8
movzx eax, al
test eax, eax
jne 0x43156e
lea ecx, [ebp - 0x58]
call fcn.0040b120
push eax
push 0x5419f8
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
lea ecx, [ebp - 0xe8]
push ecx
lea edx, [ebp - 0x88]
push edx
call fcn.00409300
add esp, 8
movzx eax, al
test eax, eax
jne 0x4315ab
lea ecx, [ebp - 0x88]
call fcn.0040b120
push eax
push str.TAInstall::OperateConfigFile_copy__s_failed
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.0040b6d0
movzx ecx, al
test ecx, ecx
jne 0x431622
push str.TrustConf.db
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0xb8]
push eax
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb8]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.00409300
add esp, 8
movzx eax, al
test eax, eax
jne 0x431613
lea ecx, [ebp - 0x70]
call fcn.0040b120
push eax
push 0x541ac8
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xb8]
call fcn.00407a00
push str.QInstUtils.exe
mov ecx, dword [ebp - 0x10]
add ecx, 4
push ecx
lea edx, [ebp - 0xd0]
push edx
call fcn.00405220
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0040b120
push eax
push str.QInstUtils.exe_pack_name:_s
push 5
push 0x5b0688
call fcn.00410fd0
add esp, 0x10
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0x64
call fcn.0040b120
push eax
lea ecx, [ebp - 0xd0]
call fcn.0040b120
push eax
call fcn.0041ce40
add esp, 0x10
mov byte [ebp - 0x11], al
movzx ecx, byte [ebp - 0x11]
test ecx, ecx
jne 0x4316ad
push str.QInstUtils.exe_failed_
push 5
push 0x5b0688
call fcn.00410bb0
add esp, 0xc
mov edx, dword [ebp - 0x18]
push edx
push str.QInstUtils.exe_ret:_d
push 5
push 0x5b0688
call fcn.00410bb0
add esp, 0x10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xd0]
call fcn.00407a00
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xe8]
call fcn.00407a00
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x100]
call fcn.00407a00
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00407a00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x88]
call fcn.00407a00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00407a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00407a00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret