Function at 0x1010e934
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x4c
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [edx], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
call sym._sqlite3_initialize
mov esi, eax
test eax, eax
jne 0x1010ee22
cmp byte [0x10170ca4], 0
mov eax, dword [ebp - 0x2c]
je 0x1010e983
bt eax, 0xf
jb 0x1010e983
bt eax, 0x10
mov esi, 1
jb 0x1010e983
movzx esi, byte [0x10170ca5]
bt eax, 0x12
jae 0x1010e990
and eax, 0xfffdffff
jmp 0x1010e99e
cmp dword [0x10170d68], 0
je 0x1010e9a1
or eax, 0x20000
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
mov dword [ebp - 0x30], eax
and eax, 0xfff600e7
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
mov eax, 0x218
call sym._sqlite3MallocZero
mov ebx, eax
test eax, eax
je 0x1010e9e1
test esi, esi
je 0x1010e9e8
mov eax, 1
call sym._sqlite3MutexAlloc
mov dword [ebx + 0xc], eax
test eax, eax
jne 0x1010e9e8
mov dword [esp], ebx
call sym._sqlite3_free
xor ebx, ebx
jmp 0x1010edf0
mov eax, dword [ebx + 0xc]
mov esi, 0x101fe5e0
mov dword [esp], eax
call sym._sqlite3_mutex_enter
mov eax, dword [ebp - 0x30]
mov byte [ebx + 0x61], 0x6d
mov ecx, 0xb
mov dword [ebx + 0x14], 2
mov dword [ebx + 0x130], 1
and eax, 0x2000000
mov word [ebx + 0x134], 0
cmp eax, 1
sbb eax, eax
and eax, 0x100
dec eax
mov dword [ebx + 0x48], eax
lea eax, [ebx + 0x1c8]
mov dword [ebx + 0x10], eax
lea eax, [ebx + 0x78]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov byte [ebx + 0x55], 1
xor esi, esi
xor edi, edi
mov byte [ebx + 0x5a], 0xff
mov ecx, 1
mov eax, dword [0x10170d48]
mov dword [ebx + 0xa4], esi
xor esi, esi
mov edx, dword [0x10170d4c]
mov dword [ebx + 0x64], edi
xor edi, edi
mov dword [ebx + 0x30], eax
xor eax, eax
or dword [ebx + 0x20], 0xe00480e0
mov dword [ebx + 0x34], edx
mov edx, str.BINARY
mov dword [ebx + 0x1b4], eax
mov dword [ebx + 0x1b0], eax
mov dword [ebx + 0x1ac], eax
mov dword [ebx + 0x1b8], eax
mov dword [ebx + 0x188], eax
mov dword [ebx + 0x184], eax
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x18c], eax
mov dword [ebx + 0xb8], 0x101710c0
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
mov dword [esp + 4], sym._binCollFunc
call sym._createCollation
xor eax, eax
mov ecx, 3
mov dword [esp + 4], sym._binCollFunc
mov dword [esp + 8], eax
xor eax, eax
mov edx, str.BINARY
mov dword [esp], eax
mov eax, ebx
call sym._createCollation
xor eax, eax
xor edx, edx
mov ecx, 2
mov dword [esp + 8], eax
mov eax, ebx
mov dword [esp], edx
mov edx, str.BINARY
mov dword [esp + 4], sym._binCollFunc
call sym._createCollation
xor ecx, ecx
mov dword [esp], esi
mov edx, str.NOCASE
mov dword [esp + 8], ecx
mov eax, ebx
mov ecx, 1
mov dword [esp + 4], sym._nocaseCollatingFunc
call sym._createCollation
xor eax, eax
mov dword [esp + 8], edi
mov ecx, 1
mov dword [esp], eax
mov edx, str.RTRIM
mov eax, ebx
mov dword [esp + 4], sym._rtrimCollFunc
call sym._createCollation
cmp byte [ebx + 0x57], 0
jne 0x1010ede5
mov eax, dword [ebp - 0x34]
mov edx, 0x46
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0x30]
and eax, 7
bt edx, eax
jb 0x1010eb88
mov eax, 0x2a796
call sym._sqlite3MisuseError
jmp 0x1010eba7
lea eax, [ebp - 0x20]
mov dword [esp], ebx
lea ecx, [ebp - 0x2c]
mov dword [esp + 8], eax
lea eax, [ebp - 0x24]
mov dword [esp + 4], eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 8]
call sym._sqlite3ParseUri.constprop.0
mov edx, dword [ebp - 0x24]
mov esi, eax
test eax, eax
je 0x1010ebef
cmp eax, 7
jne 0x1010ebbc
mov eax, ebx
call sym._sqlite3OomFault
mov edi, dword [ebp - 0x20]
mov edx, 0
mov eax, 0x101f7757
mov dword [esp], ebx
mov dword [esp + 4], esi
test edi, edi
mov dword [esp + 0xc], edi
cmove eax, edx
mov dword [esp + 8], eax
call sym._sqlite3ErrorWithMsg
mov dword [esp], edi
call sym._sqlite3_free
jmp 0x1010ede5
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov dword [esp + 4], ecx
mov ecx, ebx
or ah, 1
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x10]
add eax, 4
mov dword [esp], eax
mov eax, dword [ebx]
call sym._sqlite3BtreeOpen
mov esi, eax
test eax, eax
je 0x1010ec31
cmp eax, 0xc0a
jne 0x1010ec23
mov esi, 7
mov edx, esi
mov eax, ebx
call sym._sqlite3Error
jmp 0x1010ede5
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
call sym._sqlite3BtreeEnter
mov edi, dword [ebx + 0x10]
mov eax, ebx
mov edx, dword [edi + 4]
call sym._sqlite3SchemaGet
mov dword [edi + 0xc], eax
cmp byte [ebx + 0x57], 0
jne 0x1010ec63
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0xc]
movzx edx, byte [eax + 0x4d]
mov eax, ebx
call sym._sqlite3SetTextEncoding
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 4]
call sym._sqlite3BtreeLeave
mov edi, dword [ebx + 0x10]
xor edx, edx
mov eax, ebx
call sym._sqlite3SchemaGet
mov dword [edi + 0x1c], eax
mov eax, dword [ebx + 0x10]
mov dword [eax], str.main
mov byte [eax + 8], 3
mov dword [eax + 0x10], str.temp
mov byte [eax + 0x18], 1
cmp byte [ebx + 0x57], 0
mov byte [ebx + 0x61], 0x76
jne 0x1010ede5
xor edx, edx
mov eax, ebx
call sym._sqlite3Error
mov dword [esp + 8], 2
mov dword [esp + 4], str.MATCH
mov dword [esp], ebx
call sym._sqlite3_overload_function
cmp eax, 7
jne 0x1010ecd0
mov eax, ebx
call sym._sqlite3OomFault
mov dword [esp], ebx
call sym._sqlite3_errcode
test eax, eax
jne 0x1010edb5
cmp esi, 1
jg 0x1010ecf2
mov dword [esp], ebx
call dword [esi*4 + 0x10200280]
inc esi
jmp 0x1010ecd8
test eax, eax
jne 0x1010edb5
cmp dword [0x10170c20], 0
je 0x1010eda7
xor edi, edi
mov eax, 2
call sym._sqlite3MutexAlloc
mov dword [esp], eax
mov esi, eax
call sym._sqlite3_mutex_enter
cmp edi, dword [0x10170c20]
jb 0x1010ed37
mov dword [esp], esi
call sym._sqlite3_mutex_leave
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [esp], edx
jmp 0x1010ed8f
mov eax, dword [0x10170c24]
mov eax, dword [eax + edi*4]
mov dword [ebp - 0x30], eax
mov dword [esp], esi
call sym._sqlite3_mutex_leave
xor eax, eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x1010ed96
lea edx, [ebp - 0x1c]
mov dword [esp + 8], 0x101ffe40
mov dword [esp + 4], edx
mov dword [esp], ebx
call eax
test eax, eax
je 0x1010ed96
mov edx, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp + 8], str.automatic_extension_loading_failed:__s
mov dword [esp + 0xc], edx
mov dword [esp], ebx
call sym._sqlite3ErrorWithMsg
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._sqlite3_free
jmp 0x1010eda7
mov eax, dword [ebp - 0x1c]
inc edi
mov dword [esp], eax
call sym._sqlite3_free
jmp 0x1010ed09
mov dword [esp], ebx
call sym._sqlite3_errcode
test eax, eax
je 0x1010edbe
jmp 0x1010ede5
mov edx, eax
mov eax, ebx
call sym._sqlite3Error
mov eax, dword [0x10170cb8]
mov ecx, dword [0x10170cb4]
xor edx, edx
mov dword [esp], eax
mov eax, ebx
call sym._setupLookaside
mov dword [esp + 4], 0x3e8
mov dword [esp], ebx
call sym._sqlite3_wal_autocheckpoint
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._sqlite3_mutex_leave
mov dword [esp], ebx
call sym._sqlite3_errcode
mov esi, eax
cmp al, 7
jne 0x1010ee0a
mov dword [esp], ebx
xor ebx, ebx
call sym._sqlite3_close
jmp 0x1010ee12
test eax, eax
je 0x1010ee12
mov byte [ebx + 0x61], 0xba
mov eax, dword [ebp - 0x38]
mov dword [eax], ebx
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call sym._sqlite3_free_filename
add esp, 0x4c
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret