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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
cmp dword [ebp + 0x1c8], 0
push esi
mov esi, dword [ebp]
push edi
mov ebx, eax
mov edi, ecx
jle 0x100697c4
push str.parameters_are_not_allowed_in_views
mov edi, ebp
call fcn.1003c9b0
add esp, 4
test ebx, ebx
je 0x10069bcb
push ebx
push esi
call fcn.1007a550
push ebx
push esi
call fcn.1003a9f0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov eax, dword [esp + 0xc4]
mov ecx, dword [esp + 0xc0]
mov edx, dword [esp + 0xbc]
push eax
push 0
push 1
push ecx
mov eax, edi
mov ecx, ebp
call fcn.10068590
mov eax, dword [ebp + 0x200]
add esp, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x100697a0
mov edx, dword [esp + 0xbc]
push ebp
lea ecx, [esp + 0x24]
mov eax, edi
call fcn.100684b0
mov edx, dword [esp + 0x18]
mov edi, dword [edx + 0x40]
add esp, 4
test edi, edi
je 0x1006987f
mov edx, dword [esi + 4]
xor eax, eax
test edx, edx
jle 0x10069845
mov ecx, dword [esi + 8]
add ecx, 0xc
lea esp, [esp]
cmp dword [ecx], edi
je 0x1006983c
inc eax
add ecx, 0x10
cmp eax, edx
jl 0x10069830
test eax, eax
jl 0x1006987f
cmp eax, 1
je 0x1006987f
mov ecx, dword [ebp]
mov dword [esp + 0x60], ebp
mov edx, dword [ecx + 8]
mov ecx, dword [esp + 0x20]
shl eax, 4
mov eax, dword [eax + edx]
lea edx, [esp + 0x60]
push ebx
push edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], str.view
mov dword [esp + 0x74], ecx
call fcn.100671c0
add esp, 8
test eax, eax
jne 0x100697a0
push 1
push ebx
push esi
call fcn.10060810
mov edi, dword [esp + 0x20]
add esp, 0xc
mov dword [edi + 0x18], eax
test ebx, ebx
je 0x100698a7
push ebx
push esi
call fcn.1007a550
push ebx
push esi
call fcn.1003a9f0
add esp, 0x10
cmp byte [esi + 0x1e], 0
jne 0x10069bcb
cmp byte [esi + 0x7c], 0
jne 0x100698c1
push edi
push ebp
call fcn.10069be0
add esp, 8
mov eax, dword [ebp + 0x1f4]
mov cl, byte [eax]
mov edx, dword [ebp + 0x1f8]
test cl, cl
je 0x100698da
cmp cl, 0x3b
je 0x100698da
add eax, edx
mov ecx, dword [esp + 0xb8]
mov ecx, dword [ecx]
sub eax, ecx
test eax, eax
jle 0x10069903
lea esp, [esp]
movzx edx, byte [ecx + eax - 1]
test byte [edx + 0x100af700], 1
je 0x10069903
dec eax
test eax, eax
jg 0x100698f0
mov edi, dword [ebp]
cmp byte [edi + 0x1e], 0
lea eax, [ecx + eax - 1]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 1
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], edi
jne 0x10069bcb
mov ebx, dword [ebp + 0x200]
mov dword [esp + 0x18], ebx
test ebx, ebx
je 0x10069bcb
mov esi, dword [ebx + 0x40]
mov ecx, edi
call fcn.10079db0
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x20], eax
test esi, esi
je 0x100699d2
xor eax, eax
push 0x40
push eax
lea ecx, [esp + 0x78]
push ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
call sub.MSVCR90.dll_memset
mov eax, dword [ebx]
mov edx, 1
mov dword [esp + 0x90], ebx
lea ecx, [esp + 0x7c]
mov ebx, esi
add esp, 0xc
lea esi, [esp + 0x3c]
mov word [esp + 0x70], dx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x90], 0xffffffff
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ecx
mov byte [esp + 0x52], dl
call fcn.1005f500
test eax, eax
jne 0x10069bcb
mov ebx, dword [esp + 0x18]
cmp byte [edi + 0x7c], 0
je 0x100699e8
mov edx, dword [edi + 0x78]
mov dword [ebx + 0x14], edx
cmp byte [edi + 0x7c], 0
jne 0x10069b5c
mov edi, ebp
call fcn.1007c450
mov edi, eax
xor ebx, ebx
mov dword [esp + 0x2c], edi
cmp edi, ebx
je 0x10069bcb
mov esi, dword [edi + 0xc]
cmp dword [edi + 0x10], esi
jg 0x10069a10
call fcn.10053530
test eax, eax
jne 0x10069a37
mov ecx, dword [edi + 0x14]
inc dword [edi + 0xc]
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
mov byte [eax], 0x2b
mov byte [eax + 3], 0
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0
mov byte [edi + 0x62], 0
mov edi, dword [esp + 0x18]
cmp dword [edi + 0x18], ebx
jne 0x10069a4f
mov dword [esp + 0x28], str.table
mov edx, str.TABLE
jmp 0x10069a5c
mov dword [esp + 0x28], str.view
mov edx, str.VIEW
mov ecx, dword [ebp + 0x1ec]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x1c]
sub eax, ecx
push ecx
inc eax
push eax
push edx
push str.CREATE__s__.s
mov esi, ebx
call fcn.1003beb0
mov esi, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x38], eax
mov dword [esp + 0x24], str.sqlite_temp_master
cmp esi, 1
je 0x10069a9c
mov dword [esp + 0x24], str.sqlite_master
mov edx, dword [ebp + 0x198]
mov ecx, dword [edi]
push edx
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [ebp + 0x19c]
push eax
mov eax, dword [ebx + 8]
push ecx
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
mov edi, esi
shl edi, 4
mov ecx, dword [edi + eax]
push edx
push ecx
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
mov ebx, ebp
call fcn.10067b20
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x40]
add esp, 0x24
push edx
push eax
call fcn.1003a9f0
mov ebx, esi
add esp, 8
mov esi, ebp
call fcn.10069060
mov ecx, dword [esp + 0x18]
test byte [ecx + 0x1e], 8
je 0x10069b1e
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 8]
mov ecx, dword [eax + edi + 0xc]
add eax, edi
cmp dword [ecx + 0x44], 0
jne 0x10069b1e
mov edx, dword [eax]
push edx
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
mov ebx, ebp
call fcn.10067b20
add esp, 8
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
push ecx
mov ecx, dword [eax]
push ecx
push str.tbl_name_q
call fcn.1003beb0
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x3c]
add esp, 0xc
push eax
push 0x63
xor eax, eax
xor ecx, ecx
call fcn.100536a0
mov ebx, dword [esp + 0x24]
mov edi, esi
add esp, 0xc
cmp byte [edi + 0x7c], 0
je 0x10069bcb
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x40]
push ebx
call fcn.1003c910
push ecx
lea ecx, [edx + 4]
call fcn.1003da80
add esp, 8
test eax, eax
je 0x10069b86
mov byte [edi + 0x1e], 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
mov dword [ebp + 0x200], 0
inc dword [edi + 0x28]
or dword [edi + 0xc], 0x200
cmp dword [ebx + 0x18], 0
jne 0x10069bcb
mov edx, dword [esp + 0x14]
mov ebp, dword [ebp + 0x1ec]
cmp dword [edx], edx
jne 0x10069bb6
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
sub edx, ebp
mov ecx, ebp
call fcn.1003c7a0
add eax, 0xd
mov dword [ebx + 0x2c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret