Function at 0x449370
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465064
mov eax, dword fs:[0]
push eax
sub esp, 0xeac
mov eax, dword [0x48602c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xe54], ecx
mov dword [ebp - 0xe50], 0
push 0x468e37
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [ebp - 4], 1
cmp dword [ebp + 0xc], 0
je 0x449c90
push 0x48
call fcn.0043ae6c
add esp, 4
mov dword [ebp - 0xd14], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0xd14], 0
je 0x4493fd
mov eax, dword [ebp - 0xd14]
push eax
call fcn.00437760
mov dword [ebp - 0xe58], eax
jmp 0x449407
mov dword [ebp - 0xe58], 0
mov ecx, dword [ebp - 0xe58]
mov dword [ebp - 0xd10], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd10]
mov dword [ebp - 0x34], edx
push 0x38
call fcn.0043ae6c
add esp, 4
mov dword [ebp - 0xd1c], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0xd1c], 0
je 0x449460
push 0x468e89
push 0x4730bc
push 0x4730c4
mov eax, dword [ebp - 0xd1c]
push eax
call fcn.004380e0
mov dword [ebp - 0xe5c], eax
jmp 0x44946a
mov dword [ebp - 0xe5c], 0
mov ecx, dword [ebp - 0xe5c]
mov dword [ebp - 0xd18], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd18]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [ebp - 0x34]
call fcn.00436f50
push 0x50
call fcn.0043ae6c
add esp, 4
mov dword [ebp - 0xd24], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0xd24], 0
je 0x4494ca
push str.Root
mov eax, dword [ebp - 0xd24]
push eax
call fcn.00437190
mov dword [ebp - 0xe60], eax
jmp 0x4494d4
mov dword [ebp - 0xe60], 0
mov ecx, dword [ebp - 0xe60]
mov dword [ebp - 0xd20], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xd20]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
call fcn.00436f50
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
push ecx
mov eax, str.SqlType
mov ecx, dword [ebp - 0x30]
call fcn.00437410
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x10]
push eax
mov eax, 0x4730d8
mov ecx, dword [ebp - 0x30]
call fcn.00437410
mov byte [ebp - 0x4dc], 0
push 0x7f
push 0
lea ecx, [ebp - 0x4db]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xf]
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xe]
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0xd]
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xc]
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 0xb]
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax + 0xa]
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 9]
push eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + 8]
push edx
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + 6]
push ecx
mov edx, dword [ebp + 0xc]
movzx eax, word [edx + 4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
push 0x4730e4
lea eax, [ebp - 0x4dc]
push eax
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0x34
mov word [ebp - 0x23c], 0
push 0x206
push 0
lea ecx, [ebp - 0x23a]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
add edx, 0x220
push edx
call dword [sym.imp.MSVCR80.dll_wcslen]
add esp, 4
push eax
mov eax, dword [ebp + 0xc]
add eax, 0x220
push eax
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00448050
add esp, 0xc
lea edx, [ebp - 0x4dc]
mov eax, str.TaskGuid
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov edx, dword [ebp + 0xc]
add edx, 0x220
push edx
lea eax, [ebp - 0xd40]
push eax
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe64], eax
mov ecx, dword [ebp - 0xe64]
mov dword [ebp - 0xe68], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xe68]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.BackupPath
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd40]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x838]
push eax
mov eax, str.IsOriginPath
mov ecx, dword [ebp - 0x30]
call fcn.00437410
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x83c]
push edx
mov eax, str.IsOverWrite
mov ecx, dword [ebp - 0x30]
call fcn.00437410
mov eax, dword [ebp + 0xc]
add eax, 0x940
push eax
lea ecx, [ebp - 0xd5c]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe6c], eax
mov edx, dword [ebp - 0xe6c]
mov dword [ebp - 0xe70], edx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xe70]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.ImgPasswors
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd5c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 0xc]
add eax, 0x428
push eax
lea ecx, [ebp - 0xd78]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe74], eax
mov edx, dword [ebp - 0xe74]
mov dword [ebp - 0xe78], edx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0xe78]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.NasName
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd78]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 0xc]
add eax, 0x630
push eax
lea ecx, [ebp - 0xd94]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe7c], eax
mov edx, dword [ebp - 0xe7c]
mov dword [ebp - 0xe80], edx
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xe80]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.NasPassword
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd94]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0xdb0]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe84], eax
mov edx, dword [ebp - 0xe84]
mov dword [ebp - 0xe88], edx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xe88]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.NasRootPath
mov ecx, dword [ebp - 0x30]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdb0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [ebp - 0x4e4], 0
jmp 0x449808
mov eax, dword [ebp - 0x4e4]
add eax, 1
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4e4]
cmp edx, dword [ecx + 0x9c0]
jae 0x449b5a
mov eax, dword [ebp - 0x4e4]
imul eax, eax, 0x204
mov ecx, dword [ebp + 0xc]
lea esi, [ecx + eax + 0x9c4]
mov ecx, 0x81
lea edi, [ebp - 0x6ec]
rep movsd dword es:[edi], dword [esi]
push 0x50
call fcn.0043ae6c
add esp, 4
mov dword [ebp - 0xdb8], eax
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0xdb8], 0
je 0x449876
push str.RestoreNode
mov edx, dword [ebp - 0xdb8]
push edx
call fcn.00437190
mov dword [ebp - 0xe8c], eax
jmp 0x449880
mov dword [ebp - 0xe8c], 0
mov eax, dword [ebp - 0xe8c]
mov dword [ebp - 0xdb4], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xdb4]
mov dword [ebp - 0x6f4], ecx
mov word [ebp - 0x8fc], 0
push 0x206
push 0
lea edx, [ebp - 0x8fa]
push edx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov word [ebp - 0xb04], 0
push 0x206
push 0
lea eax, [ebp - 0xb02]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov word [ebp - 0xd0c], 0
push 0x206
push 0
lea ecx, [ebp - 0xd0a]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x838], 0
jne 0x449920
mov eax, dword [ebp + 0xc]
add eax, 0x840
push eax
lea ecx, [ebp - 0x8fc]
push ecx
call dword [sym.imp.MSVCR80.dll_wcscpy]
add esp, 8
jmp 0x449937
lea edx, [ebp - 0x6e8]
push edx
lea eax, [ebp - 0x8fc]
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0xb04]
push ecx
lea edx, [ebp - 0x8fc]
push edx
mov ecx, dword [ebp - 0xe54]
add ecx, 0x153c
call fcn.004473f0
lea eax, [ebp - 0xd0c]
push eax
lea ecx, [ebp - 0x8fc]
push ecx
mov ecx, dword [ebp - 0xe54]
add ecx, 0x153c
call fcn.00447330
lea edx, [ebp - 0x8fc]
push edx
mov ecx, dword [ebp - 0xe54]
add ecx, 0x153c
call fcn.00447290
mov dword [ebp - 0x6f0], eax
lea eax, [ebp - 0x8fc]
push eax
lea ecx, [ebp - 0xdd4]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe90], eax
mov edx, dword [ebp - 0xe90]
mov dword [ebp - 0xe94], edx
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xe94]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.Instance
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdd4]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0xb04]
push eax
lea ecx, [ebp - 0xdf0]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xe98], eax
mov edx, dword [ebp - 0xe98]
mov dword [ebp - 0xe9c], edx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0xe9c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.UserName
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xdf0]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0xd0c]
push eax
lea ecx, [ebp - 0xe0c]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xea0], eax
mov edx, dword [ebp - 0xea0]
mov dword [ebp - 0xea4], edx
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xea4]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.Password
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe0c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
cmp dword [ebp - 0x6f0], 0
je 0x449ac1
mov edx, 0x4731a8
mov eax, 0x4731ac
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
jmp 0x449ad6
mov edx, 0x4731b8
mov eax, str.LoginType
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
lea eax, [ebp - 0x5e8]
push eax
lea ecx, [ebp - 0xe28]
push ecx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xea8], eax
mov edx, dword [ebp - 0xea8]
mov dword [ebp - 0xeac], edx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xeac]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, eax
mov eax, str.Database
mov ecx, dword [ebp - 0x6f4]
call fcn.00437430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe28]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x6ec]
push eax
mov eax, str.BackupId
mov ecx, dword [ebp - 0x6f4]
call fcn.00437410
mov eax, dword [ebp - 0x6f4]
mov ecx, dword [ebp - 0x30]
call fcn.00436f50
jmp 0x4497f9
mov word [ebp - 0x444], 0
push 0x206
push 0
lea ecx, [ebp - 0x442]
push ecx
call sub.MSVCR80.dll_memset
add esp, 0xc
lea edx, [ebp - 0x444]
push edx
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.AomeiBRSqlTaskInfo.xml
push 0x104
lea eax, [ebp - 0x444]
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea ecx, [ebp - 0x444]
push ecx
lea edx, [ebp - 0xe44]
push edx
call fcn.00447f60
add esp, 8
mov dword [ebp - 0xeb0], eax
mov eax, dword [ebp - 0xeb0]
mov dword [ebp - 0xeb4], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xeb4]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, 0x473214
mov edi, dword [ebp - 0x34]
call fcn.00437ab0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xe44]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x45c]
call fcn.00408ed0
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x45c]
push ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
mov edx, dword [eax + 0x40]
call edx
lea ecx, [ebp - 0x45c]
call fcn.00408f70
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edi, dword [ebp - 0x34]
call fcn.00436f20
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xe4c], eax
mov ecx, dword [ebp - 0xe4c]
mov dword [ebp - 0xe48], ecx
cmp dword [ebp - 0xe48], 0
je 0x449c77
push 1
mov edx, dword [ebp - 0xe48]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xe48]
mov edx, dword [eax]
call edx
mov dword [ebp - 0xeb8], eax
jmp 0x449c81
mov dword [ebp - 0xeb8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x45c]
call fcn.00408fe0
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [ebp - 0xe50]
or ecx, 1
mov dword [ebp - 0xe50], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043ad38
mov esp, ebp
pop ebp
ret 8