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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
mov dword [ebp - 4], esi
jne 0x10095c91
test eax, eax
je 0x100964bd
push edi
mov edi, dword [ebx + 0xf4]
test edi, edi
je 0x100964bc
test eax, eax
jne 0x10095cbd
push dword [edi]
push esi
call fcn.100c24d0
add esp, 8
test eax, eax
mov eax, dword [ebp + 0x18]
je 0x10095cbd
or dword [edi + 0x1c], 0x1000
cmp byte [esi + 0xb1], 0
je 0x10095cec
test eax, eax
jne 0x10095dab
cmp byte [edi + 0x2b], al
je 0x10095d91
cmp dword [esi + 0xac], eax
jne 0x10095dab
mov eax, dword [esi + 0xac]
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0x14]
test eax, 0x10000
je 0x10095d69
or dword [edi + 0x1c], 0x10000
xor ecx, ecx
xor edx, edx
cmp cx, word [edi + 0x22]
jge 0x10095d69
mov dword [ebp - 0x10], ecx
nop word [eax + eax]
mov esi, dword [edi + 4]
add esi, ecx
mov ecx, dword [esi + 4]
mov eax, ecx
and eax, 0xf0
je 0x10095dc0
cmp eax, 0x10
jne 0x10095d2e
mov byte [esi + 8], 0x41
test byte [esi + 0xe], 1
je 0x10095d51
movsx eax, word [edi + 0x20]
cmp eax, edx
je 0x10095d51
test cl, 0xf
jne 0x10095d51
and ecx, 0xfffffff2
or ecx, 2
mov dword [esi + 4], ecx
or dword [edi + 0x1c], 0x800
mov ecx, dword [ebp - 0x10]
inc edx
movsx eax, word [edi + 0x22]
add ecx, 0x10
mov dword [ebp - 0x10], ecx
cmp edx, eax
jl 0x10095d10
mov esi, dword [ebp - 4]
mov eax, dword [ebp + 0x14]
test al, al
jns 0x10095e31
mov eax, dword [edi + 0x1c]
test al, 8
je 0x10095e04
push str.AUTOINCREMENT_not_allowed_on_WITHOUT_ROWID_tables
push ebx
call fcn.10096580
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0xac]
mov dword [edi + 0x14], eax
cmp eax, 1
jne 0x10095cec
or dword [edi + 0x1c], eax
jmp 0x10095cec
push 0x1011418b
push ebx
call fcn.10096580
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0xe], 4
je 0x10095deb
push 0x1011418b
push esi
call fcn.10091380
push eax
push dword [esi]
push dword [edi]
push str.unknown_datatype_for__s._s:___s_
push ebx
call fcn.10096580
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esi]
push dword [edi]
push str.missing_datatype_for__s._s
push ebx
call fcn.10096580
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, 4
jne 0x10095e1f
push dword [edi]
push str.PRIMARY_KEY_missing_on_table__s
push ebx
call fcn.10096580
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0x280
push edi
push ebx
mov dword [edi + 0x1c], eax
call fcn.1002fef0
add esp, 8
mov ecx, dword [edi + 0x3c]
mov dword [ebp - 0xc], 0xffff8000
test ecx, ecx
je 0x10095e5b
mov eax, dword [esi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [ebp - 0xc], edx
cmp dword [eax], ecx
je 0x10095e5b
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10095e50
mov dword [ebp - 0xc], edx
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10095e8f
push eax
push 0
push 4
push edi
push ebx
call fcn.100bd820
add esp, 0x14
cmp dword [ebx + 0x24], 0
je 0x10095e8f
mov eax, dword [edi + 0x10]
test eax, eax
je 0x10095e88
push eax
push esi
call fcn.10035930
add esp, 8
mov dword [edi + 0x10], 0
test byte [edi + 0x1c], 0x60
je 0x10095f89
xor edx, edx
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
cmp ax, word [edi + 0x22]
jge 0x10095f6e
xor ecx, ecx
mov dword [ebp - 8], ecx
mov eax, dword [edi + 4]
test byte [ecx + eax + 0xe], 0x60
je 0x10095f83
movzx eax, word [ecx + eax + 0xc]
test ax, ax
jne 0x10095ece
xor eax, eax
jmp 0x10095ef2
cmp byte [edi + 0x2b], 0
je 0x10095ed8
xor eax, eax
jmp 0x10095ef2
mov ecx, dword [edi + 0x34]
test ecx, ecx
jne 0x10095ee3
xor eax, eax
jmp 0x10095ef2
cmp dword [ecx], eax
jge 0x10095eeb
xor eax, eax
jmp 0x10095ef2
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0xc]
push 0
push eax
push 8
push edi
push ebx
call fcn.100bd820
add esp, 0x14
test eax, eax
je 0x10095f48
push 0
push 0x34
push esi
call fcn.10093fb0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10095f36
push 0x34
push 0
push esi
call fcn.100fc010
add esp, 0xc
mov byte [esi], 0x79
or eax, 0xffffffff
mov dword [esi + 0x18], 1
mov word [esi + 0x22], ax
mov eax, dword [edi + 4]
add eax, dword [ebp - 8]
push esi
push eax
push edi
push ebx
call fcn.100912a0
add esp, 0x10
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0x14]
add ecx, 0x10
movsx eax, word [edi + 0x22]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, eax
mov esi, dword [ebp - 4]
mov dword [ebp - 8], ecx
jl 0x10095eb2
test edx, edx
jne 0x10095f89
push str.must_have_at_least_one_non_generated_column
push ebx
call fcn.10096580
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edx
mov dword [ebp - 0x10], edx
jmp 0x10095f4e
movsx edx, word [edi + 0x22]
xor eax, eax
mov ecx, dword [edi + 4]
xor esi, esi
mov dword [ebp - 0x10], eax
cmp edx, 2
jl 0x10095fce
movsx ebx, word [edi + 0x22]
add edx, 0xfffffffe
shr edx, 1
inc edx
mov eax, edx
neg eax
lea ebx, [ebx + eax*2]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
movzx eax, byte [ecx + 9]
add esi, eax
movzx eax, byte [ecx + 0x19]
add dword [ebp - 0x10], eax
add ecx, 0x20
sub edx, 1
jne 0x10095fb3
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
test edx, edx
jle 0x10095fd8
movzx ecx, byte [ecx + 9]
jmp 0x10095fda
xor ecx, ecx
add eax, esi
add eax, ecx
cmp word [edi + 0x20], 0
push 0
lea ecx, [eax + 1]
cmovge ecx, eax
shl ecx, 2
push ecx
call fcn.100b3490
mov esi, dword [edi + 8]
add esp, 8
mov word [edi + 0x28], ax
test esi, esi
je 0x10096012
push esi
call fcn.10032560
mov esi, dword [esi + 0x14]
add esp, 4
test esi, esi
jne 0x10096002
mov esi, dword [ebp - 4]
mov al, byte [esi + 0xb1]
test al, al
jne 0x1009642c
mov esi, dword [ebx + 8]
mov dword [ebp - 8], esi
test esi, esi
jne 0x10096054
cmp dword [ebx + 0x78], esi
jne 0x1009603e
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x1009603e
mov byte [ebx + 0x17], 1
push ebx
call fcn.100c9120
mov esi, eax
mov dword [ebp - 8], eax
add esp, 4
test esi, esi
je 0x100964bc
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x1009606f
push 0
push 0
push 0
push 0x7a
push esi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100960a2
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x7a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov al, byte [edi + 0x2b]
mov edx, str.TABLE
test al, al
mov ecx, str.VIEW
cmove ecx, edx
mov edx, str.table
mov dword [ebp - 0x1c], ecx
mov ecx, str.view
cmove ecx, edx
cmp dword [ebp + 0x18], 0
mov dword [ebp - 0x20], ecx
je 0x100962f4
cmp byte [ebx + 0xd8], 0
je 0x100960eb
inc dword [ebx + 0x24]
pop edi
pop esi
mov dword [ebx + 0xc], 1
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x2c]
mov ecx, ebx
inc eax
mov dword [ebp - 0x10], eax
inc eax
mov dword [ebp - 0x18], eax
inc eax
mov dword [ebx + 0x2c], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x78]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
mov ecx, dword [esi + 0x6c]
mov edx, dword [ebx + 0x60]
cmp dword [esi + 0x70], ecx
jg 0x10096129
push dword [ebp - 0xc]
push edx
push 1
push 0x71
push esi
call fcn.1006b1b0
add esp, 0x14
jmp 0x1009615a
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4], 0x71
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x6c]
test eax, eax
jle 0x10096171
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [esi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov dword [ebx + 0x28], 2
mov eax, dword [esi + 0x6c]
mov dword [ebp - 0x1c], eax
lea edx, [eax + 1]
cmp dword [esi + 0x70], eax
jg 0x10096199
push edx
push 0
push dword [ebp - 0x10]
push 0xb
push esi
call fcn.1006b1b0
add esp, 0x14
jmp 0x100961c7
lea ecx, [eax + eax*4]
mov dword [esi + 0x6c], edx
mov eax, dword [esi + 0x68]
mov esi, dword [ebp - 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [ebp - 8]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [ebx + 0x24], 0
jne 0x100964bc
push 0x41
push dword [ebp + 0x18]
push ebx
call fcn.100bd8e0
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100964bc
movzx ecx, word [edx + 0x22]
xor eax, eax
mov word [edi + 0x24], cx
mov word [edi + 0x22], cx
mov ecx, dword [edx + 4]
mov dword [edi + 4], ecx
mov word [edx + 0x22], ax
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x210], 0
jne 0x10096216
add dword [edx + 0x18], 0xffffffff
jne 0x10096220
push edx
push eax
call fcn.10031760
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0x18]
mov byte [ebp - 0x3c], 0xd
push ebx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
call fcn.100bf060
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x100964bc
push dword [ebp - 0x10]
push esi
call fcn.100c9600
push dword [ebp - 0x1c]
push esi
call fcn.100d2c10
push dword [ebp - 0x38]
push 0xc
push esi
call fcn.100c8700
push dword [ebp - 0x18]
mov esi, eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push 0x61
push dword [ebp - 8]
call fcn.100c87c0
push 0
push edi
push dword [ebp - 8]
call fcn.100c3f10
push dword [ebp - 0x14]
push 1
push 0x7f
push dword [ebp - 8]
call fcn.100c8760
add esp, 0x4c
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 1
push 0x80
push dword [ebp - 8]
call fcn.100c87c0
push esi
push dword [ebp - 8]
call fcn.100d2550
push esi
mov esi, dword [ebp - 8]
push esi
call fcn.100d2c10
push 1
push 0x7a
push esi
call fcn.100c8700
push edi
push dword [ebp - 4]
call fcn.10030a10
mov ecx, eax
add esp, 0x38
mov dword [ebp - 0x18], ecx
jmp 0x10096334
cmp dword [ebp + 0x14], 0
lea edx, [ebx + 0xcc]
jne 0x10096303
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, eax
sub ecx, dword [ebx + 0xc4]
cmp byte [eax], 0x3b
je 0x10096315
add ecx, dword [edx + 4]
push dword [ebx + 0xc4]
push ecx
push dword [ebp - 0x1c]
push str.CREATE__s__.s
push dword [ebp - 4]
call fcn.100b3700
add esp, 0x14
mov dword [ebp - 0x18], eax
mov ecx, eax
push dword [ebx + 0x5c]
mov eax, dword [edi]
mov edx, dword [ebp - 0xc]
push ecx
push dword [ebx + 0x60]
shl edx, 4
push eax
push eax
mov eax, dword [ebp - 4]
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x10]
push dword [edx + eax]
push str.UPDATE__Q.sqlite_master_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push ebx
call fcn.100b3f90
mov edx, dword [ebp - 0x18]
add esp, 0x24
test edx, edx
je 0x100963c1
mov ecx, dword [ebp - 4]
cmp edx, dword [ecx + 0x164]
jae 0x100963a4
cmp edx, dword [ecx + 0x15c]
jb 0x1009638c
mov eax, dword [ecx + 0x158]
mov dword [edx], eax
mov dword [ecx + 0x158], edx
jmp 0x100963c1
cmp edx, dword [ecx + 0x160]
jb 0x100963a4
mov eax, dword [ecx + 0x150]
mov dword [edx], eax
mov dword [ecx + 0x150], edx
jmp 0x100963c1
cmp dword [ecx + 0x210], 0
push edx
je 0x100963b9
push ecx
call fcn.10071700
add esp, 8
jmp 0x100963c1
call sym.e_sqlite3.dll_sqlite3_free
add esp, 4
push dword [ebp - 0xc]
push ebx
call fcn.1008f400
add esp, 8
test byte [edi + 0x1c], 8
je 0x100963fe
cmp byte [ebx + 0xd8], 0
jne 0x100963fe
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x100963fe
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push ebx
call fcn.100b3f90
add esp, 0xc
push 0
push dword [edi]
push str.tbl_name_q_AND_type_trigger
push dword [ebp - 4]
call fcn.100b3700
add esp, 0xc
push eax
push dword [ebp - 0xc]
push esi
call fcn.100c8a50
mov esi, dword [ebp - 4]
add esp, 0x10
mov al, byte [esi + 0xb1]
test al, al
je 0x10096496
mov eax, dword [edi + 0x3c]
push edi
push dword [edi]
add eax, 8
push eax
call fcn.100af7d0
add esp, 0xc
test eax, eax
je 0x10096452
push esi
call fcn.100b41c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebx + 0xf4], 0
mov ecx, str.sqlite_sequence
or dword [esi + 0x18], 1
mov eax, dword [edi]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10096487
test dl, dl
je 0x10096483
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10096487
add eax, 2
add ecx, 2
test dl, dl
jne 0x10096467
xor eax, eax
jmp 0x1009648c
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10096496
mov eax, dword [edi + 0x3c]
mov dword [eax + 0x48], edi
cmp dword [ebp + 0x18], 0
jne 0x100964bc
cmp byte [edi + 0x2b], 0
jne 0x100964bc
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
test eax, eax
jne 0x100964b0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
sub eax, dword [ebx + 0xc4]
add eax, 0xd
mov dword [edi + 0x2c], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret