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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x4eb6b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x64], edx
xor edx, edx
push edi
mov edi, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x3c], edx
cmp dword [eax + 0x18], edx
jne 0x439425
cmp dword [0x4f019c], edx
je 0x438ec8
cmp dword [0x4f01a8], edx
jg 0x439425
test ecx, ecx
je 0x438f6b
lea edx, [ebp - 0x48]
mov ecx, ebx
mov edi, eax
call fcn.00436bc0
mov edi, eax
mov dword [ebp - 0x40], edi
test edi, edi
js 0x439425
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
push eax
push ecx
call fcn.00455250
add esp, 8
test ebx, ebx
je 0x438f20
test dword [ebx + 4], 0xfffffffe
jne 0x438f20
test eax, eax
je 0x438f20
mov edx, dword [ebp - 0x30]
mov ecx, dword [edx + 4]
mov edx, dword [eax + 0x3c]
cmp edx, dword [ecx + 0x2c]
jne 0x438f20
mov edi, 1
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x28]
push eax
push str.index
mov ecx, edi
lea eax, [ebp - 0x74]
call fcn.00449290
mov ebx, dword [ebp - 0x44]
add esp, 8
test eax, eax
je 0x438f4d
lea ecx, [ebp - 0x74]
push ebx
push ecx
call fcn.004492d0
add esp, 8
mov edx, dword [ebx + 4]
mov eax, dword [ebx + 8]
push edx
push eax
push esi
call fcn.00435b20
add esp, 0xc
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x439425
jmp 0x438f92
mov ecx, eax
mov eax, dword [ecx + 0xa4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x439425
mov edx, eax
mov esi, dword [edx + 0x3c]
mov ecx, edi
call fcn.00424790
mov esi, dword [ebp - 0x28]
mov edi, eax
mov dword [ebp - 0x40], edi
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx + 4]
lea eax, [edi + edi*2]
add eax, eax
add eax, eax
add eax, eax
add ecx, eax
cmp dword [esi + 0x18], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x38], ecx
jne 0x439425
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0x1c], 0
je 0x438fd5
mov edx, dword [esi]
mov eax, dword [ebp - 0x28]
push edx
push str.table__s_may_not_be_indexed
push eax
call fcn.00425e20
add esp, 0xc
jmp 0x439425
cmp dword [esi + 0x18], 0
je 0x438ff1
mov ecx, dword [ebp - 0x28]
push str.views_may_not_be_indexed
push ecx
call fcn.00425e20
add esp, 8
jmp 0x439425
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x4390b2
call fcn.004369e0
mov edx, dword [ebp - 0x28]
push edx
mov dword [ebp - 0x34], eax
call fcn.00424590
add esp, 4
test eax, eax
jne 0x439425
mov edi, dword [ebp - 0x34]
test edi, edi
je 0x439425
mov esi, dword [ebp - 0x28]
call fcn.00436c00
test eax, eax
jne 0x439425
mov edi, dword [ebp - 0x30]
cmp byte [edi + 0x44], al
jne 0x439108
push esi
call fcn.00424590
add esp, 4
test eax, eax
jne 0x439425
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push ecx
push edx
push edi
call fcn.00435ba0
add esp, 0xc
test eax, eax
je 0x439088
cmp dword [ebp + 0x24], 0
jne 0x439425
mov eax, dword [ebp - 0x34]
push eax
push str.index__s_already_exists
push esi
call fcn.00425e20
add esp, 0xc
jmp 0x439425
mov ecx, dword [ebp - 0x34]
push 0
push ecx
push edi
call fcn.00435a20
add esp, 0xc
test eax, eax
je 0x439108
mov edx, dword [ebp - 0x34]
push edx
push str.there_is_already_a_table_named__s
push esi
call fcn.00425e20
add esp, 0xc
jmp 0x439425
mov eax, dword [esi + 0x10]
mov ecx, 1
test eax, eax
je 0x4390c8
mov edi, edi
mov eax, dword [eax + 0x20]
inc ecx
test eax, eax
jne 0x4390c0
push ecx
lea eax, [ebp - 0x24]
push 0x4d59fc
push eax
call fcn.0049ba0c
add esp, 0xc
push 0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x34], 0
mov edx, dword [esi]
push edx
lea eax, [ebp - 0x34]
push str.sqlite_autoindex_
push eax
call fcn.00425c30
add esp, 0x14
cmp dword [ebp - 0x34], 0
je 0x439425
mov esi, dword [ebp - 0x28]
cmp dword [ebp - 0x40], 1
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ecx]
mov eax, str.sqlite_temp_master
je 0x43911d
mov eax, str.sqlite_master
push ebx
push 0
push eax
push 0x12
mov edi, esi
call fcn.004551c0
add esp, 0x10
test eax, eax
jne 0x439425
mov eax, 1
cmp dword [ebp - 0x40], eax
jne 0x439144
mov eax, 3
mov ecx, dword [ebp - 0x34]
push ebx
mov ebx, dword [ebp - 0x2c]
mov edx, dword [ebx]
push edx
push ecx
push eax
mov edi, esi
call fcn.004551c0
add esp, 0x10
test eax, eax
jne 0x439425
mov eax, dword [ebp - 0x4c]
test eax, eax
jne 0x4391ba
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
mov eax, dword [eax + edx*4 - 0x14]
mov dword [ebp - 0x58], eax
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439180
sub eax, edx
mov edx, dword [ebp - 0x54]
lea ecx, [eax + eax]
and edx, 1
or ecx, edx
push 0
push 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x54], ecx
call fcn.004526a0
add esp, 8
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x439425
mov ecx, dword [eax + 0xc]
mov dl, byte [ebp + 0x20]
mov byte [ecx + 8], dl
mov esi, dword [eax]
test esi, esi
jle 0x4391ec
mov edi, dword [eax + 0xc]
mov ebx, esi
mov eax, dword [edi]
test eax, eax
je 0x4391e6
mov eax, dword [eax + 4]
mov eax, dword [eax]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4391d3
mov ecx, dword [ebp - 0x3c]
sub eax, edx
lea edx, [ecx + eax + 1]
mov dword [ebp - 0x3c], edx
add edi, 0xc
dec ebx
jne 0x4391c5
mov eax, dword [ebp - 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4391f2
mov ecx, dword [ebp - 0x3c]
sub eax, edx
mov edi, eax
mov eax, esi
imul eax, eax, 0xd
add eax, edi
lea edx, [eax + ecx + 0x35]
push 1
push edx
call fcn.00425a90
add esp, 8
mov ebx, eax
call fcn.004269b0
test eax, eax
jne 0x439408
lea eax, [ebx + 0x30]
mov dword [ebx + 0x2c], eax
lea eax, [eax + esi*4]
mov dword [ebx + 8], eax
lea eax, [eax + esi*4]
mov dword [ebx + 0xc], eax
lea eax, [eax + esi*4 + 4]
mov dword [ebx + 0x28], eax
add eax, esi
lea ecx, [eax + edi + 1]
mov dword [ebx], eax
mov dword [ebp - 0x5c], ecx
mov ecx, dword [ebp - 0x34]
mov esi, eax
mov edi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x439250
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x4c]
cmp dword [ebp - 0x48], 0
mov dword [ebx + 0x10], edx
mov ecx, dword [eax]
mov dl, byte [ebp + 0x14]
mov dword [ebx + 4], ecx
mov byte [ebx + 0x18], dl
mov edx, dword [ebp - 0x30]
sete cl
mov byte [ebx + 0x19], cl
mov ecx, dword [edx + 4]
mov edx, dword [ebp - 0x60]
mov ecx, dword [edx + ecx + 0x14]
mov edx, dword [ebp - 0x38]
mov dword [ebx + 0x24], ecx
mov ecx, dword [edx + 0x14]
cmp byte [ecx + 0x78], 4
mov edx, dword [eax + 0xc]
sbb ecx, ecx
neg ecx
dec ecx
cmp dword [eax], 0
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], edx
jle 0x43938e
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x2c]
mov edi, dword [eax + 8]
xor esi, esi
mov dword [ebp - 0x50], ecx
cmp dword [eax + 4], esi
jle 0x4392e0
mov edx, dword [edi]
mov ecx, dword [ebp - 0x50]
call fcn.00425f30
test eax, eax
je 0x4392e0
mov edx, dword [ebp - 0x2c]
inc esi
add edi, 0x14
cmp esi, dword [edx + 4]
jl 0x4392c6
mov ecx, dword [ebp - 0x2c]
cmp esi, dword [ecx + 4]
jge 0x4393ed
mov eax, dword [ebx + 8]
mov edx, dword [ebp - 0x38]
mov dword [eax + edx*4], esi
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
test eax, eax
je 0x439329
mov edi, dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov esi, edi
mov al, byte [ecx]
mov byte [esi], al
inc ecx
inc esi
test al, al
jne 0x439308
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439317
sub eax, edx
lea edx, [edi + eax + 1]
mov dword [ebp - 0x5c], edx
jmp 0x43933f
mov ecx, dword [ecx + 8]
lea eax, [esi + esi*4]
mov edi, dword [ecx + eax*4 + 0xc]
test edi, edi
jne 0x43933f
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 0x18]
mov edi, dword [eax]
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x439361
mov edx, dword [ebp - 0x28]
push edx
or eax, 0xffffffff
mov ecx, edi
call fcn.004375c0
add esp, 4
test eax, eax
je 0x439408
mov esi, dword [ebp - 0x38]
mov eax, dword [ebx + 0x2c]
mov dword [eax + esi*4], edi
mov edi, dword [ebp - 0x3c]
mov cl, byte [edi + 8]
and cl, byte [ebp - 0x54]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebp - 0x4c]
mov byte [esi + edx], cl
inc esi
add edi, 0xc
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x3c], edi
cmp esi, dword [eax]
jl 0x4392b0
mov edx, ebx
call fcn.00439750
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [edx + 0xa4]
jne 0x4394b2
mov ecx, eax
mov edi, dword [ecx + 0x10]
test edi, edi
je 0x4394b2
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 4]
jne 0x4394a7
xor edx, edx
mov dword [ebp - 0x38], edx
test eax, eax
jle 0x4394a2
mov esi, dword [ebx + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [ebx + 8]
sub eax, esi
mov dword [ebp - 0x5c], eax
mov eax, dword [edi + 8]
sub eax, esi
sub ecx, esi
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], ecx
jmp 0x439466
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
push ecx
mov ecx, dword [ebp - 0x28]
push eax
push str.table__s_has_no_column_named__s
push ecx
call fcn.00425e20
add esp, 0x10
test ebx, ebx
je 0x439425
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x43941c
push eax
call fcn.0049b3dd
add esp, 4
push ebx
call fcn.0049b3dd
add esp, 4
mov ebx, dword [ebp - 0x4c]
call fcn.004527e0
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00439db0
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x439449
push eax
call fcn.0049b3dd
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049b315
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov eax, dword [eax + esi]
cmp eax, dword [ecx + esi]
jne 0x4394a2
mov ecx, dword [edi + 0x28]
mov eax, dword [ebx + 0x28]
mov cl, byte [edx + ecx]
cmp cl, byte [edx + eax]
jne 0x4394a2
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + esi]
mov eax, dword [esi]
cmp ecx, eax
je 0x439496
mov edx, eax
call fcn.00425f30
mov edx, dword [ebp - 0x38]
test eax, eax
jne 0x4394a2
inc edx
add esi, 4
mov dword [ebp - 0x38], edx
cmp edx, dword [edi + 4]
jl 0x439460
cmp edx, dword [edi + 4]
je 0x439506
mov edi, dword [edi + 0x20]
test edi, edi
jne 0x4393b4
mov eax, dword [ebp - 0x30]
cmp byte [eax + 0x44], 0
je 0x439545
mov edx, dword [ebx]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4394c6
mov ecx, dword [ebx + 0x24]
sub eax, esi
push ebx
inc eax
push edx
add ecx, 0x20
call fcn.00430ee0
add esp, 8
test eax, eax
jne 0x439408
mov eax, dword [ebp - 0x30]
or dword [eax + 8], 0x10
cmp dword [ebp - 0x44], 0
je 0x439681
mov ecx, eax
mov edx, dword [ecx + 0x40]
mov dword [ebx + 0x14], edx
jmp 0x439681
mov al, byte [edi + 0x18]
mov cl, byte [ebx + 0x18]
cmp al, cl
je 0x439408
cmp al, 0x63
je 0x439530
cmp cl, 0x63
je 0x439530
mov ecx, dword [ebp - 0x28]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
push ecx
call fcn.00425e20
add esp, 0xc
cmp byte [edi + 0x18], 0x63
jne 0x439408
mov dl, byte [ebx + 0x18]
mov byte [edi + 0x18], dl
jmp 0x439408
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + 0x20]
lea eax, [edi + 1]
mov dword [ebp - 0x54], edi
mov dword [esi + 0x20], eax
call fcn.0044eef0
mov esi, eax
test esi, esi
je 0x439408
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x28]
push 1
call fcn.0043a320
mov ecx, dword [ebp - 0x40]
add esp, 4
push 0
push ecx
push 0x2c
mov eax, esi
call fcn.00432190
add esp, 0xc
push 0
push edi
push 0x6c
mov eax, esi
call fcn.00432190
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x4395cf
mov edx, dword [ebp - 0x64]
test edx, edx
je 0x4395cf
cmp dword [ebp + 0x14], 0
mov ecx, 0x4ccc6a
je 0x4395b1
mov ecx, str._UNIQUE
mov eax, dword [ebp - 0x48]
mov edi, dword [eax]
mov edx, dword [edx]
sub edx, edi
push edi
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.0043ebd0
add esp, 0x10
mov edi, eax
jmp 0x4395d1
xor edi, edi
cmp dword [ebp - 0x40], 1
mov eax, str.sqlite_temp_master
je 0x4395e1
mov eax, str.sqlite_master
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebx]
push edi
push edx
mov edx, dword [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x60]
push eax
mov eax, dword [edx + 4]
mov edx, dword [ecx + eax]
mov eax, dword [ebp - 0x28]
push edx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q_0__Q__
push eax
call fcn.00435970
add esp, 0x1c
push 0
push 1
push 0x1a
mov eax, esi
call fcn.00432190
add esp, 0xc
test edi, edi
je 0x439627
push edi
call fcn.0049b3dd
add esp, 4
cmp dword [ebp - 0x44], 0
je 0x439681
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp - 0x28]
push ecx
push ebx
push edx
call fcn.00438b00
mov edi, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x30]
add esp, 0xc
push edi
mov eax, esi
call fcn.00437660
mov eax, dword [ebx]
add esp, 4
push 0xffffffffffffffff
push ecx
push eax
push str.name_q
call fcn.0043ebd0
add esp, 0xc
push eax
xor eax, eax
mov ecx, edi
lea edx, [eax + 0x76]
mov edi, esi
call fcn.00432200
push 0
push 0
push 0x12
mov eax, esi
call fcn.00432190
add esp, 0x14
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x44], 0
jne 0x439694
cmp dword [ebp - 0x44], 0
jne 0x439408
mov ecx, dword [ebp - 0x2c]
mov edx, 5
cmp dword [ebp + 0x14], edx
jne 0x4396d1
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x4396d1
cmp byte [eax + 0x18], dl
je 0x4396d1
cmp dword [eax + 0x20], 0
je 0x4396c3
mov ecx, dword [eax + 0x20]
cmp byte [ecx + 0x18], dl
je 0x4396c3
mov eax, ecx
cmp dword [eax + 0x20], 0
jne 0x4396b3
mov edx, dword [eax + 0x20]
mov dword [ebx + 0x20], edx
mov dword [eax + 0x20], ebx
jmp 0x439425
mov eax, dword [ecx + 0x10]
mov dword [ebx + 0x20], eax
mov dword [ecx + 0x10], ebx
jmp 0x439425