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

Disassembly:
sub esp, 0x78
mov eax, dword [0x101bd92c]
xor eax, esp
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x88]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x98]
push esi
mov esi, dword [esp + 0x88]
mov dword [esp + 0x44], edx
xor edx, edx
cmp dword [eax + 0x40], edx
push edi
mov edi, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], edx
jne 0x10137de4
mov eax, edi
cmp byte [eax + 0x1e], dl
jne 0x10137de4
mov edx, dword [esp + 8]
cmp byte [edx + 0x198], 0
jne 0x10137de4
cmp dword [esp + 0x1c], 0
push ebx
push ebp
je 0x10137830
lea eax, [esp + 0x30]
push eax
push esi
push ecx
mov ecx, edx
push ecx
call fcn.101353d0
add esp, 0x10
test eax, eax
mov dword [esp + 0x20], eax
jl 0x10137de2
mov ebx, dword [esp + 0x10]
mov ebp, edi
cmp byte [ebp + 0x80], 0
mov edi, dword [esp + 0x24]
jne 0x101377dc
push edi
push ebx
call fcn.10153cb0
add esp, 8
test esi, esi
je 0x101377dc
test dword [esi + 4], 0xfffffffe
jne 0x101377dc
test eax, eax
je 0x101377dc
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
cmp eax, dword [edx + 0x2c]
jne 0x101377dc
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x20]
push ecx
push str.index
push edx
lea eax, [esp + 0x60]
push ebx
push eax
call fcn.10154d90
add esp, 0x14
test eax, eax
je 0x1013780b
lea ecx, [esp + 0x54]
push edi
push ecx
call fcn.10154e50
add esp, 8
mov edx, dword [edi + 8]
mov eax, dword [edi + 0xc]
push edx
push eax
push 0
push ebx
call fcn.10134d50
add esp, 0x10
test eax, eax
mov dword [esp + 0x14], eax
je 0x10137de2
mov eax, dword [esp + 0x20]
jmp 0x10137859
mov ecx, edx
mov eax, dword [ecx + 0x180]
test eax, eax
mov dword [esp + 0x14], eax
je 0x10137de2
mov edx, eax
mov eax, dword [edx + 0x4c]
push eax
mov ecx, edi
push ecx
call fcn.10128740
add esp, 8
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 8]
lea eax, [eax + eax*2]
add eax, eax
add eax, eax
add eax, eax
add edi, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x40], 0
mov dword [esp + 0x2c], edi
jne 0x10137de2
mov esi, dword [esp + 0x14]
cmp byte [esi + 0x34], 0
je 0x101378a3
mov ecx, dword [esi]
push ecx
mov edx, eax
push str.table__s_may_not_be_indexed
push edx
call fcn.10128e10
add esp, 0xc
jmp 0x10137de2
cmp dword [esi + 0x18], 0
je 0x101378b9
push str.views_may_not_be_indexed
push eax
call fcn.10128e10
jmp 0x10137ddf
cmp byte [esi + 0x39], 0
je 0x101378d1
mov ecx, eax
push str.virtual_tables_may_not_be_indexed
push ecx
call fcn.10128e10
jmp 0x10137ddf
mov eax, dword [esp + 0x30]
test eax, eax
je 0x101379b2
push eax
push edx
call fcn.10135290
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
push eax
call fcn.10128610
add esp, 0xc
test eax, eax
jne 0x10137de2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10137de2
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.10135430
add esp, 8
test eax, eax
jne 0x10137de2
mov esi, dword [esp + 0x18]
cmp byte [esi + 0x80], al
jne 0x1013796f
mov edx, dword [esp + 0x10]
push edx
call fcn.10128610
add esp, 4
test eax, eax
jne 0x10137de2
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
call fcn.10134cc0
add esp, 0xc
test eax, eax
je 0x1013796f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push ecx
push str.there_is_already_a_table_named__s
push edx
call fcn.10128e10
add esp, 0xc
jmp 0x10137de2
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push esi
call fcn.10134dd0
add esp, 0xc
test eax, eax
je 0x10137a14
cmp dword [esp + 0xb0], 0
jne 0x10137de2
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
push edx
push str.index__s_already_exists
push eax
call fcn.10128e10
add esp, 0xc
jmp 0x10137de2
mov eax, dword [esi + 0x10]
test eax, eax
mov ecx, 1
je 0x101379ca
mov edi, edi
mov eax, dword [eax + 0x20]
add ecx, 1
test eax, eax
jne 0x101379c0
push ecx
push 0x1018c308
lea ecx, [esp + 0x6c]
push ecx
push 0x1e
call fcn.10147e20
push 0
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x34], 0
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x38]
push str.sqlite_autoindex_
push ecx
call fcn.1013c0e0
add esp, 0x24
cmp dword [esp + 0x1c], 0
jne 0x10137a14
mov edx, dword [esp + 0x18]
mov byte [edx + 0x1e], 1
jmp 0x10137de2
cmp dword [esp + 0x20], 1
mov esi, dword [edi]
mov eax, str.sqlite_temp_master
je 0x10137a27
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x1c]
push 0x12
push eax
call fcn.101499b0
add esp, 0x14
test eax, eax
jne 0x10137de2
mov eax, 1
cmp dword [esp + 0x20], eax
jne 0x10137a52
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
push esi
push edx
mov edx, dword [esp + 0x18]
push ecx
push eax
push edx
call fcn.101499b0
add esp, 0x14
test eax, eax
jne 0x10137de2
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x10137adf
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0x14]
mov dword [esp + 0x48], eax
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10137a95
sub eax, edx
lea edx, [eax + eax]
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0x48]
push ecx
and eax, 1
or edx, eax
push 0
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x18]
push 0
push edx
call fcn.10150020
add esp, 0x10
test eax, eax
mov dword [esp + 0x28], eax
je 0x10137de2
mov ecx, dword [eax + 0xc]
mov dl, byte [esp + 0xac]
mov byte [ecx + 8], dl
mov edi, dword [eax]
test edi, edi
mov esi, dword [esp + 0x34]
jle 0x10137b1b
mov ebx, dword [eax + 0xc]
mov ebp, edi
mov edi, edi
mov eax, dword [ebx]
test eax, eax
je 0x10137b0f
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 0x10137b00
sub eax, edx
lea esi, [esi + eax + 1]
add ebx, 0xc
sub ebp, 1
jne 0x10137af0
mov dword [esp + 0x34], esi
mov ebp, dword [esp + 0x1c]
lea ecx, [ebp + 1]
mov al, byte [ebp]
add ebp, 1
test al, al
jne 0x10137b22
mov ebx, dword [esp + 0x18]
sub ebp, ecx
mov ecx, edi
imul ecx, ecx, 0xd
add ecx, ebp
lea edx, [ecx + esi + 0x35]
push edx
push ebx
call fcn.1013c200
add esp, 8
cmp byte [ebx + 0x1e], 0
mov esi, eax
jne 0x10137dcc
lea eax, [esi + 0x30]
mov dword [esi + 0x2c], eax
lea eax, [eax + edi*4]
mov dword [esi + 8], eax
lea eax, [eax + edi*4]
mov dword [esi + 0xc], eax
lea eax, [eax + edi*4 + 4]
mov dword [esi + 0x28], eax
add eax, edi
lea ecx, [eax + ebp + 1]
mov dword [esi], eax
mov edx, dword [esp + 0x1c]
add ebp, 1
push ebp
push edx
push eax
mov dword [esp + 0x44], ecx
call fcn.10096b40
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x10], eax
mov edx, dword [ecx]
mov al, byte [esp + 0xac]
add esp, 0xc
cmp dword [esp + 0x30], 0
mov dword [esi + 4], edx
sete cl
mov byte [esi + 0x18], al
mov byte [esi + 0x19], cl
mov ecx, dword [esp + 0x44]
mov edx, ebx
mov eax, dword [edx + 8]
mov edx, dword [ecx + eax + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x24], edx
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x58], 4
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
sbb ebx, ebx
neg ebx
xor ebp, ebp
sub ebx, 1
cmp dword [eax], ebp
mov dword [esp + 0x3c], edx
jle 0x10137d00
mov ecx, dword [esp + 0x14]
lea ebx, [ebx]
mov eax, dword [esp + 0x3c]
mov edx, dword [eax + 4]
mov eax, dword [ecx + 8]
xor edi, edi
cmp dword [ecx + 4], edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x40], eax
jle 0x10137c3d
lea esp, [esp]
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx]
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.10128f40
add esp, 8
test eax, eax
je 0x10137c39
mov ecx, dword [esp + 0x14]
add dword [esp + 0x40], 0x14
add edi, 1
cmp edi, dword [ecx + 4]
jl 0x10137c10
mov ecx, dword [esp + 0x14]
cmp edi, dword [ecx + 4]
jge 0x10137e19
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x3c]
mov dword [edx + ebp*4], edi
mov eax, dword [eax]
test eax, eax
je 0x10137c95
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push 0x10199310
push edi
push eax
call fcn.10147e20
mov eax, edi
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10137c78
mov ecx, dword [esp + 0x38]
sub eax, edx
lea edx, [ecx + eax + 1]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x38], edx
jmp 0x10137cac
mov edx, dword [ecx + 8]
lea eax, [edi + edi*4]
mov edi, dword [edx + eax*4 + 0xc]
test edi, edi
jne 0x10137cac
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x2c]
mov edi, dword [edx]
mov eax, dword [esp + 0x18]
cmp byte [eax + 0x80], 0
jne 0x10137cd5
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push edi
push ecx
call fcn.10135810
add esp, 0xc
test eax, eax
je 0x10137dcc
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x2c]
mov dword [edx + ebp*4], edi
mov edi, dword [esp + 0x3c]
mov al, byte [edi + 8]
mov edx, dword [esi + 0x28]
and al, bl
mov byte [edx + ebp], al
mov eax, dword [esp + 0x28]
add ebp, 1
add edi, 0xc
cmp ebp, dword [eax]
mov dword [esp + 0x3c], edi
jl 0x10137bf0
push esi
call fcn.10136550
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, dword [ecx + 0x180]
jne 0x10137d86
mov ebp, dword [eax + 0x10]
test ebp, ebp
je 0x10137d86
mov eax, dword [ebp + 4]
cmp eax, dword [esi + 4]
jne 0x10137d7f
xor edi, edi
test eax, eax
jle 0x10137d72
mov edi, edi
mov edx, dword [ebp + 0x2c]
mov ebx, dword [ebp + 8]
mov eax, dword [edx + edi*4]
mov edx, dword [esi + 8]
mov ebx, dword [ebx + edi*4]
cmp ebx, dword [edx + edi*4]
mov ecx, dword [esi + 0x2c]
mov ecx, dword [ecx + edi*4]
jne 0x10137d72
mov edx, dword [ebp + 0x28]
mov ebx, dword [esi + 0x28]
mov dl, byte [edi + edx]
cmp dl, byte [edi + ebx]
jne 0x10137d72
cmp eax, ecx
je 0x10137d6a
push ecx
push eax
call fcn.10128f40
add esp, 8
test eax, eax
jne 0x10137d72
add edi, 1
cmp edi, dword [ebp + 4]
jl 0x10137d30
cmp edi, dword [ebp + 4]
je 0x10137e39
mov ecx, dword [esp + 0x10]
mov ebp, dword [ebp + 0x20]
test ebp, ebp
jne 0x10137d20
mov ebx, dword [esp + 0x18]
cmp byte [ebx + 0x80], 0
je 0x10137e8f
mov edx, dword [esi]
mov eax, edx
lea edi, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10137da0
sub eax, edi
push esi
add eax, 1
push eax
push edx
mov edx, dword [esi + 0x24]
add edx, 0x18
push edx
call fcn.1012b690
add esp, 0x10
test eax, eax
je 0x10137e75
mov byte [ebx + 0x1e], 1
test esi, esi
je 0x10137de2
mov eax, dword [esi + 0x1c]
push eax
call fcn.1012ba80
push esi
call fcn.1012ba80
add esp, 8
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
push ecx
call fcn.1014f180
mov edx, dword [esp + 0x20]
push edx
call fcn.10136720
mov eax, dword [esp + 0x1c]
push eax
call fcn.1012ba80
mov ecx, dword [esp + 0x88]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.1009174c
add esp, 0x78
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push str.table__s_has_no_column_named__s
push ecx
call fcn.10128e10
add esp, 0x10
jmp 0x10137dcc
mov al, byte [ebp + 0x18]
mov cl, byte [esi + 0x18]
cmp al, cl
je 0x10137dcc
cmp al, 0x63
je 0x10137e60
cmp cl, 0x63
je 0x10137e60
mov eax, dword [esp + 0x10]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push eax
call fcn.10128e10
add esp, 0xc
cmp byte [ebp + 0x18], 0x63
jne 0x10137dcc
mov cl, byte [esi + 0x18]
mov byte [ebp + 0x18], cl
jmp 0x10137dcc
or dword [ebx + 0xc], 0x10
cmp dword [esp + 0x24], 0
je 0x10137fb3
mov eax, dword [ebx + 0x7c]
mov dword [esi + 0x14], eax
jmp 0x10137fb3
add dword [ecx + 0x48], 1
mov ebp, dword [ecx + 0x48]
push ecx
call fcn.1014c570
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x2c], edi
je 0x10137dcc
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
push ebx
push 1
push ecx
call fcn.10136a80
push ebp
push ebx
push 0x21
push edi
call fcn.10138ed0
add esp, 0x1c
cmp dword [esp + 0xa4], 0
je 0x10137f17
mov edx, dword [esp + 0x50]
test edx, edx
je 0x10137f17
cmp dword [esp + 0xa0], 0
mov ecx, 0x1019204b
je 0x10137ef1
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x30]
mov edi, dword [eax]
mov edx, dword [edx]
mov ebx, dword [esp + 0x18]
push edi
sub edx, edi
add edx, 1
push edx
push ecx
push str.CREATE_s_INDEX__.s
push ebx
call fcn.10147d60
add esp, 0x14
mov edi, eax
jmp 0x10137f1d
mov ebx, dword [esp + 0x18]
xor edi, edi
cmp dword [esp + 0x20], 1
mov eax, str.sqlite_temp_master
je 0x10137f2e
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esi]
push edi
push ebp
push edx
mov edx, dword [ebx + 8]
push ecx
push eax
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x24]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push edx
call fcn.10134c10
push edi
call fcn.1012ba80
add esp, 0x24
cmp dword [esp + 0x24], 0
je 0x10137fb3
mov edi, dword [esp + 0x10]
push ebp
mov eax, esi
mov ecx, edi
call fcn.10137520
mov ebp, dword [esp + 0x24]
push ebp
push edi
call fcn.101358a0
mov eax, dword [esi]
add esp, 0xc
push 0xffffffffffffffff
push eax
push str.name_q
push ebx
call fcn.10147d60
add esp, 0xc
push eax
push 0
push 0
push ebp
mov ebp, dword [esp + 0x40]
push 0x1e
push ebp
call fcn.1013b270
push 0
push 0xe
push ebp
call fcn.10138eb0
add esp, 0x28
cmp byte [ebx + 0x80], 0
jne 0x10137fc7
cmp dword [esp + 0x24], 0
jne 0x10137dcc
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0xa0], edx
jne 0x1013800e
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x1013800e
cmp byte [eax + 0x18], dl
je 0x1013800e
cmp dword [eax + 0x20], 0
je 0x10138000
jmp 0x10137ff0
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x10138000
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x10137ff0
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x20], ecx
mov dword [eax + 0x20], esi
jmp 0x10137de2
mov edx, dword [ecx + 0x10]
mov dword [esi + 0x20], edx
mov dword [ecx + 0x10], esi
jmp 0x10137de2