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

Disassembly:
sub esp, 0x54
mov eax, dword [esp + 0x58]
mov eax, dword [eax]
xor ecx, ecx
push ebx
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x38], ecx
cmp byte [eax + 0x40], cl
jne 0x100d84a9
mov ecx, dword [esp + 0x68]
cmp byte [ecx + 0x1e2], 0
jne 0x100d84a9
mov esi, eax
cmp byte [esi + 0x89], 0
mov edi, ecx
jne 0x100d7ec1
lea edx, [edi + 4]
push edx
call fcn.100ea520
add esp, 4
test eax, eax
je 0x100d7ec1
inc dword [edi + 0x44]
mov dword [edi + 0xc], eax
jmp 0x100d84a9
cmp dword [esp + 0x74], 0
je 0x100d7fa2
mov edx, dword [esp + 0x6c]
push edi
lea ecx, [esp + 0x30]
mov eax, ebp
call fcn.100d4d80
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
jl 0x100d84a9
cmp byte [esi + 0x89], 0
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x68]
jne 0x100d7f20
mov eax, edi
call fcn.100da970
cmp dword [ebp + 4], 0
jne 0x100d7f20
test eax, eax
je 0x100d7f20
mov ecx, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [ecx + 0x1c]
jne 0x100d7f20
mov dword [esp + 0x1c], 1
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x1c]
push eax
push str.index
mov ecx, ebx
lea eax, [esp + 0x50]
call fcn.100d3140
mov ecx, eax
push edi
push ecx
call fcn.100d3180
add edi, 8
push edi
push 0
mov eax, ebx
call fcn.100d3fd0
add esp, 0x18
mov dword [esp + 0x14], eax
test eax, eax
je 0x100d84a9
mov edi, dword [esp + 0x18]
mov edx, esi
mov ebx, eax
cmp edx, 1
jne 0x100d7f8f
mov eax, dword [edi + 0x10]
mov ecx, dword [eax + 0x1c]
cmp ecx, dword [ebx + 0x44]
je 0x100d7f8f
mov edx, dword [ebx]
mov edi, dword [esp + 0x68]
push edx
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
call fcn.100a2b40
add esp, 8
jmp 0x100d84a9
test byte [ebx + 0x2c], 0x20
je 0x100d7fca
mov eax, ebx
call fcn.100d4e60
mov dword [esp + 0x38], eax
jmp 0x100d7fca
mov edi, dword [edi + 0x204]
mov dword [esp + 0x14], edi
test edi, edi
je 0x100d84a9
mov ebx, edi
mov edi, dword [esp + 0x18]
mov esi, dword [ebx + 0x44]
mov ecx, edi
call fcn.100ea880
mov edx, eax
mov dword [esp + 0x1c], edx
mov ebp, dword [edi + 0x10]
mov esi, dword [ebx]
mov eax, edx
shl eax, 4
push 7
add ebp, eax
push str.sqlite_
push esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
call fcn.100a2c80
add esp, 0xc
test eax, eax
jne 0x100d8020
push 9
lea eax, [esi + 7]
push str.altertab_
push eax
call fcn.100a2c80
add esp, 0xc
test eax, eax
je 0x100d8020
mov edi, dword [esp + 0x68]
push esi
push str.table__s_may_not_be_indexed
call fcn.100a2b40
add esp, 8
jmp 0x100d84a9
cmp dword [ebx + 0xc], 0
je 0x100d803c
mov edi, dword [esp + 0x68]
push str.views_may_not_be_indexed
call fcn.100a2b40
add esp, 4
jmp 0x100d84a9
test byte [ebx + 0x2c], 0x10
je 0x100d8058
mov edi, dword [esp + 0x68]
push str.virtual_tables_may_not_be_indexed
call fcn.100a2b40
add esp, 4
jmp 0x100d84a9
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100d8108
push edi
call fcn.100d4c40
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
je 0x100d84a9
mov esi, eax
mov eax, dword [esp + 0x68]
call fcn.100d4e10
test eax, eax
jne 0x100d84a9
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x89], al
jne 0x100d80be
push eax
push esi
push edi
call fcn.100d3e40
add esp, 0xc
test eax, eax
je 0x100d80be
mov edi, dword [esp + 0x68]
push esi
push str.there_is_already_a_table_named__s
call fcn.100a2b40
add esp, 8
jmp 0x100d84a9
mov ecx, dword [ebp]
push ecx
push esi
mov ecx, edi
call fcn.100d4030
add esp, 8
test eax, eax
je 0x100d8139
cmp dword [esp + 0x8c], 0
jne 0x100d80f2
mov edi, dword [esp + 0x68]
push esi
push str.index__s_already_exists
call fcn.100a2b40
add esp, 8
jmp 0x100d84a9
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x68]
push edx
call fcn.100d9810
add esp, 4
jmp 0x100d84a9
mov eax, dword [ebx + 8]
mov ecx, 1
test eax, eax
je 0x100d811c
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x100d8114
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, edi
call fcn.100a2050
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x100d84a9
cmp dword [esp + 0x1c], 1
mov esi, dword [ebp]
mov eax, str.sqlite_temp_master
je 0x100d814d
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x74]
push 0x12
call fcn.100d3700
add esp, 0x10
test eax, eax
jne 0x100d84a9
mov eax, 1
cmp dword [esp + 0x1c], eax
jne 0x100d8177
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x20]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x78]
call fcn.100d3700
add esp, 0x10
test eax, eax
jne 0x100d84a9
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x100d81f2
mov eax, dword [esp + 0x68]
push ecx
call fcn.100cbcf0
add esp, 4
mov dword [esp + 0x78], eax
test eax, eax
je 0x100d84a9
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x26]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ecx, dword [esp + 0x68]
mov ecx, dword [ecx]
mov ebx, dword [eax + edx*8 - 0x18]
push ecx
call fcn.100a0e70
mov ecx, dword [esp + 0x7c]
mov edx, dword [ecx + 8]
mov dword [edx + 4], eax
mov eax, dword [ecx + 8]
mov dl, byte [esp + 0x8c]
add esp, 4
mov byte [eax + 0xc], dl
mov eax, dword [ecx]
test eax, eax
jle 0x100d821f
mov edx, dword [ecx + 8]
mov edi, dword [esp + 0x34]
mov esi, eax
mov eax, dword [edx]
test eax, eax
je 0x100d8213
mov ecx, dword [eax + 8]
call fcn.100a2ab0
lea edi, [edi + eax + 1]
add edx, 0x18
sub esi, 1
jne 0x100d8201
mov dword [esp + 0x34], edi
mov ecx, dword [esp + 0x20]
call fcn.100a2ab0
mov ebx, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100d8238
movzx eax, word [eax + 0x32]
jmp 0x100d823d
mov eax, 1
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x78]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [ebx + edx + 1]
mov dx, word [edi]
add dx, ax
movzx eax, dx
push eax
mov edx, esi
call fcn.100d7dc0
add esp, 8
cmp byte [esi + 0x40], 0
mov ebp, eax
jne 0x100d849a
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea ecx, [eax + ebx + 1]
inc ebx
push ebx
push edx
push eax
mov dword [ebp], eax
mov dword [esp + 0x30], ecx
call fcn.101162d0
mov ecx, dword [esp + 0x88]
xor edx, edx
add esp, 0xc
test ecx, ecx
setne dl
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x36], cl
xor ecx, ecx
mov dword [ebp + 0xc], eax
and edx, 1
add edx, edx
add edx, edx
add edx, edx
cmp dword [esp + 0x2c], ecx
sete cl
and ecx, 3
or edx, ecx
mov ecx, dword [ebp + 0x38]
and ecx, 0xfffffff4
or edx, ecx
mov ecx, dword [esp + 0x40]
mov dword [ebp + 0x38], edx
mov edx, dword [esi + 0x10]
mov edx, dword [edx + ecx + 0xc]
mov esi, dword [esp + 0x84]
mov dword [ebp + 0x18], edx
mov cx, word [edi]
mov word [ebp + 0x32], cx
test esi, esi
je 0x100d8307
mov edx, dword [esp + 0x68]
push esi
push 0x10
push edx
xor ebx, ebx
call fcn.100ca6d0
add esp, 0xc
mov dword [ebp + 0x24], esi
mov dword [esp + 0x84], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0xc]
cmp byte [ecx + 0x4c], 4
sbb eax, eax
neg eax
dec eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x78]
mov edx, dword [eax + 8]
xor edi, edi
cmp dword [eax], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x28], edx
jle 0x100d842c
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 4]
movsx eax, word [edi + 0x26]
mov esi, dword [edi + 4]
xor ebx, ebx
mov dword [esp + 0x3c], ecx
test eax, eax
jle 0x100d8370
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
push edx
push eax
call fcn.100a2c30
add esp, 8
test eax, eax
je 0x100d8370
movsx ecx, word [edi + 0x26]
inc ebx
add esi, 0x18
cmp ebx, ecx
jl 0x100d8350
movsx eax, word [edi + 0x26]
cmp ebx, eax
jge 0x100d847d
mov eax, dword [esp + 0x34]
mov edx, dword [ebp + 4]
mov ecx, dword [esp + 0x28]
mov word [edx + eax*2], bx
mov eax, dword [ecx]
test eax, eax
je 0x100d83b1
mov ecx, dword [eax + 8]
call fcn.100a2ab0
mov esi, dword [esp + 0x24]
mov edi, eax
inc edi
push edi
push ecx
push esi
call fcn.101162d0
add esp, 0xc
add dword [esp + 0x24], edi
jmp 0x100d83c8
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
lea edx, [ebx + ebx*2]
mov esi, dword [ecx + edx*8 + 0x10]
test esi, esi
jne 0x100d83c8
mov esi, str.BINARY
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x89], 0
jne 0x100d83e6
mov edi, dword [esp + 0x68]
call fcn.100d5af0
test eax, eax
je 0x100d849a
mov eax, dword [ebp + 0x20]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov dword [eax + edi*4], esi
mov dl, byte [ecx + 0xc]
and dl, byte [esp + 0x44]
mov eax, dword [ebp + 0x1c]
mov byte [edi + eax], dl
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [ebx + ebx*2]
cmp byte [eax + ecx*8 + 0x14], 0
jne 0x100d8416
and dword [ebp + 0x38], 0xfffffff7
mov ecx, dword [esp + 0x78]
add dword [esp + 0x28], 0x18
inc edi
cmp edi, dword [ecx]
mov dword [esp + 0x34], edi
jl 0x100d8334
mov esi, dword [esp + 0x38]
test esi, esi
je 0x100d855b
xor ecx, ecx
xor ebx, ebx
cmp cx, word [esi + 0x32]
jae 0x100d856f
jmp 0x100d8450
mov edx, dword [esi + 4]
movsx edx, word [edx + ebx*2]
movzx eax, word [ebp + 0x32]
mov ecx, dword [ebp + 4]
mov dword [esp + 0x44], edx
call fcn.100d60a0
test eax, eax
je 0x100d8527
mov eax, 0xffff
add word [ebp + 0x34], ax
jmp 0x100d854c
mov edx, dword [esp + 0x3c]
mov eax, dword [edi]
mov edi, dword [esp + 0x68]
push edx
push eax
push str.table__s_has_no_column_named__s
call fcn.100a2b40
add esp, 0xc
mov byte [edi + 0x11], 1
test ebp, ebp
je 0x100d84a9
mov edi, dword [esp + 0x18]
mov esi, ebp
call fcn.100d4130
mov eax, dword [esp + 0x84]
mov esi, dword [esp + 0x18]
push eax
push esi
call fcn.100cb370
mov ecx, dword [esp + 0x80]
push ecx
push esi
call fcn.100cbe90
mov edx, dword [esp + 0x84]
push edx
mov eax, esi
call fcn.100d9040
mov eax, dword [esp + 0x34]
add esp, 0x14
test eax, eax
je 0x100d88ef
cmp dword [esi + 0x200], 0
je 0x100d88b6
cmp eax, dword [esi + 0x10c]
jb 0x100d8898
cmp eax, dword [esi + 0x110]
jae 0x100d8898
movzx eax, word [esi + 0xf0]
mov esi, dword [esi + 0x200]
add dword [esi], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
mov eax, dword [ebp + 4]
mov cx, word [esp + 0x44]
mov word [eax + edi*2], cx
mov edx, dword [esi + 0x20]
mov ecx, dword [edx + ebx*4]
mov eax, dword [ebp + 0x20]
mov dword [eax + edi*4], ecx
mov edx, dword [esi + 0x1c]
mov eax, dword [ebp + 0x1c]
mov cl, byte [ebx + edx]
mov byte [edi + eax], cl
inc edi
movzx edx, word [esi + 0x32]
inc ebx
cmp ebx, edx
jl 0x100d8450
jmp 0x100d856f
mov eax, dword [ebp + 4]
or ecx, 0xffffffff
mov word [eax + edi*2], cx
mov edx, dword [ebp + 0x20]
mov dword [edx + edi*4], str.BINARY
mov edx, ebp
call fcn.100d8900
mov esi, dword [esp + 0x68]
cmp dword [esi + 0x204], 0
jne 0x100d858a
mov edi, ebp
call fcn.100d6040
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x204]
jne 0x100d860e
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x100d860e
lea ecx, [ecx]
movzx eax, word [ebx + 0x32]
movzx ecx, word [ebp + 0x32]
cmp ax, cx
jne 0x100d8603
movzx eax, ax
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x100d85fd
mov esi, dword [ebp + 4]
mov edx, dword [ebx + 4]
sub edx, esi
mov dword [esp + 0x44], edx
mov ax, word [edx + esi]
cmp ax, word [esi]
jne 0x100d85fd
mov ecx, dword [ebx + 0x20]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx + edi*4]
cmp eax, ecx
je 0x100d85f1
push ecx
push eax
call fcn.100a2c30
add esp, 8
test eax, eax
jne 0x100d85fd
mov edx, dword [esp + 0x44]
movzx eax, word [ebx + 0x32]
inc edi
add esi, 2
cmp edi, eax
jl 0x100d85c6
cmp edi, dword [esp + 0x3c]
je 0x100d8644
mov ebx, dword [ebx + 0x14]
test ebx, ebx
jne 0x100d85a0
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x18]
cmp byte [edi + 0x89], 0
je 0x100d86a2
mov ecx, dword [ebp]
push ebp
call fcn.100a2ab0
push ecx
mov ecx, dword [ebp + 0x18]
add ecx, 0x18
call fcn.100a4050
add esp, 8
test eax, eax
je 0x100d8683
mov byte [edi + 0x40], 1
jmp 0x100d849a
mov al, byte [ebx + 0x36]
mov cl, byte [ebp + 0x36]
cmp al, cl
je 0x100d849a
cmp al, 0xa
je 0x100d866e
cmp cl, 0xa
je 0x100d866e
mov edi, dword [esp + 0x68]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.100a2b40
add esp, 8
cmp byte [ebx + 0x36], 0xa
jne 0x100d849a
mov cl, byte [ebp + 0x36]
mov byte [ebx + 0x36], cl
jmp 0x100d849a
or dword [edi + 0x18], 2
cmp dword [esp + 0x74], 0
je 0x100d882b
mov edx, edi
mov eax, dword [edx + 0x84]
mov dword [ebp + 0x2c], eax
jmp 0x100d882b
cmp dword [esi + 0x44], 0
jne 0x100d882b
mov ecx, dword [esp + 0x14]
test byte [ecx + 0x2c], 0x20
je 0x100d86c1
cmp dword [esp + 0x74], 0
je 0x100d882b
mov ebx, dword [esp + 0x68]
inc dword [ebx + 0x4c]
mov edx, dword [ebx + 0x4c]
mov edi, ebx
mov dword [esp + 0x38], edx
call fcn.100edaa0
mov esi, eax
mov dword [esp + 0x3c], esi
test esi, esi
je 0x100d849a
mov edi, dword [esp + 0x1c]
push 1
mov eax, ebx
call fcn.100d9960
mov eax, dword [esi + 0x1c]
add esp, 4
cmp dword [esi + 0x20], eax
mov dword [esp + 0x44], eax
jg 0x100d870b
mov edi, esi
call fcn.100bb630
test eax, eax
jne 0x100d873b
mov ecx, dword [esi + 4]
inc dword [esi + 0x1c]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax], 0x70
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
cmp dword [esp + 0x80], 0
je 0x100d878c
mov eax, dword [ebx + 0x21c]
add eax, dword [ebx + 0x218]
mov ecx, dword [esp + 0x2c]
sub eax, dword [ecx]
mov ecx, dword [ecx]
cmp byte [ecx + eax - 1], 0x3b
jne 0x100d8761
dec eax
cmp dword [esp + 0x7c], 0
mov edx, 0x1013f817
je 0x100d8772
mov edx, str._UNIQUE
mov edi, dword [esp + 0x18]
push ecx
push eax
push edx
push str.CREATE_s_INDEX__.s
mov esi, edi
call fcn.100a2050
add esp, 0x10
mov esi, eax
jmp 0x100d8792
mov edi, dword [esp + 0x18]
xor esi, esi
cmp dword [esp + 0x1c], 1
mov eax, str.sqlite_temp_master
je 0x100d87a3
mov eax, str.sqlite_master
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
push esi
push edx
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edx
mov edx, dword [edi + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [edx + eax]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
call fcn.100d3d80
add esp, 0x1c
mov eax, esi
mov ecx, edi
call fcn.100a0b40
cmp dword [esp + 0x74], 0
je 0x100d882b
mov edx, dword [esp + 0x38]
push edx
push ebp
push ebx
call fcn.100d7820
mov eax, dword [esp + 0x28]
add esp, 0xc
push eax
mov esi, ebx
call fcn.100d5b60
mov ecx, dword [ebp]
add esp, 4
push ecx
push str.name_q_AND_typeindex
mov esi, edi
call fcn.100a2050
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x44]
push eax
push edx
call fcn.100bb800
push 0
push 0x86
mov eax, esi
call fcn.100bb760
add esp, 0x18
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x89], 0
jne 0x100d8843
cmp dword [esp + 0x74], 0
jne 0x100d849a
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x7c], edx
jne 0x100d8886
mov eax, dword [ecx + 8]
test eax, eax
je 0x100d8886
cmp byte [eax + 0x36], dl
je 0x100d8886
cmp dword [eax + 0x14], 0
je 0x100d8874
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x36], dl
je 0x100d8874
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x100d8864
mov ecx, dword [eax + 0x14]
mov dword [ebp + 0x14], ecx
mov dword [eax + 0x14], ebp
mov dword [esp + 0x30], ebp
jmp 0x100d84a9
mov edx, dword [ecx + 8]
mov dword [ebp + 0x14], edx
mov dword [ecx + 8], ebp
mov dword [esp + 0x30], ebp
jmp 0x100d84a9
push eax
call dword [0x10177780]
mov esi, dword [esi + 0x200]
add esp, 4
add dword [esi], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
cmp eax, dword [esi + 0x10c]
jb 0x100d88e6
cmp eax, dword [esi + 0x110]
jae 0x100d88e6
mov ecx, dword [esi + 0x108]
mov dword [eax], ecx
dec dword [esi + 0xf4]
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
push eax
call fcn.100a0aa0
add esp, 4
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret