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

Disassembly:
sub esp, 0x68
mov eax, dword [0x75aa5c]
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x74]
mov edx, dword [esi + 0x18]
xor ecx, ecx
cmp edx, ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esi]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], ecx
jne 0x5ee190
mov dl, byte [eax + 0x1e]
test dl, dl
jne 0x5ee190
mov dl, byte [esi + 0xbc]
test dl, dl
jne 0x5ee190
cmp ebp, ecx
push ebx
push edi
je 0x5edc03
mov ebx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
lea eax, [esp + 0x20]
push eax
push ebx
push ecx
push esi
call fcn.005eb890
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x24], edi
jl 0x5ee18e
push ebp
push esi
call fcn.00608ab0
add esp, 8
test ebx, ebx
je 0x5edbb7
test dword [ebx + 4], 0xfffffffe
jne 0x5edbb7
test eax, eax
je 0x5edbb7
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 8]
mov edx, dword [eax + 0x4c]
cmp edx, dword [ecx + 0x2c]
jne 0x5edbb7
mov edi, 1
mov dword [esp + 0x24], edi
mov eax, dword [esp + 0x20]
push eax
push str.index
push edi
lea ecx, [esp + 0x50]
push esi
push ecx
call fcn.00609a70
add esp, 0x14
test eax, eax
je 0x5edbe2
lea edx, [esp + 0x44]
push ebp
push edx
call fcn.00609b90
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push esi
call fcn.005eb1e0
mov ebx, eax
add esp, 0xc
test ebx, ebx
mov dword [esp + 0x18], ebx
je 0x5ee18e
jmp 0x5edc28
mov ebx, dword [esi + 0xa4]
cmp ebx, ecx
mov dword [esp + 0x18], ebx
je 0x5ee18e
mov edx, dword [ebx + 0x4c]
push edx
push eax
call fcn.005df490
mov edi, eax
add esp, 8
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x14]
mov ebp, dword [ecx + 8]
lea eax, [edi + edi*2]
shl eax, 3
add ebp, eax
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x18]
test eax, eax
mov dword [esp + 0x1c], ebp
jne 0x5ee18e
mov al, byte [ebx + 0x34]
test al, al
je 0x5edc67
mov edx, dword [ebx]
push edx
push str.table__s_may_not_be_indexed
push esi
call fcn.005dfe10
add esp, 0xc
jmp 0x5ee18e
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x5edc7e
push str.views_may_not_be_indexed
push esi
call fcn.005dfe10
jmp 0x5ee18b
mov al, byte [ebx + 0x39]
test al, al
je 0x5edc95
push str.virtual_tables_may_not_be_indexed
push esi
call fcn.005dfe10
jmp 0x5ee18b
mov eax, dword [esp + 0x20]
test eax, eax
je 0x5edd6f
mov ecx, dword [esp + 0x14]
push eax
push ecx
call fcn.005eb750
push esi
mov dword [esp + 0x1c], eax
call fcn.005df390
add esp, 0xc
test eax, eax
jne 0x5ee18e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x5ee18e
push eax
push esi
call fcn.005eb8f0
add esp, 8
test eax, eax
jne 0x5ee18e
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x50]
test al, al
jne 0x5edd2a
push esi
call fcn.005df390
add esp, 4
test eax, eax
jne 0x5ee18e
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push eax
push ecx
call fcn.005eb140
add esp, 0xc
test eax, eax
je 0x5edd2a
mov edx, dword [esp + 0x10]
push edx
push str.there_is_already_a_table_named__s
push esi
call fcn.005dfe10
add esp, 0xc
jmp 0x5ee18e
mov eax, dword [ebp]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call fcn.005eb250
add esp, 0xc
test eax, eax
je 0x5eddd3
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x5ee18e
mov eax, dword [esp + 0x10]
push eax
push str.index__s_already_exists
push esi
call fcn.005dfe10
add esp, 0xc
jmp 0x5ee18e
mov eax, dword [ebx + 0x10]
test eax, eax
mov ecx, 1
je 0x5edd88
jmp 0x5edd80
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x5edd80
push ecx
push 0x70e804
lea ecx, [esp + 0x5c]
push ecx
push 0x1e
call fcn.005fddd0
push 0
lea edx, [esp + 0x68]
push edx
mov dword [esp + 0x28], 0
mov eax, dword [ebx]
push eax
lea ecx, [esp + 0x2c]
push str.sqlite_autoindex_
push ecx
call fcn.005f2110
mov eax, dword [esp + 0x34]
add esp, 0x24
test eax, eax
jne 0x5eddd3
mov edx, dword [esp + 0x14]
mov byte [edx + 0x1e], 1
jmp 0x5ee18e
cmp edi, 1
mov ebp, dword [ebp]
mov eax, str.sqlite_temp_master
je 0x5edde5
mov eax, str.sqlite_master
push ebp
push 0
push eax
push 0x12
push esi
call fcn.005ff8b0
add esp, 0x14
test eax, eax
jne 0x5ee18e
mov eax, 1
cmp edi, eax
jne 0x5ede0a
mov eax, 3
mov ecx, dword [ebx]
mov edx, dword [esp + 0x10]
push ebp
push ecx
push edx
push eax
push esi
call fcn.005ff8b0
add esp, 0x14
test eax, eax
jne 0x5ee18e
mov eax, dword [esp + 0x8c]
test eax, eax
jne 0x5ede8b
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea eax, [eax + eax*4]
mov eax, dword [ecx + eax*4 - 0x14]
mov dword [esp + 0x3c], eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ede44
sub eax, edx
lea edx, [eax + eax]
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x3c]
push ecx
push 0
and eax, 1
or edx, eax
push 0
push esi
mov dword [esp + 0x50], edx
call fcn.00605520
add esp, 0x10
test eax, eax
mov dword [esp + 0x8c], eax
je 0x5ee18e
mov edx, dword [eax + 0xc]
mov cl, byte [esp + 0x9c]
mov byte [edx + 8], cl
mov esi, dword [eax]
test esi, esi
jle 0x5edec7
mov ebx, dword [eax + 0xc]
mov edi, dword [esp + 0x28]
mov ebp, esi
lea ebx, [ebx]
mov eax, dword [ebx]
test eax, eax
je 0x5edebd
mov edx, dword [eax + 4]
mov eax, dword [edx]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5edeb0
sub eax, edx
lea edi, [edi + eax + 1]
add ebx, 0xc
dec ebp
jne 0x5edea0
mov dword [esp + 0x28], edi
mov ebx, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov edi, edi
mov al, byte [ebx]
inc ebx
test al, al
jne 0x5eded0
mov edi, dword [esp + 0x14]
mov eax, esi
imul eax, eax, 0xd
sub ebx, ecx
mov ecx, dword [esp + 0x28]
add eax, ebx
lea edx, [eax + ecx + 0x35]
push edx
push edi
call fcn.005f2240
mov ebp, eax
mov al, byte [edi + 0x1e]
add esp, 8
test al, al
jne 0x5ee178
lea eax, [ebp + 0x30]
mov dword [ebp + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebp + 8], eax
lea eax, [eax + esi*4]
mov dword [ebp + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebp + 0x28], eax
lea edi, [eax + esi]
mov dword [ebp], edi
mov esi, dword [esp + 0x10]
lea ecx, [ebx + 1]
mov edx, ecx
shr ecx, 2
lea eax, [edi + ebx + 1]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov dl, byte [esp + 0x90]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax]
mov dword [ebp + 4], ecx
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [ebp + 0x18], dl
mov edx, dword [esp + 0x14]
sete cl
mov byte [ebp + 0x19], cl
mov ecx, dword [edx + 8]
mov edx, dword [esp + 0x38]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [esp + 0x1c]
mov dword [ebp + 0x24], ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [eax]
xor ebx, ebx
mov bl, byte [ecx + 0x58]
mov ecx, dword [eax + 0xc]
cmp bl, 4
mov dword [esp + 0x30], ecx
sbb ebx, ebx
neg ebx
dec ebx
xor edi, edi
test edx, edx
jle 0x5ee0b1
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
mov dword [esp + 0x1c], edx
jle 0x5edfef
lea esp, [esp]
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
call fcn.005dff40
add esp, 8
test eax, eax
je 0x5edfef
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
inc esi
add ecx, 0x14
cmp esi, eax
mov dword [esp + 0x2c], ecx
jl 0x5edfc0
mov ecx, dword [esp + 0x18]
cmp esi, dword [ecx + 4]
jge 0x5ee1c6
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x30]
mov dword [eax + edi*4], esi
mov eax, dword [edx]
test eax, eax
je 0x5ee049
mov eax, dword [eax + 4]
mov ecx, dword [eax]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x28]
push ecx
push 0x70d8d4
push esi
push edx
call fcn.005fddd0
mov edx, esi
mov eax, edx
lea ecx, [eax + 1]
add esp, 0x10
mov dword [esp + 0x1c], ecx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ee034
sub eax, dword [esp + 0x1c]
lea edx, [edx + eax + 1]
mov dword [esp + 0x34], edx
jmp 0x5ee060
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov esi, dword [ecx + eax*4 + 0xc]
test esi, esi
jne 0x5ee060
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
mov esi, dword [eax]
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x50]
test al, al
jne 0x5ee083
mov edx, dword [esp + 0x7c]
push 0xffffffffffffffff
push esi
push edx
call fcn.005ebcd0
add esp, 0xc
test eax, eax
je 0x5ee178
mov eax, dword [ebp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [eax + edi*4], esi
mov dl, byte [ecx + 8]
mov eax, dword [ebp + 0x28]
and dl, bl
mov byte [edi + eax], dl
mov edx, dword [esp + 0x8c]
mov eax, dword [edx]
inc edi
add ecx, 0xc
cmp edi, eax
mov dword [esp + 0x30], ecx
jl 0x5edfa1
push ebp
call fcn.005ec970
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0xa4]
add esp, 4
cmp eax, edx
jne 0x5ee136
mov edi, dword [eax + 0x10]
test edi, edi
je 0x5ee136
mov eax, dword [edi + 4]
cmp eax, dword [ebp + 4]
jne 0x5ee12f
xor esi, esi
test eax, eax
jle 0x5ee126
mov edx, dword [edi + 0x2c]
mov ebx, dword [edi + 8]
mov eax, dword [edx + esi*4]
mov edx, dword [ebp + 8]
mov ebx, dword [ebx + esi*4]
cmp ebx, dword [edx + esi*4]
mov ecx, dword [ebp + 0x2c]
mov ecx, dword [ecx + esi*4]
jne 0x5ee126
mov edx, dword [edi + 0x28]
mov ebx, dword [ebp + 0x28]
mov dl, byte [esi + edx]
cmp dl, byte [esi + ebx]
jne 0x5ee126
cmp eax, ecx
je 0x5ee11e
push ecx
push eax
call fcn.005dff40
add esp, 8
test eax, eax
jne 0x5ee126
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x5ee0e4
cmp esi, dword [edi + 4]
je 0x5ee1e2
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x5ee0d6
mov ebx, dword [esp + 0x14]
mov al, byte [ebx + 0x50]
test al, al
je 0x5ee241
mov edx, dword [ebp]
mov eax, edx
lea esi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ee150
sub eax, esi
push ebp
inc eax
push eax
push edx
mov edx, dword [ebp + 0x24]
add edx, 0x18
push edx
call fcn.005e24b0
add esp, 0x10
test eax, eax
je 0x5ee21e
mov byte [ebx + 0x1e], 1
test ebp, ebp
je 0x5ee18e
mov eax, dword [ebp + 0x1c]
push eax
call fcn.005dd690
push ebp
call fcn.005dd690
add esp, 8
pop edi
pop ebx
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00604c20
mov edx, dword [esp + 0x84]
push edx
call fcn.005ecb50
mov eax, dword [esp + 0x10]
push eax
call fcn.005dd690
mov ecx, dword [esp + 0x78]
add esp, 0xc
pop esi
pop ebp
call fcn.005a6f18
add esp, 0x68
ret
mov eax, dword [esp + 0x1c]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x7c]
push eax
push ecx
push str.table__s_has_no_column_named__s
push edx
call fcn.005dfe10
add esp, 0x10
jmp 0x5ee178
mov al, byte [edi + 0x18]
mov cl, byte [ebp + 0x18]
cmp al, cl
je 0x5ee178
cmp al, 0x63
je 0x5ee209
cmp cl, 0x63
je 0x5ee209
mov eax, dword [esp + 0x7c]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push eax
call fcn.005dfe10
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x5ee178
mov cl, byte [ebp + 0x18]
mov byte [edi + 0x18], cl
jmp 0x5ee178
mov ecx, dword [ebx + 0xc]
mov eax, dword [esp + 0x88]
or ecx, 0x10
test eax, eax
mov dword [ebx + 0xc], ecx
je 0x5ee388
mov eax, dword [ebx + 0x4c]
mov dword [ebp + 0x14], eax
jmp 0x5ee388
mov edi, dword [esp + 0x7c]
mov eax, dword [edi + 0x20]
mov dword [esp + 0x1c], eax
inc eax
push edi
mov dword [edi + 0x20], eax
call fcn.00601d80
mov esi, eax
add esp, 4
test esi, esi
je 0x5ee178
mov ecx, dword [esp + 0x24]
push ecx
push 1
push edi
call fcn.005eced0
mov edx, dword [esp + 0x30]
push 0
push edx
push 0x20
push esi
call fcn.005ef1d0
mov eax, dword [esp + 0x38]
push 0
push eax
push 0x7f
push esi
call fcn.005ef1d0
mov eax, dword [esp + 0xc0]
add esp, 0x2c
test eax, eax
je 0x5ee2dc
mov edx, dword [esp + 0x98]
test edx, edx
je 0x5ee2dc
mov eax, dword [esp + 0x90]
test eax, eax
mov ecx, 0x702e88
je 0x5ee2bc
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov edx, dword [edx]
push eax
sub edx, eax
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
push ebx
call fcn.005fdcd0
add esp, 0x14
mov edi, eax
jmp 0x5ee2de
xor edi, edi
cmp dword [esp + 0x24], 1
mov eax, str.sqlite_temp_master
je 0x5ee2ef
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
mov ecx, dword [ebp]
push edi
push edx
mov edx, dword [ebx + 8]
push ecx
push eax
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x8c]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push edx
call fcn.005eb090
push 0
push 1
push 0xb
push esi
call fcn.005ef1d0
push edi
call fcn.005dd690
mov eax, dword [esp + 0xb8]
add esp, 0x30
test eax, eax
je 0x5ee388
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x7c]
push eax
push ecx
mov eax, ebp
call fcn.005ed960
mov edi, dword [esp + 0x2c]
push edi
push esi
push ebx
call fcn.005ebd60
mov edx, dword [ebp]
add esp, 0x14
push 0xffffffffffffffff
push edx
push str.name_q
push ebx
call fcn.005fdcd0
add esp, 0xc
push eax
push 0
push edi
push 0x1d
push esi
call fcn.005f13c0
push 0
push 0
push 0xf
push esi
call fcn.005ef1d0
add esp, 0x28
mov al, byte [ebx + 0x50]
test al, al
jne 0x5ee39e
mov eax, dword [esp + 0x88]
test eax, eax
jne 0x5ee178
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x18]
mov edx, 5
cmp eax, edx
jne 0x5ee3e4
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x5ee3e4
cmp byte [eax + 0x18], dl
je 0x5ee3e4
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x5ee3d6
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x5ee3d6
mov eax, ecx
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x5ee3c5
mov ecx, dword [eax + 0x20]
mov dword [ebp + 0x20], ecx
mov dword [eax + 0x20], ebp
jmp 0x5ee18e
mov edx, dword [ecx + 0x10]
mov dword [ebp + 0x20], edx
mov dword [ecx + 0x10], ebp
jmp 0x5ee18e