Function at 0x5a82a0
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 0x5a914e
cmp byte [ebp + 0xdc], 1
jne 0x5a82e6
cmp byte [esp + 0x9c], 2
jne 0x5a914e
push ebp
call fcn.005c5de0
add esp, 4
test eax, eax
jne 0x5a914e
mov eax, dword [esp + 0x84]
push eax
push ebp
mov dword [esp + 0x28], eax
call fcn.005b84a0
add esp, 8
test eax, eax
jne 0x5a914e
cmp dword [esp + 0x80], edi
je 0x5a840b
mov esi, dword [esp + 0x7c]
lea eax, [esp + 0x2c]
push eax
push esi
push dword [esp + 0x80]
push ebp
call fcn.005cec50
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
js 0x5a914e
cmp byte [ebx + 0xb1], 0
jne 0x5a8384
push dword [esp + 0x80]
push ebp
call fcn.005cc810
add esp, 8
cmp dword [esi + 4], edi
mov esi, dword [esp + 0x1c]
jne 0x5a8386
test eax, eax
je 0x5a8386
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 0x5a8386
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.005b2960
push dword [esp + 0x94]
lea eax, [esp + 0x54]
push eax
call fcn.005b29d0
mov eax, dword [esp + 0x9c]
add eax, 8
push eax
push 0
push ebp
call fcn.005bc000
mov edx, eax
add esp, 0x28
mov dword [esp + 0x10], edx
test edx, edx
je 0x5a914e
cmp esi, 1
jne 0x5a83f6
mov eax, dword [ebx + 0x10]
mov eax, dword [eax + 0x1c]
cmp eax, dword [edx + 0x3c]
je 0x5a83f6
push dword [edx]
push str.cannot_create_a_TEMP_index_on_non_TEMP_table___s_
push ebp
call fcn.005ab4e0
add esp, 0xc
jmp 0x5a90c0
test byte [edx + 0x1c], 0x80
je 0x5a844c
push edx
call fcn.005c52b0
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x5a844c
mov eax, dword [ebp + 0xf8]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5a914e
mov ecx, dword [eax + 0x3c]
mov esi, 0xffff8000
mov dword [esp + 0x1c], esi
test ecx, ecx
je 0x5a844c
mov eax, dword [ebx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x1c], esi
cmp dword [eax], ecx
je 0x5a844c
nop dword [eax]
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x5a8440
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 0x5a84e6
mov edi, str.sqlite_
mov al, byte [esi]
dec edx
test al, al
je 0x5a8492
movzx ecx, byte [edi]
movzx eax, al
mov al, byte [eax + 0x68a3e0]
cmp al, byte [ecx + 0x68a3e0]
jne 0x5a8492
inc esi
inc edi
test edx, edx
jg 0x5a8470
dec edx
test edx, edx
js 0x5a84ae
movzx eax, byte [edi]
movzx ecx, byte [eax + 0x68a3e0]
movzx eax, byte [esi]
movzx eax, byte [eax + 0x68a3e0]
sub eax, ecx
jne 0x5a84e2
mov edi, dword [esp + 0x14]
cmp byte [edi + 0xb1], 0
jne 0x5a84e6
cmp dword [esp + 0x80], 0
je 0x5a84e6
mov eax, dword [esp + 0x10]
push dword [eax]
push str.table__s_may_not_be_indexed
push ebp
call fcn.005ab4e0
add esp, 0xc
mov ebx, edi
xor edi, edi
jmp 0x5a90c0
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov al, byte [edx + 0x2b]
cmp al, 2
jne 0x5a850a
push str.views_may_not_be_indexed
push ebp
call fcn.005ab4e0
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x5a90c0
cmp al, 1
jne 0x5a8527
push str.virtual_tables_may_not_be_indexed
push ebp
call fcn.005ab4e0
mov ebx, dword [esp + 0x1c]
add esp, 8
xor edi, edi
jmp 0x5a90c0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x5a865e
mov edi, dword [eax]
mov esi, dword [eax + 4]
test edi, edi
je 0x5a8649
xor eax, eax
mov ecx, esi
add ecx, 1
adc eax, eax
push eax
push ecx
push dword [esp + 0x1c]
call fcn.005a9460
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x5a8633
push esi
push edi
push eax
call fcn.00620e40
mov eax, dword [esp + 0x24]
mov byte [esi + eax], 0
mov esi, eax
push esi
call fcn.005aa600
mov eax, dword [esp + 0x20]
push dword [eax]
push str.index
push esi
push ebp
call fcn.005a4b40
add esp, 0x20
test eax, eax
jne 0x5a90b8
cmp byte [ebp + 0xdc], 2
mov edi, dword [esp + 0x14]
jae 0x5a862d
cmp byte [edi + 0xb1], al
jne 0x5a85db
push dword [ebx]
push esi
push edi
call fcn.005b1da0
add esp, 0xc
test eax, eax
je 0x5a85db
push esi
push str.there_is_already_a_table_named__s
push ebp
call fcn.005ab4e0
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a90bc
push dword [ebx]
push esi
push edi
call fcn.005b1d10
add esp, 0xc
test eax, eax
je 0x5a862d
cmp dword [esp + 0x98], 0
jne 0x5a860f
push esi
push str.index__s_already_exists
push ebp
call fcn.005ab4e0
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a90bc
push dword [esp + 0x1c]
push ebp
call fcn.005a62f0
push ebp
call fcn.005b3b70
add esp, 0xc
mov dword [esp + 0x18], esi
mov ebx, edi
jmp 0x5a90bc
mov dword [esp + 0x18], esi
jmp 0x5a86a3
mov edi, dword [esp + 0x18]
push edi
call fcn.005aa600
mov ebx, dword [esp + 0x18]
add esp, 4
jmp 0x5a90c0
push 0
call fcn.005aa600
mov ebx, dword [esp + 0x18]
add esp, 4
xor edi, edi
jmp 0x5a90c0
mov eax, dword [edx + 8]
mov ecx, 1
test eax, eax
je 0x5a8678
nop word [eax + eax]
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x5a8670
push ecx
push dword [edx]
push str.sqlite_autoindex__s__d
push edi
call fcn.005bc3d0
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x5a90b8
cmp byte [ebp + 0xdc], 0
je 0x5a86a3
inc byte [esi + 7]
cmp byte [ebp + 0xdc], 2
jae 0x5a8706
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.0059fd10
add esp, 0x14
test eax, eax
jne 0x5a90b8
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.0059fd10
add esp, 0x14
test eax, eax
jne 0x5a90b8
cmp dword [esp + 0x84], 0
jne 0x5a87d1
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 0x5a8733
xor esi, esi
jmp 0x5a8747
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5a8738
sub esi, ecx
and esi, 0x3fffffff
lea eax, [esi + 0x35]
push 0
push eax
push edi
call fcn.005a9460
mov edi, eax
add esp, 0xc
test edi, edi
je 0x5a8796
push 0x34
push 0
push edi
call fcn.006213c0
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 0x5a8788
push esi
push ebx
push eax
call fcn.00620e40
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.005b0170
mov edi, eax
add esp, 8
mov dword [esp + 0x20], edi
test edi, edi
je 0x5a90b8
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 0x5a8802
mov edi, dword [esp + 0x84]
mov ecx, dword [ebp]
mov eax, dword [edi]
cmp eax, dword [ecx + 0x80]
jle 0x5a87f8
push str.index
push str.too_many_columns_in__s
push ebp
call fcn.005ab4e0
add esp, 0xc
cmp dword [ebp + 0x24], 0
jne 0x5a90b8
mov esi, dword [edi]
test esi, esi
jle 0x5a8847
lea edx, [edi + 8]
xor ebx, ebx
nop dword [eax]
mov ecx, dword [edx]
cmp byte [ecx], 0x71
jne 0x5a8833
mov ecx, dword [ecx + 8]
test ecx, ecx
je 0x5a8830
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5a8821
sub ecx, edi
and ecx, 0x3fffffff
inc ebx
add ebx, ecx
add edx, 0x14
sub esi, 1
jne 0x5a8810
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 0x5a8850
mov eax, dword [esp + 0x28]
sub esi, ecx
and esi, 0x3fffffff
test eax, eax
je 0x5a886d
movzx ecx, word [eax + 0x32]
jmp 0x5a8872
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.0059d4b0
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x57], 0
jne 0x5a905c
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.00620e40
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 0x5a8946
push 0
push esi
push 2
push edx
push ebp
call fcn.005c6e70
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 0x5a8975
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 0x5a8b92
mov eax, dword [ebx]
mov cl, byte [eax]
cmp cl, 0x75
je 0x5a899c
cmp cl, 0x71
jne 0x5a899f
mov eax, dword [eax + 0xc]
cmp byte [eax], 0x75
jne 0x5a899f
mov byte [eax], 0x3b
push 0
push dword [ebx]
push 0x20
push edx
push ebp
call fcn.005c6e70
add esp, 0x14
cmp dword [ebp + 0x24], 0
jne 0x5a8b89
mov eax, dword [ebx]
test eax, eax
je 0x5a89d0
nop
test dword [eax + 4], 0x2000
je 0x5a89d0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5a89c0
cmp byte [eax], 0xa7
je 0x5a8a18
mov edx, dword [esp + 0x10]
cmp edx, dword [ebp + 0xf8]
je 0x5a8b7b
cmp dword [edi + 0x28], 0
jne 0x5a89fa
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 0x5a8a5c
movsx ecx, word [eax + 0x20]
test ecx, ecx
jns 0x5a8a2a
mov edx, dword [esp + 0x10]
movsx ecx, word [edx + 0x20]
jmp 0x5a8a55
mov ebp, dword [esp + 0x10]
mov edx, ecx
add edx, edx
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 4], 0xf
jne 0x5a8a40
and dword [edi + 0x38], 0xfffffff7
mov eax, dword [ebp + 4]
test byte [eax + edx*8 + 0xe], 0x20
mov edx, dword [esp + 0x10]
je 0x5a8a55
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 0x5a8a9f
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x5a8a6e
xor esi, esi
jmp 0x5a8a82
mov esi, ecx
lea edx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x5a8a73
sub esi, edx
and esi, 0x3fffffff
mov ebp, dword [esp + 0x34]
inc esi
push esi
push ecx
push ebp
call fcn.00620e40
lea eax, [esi + ebp]
add esp, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x5a8ad9
test ecx, ecx
js 0x5a8add
shl ecx, 4
mov eax, 0x200
add ecx, dword [edx + 4]
test word [ecx + 0xe], ax
jne 0x5a8ab8
xor ebp, ebp
jmp 0x5a8ad9
mov eax, dword [ecx]
cmp byte [eax], 0
je 0x5a8ac6
nop
inc eax
cmp byte [eax], 0
jne 0x5a8ac0
test byte [ecx + 0xe], 4
je 0x5a8ad6
nop dword [eax]
inc eax
cmp byte [eax], 0
jne 0x5a8ad0
lea ebp, [eax + 1]
test ebp, ebp
jne 0x5a8ae2
mov ebp, str.BINARY
mov eax, dword [esp + 0x14]
cmp byte [eax + 0xb1], 0
jne 0x5a8b3d
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.005b0ff0
add esp, 0x10
test bl, bl
jne 0x5a8b31
test eax, eax
je 0x5a8b22
cmp dword [eax + 0xc], 0
jne 0x5a8b35
push ebp
push eax
push dword [esp + 0x40]
push esi
call fcn.005b75d0
add esp, 0x10
test eax, eax
je 0x5a8b89
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 0x5a8b92
mov edx, dword [esp + 0x10]
jmp 0x5a8986
push str.expressions_prohibited_in_PRIMARY_KEY_and_UNIQUE_constraints
push ebp
call fcn.005ab4e0
add esp, 8
mov ebx, dword [esp + 0x14]
jmp 0x5a905e
mov edx, dword [esp + 0x28]
test edx, edx
je 0x5a8c01
xor eax, eax
xor esi, esi
cmp ax, word [edx + 0x32]
jae 0x5a8c15
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.00582920
mov edx, dword [esp + 0x38]
add esp, 0x10
test eax, eax
je 0x5a8bd2
mov eax, 0xffff
add word [edi + 0x34], ax
jmp 0x5a8bf2
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 0x5a8ba8
mov ebp, dword [esp + 0x74]
jmp 0x5a8c15
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.005a9930
add esp, 4
cmp dword [ebp + 0xf8], 0
jne 0x5a8c30
push edi
call fcn.00575d50
add esp, 4
push edi
call fcn.00595330
add esp, 4
cmp dword [esp + 0x80], 0
je 0x5a8ccb
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 0x5a8ccb
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 0x5a8ccb
movsx eax, word [ebx + 0x20]
mov dword [esp + 0x84], eax
cmp esi, eax
je 0x5a8df7
xor eax, eax
xor ecx, ecx
cmp ax, dx
jae 0x5a8cc1
movzx ebx, dx
mov edx, dword [edi + 4]
nop dword [eax + eax]
cmp si, word [edx]
je 0x5a8de3
inc ecx
add edx, 2
cmp ecx, ebx
jl 0x5a8cb0
mov eax, dword [esp + 0x30]
and eax, 0xffffffdf
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0xf8]
jne 0x5a8d7d
mov ebp, dword [eax + 8]
test ebp, ebp
je 0x5a8d79
movzx ecx, word [edi + 0x32]
nop word [eax + eax]
movzx eax, word [ebp + 0x32]
cmp ax, cx
jne 0x5a8d6a
xor edx, edx
xor ebx, ebx
mov ecx, eax
cmp dx, ax
jae 0x5a8d5b
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 0x5a8d57
mov eax, dword [edi + 0x20]
push dword [eax + ebx*4]
mov eax, dword [ebp + 0x20]
push dword [eax + ebx*4]
call fcn.005cd620
add esp, 8
test eax, eax
jne 0x5a8d57
mov eax, dword [esp + 0x84]
inc ebx
movzx eax, ax
add esi, 2
cmp ebx, eax
mov eax, dword [esp + 0x38]
jl 0x5a8d20
mov ecx, dword [esp + 0x34]
movzx eax, cx
cmp ebx, eax
je 0x5a8e0f
movzx ecx, word [edi + 0x32]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x5a8cf0
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x74]
cmp byte [ebp + 0xdc], 2
mov ebx, dword [esp + 0x14]
jae 0x5a9020
cmp byte [ebx + 0xb1], 0
je 0x5a8eaa
cmp dword [esp + 0x80], 0
je 0x5a8e7d
mov eax, dword [ebx + 0xac]
push edi
mov dword [edi + 0x2c], eax
call fcn.005b8df0
add esp, 4
test eax, eax
je 0x5a8e7d
push str.invalid_rootpage
push ebp
call fcn.005ab4e0
push 0x1eb2d
call fcn.005a7af0
add esp, 0xc
mov dword [ebp + 0xc], eax
jmp 0x5a905e
movzx eax, cx
test ax, ax
js 0x5a8cc1
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
inc esi
movsx eax, cx
cmp esi, eax
jge 0x5a8ccb
mov eax, dword [esp + 0x84]
jmp 0x5a8c91
mov al, byte [ebp + 0x36]
mov cl, byte [edi + 0x36]
mov esi, dword [esp + 0x74]
cmp al, cl
je 0x5a8e42
cmp al, 0xb
je 0x5a8e36
cmp cl, 0xb
je 0x5a8e36
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push esi
call fcn.005ab4e0
add esp, 0xc
cmp byte [ebp + 0x36], 0xb
jne 0x5a8e42
mov al, byte [edi + 0x36]
mov byte [ebp + 0x36], al
cmp byte [esp + 0x9c], 2
jne 0x5a8e58
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 0x5a905e
mov eax, dword [esi + 0xfc]
mov dword [edi + 0x14], eax
mov dword [esi + 0xfc], edi
jmp 0x5a90bc
mov eax, dword [edi + 0x18]
push edi
push dword [edi]
add eax, 0x18
push eax
call fcn.005b85f0
add esp, 0xc
test eax, eax
je 0x5a8ea1
push ebx
call fcn.005bd130
add esp, 4
jmp 0x5a905e
or dword [ebx + 0x18], 1
jmp 0x5a9020
test byte [eax + 0x1c], 0x80
je 0x5a8ebf
mov eax, dword [esp + 0x80]
test eax, eax
je 0x5a9027
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x2c]
mov dword [esp + 0x74], ebx
test esi, esi
jne 0x5a8ef8
cmp dword [ebp + 0x80], esi
jne 0x5a8ee5
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x5a8ee5
mov byte [ebp + 0x17], 1
push ebp
call fcn.005d28f0
mov esi, eax
add esp, 4
test esi, esi
je 0x5a8b89
push dword [esp + 0x1c]
push 1
push ebp
call fcn.005a07f0
push 0xbb
push esi
call fcn.005d2270
push 2
push ebx
push dword [esp + 0x38]
mov dword [edi + 0x2c], eax
push 0x93
push esi
call fcn.005d2380
add esp, 0x28
cmp dword [esp + 0x8c], 0
je 0x5a8f7e
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, 0x6a4e12
cmovne eax, ecx
push eax
push str.CREATE_s_INDEX__.s
push dword [esp + 0x24]
call fcn.005bc3d0
add esp, 0x14
mov ebx, eax
jmp 0x5a8f80
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.005bcef0
add esp, 0x1c
test ebx, ebx
je 0x5a8fbf
push ebx
mov ebx, dword [esp + 0x18]
push ebx
call fcn.005a9350
add esp, 8
jmp 0x5a8fc3
mov ebx, dword [esp + 0x14]
cmp dword [esp + 0x80], 0
je 0x5a9014
push dword [esp + 0x74]
push edi
push ebp
call fcn.005c6030
push dword [esp + 0x28]
push ebp
call fcn.005a4ad0
add esp, 0x14
push 0
push dword [edi]
push str.name_q_AND_typeindex
push ebx
call fcn.005bc3d0
add esp, 0xc
push eax
push dword [esp + 0x24]
push esi
call fcn.005d2580
push 1
push 0
push 0xa6
push esi
call fcn.005d2320
add esp, 0x20
push dword [edi + 0x2c]
push esi
call fcn.005dc2b0
add esp, 8
mov eax, dword [esp + 0x80]
cmp byte [ebx + 0xb1], 0
jne 0x5a9045
test eax, eax
je 0x5a9045
cmp byte [ebp + 0xdc], 2
jb 0x5a905e
mov dword [ebp + 0xfc], edi
jmp 0x5a90bc
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 0x5a90c4
mov ebx, eax
test edi, edi
je 0x5a90bc
mov eax, dword [edi + 0x24]
test eax, eax
je 0x5a9073
push eax
push ebx
call fcn.005af220
add esp, 8
mov eax, dword [edi + 0x28]
test eax, eax
je 0x5a9084
push eax
push ebx
call fcn.00579390
add esp, 8
mov eax, dword [edi + 0x10]
test eax, eax
je 0x5a9095
push eax
push ebx
call fcn.005a9350
add esp, 8
test byte [edi + 0x38], 0x10
je 0x5a90ac
mov eax, dword [edi + 0x20]
test eax, eax
je 0x5a90ac
push eax
push ebx
call fcn.005a9350
add esp, 8
push edi
push ebx
call fcn.005a9350
add esp, 8
jmp 0x5a90bc
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 0x5a90df
nop
cmp byte [edx + 0x36], 5
je 0x5a912c
lea ecx, [edx + 0x14]
mov edx, dword [ecx]
test edx, edx
jne 0x5a90d0
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x90]
test esi, esi
je 0x5a90f8
push esi
push ebx
call fcn.005af220
add esp, 8
test ebp, ebp
je 0x5a9106
push ebp
push ebx
call fcn.00579390
add esp, 8
push dword [esp + 0x80]
push ebx
call fcn.005cc230
add esp, 8
test edi, edi
je 0x5a9124
push edi
push ebx
call fcn.005a9350
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
mov eax, dword [edx + 0x14]
test eax, eax
je 0x5a90df
cmp byte [eax + 0x36], 5
je 0x5a90df
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 0x5a9133
jmp 0x5a90df
mov ebp, dword [esp + 0x84]
jmp 0x5a90e3