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

Disassembly:
sub esp, 0x80
cmp dword [esp + 0x8c], 0
push ebx
push edi
mov edi, dword [esp + 0x8c]
mov ebx, dword [edi]
mov dword [esp + 0x14], ebx
jne 0x10135c1d
cmp dword [esp + 0x98], 0
je 0x10135fde
cmp dword [edi + 0x40], 0
jne 0x10135fde
cmp byte [ebx + 0x1e], 0
jne 0x10135fde
push ebp
mov ebp, dword [edi + 0x180]
test ebp, ebp
je 0x10135fdd
mov eax, dword [ebp + 0x4c]
push esi
push eax
push ebx
call fcn.10128740
mov esi, dword [ebp + 0x2c]
add esp, 8
test esi, esi
mov dword [esp + 0x10], eax
je 0x10135cd3
xor eax, eax
push 0x38
push eax
lea ecx, [esp + 0x60]
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
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
call fcn.10098090
mov edx, dword [ebp]
lea ecx, [esp + 0x40]
lea eax, [esp + 0x64]
push esi
push ecx
mov word [esp + 0x6c], 1
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x8c], 0xffffffff
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov byte [esp + 0x5e], 1
call fcn.10151310
add esp, 0x14
test eax, eax
jne 0x10135fdc
cmp byte [ebx + 0x80], 0
je 0x10135cef
mov edx, dword [ebx + 0x7c]
mov dword [ebp + 0x14], edx
cmp byte [ebx + 0x80], 0
jne 0x10135ee5
push edi
call fcn.1014c570
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x20], esi
je 0x10135fdc
push 0
push 0x20
push esi
call fcn.10138eb0
add esp, 0xc
cmp dword [ebp + 0x18], 0
jne 0x10135d28
mov dword [esp + 0x18], str.table
mov edx, str.TABLE
jmp 0x10135d35
mov dword [esp + 0x18], str.view
mov edx, str.VIEW
cmp dword [esp + 0xa0], 0
je 0x10135df8
mov eax, dword [esp + 0x10]
mov ecx, dword [edi + 0x148]
push eax
push ecx
push 1
push 9
push esi
call fcn.10138e00
push 1
push esi
call fcn.10139230
push 1
lea edx, [esp + 0x44]
push 8
push edx
mov dword [edi + 0x44], 2
call fcn.1014a170
mov ecx, dword [esp + 0xc8]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push eax
push ecx
push edi
call fcn.1014dc10
add esp, 0x44
push 1
push 0x20
push esi
call fcn.10138eb0
xor esi, esi
add esp, 0xc
cmp dword [edi + 0x40], esi
jne 0x10135ddd
mov edx, dword [esp + 0xa0]
push edx
push esi
push edi
call fcn.1014b7b0
add esp, 0xc
cmp eax, esi
je 0x10135fdc
mov ecx, dword [eax + 4]
mov dword [ebp + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebp + 8], edx
push eax
mov dword [eax + 4], esi
mov dword [eax + 8], esi
call fcn.101350f0
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [ebp + 0x4c]
xor edx, edx
cmp ecx, dword [eax + 0x2c]
sete dl
push edx
push ebp
push ebx
call fcn.101359c0
add esp, 0xc
jmp 0x10135e1d
mov ecx, dword [edi + 0x168]
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
push ecx
sub eax, ecx
add eax, 1
push eax
push edx
push str.CREATE__s__.s
push ebx
call fcn.10147d60
add esp, 0x14
mov esi, dword [esp + 0x10]
cmp esi, 1
mov dword [esp + 0x14], eax
mov ecx, str.sqlite_temp_master
je 0x10135e34
mov ecx, str.sqlite_master
mov edx, dword [edi + 0x144]
mov eax, dword [ebp]
push edx
mov edx, dword [esp + 0x18]
push edx
mov edx, dword [edi + 0x148]
push edx
push eax
push eax
mov eax, dword [esp + 0x2c]
lea esi, [esi + esi*2]
push eax
add esi, esi
push ecx
mov ecx, dword [ebx + 8]
add esi, esi
add esi, esi
mov edx, dword [esi + ecx]
push 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.10134c10
mov eax, dword [esp + 0x3c]
push eax
call fcn.1012ba80
mov ecx, dword [esp + 0x3c]
push ecx
push edi
call fcn.101358a0
add esp, 0x34
cmp byte [ebp + 0x38], 0
je 0x10135eab
mov eax, dword [ebx + 8]
mov edx, dword [eax + esi + 0x14]
add eax, esi
cmp dword [edx + 0x54], 0
jne 0x10135eab
mov eax, dword [eax]
push eax
push str.CREATE_TABLE__Q.sqlite_sequence_name_seq_
push edi
call fcn.10134c10
add esp, 0xc
mov ecx, dword [ebp]
push 0xffffffffffffffff
push ecx
push str.tbl_name_q
push ebx
call fcn.10147d60
mov edx, dword [esp + 0x20]
add esp, 0xc
push eax
mov eax, dword [esp + 0x28]
push 0
push 0
push edx
push 0x1e
push eax
call fcn.1013b270
add esp, 0x1c
cmp byte [ebx + 0x80], 0
je 0x10135fdc
cmp dword [edi + 0x40], 0
jne 0x10135fdc
mov esi, dword [ebp]
mov edx, dword [ebp + 0x4c]
mov eax, esi
lea ecx, [eax + 1]
mov dword [esp + 0x18], edx
mov dword [esp + 0x20], ecx
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10135f02
sub eax, dword [esp + 0x20]
push ebp
add eax, 1
push eax
add edx, 4
push esi
push edx
call fcn.1012b690
add esp, 0x10
test eax, eax
je 0x10135f34
pop esi
pop ebp
pop edi
mov byte [ebx + 0x1e], 1
pop ebx
add esp, 0x80
ret
mov esi, dword [ebp + 0x24]
test esi, esi
je 0x10135f97
mov edx, dword [esp + 0x18]
add edx, 0x40
mov dword [esp + 0x18], edx
mov edx, dword [esi + 8]
mov eax, edx
lea ebx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10135f50
sub eax, ebx
lea ebx, [eax + 1]
mov eax, dword [esp + 0x18]
push ebx
push edx
push eax
call fcn.1012b640
mov ecx, dword [esi + 8]
mov edx, dword [esp + 0x24]
push esi
push ebx
push ecx
push edx
mov dword [esi + 0xc], eax
call fcn.1012b690
add esp, 0x1c
cmp eax, esi
jne 0x10135f8c
mov eax, dword [esp + 0x1c]
mov byte [eax + 0x1e], 1
mov esi, dword [esi + 4]
test esi, esi
jne 0x10135f46
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x180], 0
add dword [ebx + 0x28], 1
or dword [ebx + 0xc], 0x10
cmp dword [ebp + 0x18], 0
jne 0x10135fdc
mov eax, dword [esp + 0x98]
cmp dword [eax], 0
mov edi, dword [edi + 0x168]
jne 0x10135fc8
mov eax, dword [esp + 0x9c]
mov eax, dword [eax]
sub eax, edi
push eax
push edi
call fcn.1013c740
add esp, 8
add eax, 0xd
mov dword [ebp + 0x30], eax
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x80
ret