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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc0], eax
cmp dword [ebp + 0x20], 0
mov eax, edx
mov edx, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [esp + 0x24], eax
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0xc], esi
mov esi, dword [ebx]
push edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0xc], 0
je 0x100b15cc
cmp dword [edx + 4], 0
jbe 0x100b15c1
push str.temporary_trigger_may_not_have_qualified_name
push ebx
call fcn.1002b880
add esp, 8
jmp 0x100b1c0f
mov edi, 1
mov dword [esp + 0x30], edi
jmp 0x100b15f4
lea ecx, [esp + 0x28]
push ecx
push edx
mov edx, eax
mov ecx, ebx
call fcn.1007c9a0
mov edi, eax
add esp, 8
mov dword [esp + 0x30], edi
test edi, edi
js 0x100b1c0f
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x100b1c0f
cmp byte [esi + 0x57], 0
jne 0x100b1c0f
cmp byte [esi + 0xb1], 0
je 0x100b1631
cmp edi, 1
je 0x100b1631
mov edx, dword [eax + 0xc]
test edx, edx
je 0x100b162a
mov ecx, esi
call fcn.10027de0
mov eax, dword [esp + 0x10]
mov dword [eax + 0xc], 0
mov edx, eax
mov ecx, ebx
call fcn.100860f0
cmp byte [esi + 0xb1], 0
mov edx, 1
mov dword [esp + 0x14], edx
jne 0x100b166a
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 4], 0
jne 0x100b166a
test eax, eax
je 0x100b166a
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edi, edx
mov dword [esp + 0x30], edi
cmp byte [esi + 0x57], 0
jne 0x100b1c0f
mov edx, dword [ebx]
mov ecx, edi
mov dword [esp + 0x44], ebx
add ecx, ecx
cmp edi, 1
xorps xmm0, xmm0
movlpd qword [esp + 0x78], xmm0
mov eax, dword [edx + 0x10]
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
mov eax, dword [eax + ecx*8]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x10]
lea edx, [esp + 0x78]
movlpd qword [esp + 0x9c], xmm0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
mov eax, dword [eax + ecx*8 + 0xc]
sete byte [esp + 0x68]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x74], eax
xor eax, eax
mov word [esp + 0x5c], ax
lea eax, [esp + 0x44]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], str.trigger
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x1007aae0
mov dword [esp + 0x50], 0x1007ab30
mov dword [esp + 0x54], 0x10001080
mov dword [esp + 0x58], 0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0x98], eax
call fcn.10064b20
test eax, eax
jne 0x100b1c0f
mov edx, dword [esp + 0x10]
mov ecx, ebx
call fcn.100860f0
mov dword [esp + 0x24], eax
test eax, eax
je 0x100b1776
cmp byte [eax + 0x2b], 1
jne 0x100b179f
push str.cannot_create_triggers_on_virtual_tables
push ebx
call fcn.1002b880
add esp, 8
cmp byte [esi + 0xb0], 1
mov edi, dword [esp + 0xc]
jne 0x100b178a
or dword [esi + 0xb4], 1
mov dword [esp + 0x1c], 0
test edi, edi
je 0x100b1c0f
jmp 0x100b1c06
test dword [eax + 0x1c], 0x1000
je 0x100b17e0
mov eax, dword [esi + 0x20]
and eax, 0x10000000
or eax, 0
je 0x100b17e0
cmp dword [esi + 0x194], 0
jne 0x100b17e0
cmp dword [esi + 0xc8], 0
jne 0x100b17e0
cmp dword [esi + 0x180], 0
jle 0x100b17d9
cmp dword [esi + 0x198], 0
je 0x100b17e0
push str.cannot_create_triggers_on_shadow_tables
jmp 0x100b176d
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100b1c0f
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], eax
test eax, eax
je 0x100b1837
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, esi
call fcn.10028280
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x100b183d
push dword [esp + 0x28]
push dword [esp + 0x1c]
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x28]
mov byte [ecx + eax], 0
jmp 0x100b183d
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.1002b910
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100b1c0f
mov ecx, dword [esp + 0x24]
mov edx, eax
push dword [ecx]
mov ecx, ebx
push str.trigger
call fcn.1007ca30
add esp, 8
test eax, eax
jne 0x100b1c02
cmp byte [ebx + 0xdc], 2
jae 0x100b1903
mov eax, dword [esi + 0x10]
mov ecx, edi
mov edi, dword [esp + 0xc]
add ecx, ecx
push 0
mov edx, edi
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 0x28
call fcn.1002e7d0
add esp, 4
cmp dword [eax + 8], 0
je 0x100b1903
cmp dword [ebp + 0x24], 0
jne 0x100b18be
mov eax, dword [esp + 0x2c]
push eax
push str.trigger__T_already_exists
push ebx
call fcn.1002b880
add esp, 0xc
jmp 0x100b1c06
mov eax, dword [ebx + 0x80]
mov ecx, ebx
mov edx, dword [esp + 0x30]
test eax, eax
cmovne ecx, eax
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x5c]
mov ecx, edx
shl dword [esp + 0x14], cl
test dword [esp + 0x14], eax
jne 0x100b1c06
mov ecx, dword [esp + 0x18]
bts eax, edx
mov dword [ecx + 0x5c], eax
cmp edx, 1
jne 0x100b1c06
call fcn.10084900
jmp 0x100b1c06
mov eax, dword [esp + 0x24]
mov edx, 7
mov edi, dword [eax]
test edi, edi
je 0x100b196e
mov ecx, str.sqlite_
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov al, byte [edi]
dec edx
test al, al
je 0x100b194a
movzx ecx, byte [ecx]
movzx eax, al
mov al, byte [eax + 0x10162840]
cmp al, byte [ecx + 0x10162840]
mov ecx, dword [esp + 0x14]
jne 0x100b194a
inc ecx
inc edi
mov dword [esp + 0x14], ecx
test edx, edx
jg 0x100b1920
dec edx
test edx, edx
js 0x100b1c90
movzx eax, byte [ecx]
movzx ecx, byte [eax + 0x10162840]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x10162840]
sub eax, ecx
je 0x100b1c90
mov edx, dword [esp + 0x24]
cmp byte [edx + 0x2b], 2
jne 0x100b19ad
mov ecx, dword [esp + 0x20]
cmp ecx, 0x41
je 0x100b19cf
mov eax, dword [esp + 0x10]
mov edx, str.AFTER
add eax, 8
cmp ecx, 0x21
push eax
mov eax, str.BEFORE
cmovne eax, edx
push eax
push str.cannot_create__s_trigger_on_view:__S
push ebx
call fcn.1002b880
add esp, 0x10
jmp 0x100b1776
cmp dword [esp + 0x20], 0x41
jne 0x100b19cf
mov eax, dword [esp + 0x10]
add eax, 8
push eax
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push ebx
call fcn.1002b880
add esp, 0xc
jmp 0x100b1776
cmp byte [ebx + 0xdc], 2
jae 0x100b1a72
mov ecx, dword [edx + 0x3c]
mov edi, 0xffff8000
test ecx, ecx
je 0x100b19fc
mov eax, dword [esi + 0x10]
xor edi, edi
add eax, 0xc
cmp dword [eax], ecx
je 0x100b19fc
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x100b19f4
mov ecx, dword [esi + 0x10]
mov eax, edi
add eax, eax
cmp dword [ebp + 0x20], 0
mov eax, dword [ecx + eax*8]
mov dword [esp + 0x18], eax
je 0x100b1a13
mov eax, dword [ecx + 0x10]
cmp edi, 1
je 0x100b1a1e
cmp dword [ebp + 0x20], 0
je 0x100b1a25
mov ecx, 5
jmp 0x100b1a2a
mov ecx, 7
push eax
push dword [edx]
mov edx, ecx
mov ecx, ebx
push dword [esp + 0x14]
call fcn.1007b010
add esp, 0xc
test eax, eax
jne 0x100b1c02
push dword [esp + 0x18]
mov ecx, str.sqlite_temp_master
cmp edi, 1
push eax
mov eax, str.sqlite_master
mov edx, 0x12
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.1007b010
add esp, 0xc
test eax, eax
jne 0x100b1c02
cmp dword [esp + 0x20], 0x41
mov eax, 0x21
push 0
cmovne eax, dword [esp + 0x24]
mov ecx, esi
push 0x24
mov dword [esp + 0x1c], eax
call fcn.10028280
mov edi, eax
add esp, 8
mov dword [esp + 0x1c], edi
test edi, edi
je 0x100b1bfe
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
test eax, eax
jne 0x100b1af4
mov dword [esp + 0x20], eax
jmp 0x100b1b3e
mov ecx, eax
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b1b00
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x20], eax
call fcn.10028280
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x100b1b3a
push dword [esp + 0x18]
push dword [esp + 0x2c]
push eax
call fcn.1013c1a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [edi + 4], eax
add edx, edx
mov eax, dword [esi + 0x10]
cmp dword [esp + 0x14], 0x21
mov eax, dword [eax + edx*8 + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x3c]
mov dword [edi + 0x18], eax
mov al, byte [ebp + 0x10]
mov byte [edi + 8], al
setne al
inc al
mov byte [edi + 9], al
cmp byte [ebx + 0xdc], 2
jb 0x100b1bb1
mov eax, dword [ebx + 0x118]
mov ecx, dword [ecx + 0x10]
test eax, eax
je 0x100b1ba9
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
nop dword [eax]
cmp dword [eax], ecx
je 0x100b1ba3
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100b1b90
xor edx, edx
mov dword [esp + 0x3c], edx
jmp 0x100b1bdd
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
xor edx, edx
mov dword [esp + 0x3c], edx
jmp 0x100b1bdd
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x100b1bcd
push 0
push 1
mov ecx, esi
call fcn.10069f40
add esp, 8
mov dword [esp + 0x34], eax
jmp 0x100b1bd5
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x10]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x10], eax
mov dword [ebx + 0x100], edi
call fcn.10084010
jmp 0x100b1c56
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0xc]
mov edx, edi
mov ecx, esi
call fcn.10027de0
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.10084010
mov eax, dword [esp + 0x38]
test eax, eax
je 0x100b1c56
xor edi, edi
cmp dword [eax], edi
jle 0x100b1c4d
lea ebx, [eax + 8]
nop dword [eax + eax]
mov edx, dword [ebx]
test edx, edx
je 0x100b1c41
mov ecx, esi
call fcn.10027de0
mov eax, dword [esp + 0x38]
inc edi
add ebx, 8
cmp edi, dword [eax]
jl 0x100b1c30
mov ebx, dword [esp + 0x40]
mov edx, eax
mov ecx, esi
call fcn.10027e90
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100b1c67
mov edx, eax
mov ecx, esi
call fcn.10069d00
cmp dword [ebx + 0x100], 0
jne 0x100b1c7b
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.100b2cc0
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013942d
mov esp, ebp
pop ebp
ret
push str.cannot_create_trigger_on_system_table
push ebx
call fcn.1002b880
add esp, 8
jmp 0x100b1c02