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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [ebx]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp + 0x18]
mov dword [esp + 8], eax
add eax, 4
push edi
mov dword [esp + 0x14], ecx
xor edi, edi
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 0x38], ecx
mov ecx, dword [eax]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], edi
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x20], edi
je 0x48a2b6
test ecx, ecx
je 0x48a2a1
push str.temporary_trigger_may_not_have_qualified_name
push ebx
call fcn.00413380
add esp, 8
jmp 0x48a8b6
mov ecx, 1
lea eax, [esi + 0x9d]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
jmp 0x48a32c
lea eax, [esi + 0x9d]
mov dword [esp + 0x20], eax
test ecx, ecx
je 0x48a311
cmp byte [eax], 0
je 0x48a2dc
push str.corrupt_database
push ebx
call fcn.00413380
add esp, 8
jmp 0x48a8b6
mov ecx, esi
call fcn.0045be60
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x48a305
mov eax, dword [esp + 0x2c]
push eax
push str.unknown_database__T
push ebx
call fcn.00413380
add esp, 0xc
jmp 0x48a8b6
mov edx, dword [esp + 0xc]
lea eax, [esi + 0x9d]
jmp 0x48a320
movzx ecx, byte [esi + 0x9c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], edx
test ecx, ecx
js 0x48a8b6
mov edx, dword [esp + 0x14]
test edx, edx
je 0x48a8b6
cmp byte [esi + 0x49], 0
jne 0x48a8b6
cmp byte [eax], 0
je 0x48a3fd
cmp ecx, 1
je 0x48a3fd
mov ecx, edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xc], ecx
test ecx, ecx
je 0x48a3f6
cmp dword [esi + 0x1d0], edi
je 0x48a378
mov edx, ecx
mov ecx, esi
call fcn.0040ffa0
jmp 0x48a3f6
cmp ecx, dword [esi + 0x128]
jb 0x48a398
cmp ecx, dword [esi + 0x12c]
jae 0x48a398
mov eax, dword [esi + 0x124]
mov dword [ecx], eax
mov dword [esi + 0x124], ecx
jmp 0x48a3f6
cmp dword [0x4d9a98], edi
je 0x48a3ec
mov eax, dword [0x4defd8]
test eax, eax
je 0x48a3b7
push eax
call dword [0x4d9af4]
mov ecx, dword [esp + 0x10]
add esp, 4
push ecx
call dword [0x4d9ad0]
sub dword [0x4dede0], eax
add esp, 4
dec dword [0x4dee04]
push dword [esp + 0xc]
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x48a3f6
push eax
call dword [0x4d9afc]
jmp 0x48a3f3
push ecx
call dword [0x4d9ac8]
add esp, 4
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], edi
mov ecx, ebx
call fcn.00464b90
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc], 1
cmp byte [ecx], 0
jne 0x48a439
mov ecx, dword [esp + 0x18]
cmp dword [ecx], edi
jne 0x48a439
mov edx, dword [esp + 0x10]
test eax, eax
je 0x48a43d
mov ecx, dword [esi + 0x10]
mov eax, dword [eax + 0x48]
cmp eax, dword [ecx + 0x1c]
cmove edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
jmp 0x48a43d
mov edx, dword [esp + 0x10]
cmp byte [esi + 0x49], 0
jne 0x48a8b6
mov eax, dword [ebx]
mov ecx, edx
shl ecx, 4
mov dword [esp + 0x28], ecx
mov dword [esp + 0x3c], ebx
add ecx, dword [eax + 0x10]
mov dword [esp + 0x4c], str.trigger
mov eax, dword [ecx]
mov dword [esp + 0x48], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
xor eax, eax
cmp edx, 1
mov edx, dword [esp + 0x14]
sete al
mov dword [esp + 0x44], eax
call fcn.00459f10
test eax, eax
jne 0x48a8b6
mov edx, dword [esp + 0x14]
mov ecx, ebx
call fcn.00464b90
mov dword [esp + 0x20], eax
test eax, eax
jne 0x48a4c3
cmp byte [esi + 0x9c], 1
jne 0x48a8b6
mov byte [esi + 0x9e], 1
jmp 0x48a8b6
cmp dword [eax + 0x38], edi
je 0x48a4db
push str.cannot_create_triggers_on_virtual_tables
push ebx
call fcn.00413380
add esp, 8
jmp 0x48a8b6
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.0045bd70
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
je 0x48a8b4
mov edx, edi
mov ecx, ebx
call fcn.0045bf30
test eax, eax
jne 0x48a810
mov eax, dword [esi + 0x10]
mov edx, edi
mov ecx, dword [esp + 0x28]
push 0
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.00414a50
add esp, 4
cmp dword [eax + 8], 0
je 0x48a57c
cmp dword [ebp + 0x24], 0
jne 0x48a542
push dword [esp + 0x2c]
push str.trigger__T_already_exists
push ebx
call fcn.00413380
add esp, 0xc
jmp 0x48a810
mov eax, dword [ebx + 0x78]
mov edx, ebx
mov ecx, dword [esp + 0x10]
test eax, eax
cmovne edx, eax
shl dword [esp + 0xc], cl
mov eax, dword [edx + 0x5c]
test dword [esp + 0xc], eax
jne 0x48a810
bts eax, ecx
mov dword [edx + 0x5c], eax
cmp ecx, 1
jne 0x48a810
mov ecx, edx
call fcn.00462f50
jmp 0x48a810
mov eax, dword [esp + 0x20]
mov edx, 7
mov edi, dword [eax]
test edi, edi
je 0x48a5ed
mov ebx, str.sqlite_
mov al, byte [edi]
dec edx
test al, al
je 0x48a5b2
movzx ecx, byte [ebx]
movzx eax, al
mov al, byte [eax + 0x4cf348]
cmp al, byte [ecx + 0x4cf348]
jne 0x48a5b2
inc edi
inc ebx
test edx, edx
jg 0x48a590
dec edx
test edx, edx
js 0x48a5ce
movzx eax, byte [ebx]
movzx ecx, byte [eax + 0x4cf348]
movzx eax, byte [edi]
movzx eax, byte [eax + 0x4cf348]
sub eax, ecx
jne 0x48a5e5
mov ebx, dword [esp + 0x1c]
push str.cannot_create_trigger_on_system_table
push ebx
call fcn.00413380
add esp, 8
jmp 0x48a80c
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
cmp dword [eax + 0xc], 0
je 0x48a626
mov ecx, dword [esp + 0x30]
cmp ecx, 0x40
je 0x48a646
push 0
push dword [esp + 0x18]
cmp ecx, 0x21
mov edx, str.AFTER
mov eax, str.BEFORE
cmovne eax, edx
push eax
push str.cannot_create__s_trigger_on_view:__S
push ebx
call fcn.00413380
add esp, 0x14
jmp 0x48a80c
cmp dword [esp + 0x30], 0x40
jne 0x48a646
push 0
push dword [esp + 0x18]
push str.cannot_create_INSTEAD_OF_trigger_on_table:__S
push ebx
call fcn.00413380
add esp, 0x10
jmp 0x48a80c
mov ecx, dword [eax + 0x48]
mov edi, 0xfff0bdc0
test ecx, ecx
je 0x48a66d
mov edx, dword [esi + 0x14]
xor edi, edi
test edx, edx
jle 0x48a66d
mov eax, dword [esi + 0x10]
add eax, 0xc
cmp dword [eax], ecx
je 0x48a66d
inc edi
add eax, 0x10
cmp edi, edx
jl 0x48a661
mov ecx, dword [esi + 0x10]
mov eax, edi
mov ebx, dword [ebp + 0x20]
add eax, eax
mov edx, 7
mov eax, dword [ecx + eax*8]
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x48a68a
mov eax, dword [ecx + 0x10]
cmp edi, 1
je 0x48a693
test ebx, ebx
je 0x48a698
mov edx, 5
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
push eax
mov eax, dword [esp + 0x24]
push dword [eax]
push ebx
call fcn.0045a410
add esp, 0xc
test eax, eax
jne 0x48a808
push dword [esp + 0x28]
mov ecx, str.sqlite_temp_master
cmp edi, 1
push eax
mov eax, str.sqlite_master
mov edx, 0x12
cmove eax, ecx
mov ecx, dword [esp + 0x24]
push eax
call fcn.0045a410
add esp, 0xc
test eax, eax
jne 0x48a808
cmp dword [esp + 0x30], 0x40
mov eax, 0x21
push 0
cmovne eax, dword [esp + 0x34]
mov ecx, esi
push 0x24
mov dword [esp + 0x14], eax
call fcn.00410430
mov edi, eax
add esp, 8
test edi, edi
je 0x48a804
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], ebx
mov eax, dword [eax + 0x10]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x48a75f
xor ebx, ebx
jmp 0x48a798
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a764
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, esi
push eax
mov dword [esp + 0x30], eax
call fcn.00410430
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48a798
push dword [esp + 0x28]
push dword [esp + 0x34]
push ebx
call fcn.004ae080
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], ebx
add ecx, ecx
mov eax, dword [esi + 0x10]
cmp dword [esp + 0xc], 0x21
mov eax, dword [eax + ecx*8 + 0xc]
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0x48]
mov dword [edi + 0x18], eax
mov al, byte [ebp + 0x10]
mov byte [edi + 8], al
setne al
inc al
mov byte [edi + 9], al
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48a7e2
push 0
push 1
mov edx, eax
mov ecx, esi
call fcn.0044ca30
add esp, 8
jmp 0x48a7e4
xor eax, eax
mov edx, dword [esp + 0x34]
mov ecx, esi
mov dword [edi + 0xc], eax
call fcn.0044d140
mov ebx, dword [esp + 0x1c]
mov dword [edi + 0x10], eax
mov dword [ebx + 0x1b4], edi
jmp 0x48a8b6
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
cmp dword [esi + 0x1d0], 0
je 0x48a82b
mov edx, edi
mov ecx, esi
call fcn.0040ffa0
mov edi, dword [esp + 0x24]
jmp 0x48a8b6
cmp edi, dword [esi + 0x128]
jb 0x48a84f
cmp edi, dword [esi + 0x12c]
jae 0x48a84f
mov eax, dword [esi + 0x124]
mov dword [edi], eax
mov dword [esi + 0x124], edi
mov edi, dword [esp + 0x24]
jmp 0x48a8b6
cmp dword [0x4d9a98], 0
je 0x48a8a4
mov eax, dword [0x4defd8]
test eax, eax
je 0x48a86b
push eax
call dword [0x4d9af4]
add esp, 4
push edi
call dword [0x4d9ad0]
sub dword [0x4dede0], eax
add esp, 4
dec dword [0x4dee04]
push edi
call dword [0x4d9ac8]
mov eax, dword [0x4defd8]
add esp, 4
test eax, eax
je 0x48a89e
push eax
call dword [0x4d9afc]
add esp, 4
mov edi, dword [esp + 0x24]
jmp 0x48a8b6
push edi
call dword [0x4d9ac8]
mov edi, dword [esp + 0x28]
add esp, 4
jmp 0x48a8b6
xor edi, edi
mov edx, dword [esp + 0x14]
mov ecx, esi
call fcn.004625e0
mov edx, dword [esp + 0x34]
mov ecx, esi
call fcn.004620a0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x48a8dd
mov edx, eax
mov ecx, esi
call fcn.0044c7a0
cmp dword [ebx + 0x1b4], 0
jne 0x48a8ef
mov edx, edi
mov ecx, esi
call fcn.0048ae60
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret