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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x20], edx
cmp word [edi + 0x18c], 0
mov esi, dword [edi]
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], esi
jle 0x100a3880
push str.parameters_are_not_allowed_in_views
push edi
call fcn.100e99e0
add esp, 8
jmp 0x100a3bef
push dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
push 0
push 1
push dword [ebp + 0x18]
push dword [ebp + 0xc]
call fcn.100a5510
mov ebx, dword [edi + 0x1b0]
add esp, 0x14
test ebx, ebx
je 0x100a3bec
cmp dword [edi + 0x24], 0
jne 0x100a3bec
mov edx, dword [ebp + 8]
lea eax, [esp + 0x18]
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.100a59d0
mov edx, dword [ebx + 0x48]
add esp, 8
mov ecx, esi
call fcn.1008e910
mov ecx, dword [edi]
mov esi, eax
mov ecx, dword [ecx + 0x10]
mov eax, dword [esp + 0x18]
mov edx, esi
shl edx, 4
add edx, ecx
mov dword [esp + 0x44], eax
mov ecx, dword [edx]
xor eax, eax
cmp esi, 1
mov esi, dword [ebp + 0x14]
sete al
mov dword [esp + 0x3c], ecx
mov ecx, dword [edx + 0xc]
mov dword [esp + 0x34], ecx
mov edx, esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x40], str.view
mov dword [esp + 0x38], eax
call fcn.100a7520
test eax, eax
jne 0x100a3be8
mov edx, esi
mov esi, dword [esp + 0xc]
push 1
mov ecx, esi
call fcn.100b2a00
mov edx, dword [ebp + 0x10]
add esp, 4
mov ecx, esi
push 1
mov dword [ebx + 0xc], eax
call fcn.100b2ed0
add esp, 4
mov dword [ebx + 0x18], eax
cmp byte [esi + 0x49], 0
jne 0x100a3bec
mov ecx, dword [edi + 0x184]
cmp byte [ecx], 0x3b
je 0x100a3962
add ecx, dword [edi + 0x188]
mov edx, dword [esp + 0x20]
mov edx, dword [edx]
sub ecx, edx
movzx eax, byte [edx + ecx - 1]
test byte [eax + 0x10109b28], 1
je 0x100a398f
jmp 0x100a3980
movzx eax, byte [edx + ecx - 2]
dec ecx
test byte [eax + 0x10109b28], 1
jne 0x100a3980
mov esi, dword [edi + 0x1b0]
mov ebx, dword [edi]
lea eax, [edx - 1]
add eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x14], esi
test esi, esi
je 0x100a3be8
cmp byte [ebx + 0x9d], 0
je 0x100a39ce
mov eax, dword [ebx + 0x98]
mov dword [esi + 0x1c], eax
cmp eax, 1
jne 0x100a39ce
or dword [esi + 0x24], eax
mov edx, dword [esi + 0x48]
mov dword [esp + 0x10], 0xfff0bdc0
test edx, edx
je 0x100a3a01
xor ecx, ecx
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0x14], ecx
jle 0x100a3a01
mov eax, dword [ebx + 0x10]
add eax, 0xc
mov edi, edi
cmp dword [eax], edx
je 0x100a39fd
inc ecx
add eax, 0x10
cmp ecx, dword [ebx + 0x14]
jl 0x100a39f0
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100a3a19
push eax
push 0
push 4
mov edx, esi
mov ecx, edi
call fcn.100b4c30
add esp, 0xc
mov ecx, esi
call fcn.100a4650
mov esi, dword [esi + 8]
test esi, esi
je 0x100a3a35
mov ecx, esi
call fcn.100a4570
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x100a3a27
cmp byte [ebx + 0x9d], 0
jne 0x100a3b67
mov eax, dword [edi + 8]
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100a3a71
cmp dword [edi + 0x78], eax
jne 0x100a3a5e
mov eax, dword [edi]
test byte [eax + 0x44], 8
jne 0x100a3a5e
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.100c9330
mov dword [esp + 0x20], eax
test eax, eax
je 0x100a3be8
push 0
mov edx, 0x70
mov ecx, eax
call fcn.100c8f20
mov eax, dword [esp + 0x18]
add esp, 4
cmp dword [eax + 0xc], 0
jne 0x100a3a9b
mov dword [esp + 0x1c], str.table
mov ecx, str.TABLE
jmp 0x100a3aa8
mov dword [esp + 0x1c], str.view
mov ecx, str.VIEW
mov esi, dword [esp + 0x28]
mov edx, dword [edi + 0x17c]
mov eax, esi
sub eax, edx
cmp byte [esi], 0x3b
je 0x100a3abc
inc eax
push edx
push eax
push ecx
push str.CREATE__s__.s
push ebx
call fcn.100eaab0
mov edx, dword [esp + 0x24]
add esp, 0x14
push dword [edi + 0x60]
mov esi, eax
mov eax, dword [esp + 0x18]
push esi
push dword [edi + 0x64]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x10]
push ecx
push ecx
push dword [esp + 0x30]
shl edx, 4
push str.sqlite_master
push dword [eax + edx]
mov dword [esp + 0x44], edx
push str.UPDATE__Q._s_SET_type_s__name_Q__tbl_name_Q__rootpage_d__sql_Q_WHERE_rowid_d
push edi
call fcn.100a6a20
add esp, 0x28
mov edx, esi
mov ecx, ebx
call fcn.100ecb90
mov edx, dword [esp + 0x10]
mov ecx, edi
call fcn.100a4ba0
mov esi, dword [esp + 0x14]
test byte [esi + 0x24], 8
je 0x100a3b44
mov ecx, dword [ebx + 0x10]
add ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0xc]
cmp dword [eax + 0x48], 0
jne 0x100a3b44
push dword [ecx]
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push edi
call fcn.100a6a20
add esp, 0xc
push dword [esi]
push str.tbl_name_q_AND_type_trigger
push ebx
call fcn.100eaab0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
add esp, 0xc
push eax
call fcn.100c8b10
add esp, 4
jmp 0x100a3b6b
mov esi, dword [esp + 0x14]
cmp byte [ebx + 0x9d], 0
je 0x100a3be8
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
push esi
lea ecx, [ecx + 8]
call fcn.100e7d00
add esp, 4
test eax, eax
je 0x100a3bb4
cmp byte [ebx + 0x49], 0
jne 0x100a3be8
cmp byte [ebx + 0x4a], 0
jne 0x100a3be8
cmp dword [ebx + 0xac], 0
mov byte [ebx + 0x49], 1
jle 0x100a3bac
mov dword [ebx + 0x108], 1
inc dword [ebx + 0x110]
jmp 0x100a3be8
mov dword [edi + 0x1b0], 0
or dword [ebx + 0x18], 1
cmp dword [esi + 0xc], 0
jne 0x100a3be8
mov ecx, dword [edi + 0x17c]
xor eax, eax
lea edx, [esp + 0x28]
cmp dword [eax], eax
cmovne edx, eax
mov edx, dword [edx]
sub edx, ecx
call fcn.100e9de0
add eax, 0xd
mov dword [esi + 0x34], eax
mov esi, dword [esp + 0xc]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100a3c04
push 1
mov edx, eax
mov ecx, esi
call fcn.1008dce0
add esp, 4
test ebx, ebx
je 0x100a3c11
mov edx, ebx
mov ecx, esi
call fcn.100b24b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret