Function at 0x1007b030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010166e
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10172eb8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
je 0x1007b07e
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 4], 0
jne 0x1007b0a7
mov edx, dword [0x101345b0]
push edx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x2c], 0x80043a9d
push 0x1014f068
lea eax, [ebp - 0x2c]
push eax
call fcn.100cb4c0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x18]
cmp dword [edx + 4], 0
je 0x1007b0e8
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 8], 0
jne 0x1007b0e8
mov edx, dword [0x10134c20]
push edx
push 0x80043298
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x30], 0x80043298
push 0x1014f068
lea eax, [ebp - 0x30]
push eax
call fcn.100cb4c0
cmp dword [ebp + 8], 0
jne 0x1007b117
mov ecx, dword [0x101341e8]
push ecx
push 0x800432b1
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x34], 0x800432b1
push 0x1014f068
lea edx, [ebp - 0x34]
push edx
call fcn.100cb4c0
mov byte [ebp - 0x19], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 4], 0
je 0x1007b189
mov edx, dword [ebp + 8]
push edx
call fcn.1008d5b0
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x1007b189
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x1007b177
mov ecx, dword [0x101348b4]
push ecx
push 0x8004329e
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x38], 0x8004329e
push 0x1014f068
lea edx, [ebp - 0x38]
push edx
call fcn.100cb4c0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x18]
add ecx, 0xc
call fcn.10012200
movzx edx, byte [ebp - 0x19]
test edx, edx
jne 0x1007b265
lea ecx, [ebp - 0x24]
call fcn.100163e0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.10016730
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
jne 0x1007b1ff
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x1007b1e6
mov ecx, dword [0x101345b0]
push ecx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x3c], 0x80043a9d
push 0x1014f068
lea edx, [ebp - 0x3c]
push edx
call fcn.100cb4c0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx]
call sym.PfMgrApi.dll_public:_long_int___thiscall_CProfileDbController::IsPasswordRequiredForImport_char_const__
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x14], edx
jmp 0x1007b249
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
jne 0x1007b231
mov ecx, dword [0x101345b0]
push ecx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call sym.PfMgrApi.dll_private:_void___thiscall_CProfileMgr::LogEvTrace_unsigned_long_int__char__
mov dword [ebp - 0x40], 0x80043a9d
push 0x1014f068
lea edx, [ebp - 0x40]
push edx
call fcn.100cb4c0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 4]
call sym.PfMgrApi.dll_public:_long_int___thiscall_CProfileDbController::IsPasswordRequiredForImport_char_const__
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x800432a6
jne 0x1007b259
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100164c0
jmp 0x1007b2a2
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4