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

Disassembly:
sub esp, 0x70
mov eax, dword [0x10058040]
xor eax, esp
mov dword [esp + 0x6c], eax
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x90]
push esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x3c], edx
xor edx, edx
cmp dword [eax + 0x18], edx
push edi
mov edi, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x18], edx
jne 0x10033606
cmp dword [0x100593ac], edx
je 0x10033005
cmp dword [0x100593b8], edx
jg 0x10033606
cmp byte [eax + 0xbc], dl
jne 0x10033606
cmp dword [esp + 0x20], edx
push ebx
je 0x100330c4
lea edx, [esp + 0x2c]
push edx
push esi
push ecx
push eax
call fcn.1001a570
add esp, 0x10
test eax, eax
mov dword [esp + 0x20], eax
jl 0x10033605
mov edi, dword [esp + 0x24]
mov ebx, dword [esp + 0xc]
push edi
push ebx
call fcn.1002e360
add esp, 8
test esi, esi
je 0x10033072
test dword [esi + 4], 0xfffffffe
jne 0x10033072
test eax, eax
je 0x10033072
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 4]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x10033072
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
push ecx
push str.index
push edx
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.10005eb0
add esp, 0x14
test eax, eax
je 0x100330a1
lea ecx, [esp + 0x48]
push edi
push ecx
call fcn.1001a090
add esp, 8
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
push edx
push eax
push ebx
call fcn.1002dbe0
add esp, 0xc
test eax, eax
mov dword [esp + 0x10], eax
je 0x10033605
mov eax, dword [esp + 0x20]
jmp 0x100330ed
mov ecx, eax
mov eax, dword [ecx + 0xa4]
test eax, eax
mov dword [esp + 0x10], eax
je 0x10033605
mov edx, eax
mov eax, dword [edx + 0x4c]
push eax
mov ecx, edi
push ecx
call fcn.10006be0
add esp, 8
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
push ebp
mov ebp, dword [edx + 4]
add ebp, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x18], 0
jne 0x10033604
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x34], 0
je 0x10033134
mov ecx, dword [esi]
push ecx
mov edx, eax
push str.table__s_may_not_be_indexed
push edx
call fcn.10017590
add esp, 0xc
jmp 0x10033604
cmp dword [esi + 0x18], 0
je 0x1003314d
push str.views_may_not_be_indexed
push eax
call fcn.10017590
add esp, 8
jmp 0x10033604
cmp byte [esi + 0x39], 0
je 0x10033168
mov ecx, eax
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.10017590
add esp, 8
jmp 0x10033604
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10033246
push eax
call fcn.1000da10
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x20], eax
call fcn.1002c8e0
add esp, 8
test eax, eax
jne 0x10033604
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10033604
push eax
mov eax, dword [esp + 0x14]
push eax
call fcn.1001a5d0
add esp, 8
test eax, eax
jne 0x10033604
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x44], al
jne 0x10033202
mov ecx, dword [esp + 0x10]
push ecx
call fcn.1002c8e0
add esp, 4
test eax, eax
jne 0x10033604
mov edx, dword [esp + 0x18]
push eax
push edx
push esi
call fcn.10005f60
add esp, 0xc
test eax, eax
je 0x10033202
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push eax
push str.there_is_already_a_table_named__s
push ecx
call fcn.10017590
add esp, 0xc
jmp 0x10033604
mov edx, dword [ebp]
mov eax, dword [esp + 0x18]
push edx
push eax
push esi
call fcn.10006030
add esp, 0xc
test eax, eax
je 0x1003329b
cmp dword [esp + 0xa8], 0
jne 0x10033604
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
push ecx
push str.index__s_already_exists
push edx
call fcn.10017590
add esp, 0xc
jmp 0x10033604
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, 1
je 0x1003325c
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x10033252
push ecx
lea eax, [esp + 0x60]
push 0x100550cc
push eax
call fcn.1004086c
push 0
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x2c], 0
mov edx, dword [esi]
push edx
lea eax, [esp + 0x30]
push str.sqlite_autoindex_
push eax
call fcn.1000add0
add esp, 0x20
cmp dword [esp + 0x18], 0
je 0x10033604
cmp dword [esp + 0x24], 1
mov esi, dword [ebp]
mov eax, str.sqlite_temp_master
je 0x100332af
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x10]
push esi
push 0
push eax
push 0x12
push ecx
call fcn.1001a2e0
add esp, 0x14
test eax, eax
jne 0x10033604
mov eax, 1
cmp dword [esp + 0x24], eax
jne 0x100332da
mov eax, 3
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov edx, dword [esp + 0x18]
push esi
push ecx
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.1001a2e0
add esp, 0x14
test eax, eax
jne 0x10033604
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x10033365
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [esp + 0x38], eax
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10033320
sub eax, edx
mov edx, dword [esp + 0x3c]
lea ecx, [eax + eax]
lea eax, [esp + 0x38]
push eax
and edx, 1
or ecx, edx
push 0
push 0
mov dword [esp + 0x48], ecx
call fcn.10012ab0
add esp, 0xc
test eax, eax
mov dword [esp + 0x2c], eax
je 0x10033604
mov ecx, dword [eax + 0xc]
mov dl, byte [esp + 0xa4]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x1003339f
mov edi, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [edi]
test eax, eax
je 0x10033397
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10033380
mov ecx, dword [esp + 0x20]
sub eax, edx
lea edx, [ecx + eax + 1]
mov dword [esp + 0x20], edx
add edi, 0xc
sub ebx, 1
jne 0x10033370
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100333a6
mov ecx, dword [esp + 0x20]
sub eax, edx
mov ebx, eax
mov eax, esi
imul eax, eax, 0xd
add eax, ebx
lea edx, [eax + ecx + 0x35]
push 1
push edx
call fcn.1000acb0
add esp, 8
mov edi, eax
call fcn.10008e80
test eax, eax
jne 0x100335e7
lea eax, [edi + 0x30]
mov dword [edi + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [edi + 8], eax
lea eax, [eax + esi*4]
mov dword [edi + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [edi + 0x28], eax
add eax, esi
lea ecx, [eax + ebx + 1]
mov dword [edi], eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x18]
mov dl, byte [ecx]
mov byte [eax], dl
add ecx, 1
add eax, 1
test dl, dl
jne 0x10033405
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x30], 0
mov dword [edi + 0x10], edx
mov ecx, dword [eax]
mov dl, byte [esp + 0x98]
mov dword [edi + 4], ecx
mov byte [edi + 0x18], dl
mov edx, dword [esp + 0x1c]
sete cl
mov byte [edi + 0x19], cl
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x44]
mov ecx, dword [edx + ecx + 0x14]
mov dword [edi + 0x24], ecx
mov edx, dword [ebp + 0x14]
cmp byte [edx + 0x78], 4
sbb ecx, ecx
neg ecx
sub ecx, 1
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [eax], ebx
mov dword [esp + 0x20], ecx
jle 0x10033566
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 4]
mov ebp, dword [ecx + 8]
xor esi, esi
cmp dword [ecx + 4], esi
mov dword [esp + 0x34], eax
jle 0x100334ae
mov ecx, dword [ebp]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.10002980
add esp, 8
test eax, eax
je 0x100334aa
mov eax, dword [esp + 0x14]
add esi, 1
add ebp, 0x14
cmp esi, dword [eax + 4]
jl 0x10033486
mov ecx, dword [esp + 0x14]
cmp esi, dword [ecx + 4]
jge 0x100335c9
mov edx, dword [edi + 8]
mov eax, dword [esp + 0x20]
mov dword [edx + ebx*4], esi
mov eax, dword [eax]
test eax, eax
je 0x100334fe
mov esi, dword [esp + 0x40]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov edx, esi
mov al, byte [ecx]
mov byte [edx], al
add ecx, 1
add edx, 1
test al, al
jne 0x100334d2
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100334e5
mov ecx, dword [esp + 0x14]
sub eax, edx
lea edx, [esi + eax + 1]
mov dword [esp + 0x40], edx
jmp 0x10033515
mov edx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov esi, dword [edx + eax*4 + 0xc]
test esi, esi
jne 0x10033515
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x1c]
mov esi, dword [edx]
mov eax, dword [esp + 0x1c]
cmp byte [eax + 0x44], 0
jne 0x1003353b
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push esi
push ecx
call fcn.1001a890
add esp, 0xc
test eax, eax
je 0x100335e7
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x20]
add dword [esp + 0x20], 0xc
mov dword [edx + ebx*4], esi
mov dl, byte [eax + 8]
and dl, byte [esp + 0x38]
mov eax, dword [edi + 0x28]
mov byte [ebx + eax], dl
mov edx, dword [esp + 0x2c]
add ebx, 1
cmp ebx, dword [edx]
jl 0x10033471
push edi
call fcn.10006250
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
cmp edx, dword [ecx + 0xa4]
jne 0x10033694
mov eax, edx
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x10033694
mov eax, dword [ebp + 4]
cmp eax, dword [edi + 4]
jne 0x10033689
xor ebx, ebx
test eax, eax
jle 0x10033684
mov esi, dword [edi + 0x2c]
mov eax, dword [ebp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [edi + 8]
sub eax, esi
sub ecx, esi
sub edx, esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], edx
jmp 0x1003364c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x14]
push edx
push str.table__s_has_no_column_named__s
push eax
call fcn.10017590
add esp, 0x10
test edi, edi
je 0x10033604
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100335fb
push eax
call fcn.100417c0
add esp, 4
push edi
call fcn.100417c0
add esp, 4
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1000a110
mov edx, dword [esp + 0x24]
push edx
call fcn.1000a5b0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
pop edi
pop esi
je 0x10033630
push eax
call fcn.100417c0
add esp, 4
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100408e7
add esp, 0x70
ret
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + esi]
cmp ecx, dword [edx + esi]
mov eax, dword [eax + esi]
jne 0x10033684
mov edx, dword [ebp + 0x28]
mov ecx, dword [edi + 0x28]
mov dl, byte [ebx + edx]
cmp dl, byte [ebx + ecx]
jne 0x10033684
mov ecx, dword [esi]
cmp eax, ecx
je 0x10033679
push ecx
push eax
call fcn.10002980
add esp, 8
test eax, eax
jne 0x10033684
add ebx, 1
add esi, 4
cmp ebx, dword [ebp + 4]
jl 0x10033640
cmp ebx, dword [ebp + 4]
je 0x100336f5
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x10033590
mov edx, dword [esp + 0x1c]
cmp byte [edx + 0x44], 0
je 0x10033735
mov edx, dword [edi]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100336b0
sub eax, esi
add eax, 1
push edi
push eax
mov eax, dword [edi + 0x24]
push edx
add eax, 0x20
push eax
call fcn.10003830
add esp, 0x10
test eax, eax
jne 0x100335e7
mov ebx, dword [esp + 0x1c]
or dword [ebx + 8], 0x10
cmp dword [esp + 0x28], eax
je 0x1003386c
mov ecx, dword [ebx + 0x40]
mov dword [edi + 0x14], ecx
jmp 0x1003386c
mov al, byte [ebp + 0x18]
mov cl, byte [edi + 0x18]
cmp al, cl
je 0x100335e7
cmp al, 0x63
je 0x10033720
cmp cl, 0x63
je 0x10033720
mov eax, dword [esp + 0x10]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push eax
call fcn.10017590
add esp, 0xc
cmp byte [ebp + 0x18], 0x63
jne 0x100335e7
mov cl, byte [edi + 0x18]
mov byte [ebp + 0x18], cl
jmp 0x100335e7
mov eax, dword [esp + 0x10]
mov ebp, dword [eax + 0x20]
lea edx, [ebp + 1]
push eax
mov dword [esp + 0x3c], ebp
mov dword [eax + 0x20], edx
call fcn.1000ee80
mov esi, eax
add esp, 4
test esi, esi
je 0x100335e7
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push ebx
push 1
push eax
call fcn.10026140
push 0
push ebx
push 0x1f
push esi
call fcn.10011e00
push 0
push ebp
push 0x7b
push esi
call fcn.10011e00
add esp, 0x2c
cmp dword [esp + 0x9c], 0
je 0x100337ca
mov edx, dword [esp + 0x48]
test edx, edx
je 0x100337ca
cmp dword [esp + 0x98], 0
mov ecx, 0x1004f7f6
je 0x100337a9
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x30]
mov ebp, dword [eax]
mov edx, dword [edx]
sub edx, ebp
push ebp
add edx, 1
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.100172b0
add esp, 0x10
mov ebp, eax
jmp 0x100337cc
xor ebp, ebp
cmp ebx, 1
mov eax, str.sqlite_temp_master
je 0x100337db
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [edi]
mov ebx, dword [esp + 0x1c]
push ebp
push edx
mov edx, dword [ebx + 4]
push ecx
push eax
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x20]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push edx
call fcn.1001a370
push 0
push 1
push 0xb
push esi
call fcn.10011e00
push ebp
call fcn.10008de0
add esp, 0x30
cmp dword [esp + 0x28], 0
je 0x1003386c
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
push edi
call fcn.1002bed0
mov ebp, dword [esp + 0x2c]
push ebp
push esi
push ebx
call fcn.100130f0
mov ecx, dword [edi]
add esp, 0x14
push 0xffffffffffffffff
push ecx
push str.name_q
call fcn.100172b0
add esp, 8
push eax
push 0
push ebp
push 0x1c
push esi
call fcn.10011e70
push 0
push 0
push 0xf
push esi
call fcn.10011e00
add esp, 0x28
cmp byte [ebx + 0x44], 0
jne 0x1003387d
cmp dword [esp + 0x28], 0
jne 0x100335e7
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x98], edx
jne 0x100338bf
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x100338bf
cmp byte [eax + 0x18], dl
je 0x100338bf
cmp dword [eax + 0x20], 0
je 0x100338b1
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x100338b1
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x100338a1
mov edx, dword [eax + 0x20]
mov dword [edi + 0x20], edx
mov dword [eax + 0x20], edi
jmp 0x10033604
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x20], eax
mov dword [ecx + 0x10], edi
jmp 0x10033604