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

Disassembly:
sub esp, 0x44
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
push ebp
mov ebp, dword [esp + 0x54]
push esi
push edi
xor edi, edi
cmp byte [eax + 0x38], 0
mov dword [esp + 0x30], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jne 0x60f962
mov ecx, dword [esp + 0x54]
cmp byte [ecx + 0x1d5], 0
jne 0x60f962
mov esi, ecx
call fcn.0060b5a0
test eax, eax
jne 0x60f962
push ebx
mov edx, esi
cmp dword [esp + 0x64], edi
je 0x60f40c
mov ebx, dword [esp + 0x5c]
push edx
lea ecx, [esp + 0x24]
mov eax, ebp
call fcn.005dfb10
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jl 0x60f961
mov edi, dword [esp + 0x10]
cmp byte [edi + 0x81], 0
jne 0x60f3b7
mov esi, dword [esp + 0x64]
mov ebx, dword [esp + 0x58]
mov eax, esi
call fcn.0060c410
cmp dword [ebp + 4], 0
jne 0x60f3bd
test eax, eax
je 0x60f3bd
mov ecx, dword [edi + 0x10]
mov edx, dword [eax + 0x40]
cmp edx, dword [ecx + 0x1c]
jne 0x60f3bd
mov dword [esp + 0x18], 1
jmp 0x60f3bd
mov ebx, esi
mov esi, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
push eax
push 0x7d38e4
mov edx, ebx
lea eax, [esp + 0x48]
call fcn.005d17e0
add esp, 8
test eax, eax
je 0x60f3eb
lea ecx, [esp + 0x40]
push esi
push ecx
call fcn.005e5ce0
add esp, 8
add esi, 8
push esi
push 0
push ebx
call fcn.0060bca0
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x60f961
mov ebx, eax
mov ebp, edi
jmp 0x60f432
mov eax, dword [edx + 0x1fc]
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x60f961
mov ebp, dword [esp + 0x10]
mov ebx, eax
mov esi, dword [ebx + 0x40]
mov ecx, ebp
call fcn.005d2870
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebx]
shl eax, 4
push 7
add ecx, eax
push str.sqlite_
push esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], ecx
call fcn.005cad00
add esp, 0xc
test eax, eax
jne 0x60f4a1
mov eax, 9
mov ecx, str.altertab_
lea edx, [esi + 7]
lea esp, [esp]
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x60f48a
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x60f470
mov al, byte [ecx]
cmp al, byte [edx]
je 0x60f4a1
mov edi, dword [esp + 0x58]
push esi
push str.table__s_may_not_be_indexed
call fcn.005dcad0
add esp, 8
jmp 0x60f961
cmp dword [ebx + 0xc], 0
je 0x60f4bd
mov edi, dword [esp + 0x58]
push str.views_may_not_be_indexed
call fcn.005dcad0
add esp, 4
jmp 0x60f961
test byte [ebx + 0x2a], 0x10
je 0x60f4d9
mov edi, dword [esp + 0x58]
push str.virtual_tables_may_not_be_indexed
call fcn.005dcad0
add esp, 4
jmp 0x60f961
mov eax, dword [esp + 0x20]
test eax, eax
je 0x60f583
mov edx, ebp
call fcn.005d9e40
mov dword [esp + 0x1c], eax
test eax, eax
je 0x60f961
mov esi, eax
mov eax, dword [esp + 0x58]
call fcn.005dfb80
test eax, eax
jne 0x60f961
mov ebx, dword [esp + 0x10]
cmp byte [ebx + 0x81], al
jne 0x60f53d
push eax
push esi
push ebx
call fcn.005d1900
add esp, 0xc
test eax, eax
je 0x60f53d
mov edi, dword [esp + 0x58]
push esi
push str.there_is_already_a_table_named__s
call fcn.005dcad0
add esp, 8
jmp 0x60f961
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx]
push edx
push esi
mov edx, ebx
call fcn.005d1990
add esp, 8
test eax, eax
je 0x60f5b5
cmp dword [esp + 0x7c], 0
jne 0x60f571
mov edi, dword [esp + 0x58]
push esi
push str.index__s_already_exists
call fcn.005dcad0
add esp, 8
jmp 0x60f961
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
call fcn.005fe9e0
jmp 0x60f961
mov eax, dword [ebx + 8]
mov ecx, 1
test eax, eax
je 0x60f598
nop
mov eax, dword [eax + 0x14]
inc ecx
test eax, eax
jne 0x60f590
push ecx
push esi
push str.sqlite_autoindex__s__d
mov esi, ebp
call fcn.005dc8b0
add esp, 0xc
mov dword [esp + 0x1c], eax
test eax, eax
je 0x60f961
cmp dword [esp + 0x18], 1
mov eax, dword [esp + 0x28]
mov esi, dword [eax]
mov eax, str.sqlite_temp_master
je 0x60f5cc
mov eax, str.sqlite_master
push esi
push 0
push eax
mov eax, dword [esp + 0x64]
push 0x12
call fcn.005df8c0
add esp, 0x10
test eax, eax
jne 0x60f961
mov eax, 1
cmp dword [esp + 0x18], eax
jne 0x60f5f6
mov eax, 3
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
push esi
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
call fcn.005df8c0
add esp, 0x10
test eax, eax
jne 0x60f961
mov esi, dword [esp + 0x68]
test esi, esi
jne 0x60f67f
mov ecx, dword [esp + 0x14]
movsx eax, word [ecx + 0x26]
lea edx, [eax + eax*2]
mov eax, dword [ecx + 4]
mov ecx, dword [eax + edx*8 - 0x18]
mov dword [esp + 0x38], ecx
call fcn.005cabe0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
push esi
xor ecx, ecx
call fcn.005df210
add esp, 4
mov dword [esp + 0x68], eax
test eax, eax
je 0x60f961
mov edi, dword [esp + 0x58]
push esi
mov esi, eax
push edi
lea edx, [esp + 0x40]
mov ecx, esi
call fcn.005d93b0
mov ecx, dword [esi + 8]
mov dl, byte [esp + 0x80]
add esp, 8
mov byte [ecx + 0xc], dl
jmp 0x60f683
mov edi, dword [esp + 0x58]
xor ebp, ebp
cmp dword [esi], ebp
jle 0x60f6c0
xor ebx, ebx
jmp 0x60f690
mov eax, dword [esi + 8]
mov edx, dword [ebx + eax]
test edx, edx
je 0x60f6b8
mov eax, edi
call fcn.005ebda0
test eax, eax
je 0x60f6b8
mov ecx, dword [eax]
call fcn.005cabe0
mov ecx, dword [esp + 0x24]
lea edx, [ecx + eax + 1]
mov dword [esp + 0x24], edx
inc ebp
add ebx, 0x14
cmp ebp, dword [esi]
jl 0x60f690
mov ecx, dword [esp + 0x1c]
call fcn.005cabe0
mov ebp, eax
mov eax, dword [esp + 0x68]
mov esi, dword [eax]
mov eax, dword [esp + 0x24]
lea ecx, [esi*4 + 0xb]
and ecx, 0xfffffff8
add ecx, ebp
lea edx, [esi + esi*8]
add edx, ecx
lea edi, [edx + eax + 0x31]
mov eax, dword [esp + 0x10]
call fcn.005dba50
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x38], 0
mov ebx, eax
jne 0x60f946
lea eax, [ebx + 0x30]
mov dword [ebx + 8], eax
lea edx, [esi*4 + 8]
and edx, 0xfffffff8
add eax, edx
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x20], eax
lea eax, [eax + esi*4]
mov dword [ebx + 4], eax
lea eax, [eax + esi*4]
mov dword [ebx + 0x1c], eax
add eax, esi
lea ecx, [eax + ebp + 1]
inc ebp
push ebp
push edx
push eax
mov dword [ebx], eax
mov dword [esp + 0x38], ecx
call fcn.00564f70
mov eax, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
mov dl, byte [esp + 0x78]
mov edi, dword [esp + 0x1c]
mov dword [ebx + 0xc], esi
mov ecx, dword [eax]
mov dword [ebx + 0x24], ecx
add esp, 0xc
cmp dword [esp + 0x20], 0
mov byte [ebx + 0x2c], dl
sete cl
mov byte [ebx + 0x2d], cl
mov edx, dword [edi + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx + edx + 0xc]
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x18], edx
mov edx, dword [ecx + 0xc]
cmp byte [edx + 0x4c], 4
sbb ecx, ecx
neg ecx
dec ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [eax + 8]
xor ebp, ebp
cmp dword [eax], ebp
mov dword [esp + 0x24], ecx
jle 0x60f898
lea esp, [esp]
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0x26]
mov edi, dword [eax + 4]
xor esi, esi
test ecx, ecx
jle 0x60f7e8
lea esp, [esp]
mov ecx, dword [edi]
mov edx, dword [esp + 0x28]
push ecx
push edx
call fcn.005cacb0
add esp, 8
test eax, eax
je 0x60f7e4
mov eax, dword [esp + 0x14]
movsx ecx, word [eax + 0x26]
inc esi
add edi, 0x18
cmp esi, ecx
jl 0x60f7c0
mov eax, dword [esp + 0x14]
movsx eax, word [eax + 0x26]
cmp esi, eax
jge 0x60f996
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x24]
mov dword [edx + ebp*4], esi
mov edx, dword [eax]
test edx, edx
je 0x60f830
mov eax, dword [esp + 0x58]
call fcn.005ebda0
test eax, eax
je 0x60f830
mov ecx, dword [eax]
call fcn.005cabe0
mov esi, dword [esp + 0x2c]
mov edi, eax
inc edi
push edi
push ecx
push esi
call fcn.00564f70
add esp, 0xc
add dword [esp + 0x2c], edi
jmp 0x60f847
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 4]
lea ecx, [esi + esi*2]
mov esi, dword [eax + ecx*8 + 0x10]
test esi, esi
jne 0x60f847
mov esi, 0x7d11e0
mov ecx, dword [esp + 0x10]
cmp byte [ecx + 0x81], 0
jne 0x60f865
mov edi, dword [esp + 0x58]
call fcn.005eca50
test eax, eax
je 0x60f946
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x24]
mov dword [edx + ebp*4], esi
mov cl, byte [eax + 0xc]
and cl, byte [esp + 0x38]
mov edx, dword [ebx + 0x1c]
add eax, 0x14
mov byte [edx + ebp], cl
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x68]
inc ebp
cmp ebp, dword [eax]
jl 0x60f7a0
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, ebx
call fcn.005d1cf0
mov ecx, dword [esp + 0x58]
cmp esi, dword [ecx + 0x1fc]
jne 0x60f916
mov ebp, dword [esi + 8]
test ebp, ebp
je 0x60f916
mov eax, dword [ebp + 0x24]
cmp eax, dword [ebx + 0x24]
jne 0x60f90f
xor esi, esi
test eax, eax
jle 0x60f902
mov edi, dword [ebx + 4]
mov edx, dword [ebp + 4]
sub edx, edi
mov dword [esp + 0x38], edx
lea esp, [esp]
lea eax, [edi + esi*4]
mov ecx, dword [eax + edx]
cmp ecx, dword [eax]
jne 0x60f902
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebx + 0x20]
mov eax, dword [eax + esi*4]
mov ecx, dword [ecx + esi*4]
cmp eax, ecx
je 0x60f8fc
push ecx
push eax
call fcn.005cacb0
add esp, 8
test eax, eax
jne 0x60f902
mov edx, dword [esp + 0x38]
inc esi
cmp esi, dword [ebp + 0x24]
jl 0x60f8d0
cmp esi, dword [ebp + 0x24]
je 0x60f9b9
mov edi, dword [esp + 0x10]
mov ebp, dword [ebp + 0x14]
test ebp, ebp
jne 0x60f8b2
cmp byte [edi + 0x81], 0
je 0x60fa12
mov ecx, dword [ebx]
push ebx
call fcn.005cabe0
push ecx
mov ecx, dword [ebx + 0x18]
add ecx, 0x18
call fcn.005d5800
add esp, 8
test eax, eax
je 0x60f9f4
mov byte [edi + 0x38], 1
test ebx, ebx
je 0x60f961
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 0x10]
mov ecx, esi
call fcn.005ca970
mov edx, ebx
mov ecx, esi
call fcn.005ca970
pop ebx
mov eax, dword [esp + 0x64]
mov esi, dword [esp + 0xc]
push eax
push esi
call fcn.005d9430
mov ecx, dword [esp + 0x68]
push ecx
mov eax, esi
call fcn.005d1e30
mov edx, dword [esp + 0x24]
add esp, 0xc
mov ecx, esi
call fcn.005ca970
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
add esp, 0x44
ret
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov edi, dword [esp + 0x58]
push ecx
push eax
push str.table__s_has_no_column_named__s
call fcn.005dcad0
add esp, 0xc
mov byte [edi + 0x11], 1
jmp 0x60f946
mov al, byte [ebp + 0x2c]
mov cl, byte [ebx + 0x2c]
cmp al, cl
je 0x60f946
cmp al, 0x63
je 0x60f9df
cmp cl, 0x63
je 0x60f9df
mov edi, dword [esp + 0x58]
push 0
push str.conflicting_ON_CONFLICT_clauses_specified
call fcn.005dcad0
add esp, 8
cmp byte [ebp + 0x2c], 0x63
jne 0x60f946
mov dl, byte [ebx + 0x2c]
mov byte [ebp + 0x2c], dl
jmp 0x60f946
or dword [edi + 0x18], 2
cmp dword [esp + 0x64], 0
je 0x60fb23
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x7c]
mov dword [ebx + 0x28], ecx
jmp 0x60fb23
mov edi, dword [esp + 0x58]
inc dword [edi + 0x4c]
mov ebp, dword [edi + 0x4c]
call fcn.005e1760
mov esi, eax
mov dword [esp + 0x38], esi
test esi, esi
je 0x60f946
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x58]
push 1
mov ecx, edi
call fcn.005feac0
push esi
mov eax, ebp
mov ecx, edi
mov edx, 0x68
call fcn.005d7fb0
add esp, 8
cmp dword [esp + 0x70], 0
je 0x60fa91
cmp dword [esp + 0x6c], 0
mov ecx, 0x7b32cb
je 0x60fa6a
mov ecx, str._UNIQUE
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
mov esi, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x78]
mov edx, dword [edx]
sub edx, dword [eax]
inc edx
push edx
push ecx
push str.CREATE_s_INDEX__.s
call fcn.005dc8b0
add esp, 0x10
mov edi, eax
jmp 0x60fa97
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [esp + 0x18], 1
mov eax, str.sqlite_temp_master
je 0x60faa8
mov eax, str.sqlite_master
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebx]
push edi
push ebp
push edx
mov edx, dword [esi + 0x10]
push ecx
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + edx]
mov edx, dword [esp + 0x6c]
push ecx
push str.INSERT_INTO__Q._s_VALUES_index__Q__Q__d__Q__
push edx
call fcn.005df950
add esp, 0x20
mov edx, edi
mov ecx, esi
call fcn.005ca970
cmp dword [esp + 0x64], 0
je 0x60fb23
mov edi, dword [esp + 0x58]
push ebp
push ebx
push edi
call fcn.005f4800
mov eax, dword [esp + 0x24]
push eax
call fcn.005d9ed0
mov ecx, dword [ebx]
push ecx
push str.name_q_AND_typeindex
call fcn.005dc8b0
mov esi, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x34]
call fcn.005de590
push esi
xor eax, eax
mov ecx, 0x81
call fcn.005d7f90
add esp, 0x20
mov edx, dword [esp + 0x10]
cmp byte [edx + 0x81], 0
jne 0x60fb3b
cmp dword [esp + 0x64], 0
jne 0x60f946
mov ecx, dword [esp + 0x14]
mov edx, 5
cmp dword [esp + 0x6c], edx
jne 0x60fb82
mov eax, dword [ecx + 8]
test eax, eax
je 0x60fb82
cmp byte [eax + 0x2c], dl
je 0x60fb82
cmp dword [eax + 0x14], 0
je 0x60fb70
lea esp, [esp]
mov ecx, dword [eax + 0x14]
cmp byte [ecx + 0x2c], dl
je 0x60fb70
mov eax, ecx
cmp dword [eax + 0x14], 0
jne 0x60fb60
mov ecx, dword [eax + 0x14]
mov dword [ebx + 0x14], ecx
mov dword [eax + 0x14], ebx
mov dword [esp + 0x34], ebx
jmp 0x60f961
mov edx, dword [ecx + 8]
mov dword [ebx + 0x14], edx
mov dword [ecx + 8], ebx
mov dword [esp + 0x34], ebx
jmp 0x60f961