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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
mov eax, dword [0x10310644]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
cmp edx, 1
push esi
push edi
mov dword [esp + 0x24], eax
mov edi, ecx
mov dword [esp + 0x3c], eax
mov ecx, str.sqlite_master
mov eax, dword [ebp + 0xc]
mov esi, str.sqlite_temp_master
mov dword [esp + 0x48], eax
cmove ecx, esi
push 0
lea eax, [esp + 0x78]
mov dword [esp + 0x1c], edx
push eax
lea eax, [esp + 0x40]
mov dword [esp + 0x30], edi
push 5
push eax
mov dword [esp + 0x40], 0
mov byte [edi + 0xa5], 1
mov dword [esp + 0x84], str.table
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], 0x102e6c24
mov dword [esp + 0x94], str.CREATE_TABLE_x_type_text_name_text_tbl_name_text_rootpage_int_sql_text_
mov dword [esp + 0x98], 0
mov dword [esp + 0x48], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
call fcn.100efbb0
mov esi, dword [esp + 0x54]
add esp, 0x10
test esi, esi
jne 0x100f024d
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x10]
shl ecx, 4
mov dword [esp + 0x14], ecx
lea esi, [eax + ecx]
mov ecx, dword [esi + 4]
mov dword [esp + 0x1c], esi
test ecx, ecx
jne 0x100efeda
mov eax, dword [eax + 0x1c]
or word [eax + 0x4e], 1
xor eax, eax
jmp 0x100f02a1
cmp byte [ecx + 9], 0
je 0x100efeee
inc dword [ecx + 0xc]
cmp byte [ecx + 0xa], 0
jne 0x100efeee
call fcn.100a8990
mov ecx, dword [esi + 4]
cmp byte [ecx + 8], 0
jne 0x100eff2c
push 0
xor edx, edx
call fcn.100aba80
mov esi, eax
add esp, 4
test esi, esi
je 0x100eff24
mov ecx, esi
call fcn.10118b40
mov ecx, dword [esp + 0x24]
mov edx, edi
push eax
call fcn.10096b10
add esp, 4
jmp 0x100f0231
mov dword [esp + 0x30], 1
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x20], ecx
mov esi, dword [edi + 4]
mov dl, byte [esi + 9]
mov eax, dword [esi + 4]
mov dword [esp + 0x34], eax
test dl, dl
je 0x100eff62
inc dword [esi + 0xc]
cmp byte [esi + 0xa], 0
jne 0x100eff62
mov ecx, esi
call fcn.100a8990
mov dl, byte [esi + 9]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
cmp ecx, 0xe
jne 0x100eff71
mov eax, dword [eax]
mov eax, dword [eax + 0x64]
add eax, dword [esi + 0x14]
jmp 0x100eff7d
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + ecx*4 + 0x28]
bswap eax
mov dword [esp + ecx*4 + 0x50], eax
test dl, dl
je 0x100eff96
add dword [esi + 0xc], 0xffffffff
jne 0x100eff96
mov ecx, esi
call fcn.100a8950
mov ecx, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, 5
jl 0x100eff36
mov edi, dword [esp + 0x28]
mov eax, dword [edi + 0x20]
and eax, 0x2000000
or eax, 0
je 0x100effc1
xorps xmm0, xmm0
xor edx, edx
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x60], edx
jmp 0x100effc5
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esi + 0xc]
mov dword [ecx], eax
test edx, edx
je 0x100f000c
cmp dword [esp + 0x18], 0
jne 0x100effe5
mov byte [edi + 0x4e], 1
mov cl, 1
jmp 0x100f001f
mov cl, byte [edi + 0x4e]
movzx eax, cl
cmp edx, eax
je 0x100f001f
mov ecx, dword [esp + 0x24]
mov edx, edi
push str.attached_databases_must_use_the_same_text_encoding_as_main_database
call fcn.10096b10
add esp, 4
mov esi, 1
jmp 0x100f01d6
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0xc]
or word [eax + 0x4e], 4
mov cl, byte [edi + 0x4e]
mov eax, dword [esi + 0xc]
mov byte [eax + 0x4d], cl
mov eax, dword [esi + 0xc]
cmp dword [eax + 0x50], 0
jne 0x100f0046
mov dword [eax + 0x50], 0xfffff830
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 4]
mov edx, dword [edx + 0x50]
call fcn.100ab0e0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov byte [eax + 0x4c], cl
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x4c], 0
jne 0x100f005d
mov byte [eax + 0x4c], 1
mov eax, dword [esi + 0xc]
cmp byte [eax + 0x4c], 4
jbe 0x100f00df
mov esi, dword [esp + 0x24]
mov ecx, dword [esi]
test ecx, ecx
je 0x100f00aa
cmp dword [edi + 0x1d0], 0
je 0x100f0081
mov edx, ecx
mov ecx, edi
call fcn.10096430
jmp 0x100f00aa
cmp ecx, dword [edi + 0x130]
jb 0x100f00a1
cmp ecx, dword [edi + 0x134]
jae 0x100f00a1
mov eax, dword [edi + 0x12c]
mov dword [ecx], eax
mov dword [edi + 0x12c], ecx
jmp 0x100f00aa
push ecx
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
push 0
push 0x18
mov ecx, edi
call fcn.10096790
add esp, 8
test eax, eax
je 0x100f00d3
movups xmm0, xmmword [str.unsupported_file_format]
movups xmmword [eax], xmm0
movq xmm0, qword [0x102e8e10]
movq qword [eax + 0x10], xmm0
mov dword [esi], eax
mov esi, 1
jmp 0x100f01d6
cmp dword [esp + 0x18], 0
jne 0x100f00f5
cmp ecx, 4
jl 0x100f00f5
mov eax, dword [edi + 0x24]
and dword [edi + 0x20], 0xfffffffd
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
push dword [esp + 0x2c]
push dword [ecx + eax]
push str.SELECTFROM__w_._s_ORDER_BY_rowid
push edi
call fcn.10098b40
mov esi, dword [edi + 0x138]
lea ecx, [esp + 0x48]
push 0
push ecx
push fcn.100efbb0
push eax
push edi
mov dword [esp + 0x4c], eax
mov dword [edi + 0x138], 0
call sym.BasicBusinessConfigCenter.dll_sqlite3_exec
mov ecx, dword [esp + 0x4c]
add esp, 0x24
mov dword [edi + 0x138], esi
mov esi, eax
test esi, esi
mov dword [esp + 0x2c], eax
cmove esi, dword [esp + 0x44]
test ecx, ecx
je 0x100f0190
cmp dword [edi + 0x1d0], 0
je 0x100f0167
mov edx, ecx
mov ecx, edi
call fcn.10096430
jmp 0x100f0190
cmp ecx, dword [edi + 0x130]
jb 0x100f0187
cmp ecx, dword [edi + 0x134]
jae 0x100f0187
mov eax, dword [edi + 0x12c]
mov dword [ecx], eax
mov dword [edi + 0x12c], ecx
jmp 0x100f0190
push ecx
call sym.BasicBusinessConfigCenter.dll_sqlite3_free
add esp, 4
test esi, esi
jne 0x100f019f
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.100d7970
cmp byte [edi + 0x51], 0
je 0x100f01b3
mov ecx, edi
mov esi, 7
call fcn.100d9910
jmp 0x100f01b7
test esi, esi
je 0x100f01c4
mov eax, dword [edi + 0x20]
and eax, 0x8000000
or eax, 0
je 0x100f01d6
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + eax + 0xc]
or word [eax + 0x4e], 1
xor esi, esi
cmp dword [esp + 0x30], 0
je 0x100f0231
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp byte [eax + 9], 0
je 0x100f0202
inc dword [eax + 0xc]
cmp byte [eax + 0xa], 0
jne 0x100f0202
mov ecx, eax
call fcn.100a8990
mov eax, dword [esp + 0x14]
xor edx, edx
mov ecx, eax
call fcn.100ac940
test eax, eax
jne 0x100f021a
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.100acb50
mov eax, dword [esp + 0x14]
cmp byte [eax + 9], 0
je 0x100f0231
add dword [eax + 0xc], 0xffffffff
jne 0x100f0231
mov ecx, eax
call fcn.100a8950
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
cmp byte [ecx + 9], 0
je 0x100f0249
add dword [ecx + 0xc], 0xffffffff
jne 0x100f0249
call fcn.100a8950
test esi, esi
je 0x100f029f
cmp esi, 7
je 0x100f025a
cmp esi, 0xc0a
jne 0x100f0294
cmp byte [edi + 0x51], 0
jne 0x100f0294
cmp byte [edi + 0x52], 0
jne 0x100f0294
cmp dword [edi + 0xbc], 0
mov byte [edi + 0x51], 1
jle 0x100f027d
mov dword [edi + 0x108], 1
inc dword [edi + 0x110]
mov eax, dword [edi + 0xec]
test eax, eax
je 0x100f0294
mov dword [eax + 0xc], 7
mov edx, dword [esp + 0x18]
mov ecx, edi
call fcn.100d98b0
mov eax, esi
mov ecx, dword [esp + 0x8c]
mov byte [edi + 0xa5], 0
pop edi
pop esi
xor ecx, esp
call fcn.101afab5
mov esp, ebp
pop ebp
ret