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

Disassembly:
sub esp, 0x60
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x2c], eax
mov ebx, dword [ebp]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x28], eax
cmp dword [ebp + 0x24], eax
jne 0x5a99de
cmp byte [ebp + 0xdc], 1
jne 0x5a8b76
cmp byte [esp + 0x9c], 2
jne 0x5a99de
push ebp
call fcn.005c6670
add esp, 4
test eax, eax
jne 0x5a99de
mov eax, dword [esp + 0x84]
push eax
push ebp
mov dword [esp + 0x28], eax
call fcn.005b8d30
add esp, 8
test eax, eax
jne 0x5a99de
cmp dword [esp + 0x80], edi
je 0x5a8c9b
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x80]
push ebp
call fcn.005cf4f0
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
js 0x5a99de
cmp byte [ebx + 0xb1], 0
jne 0x5a8c14
push dword [esp + 0x80]
push ebp
call fcn.005cd0b0
add esp, 8
cmp dword [esi + 4], edi
mov esi, dword [esp + 0x1c]
jne 0x5a8c16
test eax, eax
je 0x5a8c16
mov ecx, dword [ebx + 0x10]
mov edx, 1
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove esi, edx
mov dword [esp + 0x1c], esi
jmp 0x5a8c16
mov esi, eax
mov eax, dword [esp + 0x2c]
push eax
push str.index
push esi
lea eax, [esp + 0x48]
push ebp
push eax
call fcn.005b31f0
push dword [esp + 0x94]
lea eax, [esp + 0x54]
push eax
call fcn.005b3260
mov eax, dword [esp + 0x9c]
add eax, 8
push eax
push 0
push ebp
call fcn.005bc890
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x5a99de
cmp esi, 1
jne 0x5a8c86
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x5a8c86
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.005abd70
add esp, 0xc
jmp 0x5a9950
test byte [edx + 0x1c], 0x80
je 0x5a8cdc
push edx
call fcn.005c5b40
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x5a8cdc
mov eax, dword [ebp + 0xf8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5a99de
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5a8cdc
mov eax, dword [ebx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x5a8cdc
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x5a8cd0
mov dword [esp + 0x1c], esi
mov edi, dword [esp + 0x14]
mov ebx, esi
mov ecx, dword [esp + 0x10]
mov edx, 7
shl ebx, 4
add ebx, dword [edi + 0x10]
mov esi, dword [ecx]
mov dword [esp + 0x30], ebx
test esi, esi
je 0x5a8d76
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x5a8d22
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x68b3e0]
cmp al, byte [ecx + 0x68b3e0]
jne 0x5a8d22
inc esi
inc edi
test edx, edx
jg 0x5a8d00
dec edx
test edx, edx
js 0x5a8d3e
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x68b3e0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x68b3e0]
sub eax, ecx
jne 0x5a8d72
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x5a8d76
cmp dword [esp + 0x80], 0
je 0x5a8d76
mov eax, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push ebp
call fcn.005abd70
add esp, 0xc
mov ebx, edi
xor edi, edi
jmp 0x5a9950
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x5a8d9a
push str.views_may_not_be_indexed
push ebp
call fcn.005abd70
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x5a9950
cmp al, 1
jne 0x5a8db7
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.005abd70
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x5a9950
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5a8eee
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x5a8ed9
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.005a9cf0
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x5a8ec3
push esi
push edi
push eax
call fcn.006217b0
mov eax, dword [esp + 0x24]
mov byte [esi + eax], 0
mov esi, eax
push esi
call fcn.005aae90
mov eax, dword [esp + 0x20]
push dword [eax]
push str.index
push esi
push ebp
call fcn.005a53d0
add esp, 0x20
test eax, eax
jne 0x5a9948
cmp byte [ebp + 0xdc], 2
mov edi, dword [esp + 0x14]
jae 0x5a8ebd
cmp byte [edi + 0xb1], al
jne 0x5a8e6b
push dword [ebx]
push esi
push edi
call fcn.005b2630
add esp, 0xc
test eax, eax
je 0x5a8e6b
push esi
push str.there_is_already_a_table_named__s
push ebp
call fcn.005abd70
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a994c
push dword [ebx]
push esi
push edi
call fcn.005b25a0
add esp, 0xc
test eax, eax
je 0x5a8ebd
cmp dword [esp + 0x98], 0
jne 0x5a8e9f
push esi
push str.index__s_already_exists
push ebp
call fcn.005abd70
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a994c
push dword [esp + 0x1c]
push ebp
call fcn.005a6b80
push ebp
call fcn.005b4400
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a994c
mov dword [esp + 0x18], esi
jmp 0x5a8f33
mov edi, dword [esp + 0x18]
push edi
call fcn.005aae90
mov ebx, dword [esp + 0x18]
add esp, 4
jmp 0x5a9950
push 0
call fcn.005aae90
mov ebx, dword [esp + 0x18]
add esp, 4
xor edi, edi
jmp 0x5a9950
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x5a8f08
nop word [eax + eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x5a8f00
push ecx
push dword [edx]
push str.sqlite_autoindex__s__d
push edi
call fcn.005bcc60
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x5a9948
cmp byte [ebp + 0xdc], 0
je 0x5a8f33
inc byte [esi + 7]
cmp byte [ebp + 0xdc], 2
jae 0x5a8f96
mov esi, dword [ebx]
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 ebp
call fcn.005a05a0
add esp, 0x14
test eax, eax
jne 0x5a9948
mov eax, dword [esp + 0x10]
push esi
push dword [eax]
mov eax, dword [esp + 0x20]
push eax
xor eax, eax
cmp dword [esp + 0x28], 1
sete al
lea eax, [eax*2 + 1]
push eax
push ebp
call fcn.005a05a0
add esp, 0x14
test eax, eax
jne 0x5a9948
cmp dword [esp + 0x84], 0
jne 0x5a9061
mov eax, dword [esp + 0x10]
movsx ecx, word [eax + 0x22]
mov eax, dword [eax + 4]
add ecx, ecx
or word [eax + ecx*8 - 2], 8
mov ebx, dword [eax + ecx*8 - 0x10]
test ebx, ebx
jne 0x5a8fc3
xor esi, esi
jmp 0x5a8fd7
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5a8fc8
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.005a9cf0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5a9026
push 0x34
push 0
push edi
call fcn.00621d30
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 0x5a9018
push esi
push ebx
push eax
call fcn.006217b0
add esp, 0xc
mov eax, dword [edi + 8]
mov byte [esi + eax], 0
mov dword [edi + 0x18], 1
push edi
push dword [ebp]
call fcn.005b0a00
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x5a9948
mov ecx, dword [esp + 0x94]
xor ebx, ebx
movzx edx, cl
cmp ecx, 0xffffffff
mov ecx, dword [edi]
cmovne ebx, edx
lea eax, [ecx + ecx*4]
mov byte [edi + eax*4 - 4], bl
mov ebx, dword [esp + 0x30]
jmp 0x5a9092
mov edi, dword [esp + 0x84]
mov ecx, dword [ebp]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x5a9088
push str.index
push str.too_many_columns_in__s
push ebp
call fcn.005abd70
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x5a9948
mov esi, dword [edi]
test esi, esi
jle 0x5a90d7
lea edx, [edi + 8]
xor ebx, ebx
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x5a90c3
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x5a90c0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5a90b1
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x5a90a0
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x5a90e0
mov eax, dword [esp + 0x28]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x5a90fd
movzx ecx, word [eax + 0x32]
jmp 0x5a9102
mov ecx, 1
lea eax, [esp + 0x34]
push eax
mov eax, dword [esp + 0x28]
inc eax
add eax, esi
push eax
mov ax, word [edi]
add ax, cx
movzx eax, ax
push eax
push dword [esp + 0x20]
call fcn.0059dd80
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x5a98ec
mov edx, dword [esp + 0x34]
lea ecx, [esi + 1]
push ecx
push dword [esp + 0x1c]
mov dword [edi], edx
lea eax, [edx + 1]
add eax, esi
push edx
mov dword [esp + 0x40], eax
call fcn.006217b0
mov eax, dword [esp + 0x94]
add esp, 0xc
mov byte [edi + 0x36], al
neg eax
mov edx, dword [esp + 0x10]
sbb ecx, ecx
mov esi, dword [esp + 0x90]
mov eax, dword [edi + 0x38]
and ecx, 8
and eax, 0xfffffff7
mov dword [edi + 0xc], edx
or ecx, eax
movzx eax, byte [esp + 0x9c]
xor eax, ecx
and eax, 3
xor eax, ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x38], eax
add ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov word [edi + 0x32], ax
test esi, esi
je 0x5a91d6
push 0
push esi
push 2
push edx
push ebp
call fcn.005c7710
movzx eax, word [edi + 0x32]
add esp, 0x14
mov edx, dword [esp + 0x10]
mov dword [edi + 0x24], esi
mov dword [esp + 0x90], 0
cmp byte [ebp + 0xdc], 2
movzx ecx, ax
mov eax, dword [ebx + 0xc]
mov al, byte [eax + 0x4c]
mov byte [esp + 0x84], al
mov eax, dword [esp + 0x20]
lea ebx, [eax + 8]
mov dword [esp + 0x30], ebx
jb 0x5a9205
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
xor esi, esi
xor eax, eax
mov dword [esp + 0x24], esi
cmp ax, cx
jae 0x5a9422
mov eax, dword [ebx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x5a922c
cmp cl, 0x71
jne 0x5a922f
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x5a922f
mov byte [eax], 0x3b
push 0
push dword [ebx]
push 0x20
push edx
push ebp
call fcn.005c7710
add esp, 0x14
cmp dword [ebp + 0x24], 0
jne 0x5a9419
mov eax, dword [ebx]
test eax, eax
je 0x5a9260
nop
test dword [eax + 4], 0x2000
je 0x5a9260
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5a9250
cmp byte [eax], 0xa7
je 0x5a92a8
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0xf8]
je 0x5a940b
cmp dword [edi + 0x28], 0
jne 0x5a928a
mov eax, dword [esp + 0x20]
mov dword [edi + 0x28], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi + 4]
mov ecx, 0xfffffffe
mov ebp, ecx
mov word [eax + esi*2], bp
mov eax, dword [edi + 0x38]
and eax, 0xfffffff7
or eax, 0x1000
mov dword [edi + 0x38], eax
jmp 0x5a92ec
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x5a92ba
mov edx, dword [esp + 0x10]
movsx ecx, word [edx + 0x20]
jmp 0x5a92e5
mov ebp, dword [esp + 0x10]
mov edx, ecx
add edx, edx
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 4], 0xf
jne 0x5a92d0
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x10]
je 0x5a92e5
or dword [edi + 0x38], 0x1800
mov eax, dword [edi + 4]
mov word [eax + esi*2], cx
mov eax, dword [ebx]
cmp byte [eax], 0x71
jne 0x5a932f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5a92fe
xor esi, esi
jmp 0x5a9312
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5a9303
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x34]
inc esi
push esi
push ecx
push ebp
call fcn.006217b0
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x5a9369
test ecx, ecx
js 0x5a936d
shl ecx, 4
mov eax, 0x200
add ecx, dword [edx + 4]
test word [ecx + 0xe], ax
jne 0x5a9348
xor ebp, ebp
jmp 0x5a9369
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x5a9356
nop
inc eax
cmp byte [eax], 0
jne 0x5a9350
test byte [ecx + 0xe], 4
je 0x5a9366
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x5a9360
lea ebp, [eax + 1]
test ebp, ebp
jne 0x5a9372
mov ebp, str.BINARY
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x5a93cd
mov esi, dword [esp + 0x74]
mov ecx, dword [esi]
mov al, byte [ecx + 0x54]
mov bl, byte [ecx + 0xb1]
mov byte [esp + 0x38], al
movzx eax, bl
push eax
push ebp
push dword [esp + 0x40]
push ecx
call fcn.005b1880
add esp, 0x10
test bl, bl
jne 0x5a93c1
test eax, eax
je 0x5a93b2
cmp dword [eax + 0xc], 0
jne 0x5a93c5
push ebp
push eax
push dword [esp + 0x40]
push esi
call fcn.005b7e60
add esp, 0x10
test eax, eax
je 0x5a9419
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x24]
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], ebp
xor eax, eax
movzx ecx, byte [ebx + 8]
cmp byte [esp + 0x84], 4
mov ebp, dword [esp + 0x74]
cmovb ecx, eax
mov eax, dword [edi + 0x1c]
add ebx, 0x14
mov dword [esp + 0x30], ebx
mov byte [esi + eax], cl
inc esi
movzx eax, word [edi + 0x32]
mov dword [esp + 0x24], esi
cmp esi, eax
jge 0x5a9422
mov edx, dword [esp + 0x10]
jmp 0x5a9216
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.005abd70
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x5a98ee
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5a9491
xor eax, eax
xor esi, esi
cmp ax, word [edx + 0x32]
jae 0x5a94a5
mov ebp, dword [esp + 0x24]
mov eax, dword [edx + 4]
push esi
push edx
movzx ebx, word [eax + esi*2]
movzx eax, word [edi + 0x32]
push eax
push edi
call fcn.00583200
mov edx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x5a9462
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x5a9482
mov eax, dword [edi + 4]
mov word [eax + ebp*2], bx
mov eax, dword [edx + 0x20]
mov ecx, dword [edi + 0x20]
mov eax, dword [eax + esi*4]
mov dword [ecx + ebp*4], eax
mov eax, dword [edx + 0x1c]
mov ecx, dword [edi + 0x1c]
mov al, byte [esi + eax]
mov byte [ecx + ebp], al
inc ebp
movzx eax, word [edx + 0x32]
inc esi
cmp esi, eax
jl 0x5a9438
mov ebp, dword [esp + 0x74]
jmp 0x5a94a5
mov eax, dword [edi + 4]
or ecx, 0xffffffff
mov word [eax + esi*2], cx
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], str.BINARY
push edi
call fcn.005aa1c0
add esp, 4
cmp dword [ebp + 0xf8], 0
jne 0x5a94c0
push edi
call fcn.00576620
add esp, 4
push edi
call fcn.00595c10
add esp, 4
cmp dword [esp + 0x80], 0
je 0x5a955b
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 0x34]
mov edx, eax
mov dword [esp + 0x38], edx
movsx ecx, word [ecx + 0x22]
cmp eax, ecx
jl 0x5a955b
mov ebx, dword [edi + 0x38]
xor esi, esi
or ebx, 0x20
mov dword [esp + 0x84], esi
mov dword [edi + 0x38], ebx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x10]
movzx eax, word [ebx + 0x22]
mov ecx, eax
mov dword [esp + 0x34], ecx
cmp si, ax
jge 0x5a955b
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x84], eax
cmp esi, eax
je 0x5a9687
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x5a9551
movzx ebx, dx
mov edx, dword [edi + 4]
nop dword [eax + eax]
cmp si, word [edx]
je 0x5a9673
inc ecx
add edx, 2
cmp ecx, ebx
jl 0x5a9540
mov eax, dword [esp + 0x30]
and eax, 0xffffffdf
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xf8]
jne 0x5a960d
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x5a9609
movzx ecx, word [edi + 0x32]
nop word [eax + eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x5a95fa
xor edx, edx
xor ebx, ebx
mov ecx, eax
cmp dx, ax
jae 0x5a95eb
mov esi, dword [edi + 4]
mov dword [esp + 0x84], eax
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 4]
sub eax, esi
mov dword [esp + 0x38], eax
nop
mov ax, word [eax + esi]
cmp ax, word [esi]
jne 0x5a95e7
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.005cdec0
add esp, 8
test eax, eax
jne 0x5a95e7
mov eax, dword [esp + 0x84]
inc ebx
movzx eax, ax
add esi, 2
cmp ebx, eax
mov eax, dword [esp + 0x38]
jl 0x5a95b0
mov ecx, dword [esp + 0x34]
movzx eax, cx
cmp ebx, eax
je 0x5a969f
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x5a9580
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x74]
cmp byte [ebp + 0xdc], 2
mov ebx, dword [esp + 0x14]
jae 0x5a98b0
cmp byte [ebx + 0xb1], 0
je 0x5a973a
cmp dword [esp + 0x80], 0
je 0x5a970d
mov eax, dword [ebx + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.005b9680
add esp, 4
test eax, eax
je 0x5a970d
push str.invalid_rootpage
push ebp
call fcn.005abd70
push 0x1eb2d
call fcn.005a8380
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x5a98ee
movzx eax, cx
test ax, ax
js 0x5a9551
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x5a955b
mov eax, dword [esp + 0x84]
jmp 0x5a9521
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0x74]
cmp al, cl
je 0x5a96d2
cmp al, 0xb
je 0x5a96c6
cmp cl, 0xb
je 0x5a96c6
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.005abd70
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x5a96d2
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0x9c], 2
jne 0x5a96e8
mov eax, dword [ebp + 0x38]
and eax, 0xfffffffc
xor eax, 2
mov dword [ebp + 0x38], eax
cmp byte [esi + 0xdc], 2
mov ebx, dword [esp + 0x14]
jb 0x5a98ee
mov eax, dword [esi + 0xfc]
mov dword [edi + 0x14], eax
mov dword [esi + 0xfc], edi
jmp 0x5a994c
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.005b8e80
add esp, 0xc
test eax, eax
je 0x5a9731
push ebx
call fcn.005bd9c0
add esp, 4
jmp 0x5a98ee
or dword [ebx + 0x18], 1
jmp 0x5a98b0
test byte [eax + 0x1c], 0x80
je 0x5a974f
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5a98b7
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x74], ebx
test esi, esi
jne 0x5a9788
cmp dword [ebp + 0x80], esi
jne 0x5a9775
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x5a9775
mov byte [ebp + 0x17], 1
push ebp
call fcn.005d3190
mov esi, eax
add esp, 4
test esi, esi
je 0x5a9419
push dword [esp + 0x1c]
push 1
push ebp
call fcn.005a1080
push 0xbb
push esi
call fcn.005d2b10
push 2
push ebx
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.005d2c20
add esp, 0x28
cmp dword [esp + 0x8c], 0
je 0x5a980e
mov edx, dword [ebp + 0xd4]
add edx, dword [ebp + 0xd0]
mov eax, dword [esp + 0x2c]
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 + 0x8c], 0
push eax
mov ecx, str._UNIQUE
mov eax, 0x6a5e52
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.005bcc60
add esp, 0x14
mov ebx, eax
jmp 0x5a9810
xor ebx, ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
push ebx
push dword [esp + 0x78]
add ecx, ecx
push dword [eax]
mov eax, dword [esp + 0x20]
push dword [edi]
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
push str.INSERT_INTO__Q.sqlite_master_VALUES_index__Q__Q__d__Q__
push ebp
call fcn.005bd780
add esp, 0x1c
test ebx, ebx
je 0x5a984f
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call fcn.005a9be0
add esp, 8
jmp 0x5a9853
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x80], 0
je 0x5a98a4
push dword [esp + 0x74]
push edi
push ebp
call fcn.005c68c0
push dword [esp + 0x28]
push ebp
call fcn.005a5360
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebx
call fcn.005bcc60
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.005d2e20
push 1
push 0
push 0xa6
push esi
call fcn.005d2bc0
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.005dcb50
add esp, 8
mov eax, dword [esp + 0x80]
cmp byte [ebx + 0xb1], 0
jne 0x5a98d5
test eax, eax
je 0x5a98d5
cmp byte [ebp + 0xdc], 2
jb 0x5a98ee
mov dword [ebp + 0xfc], edi
jmp 0x5a994c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [edi + 0x14], eax
mov dword [ecx + 8], edi
mov edi, dword [esp + 0x18]
jmp 0x5a9954
mov ebx, eax
test edi, edi
je 0x5a994c
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5a9903
push eax
push ebx
call fcn.005afab0
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x5a9914
push eax
push ebx
call fcn.00579c60
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5a9925
push eax
push ebx
call fcn.005a9be0
add esp, 8
test byte [edi + 0x38], 0x10
je 0x5a993c
mov eax, dword [edi + 0x20]
test eax, eax
je 0x5a993c
push eax
push ebx
call fcn.005a9be0
add esp, 8
push edi
push ebx
call fcn.005a9be0
add esp, 8
jmp 0x5a994c
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 8]
add ecx, 8
test edx, edx
je 0x5a996f
nop
cmp byte [edx + 0x36], 5
je 0x5a99bc
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x5a9960
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x90]
test esi, esi
je 0x5a9988
push esi
push ebx
call fcn.005afab0
add esp, 8
test ebp, ebp
je 0x5a9996
push ebp
push ebx
call fcn.00579c60
add esp, 8
push dword [esp + 0x80]
push ebx
call fcn.005ccad0
add esp, 8
test edi, edi
je 0x5a99b4
push edi
push ebx
call fcn.005a9be0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [edx + 0x14]
test eax, eax
je 0x5a996f
cmp byte [eax + 0x36], 5
je 0x5a996f
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 0x5a99c3
jmp 0x5a996f
mov ebp, dword [esp + 0x84]
jmp 0x5a9973