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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x4e2040]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
push esi
mov dword [esp + 0xc], eax
mov esi, 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 edi
mov edi, dword [esi]
mov dword [esp + 0x20], edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 1
cmp dword [ebp + 0x20], eax
je 0x48ea84
cmp dword [ecx + 4], eax
jbe 0x48ea78
push str.temporary_trigger_may_not_have_qualified_name
push esi
call fcn.00441b18
pop ecx
pop ecx
jmp 0x48ec3b
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov dword [esp + 0x18], ecx
jmp 0x48eaad
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, esi
call fcn.00474a48
pop ecx
pop ecx
mov ecx, eax
mov dword [esp + 0x18], ecx
test ecx, ecx
js 0x48ec3b
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48ec3f
cmp byte [edi + 0x57], 0
jne 0x48ec3f
cmp byte [edi + 0xb1], 0
je 0x48eae6
cmp ecx, edx
je 0x48eae6
mov edx, dword [eax + 0xc]
test edx, edx
je 0x48eae2
mov ecx, edi
call fcn.0043eeff
mov eax, dword [esp + 0x10]
and dword [eax + 0xc], 0
mov edx, eax
mov ecx, esi
call fcn.0047a199
cmp byte [edi + 0xb1], 0
jne 0x48eb1e
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + 4], 0
jne 0x48eb1e
mov edx, dword [esp + 0x18]
test eax, eax
je 0x48eb22
mov ecx, dword [edi + 0x10]
mov eax, dword [eax + 0x3c]
cmp eax, dword [ecx + 0x1c]
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x18], edx
jmp 0x48eb22
mov edx, dword [esp + 0x18]
cmp byte [edi + 0x57], 0
jne 0x48ec3b
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push str.trigger
push edx
mov edx, esi
call fcn.0047387c
mov edx, dword [esp + 0x1c]
add esp, 0xc
call fcn.004738dc
test eax, eax
jne 0x48ec3b
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.0047a199
mov dword [esp + 0x24], eax
test eax, eax
je 0x48eb7b
cmp byte [eax + 0x2b], 1
jne 0x48ebb4
push str.cannot_create_triggers_on_virtual_tables
push esi
call fcn.00441b18
pop ecx
pop ecx
cmp byte [edi + 0xb0], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
jne 0x48eb96
mov eax, dword [esp + 0x1c]
or dword [edi + 0xb4], eax
and dword [esp + 0x38], 0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x34], eax
test edx, edx
je 0x48ec3b
jmp 0x48ec34
mov edx, dword [esp + 0x20]
mov ecx, edi
call fcn.00474967
mov dword [esp + 0x14], eax
test eax, eax
je 0x48ec3b
mov ecx, dword [esp + 0x24]
mov edx, eax
push dword [ecx]
mov ecx, esi
push str.trigger
call fcn.00474ac2
pop ecx
pop ecx
test eax, eax
jne 0x48ec30
cmp byte [esi + 0xd4], 2
jae 0x48ecd8
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x10]
add ecx, ecx
mov edx, dword [esp + 0x14]
push 0
mov ecx, dword [eax + ecx*8 + 0xc]
add ecx, 0x28
call fcn.0044328b
pop ecx
cmp dword [eax + 8], 0
je 0x48ecd8
cmp dword [ebp + 0x24], 0
jne 0x48ecc0
push dword [esp + 0x20]
push str.trigger__T_already_exists
push esi
call fcn.00441b18
add esp, 0xc
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.0043eeff
mov eax, dword [esp + 0x10]
mov edx, eax
mov ecx, edi
call fcn.00478ead
test ebx, ebx
je 0x48ec8b
xor eax, eax
mov dword [esp + 0x2c], eax
cmp dword [ebx], eax
jle 0x48ec82
lea ecx, [ebx + 8]
mov dword [esp + 0x28], ecx
mov edx, dword [ecx]
test edx, edx
je 0x48ec72
mov ecx, edi
call fcn.0043eeff
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
inc eax
add ecx, 8
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
cmp eax, dword [ebx]
jl 0x48ec5d
mov edx, ebx
mov ecx, edi
call fcn.0043ef4e
mov edx, dword [esp + 0x34]
test edx, edx
je 0x48ec9a
mov ecx, edi
call fcn.00469f9d
cmp dword [esi + 0xf8], 0
jne 0x48ecae
mov edx, dword [esp + 0x38]
mov ecx, edi
call fcn.0048f777
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b0ce6
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x78], 0
mov ecx, esi
mov edx, dword [esp + 0x18]
cmovne ecx, dword [esi + 0x78]
call fcn.004793c0
jmp 0x48ec30
mov eax, dword [esp + 0x24]
push 7
push str.sqlite_
mov eax, dword [eax]
push eax
mov dword [esp + 0x48], eax
call fcn.00441c90
add esp, 0xc
test eax, eax
jne 0x48ed08
push str.cannot_create_trigger_on_system_table
push esi
call fcn.00441b18
pop ecx
pop ecx
jmp 0x48ec30
mov eax, dword [esp + 0x24]
cmp byte [eax + 0x2b], 2
jne 0x48ed47
mov ecx, dword [esp + 0x28]
cmp ecx, 0x41
je 0x48ed69
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 esi
call fcn.00441b18
add esp, 0x10
jmp 0x48eb7b
cmp dword [esp + 0x28], 0x41
jne 0x48ed69
mov eax, dword [esp + 0x10]
add eax, 8
push eax
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push esi
call fcn.00441b18
add esp, 0xc
jmp 0x48eb7b
cmp byte [esi + 0xd4], 2
jae 0x48edf9
mov edx, dword [eax + 0x3c]
mov ecx, edi
call fcn.004864ff
mov edx, dword [edi + 0x10]
mov ecx, eax
add ecx, ecx
mov dword [esp + 0x30], eax
cmp dword [ebp + 0x20], 0
mov ecx, dword [edx + ecx*8]
mov dword [esp + 0x20], ecx
je 0x48ed9b
mov ecx, dword [edx + 0x10]
cmp eax, dword [esp + 0x1c]
je 0x48eda7
cmp dword [ebp + 0x20], 0
je 0x48edab
push 5
jmp 0x48edad
push 7
pop edx
push ecx
push dword [esp + 0x40]
mov ecx, esi
push dword [esp + 0x1c]
call fcn.00473b56
add esp, 0xc
test eax, eax
jne 0x48ec30
push dword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov ecx, str.sqlite_temp_master
cmp dword [esp + 0x34], edx
push eax
mov eax, str.sqlite_master
cmove eax, ecx
mov ecx, esi
push eax
push 0x12
pop edx
call fcn.00473b56
add esp, 0xc
test eax, eax
jne 0x48ec30
push 0
push 0x24
mov ecx, edi
call fcn.0043f143
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x40], eax
pop ecx
pop ecx
test eax, eax
je 0x48ec34
mov dword [eax], edx
mov ecx, edi
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0x10]
call fcn.0043f379
mov edx, dword [esp + 0x38]
mov dword [esp + 0x30], eax
push 0x21
mov dword [edx + 4], eax
mov ecx, dword [edi + 0x10]
mov eax, dword [esp + 0x1c]
add eax, eax
cmp dword [esp + 0x2c], 0x41
mov ecx, dword [ecx + eax*8 + 0xc]
mov eax, dword [esp + 0x28]
mov dword [edx + 0x14], ecx
mov ecx, dword [eax + 0x3c]
pop eax
cmovne eax, dword [esp + 0x28]
cmp eax, 0x21
mov dword [edx + 0x18], ecx
mov cl, byte [ebp + 0x10]
setne al
mov byte [edx + 8], cl
inc al
mov byte [edx + 9], al
cmp byte [esi + 0xd4], 2
jb 0x48ee8d
mov eax, dword [esp + 0x10]
mov ecx, esi
mov edx, dword [esp + 0x30]
push dword [eax + 0x10]
call fcn.0046fe88
xor eax, eax
pop ecx
mov dword [esp + 0x34], eax
jmp 0x48eeb1
mov eax, dword [esp + 0x34]
test eax, eax
je 0x48eeac
push 0
push dword [esp + 0x20]
mov edx, eax
mov ecx, edi
call fcn.0046a101
pop ecx
pop ecx
mov dword [esp + 0x2c], eax
jmp 0x48eeb1
and dword [esp + 0x2c], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ebx
xor ebx, ebx
mov dword [esi + 0xf8], eax
jmp 0x48ec3b