Function at 0x428b5f
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x45eca6
call fcn.0044b154
sub esp, 0xa0
push ebx
push esi
push edi
push 0xf
pop edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push ebx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x78], edi
call fcn.00418c41
push ebx
lea eax, [ebp - 0x90]
push eax
push ebx
mov dword [ebp - 4], ebx
call fcn.00425b7d
add esp, 0xc
test al, al
mov esi, str.mozsqlite3.dll
je 0x428bdd
push esi
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041691c
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], 1
jb 0x428bcc
mov eax, dword [eax + 4]
jmp 0x428bcf
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x428be1
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 1
je 0x428bf2
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004192fd
cmp byte [ebp - 0xd], bl
je 0x428c19
push str.__sqlite_not_found
push ebx
call fcn.0043a6e3
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x468d4a
call fcn.00419fe3
push ebx
push 1
jmp 0x428e2e
push esi
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041691c
add esp, 0xc
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x428c3c
mov eax, dword [eax + 4]
jmp 0x428c3f
add eax, 4
push eax
lea eax, [ebp - 0x74]
call fcn.0041d14b
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.004192fd
cmp dword [ebp - 0x58], ebx
jne 0x428c7d
push str.__sqlite_not_valid
push ebx
call fcn.0043a6e3
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x468d4a
call fcn.00419fe3
jmp 0x428e2c
push ebx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x3c], edi
call fcn.00418c41
push ebx
push 0xfde9
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 4
push eax
mov dword [ebp - 0x18], ebx
call fcn.00446c90
add esp, 0x14
mov byte [ebp - 4], 5
cmp dword [eax + 0x18], 0x10
jb 0x428cb5
mov eax, dword [eax + 4]
jmp 0x428cb8
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [ebp - 0x70]
pop ecx
pop ecx
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.004192fd
cmp dword [ebp - 0x18], ebx
je 0x428e0d
push dword [ebp + 0x10]
lea ecx, [ebp - 0xac]
call fcn.0041a15f
push str._host_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00419fe3
push dword [ebp + 0x14]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 7
call fcn.00446d60
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004192fd
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x1c], ebx
jae 0x428d3b
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push dword [ebp - 0x98]
push eax
push dword [ebp - 0x18]
call dword [ebp - 0x6c]
add esp, 0x14
cmp dword [ebp - 0x14], ebx
je 0x428df5
jmp 0x428dc2
push ebx
push dword [ebp - 0x14]
call dword [ebp - 0x64]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00419fe3
push 0x46b340
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00413613
push esi
push dword [ebp - 0x14]
call dword [ebp - 0x64]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.00413613
cmp dword [ebp - 0x40], ebx
je 0x428da5
push 0x469de4
lea ecx, [ebp - 0x54]
call fcn.00413613
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x54]
call fcn.00418dd5
push ebx
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.004192fd
push dword [ebp - 0x14]
call dword [ebp - 0x68]
cmp eax, 0x64
pop ecx
je 0x428d5e
push dword [ebp - 0x14]
call dword [ebp - 0x60]
cmp dword [ebp - 0x40], ebx
pop ecx
je 0x428df5
cmp dword [ebp - 0x3c], 0x10
mov eax, dword [ebp - 0x50]
jae 0x428de6
lea eax, [ebp - 0x50]
push eax
push str.__cookie_s
push ebx
call fcn.0043a6e3
add esp, 0xc
push dword [ebp - 0x18]
call dword [ebp - 0x5c]
pop ecx
push ebx
push esi
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call fcn.004192fd
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x54]
push eax
call fcn.0041a15f
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.004192fd
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
push ebx
push esi
lea ecx, [ebp - 0x90]
call fcn.004192fd
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret