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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edi
mov esi, dword [edi]
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], eax
cmp dword [ebp + 0x20], eax
je 0x4e8c3f
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jbe 0x4e8c34
push str.temporary_trigger_may_not_have_qualified_name
push edi
call fcn.0046d2a0
add esp, 8
jmp 0x4e8f10
mov eax, 1
mov dword [esp + 0x1c], eax
jmp 0x4e8c64
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004b8c70
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
js 0x4e8f10
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0x18]
test ecx, ecx
je 0x4e8f10
cmp byte [esi + 0x57], 0
jne 0x4e8f10
cmp byte [esi + 0xb1], 0
je 0x4e8c9f
cmp eax, 1
je 0x4e8c9f
mov edx, dword [ecx + 0xc]
test edx, edx
je 0x4e8c98
mov ecx, esi
call fcn.00469cc0
mov ecx, dword [ebp + 0x18]
mov dword [ecx + 0xc], 0
mov edx, ecx
mov ecx, edi
call fcn.004c1e40
cmp byte [esi + 0xb1], 0
mov edx, eax
mov dword [esp + 0x14], 1
jne 0x4e8ce0
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jne 0x4e8ce0
test edx, edx
je 0x4e8ce0
mov ecx, dword [esi + 0x10]
mov eax, dword [edx + 0x3c]
mov edx, dword [esp + 0x1c]
cmp eax, dword [ecx + 0x1c]
cmove edx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
jmp 0x4e8ce4
mov edx, dword [esp + 0x1c]
cmp byte [esi + 0x57], 0
jne 0x4e8f10
mov ecx, dword [edi]
mov eax, edx
shl eax, 4
xorps xmm0, xmm0
mov dword [esp + 0x34], eax
cmp edx, 1
mov dword [esp + 0x44], edi
lea edx, [esp + 0x78]
mov eax, dword [ecx + 0x10]
mov edi, dword [esp + 0x34]
movlpd qword [esp + 0x78], xmm0
movlpd qword [esp + 0x80], xmm0
movlpd qword [esp + 0x88], xmm0
mov eax, dword [edi + eax]
mov dword [esp + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov ecx, edi
mov edi, dword [esp + 0x30]
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x9c], xmm0
mov eax, dword [ecx + eax + 0xc]
sete byte [esp + 0x68]
mov dword [esp + 0x64], eax
lea ecx, [esp + 0x48]
mov eax, dword [esp + 0x20]
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 [ebp + 0x18]
mov dword [esp + 0x70], str.trigger
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], 0x4b6c90
mov dword [esp + 0x50], 0x4b6ce0
mov dword [esp + 0x54], fcn.0041c1d0
mov dword [esp + 0x58], 0
movlpd qword [esp + 0xa4], xmm0
movlpd qword [esp + 0xac], xmm0
movlpd qword [esp + 0xb4], xmm0
movlpd qword [esp + 0xbc], xmm0
mov dword [esp + 0x98], eax
call fcn.004a20c0
test eax, eax
jne 0x4e8f10
mov edx, dword [ebp + 0x18]
mov ecx, edi
call fcn.004c1e40
mov dword [esp + 0x38], eax
test eax, eax
je 0x4e8dfd
cmp byte [eax + 0x2b], 1
jne 0x4e8e2c
push str.cannot_create_triggers_on_virtual_tables
push edi
call fcn.0046d2a0
add esp, 8
cmp byte [esi + 0xb0], 1
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
jne 0x4e8e15
or dword [esi + 0xb4], 1
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e8f10
jmp 0x4e8f07
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4e8f10
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4e8e83
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, esi
call fcn.0046a0b0
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x4e8e89
push dword [esp + 0x24]
push dword [esp + 0x30]
push eax
call fcn.00546c40
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x24]
mov byte [ecx + eax], 0
jmp 0x4e8e89
xor eax, eax
mov dword [esp + 0x10], eax
mov ecx, eax
call fcn.0046d330
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e8f10
mov ecx, dword [esp + 0x38]
mov edx, eax
push dword [ecx]
mov ecx, edi
push str.trigger
call fcn.004b8d00
add esp, 8
test eax, eax
jne 0x4e8f03
cmp byte [edi + 0xd0], 2
jae 0x4e8fc3
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x10]
push 0
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.0046eae0
add esp, 4
cmp dword [eax + 8], 0
je 0x4e8fc3
cmp dword [ebp + 0x24], 0
jne 0x4e8f89
mov eax, dword [esp + 0x20]
push eax
push str.trigger__T_already_exists
push edi
call fcn.0046d2a0
add esp, 0xc
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, esi
call fcn.00469cc0
mov edx, dword [ebp + 0x18]
mov ecx, esi
call fcn.004c00b0
mov ecx, dword [ebp + 0x1c]
mov edx, ecx
test ebx, ebx
je 0x4e93a7
lea eax, [ebx + 4]
mov dword [esp + 0x18], ecx
xor edi, edi
mov dword [esp + 0x40], eax
cmp dword [eax], edi
jle 0x4e8f59
mov dword [esp + 0x18], ecx
nop dword [eax]
mov eax, dword [ebx]
mov edx, dword [eax + edi*8]
test edx, edx
je 0x4e8f50
mov ecx, esi
call fcn.00469cc0
mov eax, dword [esp + 0x40]
inc edi
cmp edi, dword [eax]
jl 0x4e8f40
mov edx, dword [ebx]
test edx, edx
je 0x4e8f66
mov ecx, esi
call fcn.00469cc0
test esi, esi
je 0x4e934b
cmp dword [esi + 0x210], 0
je 0x4e9313
mov edx, ebx
mov ecx, esi
call fcn.00469c70
jmp 0x4e93a3
mov eax, dword [edi + 0x74]
test eax, eax
cmovne edi, eax
mov eax, dword [esp + 0x1c]
mov ecx, eax
shl dword [esp + 0x14], cl
mov edx, dword [edi + 0x54]
test dword [esp + 0x14], edx
jne 0x4e8f03
bts edx, eax
mov dword [edi + 0x54], edx
cmp eax, 1
jne 0x4e8f03
mov ecx, edi
call fcn.004c0790
jmp 0x4e8f03
mov eax, dword [esp + 0x38]
mov edx, 7
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4e8fe0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
jmp 0x4e905e
mov edi, dword [esp + 0x10]
mov eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, str.sqlite_
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], ecx
nop dword [eax + eax]
mov al, byte [eax]
dec edx
test al, al
je 0x4e9032
movzx ecx, byte [ecx]
movzx eax, al
mov al, byte [eax + 0x58d100]
cmp al, byte [ecx + 0x58d100]
mov ecx, dword [esp + 0x14]
jne 0x4e9032
mov eax, dword [esp + 0x20]
inc ecx
inc eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x20], eax
test edx, edx
jg 0x4e9000
dec edx
test edx, edx
js 0x4e9300
movzx eax, byte [ecx]
movzx ecx, byte [eax + 0x58d100]
mov eax, dword [esp + 0x20]
movzx eax, byte [eax]
movzx eax, byte [eax + 0x58d100]
sub eax, ecx
je 0x4e9300
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x2b], 2
jne 0x4e9097
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x41
je 0x4e90b7
mov eax, dword [ebp + 0x18]
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 edi
call fcn.0046d2a0
add esp, 0x10
jmp 0x4e8dfd
cmp dword [ebp + 0xc], 0x41
jne 0x4e90b7
mov eax, dword [ebp + 0x18]
add eax, 8
push eax
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push edi
call fcn.0046d2a0
add esp, 0xc
jmp 0x4e8dfd
cmp byte [edi + 0xd0], 2
jae 0x4e9168
mov edx, dword [eax + 0x3c]
mov ecx, 0xffff8000
mov dword [esp + 0x14], ecx
test edx, edx
je 0x4e90f0
mov eax, dword [esi + 0x10]
xor ecx, ecx
add eax, 0xc
mov dword [esp + 0x14], ecx
cmp dword [eax], edx
je 0x4e90f0
lea eax, [eax + 0x10]
inc ecx
cmp dword [eax], edx
jne 0x4e90e4
mov dword [esp + 0x14], ecx
mov edx, dword [esi + 0x10]
mov eax, ecx
add eax, eax
cmp dword [ebp + 0x20], 0
mov eax, dword [edx + eax*8]
mov dword [esp + 0x24], eax
je 0x4e9107
mov eax, dword [edx + 0x10]
cmp ecx, 1
je 0x4e9112
cmp dword [ebp + 0x20], 0
je 0x4e9119
mov edx, 5
jmp 0x4e911e
mov edx, 7
push eax
push dword [esp + 0x30]
mov ecx, edi
push dword [esp + 0x24]
call fcn.004b7170
add esp, 0xc
test eax, eax
jne 0x4e8f03
push dword [esp + 0x24]
cmp dword [esp + 0x18], 1
mov ecx, str.sqlite_temp_master
push eax
mov eax, str.sqlite_master
mov edx, 0x12
cmove eax, ecx
mov ecx, edi
push eax
call fcn.004b7170
add esp, 0xc
test eax, eax
jne 0x4e8f03
cmp dword [ebp + 0xc], 0x41
mov eax, 0x21
push 0
cmovne eax, dword [ebp + 0xc]
mov ecx, esi
push 0x24
mov dword [esp + 0x28], eax
call fcn.0046a0b0
mov edi, eax
add esp, 8
mov edx, edi
mov dword [esp + 0x28], edx
test edi, edi
je 0x4e92f7
mov eax, dword [esp + 0x1c]
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 [ebp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x4e91e9
mov dword [esp + 0x14], eax
jmp 0x4e922e
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4e91f0
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x34], eax
call fcn.0046a0b0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je 0x4e922a
push dword [esp + 0x2c]
push dword [esp + 0x28]
push eax
call fcn.00546c40
mov eax, dword [esp + 0x20]
add esp, 0xc
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x20], 0x21
mov dword [edi + 4], eax
mov eax, dword [esi + 0x10]
mov eax, dword [ecx + eax + 0xc]
mov ecx, dword [esp + 0x38]
mov dword [edi + 0x14], eax
mov eax, dword [ecx + 0x3c]
mov ecx, dword [esp + 0x30]
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 [ecx + 0xd0], 2
jb 0x4e92a6
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x10c]
test eax, eax
je 0x4e929c
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x2c]
cmp dword [eax], edx
je 0x4e9296
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4e9285
mov dword [esp + 0x18], eax
jmp 0x4e92d8
mov edx, dword [esp + 0x14]
mov dword [eax], edx
mov dword [esp + 0x18], 0
jmp 0x4e92d8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4e92c8
push 0
push 1
mov edx, eax
mov ecx, esi
call fcn.004a6c20
mov ecx, dword [esp + 0x38]
add esp, 8
mov dword [esp + 0x3c], eax
jmp 0x4e92d0
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [ebp + 0x18]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ebx
mov dword [ecx + 0xf4], edi
mov ecx, esi
call fcn.004c00b0
jmp 0x4e93a3
mov dword [esp + 0x28], edi
jmp 0x4e8f03
push str.cannot_create_trigger_on_system_table
push edi
call fcn.0046d2a0
add esp, 8
jmp 0x4e8f03
cmp ebx, dword [esi + 0x164]
jae 0x4e934b
cmp ebx, dword [esi + 0x15c]
jb 0x4e9333
mov eax, dword [esi + 0x158]
mov dword [ebx], eax
mov dword [esi + 0x158], ebx
jmp 0x4e93a3
cmp ebx, dword [esi + 0x160]
jb 0x4e934b
mov eax, dword [esi + 0x150]
mov dword [ebx], eax
mov dword [esi + 0x150], ebx
jmp 0x4e93a3
cmp dword [0x5b3c20], 0
je 0x4e9399
mov eax, dword [0x5c26a0]
test eax, eax
je 0x4e9367
push eax
call dword [0x5b3c70]
add esp, 4
push ebx
call dword [0x5b3c4c]
sub dword [0x5c24a8], eax
add esp, 4
dec dword [0x5c24cc]
push ebx
call dword [0x5b3c44]
mov eax, dword [0x5c26a0]
add esp, 4
test eax, eax
je 0x4e93a3
push eax
call dword [0x5b3c78]
jmp 0x4e93a0
push ebx
call dword [0x5b3c44]
add esp, 4
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4e93b2
mov ecx, esi
call fcn.004a6930
mov eax, dword [esp + 0x30]
cmp dword [eax + 0xf4], 0
jne 0x4e9413
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4e9413
cmp byte [ebx + 0xa], 0
jne 0x4e9413
mov edx, dword [ebx + 0x1c]
mov ecx, esi
call fcn.004e8a80
mov edx, dword [ebx]
test edx, edx
je 0x4e93e4
mov ecx, esi
call fcn.00469cc0
mov edx, dword [ebx + 4]
test edx, edx
je 0x4e93f2
mov ecx, esi
call fcn.00469cc0
mov edx, dword [ebx + 0xc]
test edx, edx
je 0x4e9400
mov ecx, esi
call fcn.004a6930
mov edx, dword [ebx + 0x10]
mov ecx, esi
call fcn.004bfb80
mov edx, ebx
mov ecx, esi
call fcn.00469cc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret