Function at 0x10088630
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101022ac
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 0x1008867e
mov ecx, dword [ebp - 0x44]
cmp dword [ecx + 4], 0
jne 0x100886a7
mov edx, dword [0x10137aa8]
push edx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
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 0x100886e8
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x18]
cmp dword [ecx + 8], 0
jne 0x100886e8
mov edx, dword [0x10138118]
push edx
push 0x80043298
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
mov dword [ebp - 0x30], 0x80043298
push 0x1014f068
lea eax, [ebp - 0x30]
push eax
call fcn.100cb4c0
cmp dword [ebp + 8], 0
jne 0x10088717
mov ecx, dword [0x101376e0]
push ecx
push 0x800432b1
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
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 0x10088789
mov edx, dword [ebp + 8]
push edx
call fcn.1008d5b0
add esp, 4
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x10088789
mov byte [ebp - 0x19], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x10088777
mov ecx, dword [0x10137dac]
push ecx
push 0x8004329e
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
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 0x10088865
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 0x100887ff
mov eax, dword [ebp - 0x44]
cmp dword [eax], 0
jne 0x100887e6
mov ecx, dword [0x10137aa8]
push ecx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
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 0x10088849
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
jne 0x10088831
mov ecx, dword [0x10137aa8]
push ecx
push 0x80043a9d
mov ecx, dword [ebp - 0x44]
call fcn.1008b310
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 0x10088859
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100164c0
jmp 0x100888a2
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