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

Disassembly:
sub esp, 0x68
push ebx
mov ebx, dword [esp + 0x70]
xor eax, eax
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x2c], eax
push edi
mov edi, dword [ebx]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], eax
cmp dword [ebx + 0x24], eax
jne 0x10053a28
cmp byte [ebx + 0xd4], 1
jne 0x10052bd9
cmp byte [esp + 0xa4], 2
jne 0x10053a28
push ebx
call fcn.1006ec60
add esp, 4
test eax, eax
jne 0x10053a28
mov eax, dword [esp + 0x8c]
push eax
push ebx
mov dword [esp + 0x28], eax
call fcn.10061c00
add esp, 8
test eax, eax
jne 0x10053a28
cmp dword [esp + 0x88], ebp
je 0x10052cfd
mov esi, dword [esp + 0x84]
lea eax, [esp + 0x30]
push eax
push esi
push dword [esp + 0x88]
push ebx
call fcn.100775e0
mov edx, eax
add esp, 0x10
mov dword [esp + 0x1c], edx
test edx, edx
js 0x10053a28
cmp byte [edi + 0xb1], 0
jne 0x10052c7a
push dword [esp + 0x88]
push ebx
call fcn.10075500
mov edx, dword [esp + 0x24]
add esp, 8
cmp dword [esi + 4], ebp
jne 0x10052c7a
test eax, eax
je 0x10052c7a
mov ecx, dword [edi + 0x10]
mov esi, 1
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edx, esi
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x30]
push eax
push str.index
push edx
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.1005ce00
mov esi, dword [esp + 0x9c]
lea eax, [esp + 0x58]
push esi
push eax
call fcn.1005ce70
lea eax, [esi + 8]
push eax
push 0
push ebx
call fcn.100656d0
mov esi, eax
add esp, 0x28
mov dword [esp + 0x10], esi
test esi, esi
je 0x10053a28
mov edx, dword [esp + 0x1c]
cmp edx, 1
jne 0x10052ce8
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [esi + 0x3c]
je 0x10052ce8
push dword [esi]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebx
call fcn.10055e80
add esp, 0xc
jmp 0x10052f30
test byte [esi + 0x1c], 0x80
je 0x10052d3c
push esi
call fcn.1006e190
add esp, 4
mov dword [esp + 0x2c], eax
jmp 0x10052d3c
mov esi, dword [ebx + 0xf0]
mov dword [esp + 0x10], esi
test esi, esi
je 0x10053a28
mov ecx, dword [esi + 0x3c]
mov edx, 0xffff8000
mov dword [esp + 0x1c], edx
test ecx, ecx
je 0x10052d3c
mov eax, dword [edi + 0x10]
xor edx, edx
add eax, 0xc
mov dword [esp + 0x1c], edx
cmp dword [eax], ecx
je 0x10052d3c
nop
lea eax, [eax + 0x10]
inc edx
cmp dword [eax], ecx
jne 0x10052d30
mov dword [esp + 0x1c], edx
mov eax, dword [edi + 0x10]
mov ecx, edx
mov ebp, dword [esi]
mov edx, 7
shl ecx, 4
add eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x28], eax
test ebp, ebp
je 0x10052dd1
mov esi, ebp
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x10052d82
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x100b0f70]
cmp al, byte [ecx + 0x100b0f70]
jne 0x10052d82
inc esi
inc edi
test edx, edx
jg 0x10052d60
dec edx
test edx, edx
js 0x10052d9e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x100b0f70]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x100b0f70]
sub eax, ecx
jne 0x10052dc9
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x10052dcd
cmp dword [esp + 0x88], 0
je 0x10052dcd
push ebp
push str.table__s_may_not_be_indexed
push ebx
call fcn.10055e80
add esp, 0xc
jmp 0x10052f30
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov al, byte [esi + 0x2b]
cmp al, 2
jne 0x10052deb
push str.views_may_not_be_indexed
push ebx
call fcn.10055e80
add esp, 8
jmp 0x10052f30
cmp al, 1
jne 0x10052e02
push str.virtual_tables_may_not_be_indexed
push ebx
call fcn.10055e80
add esp, 8
jmp 0x10052f30
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10052fbb
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x10052fa4
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.10053d40
mov ebp, eax
add esp, 0xc
mov dword [esp + 0x18], ebp
test ebp, ebp
je 0x10052f1f
push esi
push edi
push ebp
call sub.VCRUNTIME140.dll_memcpy
push ebp
mov byte [esi + ebp], 0
call fcn.10054e80
mov ebp, dword [esp + 0x20]
push dword [ebp]
push str.index
push dword [esp + 0x30]
push ebx
call fcn.1004f650
add esp, 0x20
test eax, eax
jne 0x10053057
cmp byte [ebx + 0xd4], 2
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
jae 0x10052f12
cmp byte [edi + 0xb1], al
jne 0x10052ebf
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.1005c250
add esp, 0xc
test eax, eax
je 0x10052ebf
push dword [esp + 0x18]
push str.there_is_already_a_table_named__s
push ebx
call fcn.10055e80
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x10052f34
push dword [esi]
push dword [esp + 0x1c]
push edi
call fcn.1005c1a0
add esp, 0xc
test eax, eax
je 0x10052f12
cmp dword [esp + 0xa0], 0
jne 0x10052ef5
mov esi, dword [esp + 0x18]
push esi
push str.index__s_already_exists
push ebx
call fcn.10055e80
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x10052f34
push dword [esp + 0x1c]
push ebx
call fcn.10050d00
push ebx
call fcn.1005dfb0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [esp + 0x18], eax
jmp 0x10052f34
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
jmp 0x10052ffb
push ebp
call fcn.10054e80
add esp, 4
mov dword [esp + 0x18], ebp
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x10]
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
test edx, edx
je 0x10052f53
nop
cmp byte [edx + 0x36], 5
je 0x100539fb
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x10052f40
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x98]
test esi, esi
je 0x10052f70
push esi
push edi
call fcn.100597d0
add esp, 8
test ebx, ebx
je 0x10052f7e
push ebx
push edi
call fcn.1002abf0
add esp, 8
push dword [esp + 0x88]
push edi
call fcn.10074f30
add esp, 8
test ebp, ebp
je 0x10052f9c
push ebp
push edi
call fcn.10053c30
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret
push 0
call fcn.10054e80
add esp, 4
mov dword [esp + 0x18], 0
jmp 0x10052f2c
mov eax, dword [esi + 8]
mov ecx, 1
test eax, eax
je 0x10052fcf
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x10052fc7
push ecx
push ebp
push str.sqlite_autoindex__s__d
push edi
call fcn.10065ac0
add esp, 0x10
mov dword [esp + 0x18], eax
test eax, eax
je 0x10053053
cmp byte [ebx + 0xd4], 0
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
je 0x10052ffb
inc byte [eax + 7]
cmp byte [ebx + 0xd4], 2
jae 0x10053060
mov esi, dword [esi]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_master
push esi
push 0
cmove eax, ecx
push eax
push 0x12
push ebx
call fcn.1004a610
add esp, 0x14
test eax, eax
jne 0x10053057
cmp dword [esp + 0x1c], 1
push esi
mov esi, dword [esp + 0x14]
sete al
push dword [esi]
lea eax, [eax*2 + 1]
push dword [esp + 0x20]
push eax
push ebx
call fcn.1004a610
add esp, 0x14
test eax, eax
je 0x10053064
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
jmp 0x10052f34
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x8c]
test ebp, ebp
jne 0x1005312c
movsx ecx, word [esi + 0x22]
mov eax, dword [esi + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebp, dword [eax + ecx*8 - 0x10]
test ebp, ebp
jne 0x1005308e
xor esi, esi
jmp 0x100530a2
mov esi, ebp
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10053093
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.10053d40
mov edi, eax
add esp, 0xc
test edi, edi
je 0x100530f1
push 0x34
push 0
push edi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [edi], 0x3b
mov word [edi + 0x22], ax
add esp, 0xc
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
test esi, esi
je 0x100530e3
push esi
push ebp
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [ebx]
call fcn.1005a690
mov ebp, eax
add esp, 8
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x10053053
mov ecx, dword [esp + 0x9c]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [ebp]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [ebp + eax*4 - 4], bl
mov ebx, dword [esp + 0x7c]
jmp 0x10053156
mov ecx, dword [ebx]
mov eax, dword [ebp]
cmp eax, dword [ecx + 0x80]
jle 0x1005314c
push str.index
push str.too_many_columns_in__s
push ebx
call fcn.10055e80
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x10053053
mov esi, dword [ebp]
test esi, esi
jle 0x10053195
lea edx, [ebp + 8]
xor ebx, ebx
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x10053185
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x10053182
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053173
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x10053162
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x18]
mov eax, ebp
add eax, 8
mov dword [esp + 0x24], eax
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100531a5
mov eax, dword [esp + 0x2c]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x100531c2
movzx ecx, word [eax + 0x32]
jmp 0x100531c7
mov ecx, 1
lea eax, [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
inc eax
add eax, esi
push eax
mov ax, word [ebp]
mov ebp, dword [esp + 0x1c]
add ax, cx
movzx eax, ax
push eax
push ebp
call fcn.10048890
add esp, 0x10
mov edi, eax
cmp byte [ebp + 0x57], 0
jne 0x100534a5
mov ecx, dword [esp + 0x38]
mov dword [edi], ecx
lea eax, [ecx + 1]
add eax, esi
mov dword [esp + 0x38], eax
lea eax, [esi + 1]
push eax
push dword [esp + 0x1c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x9c]
add esp, 0xc
movzx esi, byte [esp + 0xa4]
mov edx, dword [esp + 0x10]
and esi, 3
mov byte [edi + 0x36], al
neg eax
mov dword [edi + 0xc], edx
sbb ecx, ecx
mov dword [esp + 0x40], esi
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
or ecx, eax
and ecx, 0xfffffffc
or ecx, esi
mov esi, dword [esp + 0x98]
mov dword [edi + 0x38], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov eax, dword [eax + ecx + 0xc]
mov dword [edi + 0x18], eax
movzx eax, word [ebp]
mov word [edi + 0x32], ax
mov ecx, eax
test esi, esi
je 0x10053299
push 0
push esi
push 2
push edx
push ebx
call fcn.1006fd20
movzx eax, word [edi + 0x32]
add esp, 0x14
mov dword [edi + 0x24], esi
mov ecx, eax
mov dword [esp + 0x98], 0
cmp byte [ebx + 0xd4], 2
movzx edx, ax
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x8c], al
jb 0x100532c1
mov dword [edi + 0x28], ebp
mov dword [esp + 0x20], 0
mov eax, edx
xor ebp, ebp
xor edx, edx
mov dword [esp + 0x28], ebp
cmp dx, cx
jae 0x10053551
mov esi, dword [esp + 0x24]
mov eax, dword [esi]
mov cl, byte [eax]
cmp cl, 0x75
je 0x100532ee
cmp cl, 0x71
jne 0x100532f1
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x100532f1
mov byte [eax], 0x3b
push 0
push dword [esi]
push 0x20
push dword [esp + 0x1c]
push ebx
call fcn.1006fd20
add esp, 0x14
cmp dword [ebx + 0x24], 0
jne 0x100534a1
mov eax, dword [esi]
test eax, eax
je 0x10053324
test dword [eax + 4], 0x2000
je 0x10053324
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10053314
cmp byte [eax], 0xa7
je 0x10053373
mov edx, dword [esp + 0x10]
cmp edx, dword [ebx + 0xf0]
je 0x100535a8
cmp dword [edi + 0x28], 0
jne 0x1005334e
mov eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov ebx, ecx
mov word [eax + ebp*2], bx
mov eax, dword [edi + 0x38]
mov ebx, dword [esp + 0x7c]
and eax, 0xfffffff7
or eax, 0x800
add edx, 4
mov dword [edi + 0x38], eax
jmp 0x100533bb
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x10053388
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x20]
lea edx, [eax + 4]
jmp 0x100533b4
mov edx, dword [esp + 0x10]
mov esi, ecx
add edx, 4
add esi, esi
mov eax, dword [edx]
test byte [eax + esi*8 + 4], 0xf
jne 0x100533a0
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [edx]
test byte [eax + esi*8 + 0xe], 0x20
mov esi, dword [esp + 0x24]
je 0x100533b4
or dword [edi + 0x38], 0xc00
mov eax, dword [edi + 4]
mov word [eax + ebp*2], cx
mov eax, dword [esi]
cmp byte [eax], 0x71
jne 0x100533fe
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x100533cd
xor esi, esi
jmp 0x100533e1
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x100533d2
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x38]
inc esi
push esi
push ecx
push ebp
call sub.VCRUNTIME140.dll_memcpy
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x38], eax
jmp 0x10053439
test ecx, ecx
js 0x1005343d
shl ecx, 4
add ecx, dword [edx]
movzx edx, word [ecx + 0xe]
test edx, 0x200
je 0x1005343d
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x10053426
nop word [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x10053420
test dl, 4
je 0x10053436
nop dword [eax + eax]
inc eax
cmp byte [eax], 0
jne 0x10053430
lea ebp, [eax + 1]
test ebp, ebp
jne 0x10053442
mov ebp, 0x100b1084
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x10053512
mov ecx, dword [ebx]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x34], al
mov esi, dword [esp + 0x34]
movzx eax, bl
push eax
push ebp
push esi
push ecx
call fcn.1005b470
add esp, 0x10
test bl, bl
jne 0x10053499
test eax, eax
je 0x10053487
cmp dword [eax + 0xc], 0
jne 0x1005350a
mov ebx, dword [esp + 0x7c]
push ebp
push eax
push esi
push ebx
call fcn.10060d30
add esp, 0x10
jmp 0x1005349d
mov ebx, dword [esp + 0x7c]
test eax, eax
jne 0x1005350e
mov ebp, dword [esp + 0x14]
test edi, edi
je 0x10052f2c
mov eax, dword [edi + 0x24]
test eax, eax
je 0x100534be
push eax
push ebp
call fcn.100597d0
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x100534cf
push eax
push ebp
call fcn.1002abf0
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x100534e0
push eax
push ebp
call fcn.10053c30
add esp, 8
test byte [edi + 0x38], 0x10
je 0x100534f7
mov eax, dword [edi + 0x20]
test eax, eax
je 0x100534f7
push eax
push ebp
call fcn.10053c30
add esp, 8
push edi
mov edi, dword [esp + 0x18]
push edi
call fcn.10053c30
add esp, 8
jmp 0x10052f30
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [eax + ecx*4], ebp
xor eax, eax
movzx ecx, byte [esi + 8]
cmp byte [esp + 0x8c], 4
mov ebp, dword [esp + 0x28]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add esi, 0x14
mov dword [esp + 0x24], esi
mov byte [eax + ebp], cl
inc ebp
movzx eax, word [edi + 0x32]
mov dword [esp + 0x28], ebp
mov ecx, eax
cmp ebp, eax
jl 0x100532d8
mov edx, dword [esp + 0x2c]
movzx eax, ax
test edx, edx
je 0x100535f8
xor ecx, ecx
xor esi, esi
cmp cx, word [edx + 0x32]
jae 0x1005360c
mov ebx, dword [esp + 0x28]
mov ecx, eax
mov eax, dword [edx + 4]
push esi
movzx ecx, cx
push edx
movzx eax, word [eax + esi*2]
mov ebp, ecx
push ecx
push edi
mov dword [esp + 0x9c], eax
call fcn.10033640
mov edx, dword [esp + 0x3c]
add esp, 0x10
test eax, eax
je 0x100535bb
mov eax, 0xffff
add word [edi + 0x34], ax
mov eax, ebp
jmp 0x100535e6
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebx
call fcn.10055e80
add esp, 8
jmp 0x100534a1
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x8c]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebx*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ebx + ecx], al
inc ebx
movzx eax, word [edi + 0x32]
movzx ecx, ax
inc esi
movzx eax, word [edx + 0x32]
cmp esi, eax
jl 0x10053574
mov ebx, dword [esp + 0x7c]
jmp 0x1005360c
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + ebp*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + ebp*4], 0x100b1084
push edi
call fcn.100541b0
add esp, 4
cmp dword [ebx + 0xf0], 0
jne 0x10053627
push edi
call fcn.10027850
add esp, 4
push edi
call fcn.10040f80
add esp, 4
cmp dword [esp + 0x88], 0
je 0x10053689
mov ecx, dword [esp + 0x10]
movzx esi, word [edi + 0x34]
movsx eax, word [ecx + 0x22]
cmp esi, eax
jl 0x10053689
or dword [edi + 0x38], 0x20
xor edx, edx
movsx ebp, word [ecx + 0x22]
test ebp, ebp
jle 0x10053689
movsx eax, word [ecx + 0x20]
mov dword [esp + 0x8c], eax
cmp edx, eax
je 0x1005379c
xor eax, eax
test esi, esi
je 0x10053685
mov ecx, dword [edi + 4]
cmp dx, word [ecx]
je 0x10053789
inc eax
add ecx, 2
cmp eax, esi
jl 0x10053674
and dword [edi + 0x38], 0xffffffdf
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebx + 0xf0]
jne 0x10053723
mov ebp, dword [ecx + 8]
test ebp, ebp
je 0x10053723
movzx ecx, word [edi + 0x32]
nop dword [eax + eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x10053714
mov ecx, eax
xor ebx, ebx
mov dword [esp + 0x8c], ecx
test ecx, ecx
je 0x10053708
mov eax, dword [ebp + 4]
mov esi, dword [edi + 4]
sub eax, esi
mov dword [esp + 0x38], eax
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x10053708
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.100762a0
mov ecx, dword [esp + 0x94]
add esp, 8
test eax, eax
jne 0x10053708
mov eax, dword [esp + 0x38]
inc ebx
add esi, 2
cmp ebx, ecx
jl 0x100536d4
cmp ebx, ecx
je 0x100537aa
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x100536b0
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x10]
cmp byte [ebx + 0xd4], 2
mov ebp, dword [esp + 0x14]
jae 0x100539b5
cmp byte [ebp + 0xb1], 0
je 0x10053842
cmp dword [esp + 0x88], 0
je 0x10053815
mov eax, dword [ebp + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.10062560
add esp, 4
test eax, eax
je 0x10053815
push str.invalid_rootpage
push ebx
call fcn.10055e80
push 0x1d903
call fcn.100523f0
add esp, 0xc
mov dword [ebx + 0xc], eax
jmp 0x100534a5
movzx eax, ax
test ax, ax
js 0x10053685
mov eax, dword [esp + 0x8c]
inc edx
cmp edx, ebp
jl 0x10053663
jmp 0x10053689
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0x7c]
cmp al, cl
je 0x100537dd
cmp al, 0xb
je 0x100537d1
cmp cl, 0xb
je 0x100537d1
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.10055e80
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x100537dd
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0xa4], 2
jne 0x100537f4
mov eax, dword [ebp + 0x38]
and eax, 0xfffffffc
or eax, dword [esp + 0x40]
mov dword [ebp + 0x38], eax
cmp byte [esi + 0xd4], 2
jb 0x100534a1
mov eax, dword [esi + 0xf4]
mov dword [edi + 0x14], eax
mov dword [esi + 0xf4], edi
jmp 0x10052f2c
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.10061d50
add esp, 0xc
test eax, eax
je 0x10053839
push ebp
call fcn.100664c0
add esp, 4
jmp 0x100534a5
or dword [ebp + 0x18], 1
jmp 0x100539b5
test byte [ecx + 0x1c], 0x80
je 0x10053857
mov eax, dword [esp + 0x88]
test eax, eax
je 0x100539bc
inc dword [ebx + 0x2c]
mov esi, dword [ebx + 8]
mov ebp, dword [ebx + 0x2c]
mov dword [esp + 0x7c], ebp
test esi, esi
jne 0x1005388c
cmp dword [ebx + 0x78], esi
jne 0x10053879
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x10053879
mov byte [ebx + 0x17], 1
push ebx
call fcn.1007aff0
mov esi, eax
add esp, 4
test esi, esi
je 0x100534a1
push dword [esp + 0x1c]
push 1
push ebx
call fcn.1004b0d0
push 0xb8
push esi
call fcn.1007a910
push 2
push ebp
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.1007aa20
add esp, 0x28
cmp dword [esp + 0x94], 0
je 0x10053912
mov edx, dword [ebx + 0xcc]
add edx, dword [ebx + 0xc8]
mov eax, dword [esp + 0x30]
mov ecx, edx
mov eax, dword [eax]
sub ecx, eax
cmp byte [edx - 1], 0x3b
push eax
lea eax, [ecx - 1]
cmovne eax, ecx
cmp dword [esp + 0x94], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x100b342a
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.10065ac0
add esp, 0x14
mov ebp, eax
jmp 0x10053914
xor ebp, ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x3c]
push ebp
push dword [esp + 0x80]
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebx
call fcn.10066290
add esp, 0x1c
test ebp, ebp
je 0x10053954
push ebp
mov ebp, dword [esp + 0x18]
push ebp
call fcn.10053c30
add esp, 8
jmp 0x10053958
mov ebp, dword [esp + 0x14]
cmp dword [esp + 0x88], 0
je 0x100539a9
push dword [esp + 0x7c]
push edi
push ebx
call fcn.1006eea0
push dword [esp + 0x28]
push ebx
call fcn.1004f5e0
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebp
call fcn.10065ac0
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.1007ac40
push 1
push 0
push 0xa6
push esi
call fcn.1007a9c0
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.10084d50
add esp, 8
mov eax, dword [esp + 0x88]
cmp byte [ebp + 0xb1], 0
jne 0x100539e1
test eax, eax
je 0x100539e1
cmp byte [ebx + 0xd4], 2
jb 0x100534a5
mov dword [ebx + 0xf4], edi
jmp 0x10052f2c
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ebp + 8], edi
mov edi, dword [esp + 0x14]
jmp 0x10052f34
mov eax, dword [edx + 0x14]
test eax, eax
je 0x10052f53
cmp byte [eax + 0x36], 5
je 0x10052f53
mov dword [ecx], eax
lea ecx, [eax + 0x14]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov dword [ecx], edx
mov eax, dword [edx + 0x14]
test eax, eax
jne 0x10053a06
jmp 0x10052f53
mov ebx, dword [esp + 0x8c]
jmp 0x10052f5b