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

Disassembly:
sub esp, 0x50
push ebx
mov ebx, dword [esp + 0x6c]
xor ecx, ecx
push ebp
mov ebp, dword [esp + 0x78]
xor edx, edx
push esi
push edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebp
mov esi, dword [edi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x78], ecx
cmp dword [esp + 0x84], ecx
je 0x55a1ff
mov eax, dword [esp + 0x6c]
cmp dword [eax + 4], ecx
jbe 0x55a1eb
push str.temporary_trigger_may_not_have_qualified_name
push edi
call fcn.00561f37
jmp 0x55a404
lea ecx, [edx + 1]
mov edx, dword [esp + 0x68]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x64], edx
jmp 0x55a22f
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x70]
push eax
push dword [esp + 0x70]
push edi
call fcn.0057936e
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x80], ecx
test ecx, ecx
js 0x55a406
mov eax, dword [esp + 0x64]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x55a40a
cmp byte [esi + 0x57], 0
jne 0x55a40a
cmp byte [esi + 0xb1], 0
je 0x55a270
xor edx, edx
inc edx
cmp ecx, edx
je 0x55a270
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x55a26c
push ecx
push esi
call fcn.00560283
mov eax, dword [esp + 0x84]
pop ecx
pop ecx
and dword [eax + 0xc], 0
push eax
push edi
call fcn.00577a16
cmp byte [esi + 0xb1], 0
mov edx, eax
pop ecx
pop ecx
jne 0x55a2b1
mov eax, dword [esp + 0x6c]
cmp dword [eax + 4], 0
jne 0x55a2b1
test edx, edx
je 0x55a2b1
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x3c]
mov edx, dword [esp + 0x80]
push 1
cmp eax, dword [ecx + 0x1c]
pop eax
cmove edx, eax
mov dword [esp + 0x80], edx
jmp 0x55a2b8
mov edx, dword [esp + 0x80]
cmp byte [esi + 0x57], 0
jne 0x55a406
push dword [esp + 0x64]
lea eax, [esp + 0x30]
push str.trigger
push edx
push edi
push eax
call fcn.00566a39
push dword [esp + 0x90]
lea eax, [esp + 0x44]
push eax
call fcn.00566a9f
add esp, 0x1c
test eax, eax
jne 0x55a406
push dword [esp + 0x7c]
push edi
call fcn.00577a16
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
je 0x55a31a
cmp byte [eax + 0x2b], 1
jne 0x55a34e
push str.cannot_create_triggers_on_virtual_tables
push edi
call fcn.00561f37
pop ecx
pop ecx
cmp byte [esi + 0xb0], 1
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x78], ebx
jne 0x55a334
xor eax, eax
inc eax
or dword [esi + 0xb4], eax
and dword [esp + 0x10], 0
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x20]
test eax, eax
je 0x55a406
jmp 0x55a3f5
test dword [eax + 0x1c], 0x1000
je 0x55a369
push esi
call fcn.005735c1
pop ecx
test eax, eax
je 0x55a369
push str.cannot_create_triggers_on_shadow_tables
jmp 0x55a312
push dword [esp + 0x64]
push esi
call fcn.0056d326
mov dword [esp + 0x80], eax
pop ecx
pop ecx
test eax, eax
je 0x55a406
mov ecx, dword [esp + 0x14]
push dword [ecx]
push str.trigger
push eax
push edi
call fcn.0055d564
add esp, 0x10
test eax, eax
jne 0x55a3f1
cmp byte [edi + 0xdc], 2
jae 0x55a49f
mov ecx, dword [esp + 0x80]
mov eax, dword [esi + 0x10]
add ecx, ecx
push dword [esp + 0x78]
mov eax, dword [eax + ecx*8 + 0xc]
add eax, 0x28
push eax
call fcn.0056a113
pop ecx
pop ecx
test eax, eax
je 0x55a49f
cmp dword [esp + 0x88], 0
jne 0x55a48b
push dword [esp + 0x64]
push str.trigger__T_already_exists
push edi
call fcn.00561f37
add esp, 0xc
mov eax, dword [esp + 0x78]
push eax
push esi
call fcn.00560283
mov ebp, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
pop ecx
pop ecx
mov eax, dword [esp + 0x7c]
push eax
push esi
call fcn.0057762b
pop ecx
pop ecx
test ebx, ebx
je 0x55a461
xor eax, eax
mov dword [esp + 0x84], eax
cmp dword [ebx], eax
jle 0x55a458
lea ecx, [ebx + 8]
mov dword [esp + 0x78], ecx
mov edx, dword [ecx]
test edx, edx
je 0x55a445
push edx
push esi
call fcn.00560283
mov eax, dword [esp + 0x8c]
pop ecx
pop ecx
mov ecx, dword [esp + 0x78]
inc eax
add ecx, 8
mov dword [esp + 0x84], eax
mov dword [esp + 0x78], ecx
cmp eax, dword [ebx]
jl 0x55a42b
push ebx
push esi
call fcn.00560462
pop ecx
pop ecx
test ebp, ebp
je 0x55a46e
push ebp
push esi
call fcn.0056485a
pop ecx
pop ecx
cmp dword [edi + 0x100], 0
jne 0x55a483
push dword [esp + 0x10]
push esi
call fcn.00561121
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
push dword [esp + 0x80]
push edi
call fcn.0055e161
pop ecx
pop ecx
jmp 0x55a3f1
mov eax, dword [esp + 0x14]
push 7
push str.sqlite_
mov eax, dword [eax]
push eax
mov dword [esp + 0x70], eax
call fcn.00528757
add esp, 0xc
test eax, eax
jne 0x55a4ca
push str.cannot_create_trigger_on_system_table
push edi
call fcn.00561f37
jmp 0x55a498
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x2b], 2
jne 0x55a509
cmp dword [esp + 0x70], 0x41
je 0x55a52b
mov eax, dword [esp + 0x7c]
mov ecx, str.AFTER
add eax, 8
cmp dword [esp + 0x70], 0x21
push eax
mov eax, str.BEFORE
cmovne eax, ecx
push eax
push str.cannot_create__s_trigger_on_view:__S
push edi
call fcn.00561f37
add esp, 0x10
jmp 0x55a31a
cmp dword [esp + 0x70], 0x41
jne 0x55a52b
mov eax, dword [esp + 0x7c]
add eax, 8
push eax
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push edi
call fcn.00561f37
add esp, 0xc
jmp 0x55a31a
cmp byte [edi + 0xdc], 2
jae 0x55a5c9
push dword [eax + 0x3c]
push esi
call fcn.0057526e
pop ecx
mov edx, eax
add eax, eax
cmp dword [esp + 0x88], 0
pop ecx
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x28], edx
mov eax, dword [ecx + eax*8]
mov dword [esp + 0x24], eax
je 0x55a564
mov ecx, dword [ecx + 0x10]
jmp 0x55a566
mov ecx, eax
xor eax, eax
inc eax
cmp edx, eax
je 0x55a577
cmp dword [esp + 0x84], 0
je 0x55a57b
push 5
jmp 0x55a57d
push 7
pop eax
push ecx
push dword [esp + 0x68]
push dword [esp + 0x80]
push eax
push edi
call fcn.00559d89
add esp, 0x14
test eax, eax
jne 0x55a3f1
push dword [esp + 0x24]
xor edx, edx
mov ecx, str.sqlite_temp_master
push eax
inc edx
mov eax, str.sqlite_master
cmp dword [esp + 0x30], edx
cmove eax, ecx
push eax
push 0x12
push edi
call fcn.00559d89
add esp, 0x14
test eax, eax
jne 0x55a3f1
push 0
push 0x24
push esi
call fcn.00560434
mov ecx, eax
add esp, 0xc
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x55a3f5
mov dword [ecx], eax
mov eax, dword [esp + 0x7c]
push dword [eax + 0x10]
push esi
call fcn.005605e0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], eax
pop ecx
pop ecx
mov dword [edx + 4], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [esp + 0x80]
add eax, eax
cmp dword [esp + 0x70], 0x41
push 0x21
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, dword [esp + 0x18]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x3c]
pop eax
cmovne eax, dword [esp + 0x70]
cmp eax, 0x21
mov dword [edx + 0x18], ecx
mov cl, byte [esp + 0x74]
setne al
mov byte [edx + 8], cl
inc al
mov byte [edx + 9], al
cmp byte [edi + 0xdc], 2
jb 0x55a667
mov eax, dword [esp + 0x7c]
push dword [eax + 0x10]
push dword [esp + 0x88]
push edi
call fcn.00573f26
add esp, 0xc
xor ebp, ebp
jmp 0x55a68a
test ebp, ebp
je 0x55a685
xor eax, eax
push 0
inc eax
push eax
push ebp
push esi
call fcn.00540286
mov edx, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x18], eax
jmp 0x55a68a
and dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
mov dword [edx + 0xc], eax
mov dword [edx + 0x10], ebx
xor ebx, ebx
mov dword [edi + 0x100], edx
jmp 0x55a406