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

Disassembly:
sub esp, 0x10
mov ecx, str.sqlite_temp_master
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
push edi
mov ebp, dword [esi]
cmp byte [ebp + 0xb1], 0
je 0x101347ca
cmp dword [ebp + 0xac], 1
jne 0x101347ca
movzx ebx, byte [ebp + 0xb0]
mov eax, str.sqlite_master
cmp ebx, 1
cmove eax, ecx
mov ecx, eax
mov dword [esp + 0x18], eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10134780
sub ecx, edx
push 0
lea eax, [ecx + 1]
push eax
push ebp
mov dword [esp + 0x30], eax
call fcn.10112e00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x101347b3
push dword [esp + 0x24]
push dword [esp + 0x1c]
push edi
call fcn.1016b7f0
add esp, 0xc
mov ecx, dword [esp + 0x28]
lea eax, [esi + 0xd4]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
jmp 0x101348b6
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0x24]
push eax
push edi
push dword [esp + 0x30]
push esi
call fcn.10136720
mov ebx, eax
add esp, 0x10
test ebx, ebx
js 0x10134c45
cmp dword [esp + 0x30], 0
je 0x10134818
cmp dword [edi + 4], 0
jbe 0x10134813
cmp ebx, 1
je 0x10134813
push str.temporary_table_name_must_be_unqualified
push esi
call fcn.10114f40
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ebx, 1
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
test ecx, ecx
je 0x10134888
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x10134877
mov ecx, eax
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
push ebp
call fcn.10112e00
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10134879
push dword [esp + 0x14]
push dword [esp + 0x14]
push edi
call fcn.1016b7f0
mov eax, dword [esp + 0x20]
add esp, 0xc
push edi
mov byte [eax + edi], 0
call fcn.10113f40
mov ecx, dword [esp + 0x28]
add esp, 4
jmp 0x1013488a
xor edi, edi
push edi
call fcn.10113f40
mov ecx, dword [esp + 0x28]
add esp, 4
jmp 0x1013488a
xor edi, edi
cmp byte [esi + 0xd4], 2
lea edx, [esi + 0xd4]
mov dword [esp + 0x10], edx
jb 0x101348b6
push ecx
push edi
push esi
call fcn.1012e810
mov ecx, dword [esp + 0x30]
lea edx, [esi + 0xd4]
add esp, 0xc
mov dword [esp + 0x10], edx
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0xc0], eax
mov dword [esi + 0xc4], ecx
test edi, edi
je 0x10134c45
cmp dword [esp + 0x34], 0
mov ecx, str.table
push edi
mov eax, str.view
cmove eax, ecx
push eax
push edi
push esi
call fcn.1010e710
add esp, 0x10
test eax, eax
jne 0x10134c37
mov eax, dword [ebp + 0x10]
mov edx, 1
cmp byte [ebp + 0xb0], dl
mov ecx, ebx
cmovne edx, dword [esp + 0x30]
shl ecx, 4
cmp edx, 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], edx
mov eax, dword [ecx + eax]
mov ecx, str.sqlite_temp_master
push eax
mov dword [esp + 0x28], eax
mov eax, str.sqlite_master
push 0
cmove eax, ecx
push eax
push 0x12
push esi
call fcn.101095e0
add esp, 0x14
test eax, eax
jne 0x10134c37
cmp dword [esp + 0x38], eax
jne 0x10134971
push dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x3c]
push edi
movzx eax, byte [ecx + eax*2 + 0x1018fb24]
push eax
push esi
call fcn.101095e0
add esp, 0x14
test eax, eax
jne 0x10134c37
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
jne 0x10134a1a
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x14]
push esi
mov eax, dword [ecx + eax]
mov dword [esp + 0x28], eax
call fcn.1012ddb0
add esp, 4
test eax, eax
jne 0x10134c37
push dword [esp + 0x24]
push edi
push ebp
call fcn.1011b310
add esp, 0xc
test eax, eax
je 0x101349f4
cmp dword [esp + 0x3c], 0
jne 0x101349df
cmp byte [eax + 0x2b], 2
mov ecx, str.table
push dword [esp + 0x18]
mov eax, str.view
cmovne eax, ecx
push eax
push str._s__T_already_exists
push esi
call fcn.10114f40
add esp, 0x10
jmp 0x10134c37
push ebx
push esi
call fcn.1010fdc0
push esi
call fcn.1011d070
add esp, 0xc
jmp 0x10134c37
push dword [esp + 0x24]
push edi
push ebp
call fcn.1011b260
add esp, 0xc
test eax, eax
je 0x10134a1a
push edi
push str.there_is_already_an_index_named__s
push esi
call fcn.10114f40
add esp, 0xc
jmp 0x10134c37
push 0
push 0x40
push ebp
call fcn.10112e00
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x10134c2d
push 0x40
push 0
push eax
call fcn.1016bd70
mov ecx, dword [esp + 0x30]
or eax, 0xffffffff
mov edx, dword [esp + 0x20]
add esp, 0xc
mov word [ecx + 0x20], ax
mov dword [ecx], edi
mov eax, dword [ebp + 0x10]
mov eax, dword [edx + eax + 0xc]
mov dword [ecx + 0x3c], eax
mov eax, 0xc8
mov dword [ecx + 0x18], 1
mov word [ecx + 0x26], ax
mov dword [esi + 0xf0], ecx
cmp byte [ebp + 0xb1], 0
jne 0x10134c45
push esi
call fcn.10120bf0
mov edi, eax
add esp, 4
test edi, edi
je 0x10134c45
push ebx
push 1
push esi
call fcn.1010a090
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10134ab2
push 0xaa
push edi
call fcn.10139a50
add esp, 8
mov eax, dword [esi + 0x2c]
inc eax
mov dword [esp + 0x24], eax
mov dword [esi + 0x5c], eax
inc eax
push 2
mov dword [esi + 0x60], eax
inc eax
push eax
push ebx
push 0x63
push edi
mov dword [esi + 0x2c], eax
call fcn.10139b60
push ebx
push edi
call fcn.10147330
mov eax, dword [esp + 0x40]
add eax, 2
push eax
push 0x10
push edi
call fcn.10139aa0
mov ecx, dword [ebp + 0x20]
add esp, 0x28
and ecx, 2
mov dword [esp + 0x1c], eax
or ecx, 0
mov eax, 1
jne 0x10134b04
mov eax, 4
push eax
push 2
push ebx
push 0x64
push edi
call fcn.10139b60
movzx eax, byte [ebp + 0x54]
push eax
push 5
push ebx
push 0x64
push edi
call fcn.10139b60
push dword [esp + 0x44]
push edi
call fcn.10143e90
add esp, 0x30
cmp dword [esp + 0x34], 0
jne 0x10134b5a
cmp dword [esp + 0x38], 0
jne 0x10134b5a
mov eax, dword [esp + 0x24]
push 1
inc eax
push eax
push ebx
push 0x93
push edi
call fcn.10139b60
add esp, 0x14
mov dword [esi + 0x88], eax
jmp 0x10134b6d
mov eax, dword [esp + 0x24]
inc eax
push eax
push 0
push 0x47
push edi
call fcn.10139b00
add esp, 0x10
mov ebp, dword [esi + 8]
test ebp, ebp
jne 0x10134b90
cmp dword [esi + 0x78], ebp
jne 0x10134b85
mov eax, dword [esi]
test byte [eax + 0x50], 8
jne 0x10134b85
mov byte [esi + 0x17], 1
push esi
call fcn.1013a130
add esp, 4
mov ebp, eax
cmp ebx, 1
je 0x10134bbb
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + eax + 4]
cmp byte [ecx + 9], 0
je 0x10134bbb
push str.sqlite_master
push 1
push 1
push ebx
push esi
call fcn.100f5930
add esp, 0x14
push 5
push ebx
push 1
push 0
push 0x71
push ebp
call fcn.10139c40
add esp, 0x18
cmp dword [esi + 0x28], 0
jne 0x10134bda
mov dword [esi + 0x28], 1
mov ebp, dword [esp + 0x24]
push ebp
push 0
push 0x7f
push edi
call fcn.10139b00
push 0xffffffffffffffff
push 0x1018fc48
push 0
lea ebx, [ebp + 2]
push ebx
push 6
push 0x4d
push edi
call fcn.10139bc0
push ebp
push ebx
push 0
push 0x80
push edi
call fcn.10139b60
add esp, 0x40
push 8
push edi
call fcn.1013a040
push 0x7a
push edi
call fcn.10139a50
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
inc dword [esi + 0x24]
mov dword [esi + 0xc], 7
push edi
push ebp
mov byte [esi + 0x11], 1
call fcn.10112cf0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret