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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x10155004]
xor eax, esp
mov dword [esp + 0xb8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
push ebx
mov dword [esp + 0x14], eax
mov ebx, ecx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
xor eax, eax
push esi
mov esi, dword [ebx]
push edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
cmp dword [ebp + 0x20], eax
je 0x100a60b4
cmp dword [ecx + 4], eax
jbe 0x100a60ad
push str.temporary_trigger_may_not_have_qualified_name
push ebx
call fcn.100294d0
add esp, 8
xor edi, edi
xor eax, eax
push eax
push esi
call fcn.10025c40
mov edx, dword [esp + 0x24]
add esp, 8
mov ecx, esi
call fcn.1007c280
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.1007bde0
mov edx, dword [esp + 0x38]
test edx, edx
je 0x100a6045
mov ecx, esi
call fcn.100633e0
cmp dword [ebx + 0x100], 0
jne 0x100a6098
test edi, edi
je 0x100a6098
cmp byte [edi + 0xa], 0
jne 0x100a6098
mov edx, dword [edi + 0x1c]
mov ecx, esi
call fcn.100a5dc0
push dword [edi]
push esi
call fcn.10025c40
push dword [edi + 4]
push esi
call fcn.10025c40
mov edx, dword [edi + 0xc]
add esp, 0x10
test edx, edx
je 0x100a6084
mov ecx, esi
call fcn.100633e0
mov edx, dword [edi + 0x10]
mov ecx, esi
call fcn.1007bde0
push edi
push esi
call fcn.10025c40
add esp, 8
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10115f0d
mov esp, ebp
pop ebp
ret
mov edi, 1
jmp 0x100a60d6
lea eax, [esp + 0x2c]
push eax
push ecx
mov ecx, ebx
call fcn.100754e0
mov edi, eax
add esp, 8
test edi, edi
js 0x100a6012
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100a6012
cmp byte [esi + 0x57], 0
jne 0x100a6012
cmp byte [esi + 0xb1], 0
je 0x100a6111
cmp edi, 1
je 0x100a6111
push dword [eax + 0xc]
push esi
call fcn.10025c40
mov eax, dword [esp + 0x24]
add esp, 8
mov dword [eax + 0xc], 0
mov edx, eax
mov ecx, ebx
call fcn.1007e280
cmp byte [esi + 0xb1], 0
mov edx, 1
mov dword [esp + 0x10], edx
jne 0x100a6146
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 4], 0
jne 0x100a6146
test eax, eax
je 0x100a6146
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edi, edx
cmp byte [esi + 0x57], 0
jne 0x100a6012
mov ecx, dword [ebx]
mov edx, edi
mov dword [esp + 0x3c], ebx
xorps xmm0, xmm0
shl edx, 4
cmp edi, 1
mov dword [esp + 0x2c], edx
mov eax, dword [ecx + 0x10]
movlpd qword [esp + 0x70], xmm0
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
mov eax, dword [edx + eax]
mov dword [esp + 0x64], eax
mov eax, dword [ecx + 0x10]
lea ecx, [esp + 0x40]
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
mov eax, dword [edx + eax + 0xc]
sete byte [esp + 0x60]
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x70]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x6c], eax
xor eax, eax
mov word [esp + 0x54], ax
lea eax, [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], str.trigger
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x100735f0
mov dword [esp + 0x48], 0x10073640
mov dword [esp + 0x4c], 0x10001080
mov dword [esp + 0x50], 0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
mov dword [esp + 0x90], eax
call fcn.1005e780
test eax, eax
jne 0x100a6012
mov edx, dword [esp + 0x1c]
mov ecx, ebx
call fcn.1007e280
mov dword [esp + 0x28], eax
test eax, eax
je 0x100a6254
cmp byte [eax + 0x2b], 1
jne 0x100a626f
push str.cannot_create_triggers_on_virtual_tables
push ebx
call fcn.100294d0
add esp, 8
cmp byte [esi + 0xb0], 1
mov eax, dword [esp + 0xc]
jne 0x100a6268
or dword [esi + 0xb4], 1
xor edi, edi
jmp 0x100a6016
test dword [eax + 0x1c], 0x1000
je 0x100a62b0
mov eax, dword [esi + 0x20]
and eax, 0x10000000
or eax, 0
je 0x100a62b0
cmp dword [esi + 0x194], 0
jne 0x100a62b0
cmp dword [esi + 0xc8], 0
jne 0x100a62b0
cmp dword [esi + 0x180], 0
jle 0x100a62a9
cmp dword [esi + 0x198], 0
je 0x100a62b0
push str.cannot_create_triggers_on_shadow_tables
jmp 0x100a624b
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100a6012
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
test eax, eax
je 0x100a6307
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, esi
call fcn.10025f80
add esp, 8
mov dword [esp + 0xc], eax
test eax, eax
je 0x100a630d
push dword [esp + 0x14]
push dword [esp + 0x28]
push eax
call fcn.10118c90
mov eax, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov byte [ecx + eax], 0
jmp 0x100a630d
xor eax, eax
mov dword [esp + 0xc], eax
mov ecx, eax
call fcn.10029560
mov eax, dword [esp + 0xc]
test eax, eax
je 0x100a6268
mov ecx, dword [esp + 0x28]
mov edx, eax
push dword [ecx]
mov ecx, ebx
push str.trigger
call fcn.10075570
add esp, 8
test eax, eax
jne 0x100a63b8
cmp byte [ebx + 0xdc], 2
jae 0x100a63c3
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0xc]
push 0
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.1002c110
add esp, 4
cmp dword [eax + 8], 0
je 0x100a63c3
cmp dword [ebp + 0x24], 0
jne 0x100a638a
mov eax, dword [esp + 0x18]
push eax
push str.trigger__T_already_exists
push ebx
call fcn.100294d0
mov eax, dword [esp + 0x18]
add esp, 0xc
xor edi, edi
jmp 0x100a6016
mov eax, dword [ebx + 0x80]
mov edx, ebx
test eax, eax
mov ecx, edi
cmovne edx, eax
shl dword [esp + 0x10], cl
mov eax, dword [edx + 0x5c]
test dword [esp + 0x10], eax
jne 0x100a63b8
bts eax, edi
mov dword [edx + 0x5c], eax
cmp edi, 1
jne 0x100a63b8
mov ecx, edx
call fcn.1007cbd0
xor edi, edi
mov eax, dword [esp + 0xc]
jmp 0x100a6016
mov eax, dword [esp + 0x28]
mov edx, 7
mov ecx, dword [eax]
mov dword [esp + 0x24], ecx
test ecx, ecx
jne 0x100a63e0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
jmp 0x100a6445
mov eax, dword [esp + 0xc]
mov edi, ecx
mov ecx, str.sqlite_
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
mov al, byte [edi]
dec edx
test al, al
je 0x100a641d
movzx ecx, byte [ecx]
movzx eax, al
mov al, byte [eax + 0x1013f9f0]
cmp al, byte [ecx + 0x1013f9f0]
mov ecx, dword [esp + 0x10]
jne 0x100a641d
inc ecx
inc edi
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x100a63f3
dec edx
test edx, edx
js 0x100a66d8
movzx eax, byte [ecx]
movzx ecx, byte [eax + 0x1013f9f0]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x1013f9f0]
sub eax, ecx
je 0x100a66d8
mov eax, dword [esp + 0x28]
cmp byte [eax + 0x2b], 2
jne 0x100a6480
mov ecx, dword [esp + 0x20]
cmp ecx, 0x41
je 0x100a64a2
mov eax, dword [esp + 0x1c]
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.100294d0
add esp, 0x10
jmp 0x100a6254
cmp dword [esp + 0x20], 0x41
jne 0x100a64a2
mov eax, dword [esp + 0x1c]
add eax, 8
push eax
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push ebx
call fcn.100294d0
add esp, 0xc
jmp 0x100a6254
cmp byte [ebx + 0xdc], 2
jae 0x100a6543
mov ecx, dword [eax + 0x3c]
mov edi, 0xffff8000
test ecx, ecx
je 0x100a64cf
mov eax, dword [esi + 0x10]
xor edi, edi
add eax, 0xc
cmp dword [eax], ecx
je 0x100a64cf
lea eax, [eax + 0x10]
inc edi
cmp dword [eax], ecx
jne 0x100a64c7
mov ecx, dword [esi + 0x10]
mov eax, edi
add eax, eax
mov edx, 7
cmp dword [ebp + 0x20], 0
mov eax, dword [ecx + eax*8]
mov dword [esp + 0x10], eax
je 0x100a64eb
mov eax, dword [ecx + 0x10]
cmp edi, 1
je 0x100a64f6
cmp dword [ebp + 0x20], 0
je 0x100a64fb
mov edx, 5
push eax
push dword [esp + 0x28]
mov ecx, ebx
push dword [esp + 0x1c]
call fcn.10073a80
add esp, 0xc
test eax, eax
jne 0x100a63b8
push dword [esp + 0x10]
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.10073a80
add esp, 0xc
test eax, eax
jne 0x100a63b8
cmp dword [esp + 0x20], 0x41
mov eax, 0x21
push 0
cmovne eax, dword [esp + 0x24]
mov ecx, esi
push 0x24
mov dword [esp + 0x18], eax
call fcn.10025f80
mov edi, eax
add esp, 8
mov ecx, edi
mov dword [esp + 0x18], ecx
test edi, edi
je 0x100a63ba
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
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 [edx + 0x10]
mov dword [esp + 0xc], 0
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100a65cf
mov dword [esp + 0x14], eax
jmp 0x100a6612
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a65d4
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x2c], eax
call fcn.10025f80
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x100a660e
push dword [esp + 0x24]
push dword [esp + 0x24]
push eax
call fcn.10118c90
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x10], 0x21
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x28]
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 0x100a6681
mov eax, dword [ebx + 0x118]
mov edx, dword [edx + 0x10]
test eax, eax
je 0x100a6679
mov dword [esp + 0x18], ecx
nop
cmp dword [eax], edx
je 0x100a6673
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x100a6660
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x100a66af
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
xor ecx, ecx
mov dword [esp + 0x38], ecx
jmp 0x100a66af
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x100a669f
push 0
mov edx, ecx
mov ecx, esi
push 1
call fcn.100635e0
add esp, 8
mov dword [esp + 0x30], eax
jmp 0x100a66a7
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x10], edx
mov dword [ebx + 0x100], edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x34], 0
jmp 0x100a6016
push str.cannot_create_trigger_on_system_table
push ebx
call fcn.100294d0
mov eax, dword [esp + 0x14]
add esp, 8
xor edi, edi
jmp 0x100a6016