Function at 0x48a910
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, ecx
mov dword [esp + 0x20], edx
mov ecx, dword [ebp + 8]
push ebx
push esi
cmp dword [eax + 0x24], 0
mov esi, dword [eax + 0x1b4]
mov dword [esp + 8], esi
mov esi, dword [eax]
mov ebx, dword [esp + 8]
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x28], esi
mov dword [eax + 0x1b4], 0
jne 0x48ad65
test ebx, ebx
je 0x48ad65
mov eax, dword [ebx]
mov edi, 0xfff0bdc0
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], edi
test ebx, ebx
je 0x48a9a1
mov ecx, dword [esi + 0x14]
xor edi, edi
mov dword [esp + 0x18], edi
test ecx, ecx
jle 0x48a9a1
mov eax, dword [esi + 0x10]
add eax, 0xc
cmp dword [eax], ebx
je 0x48a99d
inc edi
add eax, 0x10
cmp edi, ecx
jl 0x48a991
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0xc]
mov dword [ebx + 0x1c], edx
test edx, edx
je 0x48a9be
nop dword [eax]
mov dword [edx + 4], ebx
mov edx, dword [edx + 0x1c]
test edx, edx
jne 0x48a9b0
mov dword [esp + 0x2c], edx
mov ecx, dword [ebx]
mov dword [esp + 0x4c], ecx
test ecx, ecx
je 0x48a9df
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x48a9d0
sub ecx, edx
and ecx, 0x3fffffff
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], ecx
mov ecx, edi
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [eax]
shl ecx, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x44], str.trigger
add ecx, dword [eax + 0x10]
mov dword [esp + 0x10], ebx
mov eax, dword [ecx]
mov dword [esp + 0x40], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x48], eax
xor eax, eax
cmp edi, 1
sete al
mov dword [esp + 0x3c], eax
test ebx, ebx
je 0x48aaa2
nop dword [eax]
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x34]
call fcn.0045a0d0
test eax, eax
jne 0x48ad61
mov edx, dword [ebx + 0x10]
lea ecx, [esp + 0x34]
call fcn.0045a210
test eax, eax
jne 0x48ad61
mov ebx, dword [ebx + 0x14]
test ebx, ebx
je 0x48aa8b
xor esi, esi
lea edi, [ebx + 4]
cmp dword [ebx], esi
jle 0x48aa8b
nop dword [eax + eax]
mov edx, dword [edi]
lea ecx, [esp + 0x34]
call fcn.0045a210
test eax, eax
jne 0x48ad61
inc esi
add edi, 0x18
cmp esi, dword [ebx]
jl 0x48aa70
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x10], ebx
test ebx, ebx
jne 0x48aa30
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x34]
mov edx, dword [eax + 0xc]
call fcn.0045a210
test eax, eax
jne 0x48ad61
cmp byte [esi + 0x9d], al
jne 0x48ace9
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
test ebx, ebx
je 0x48aad6
lea eax, [ecx + 0x78]
jmp 0x48aafe
cmp dword [ecx + 0x78], 0
jne 0x48aae8
mov eax, dword [ecx]
test byte [eax + 0x44], 8
jne 0x48aae8
mov byte [ecx + 0x17], 1
call fcn.00434280
mov ecx, dword [esp + 0x14]
mov ebx, eax
lea eax, [ecx + 0x78]
test ebx, ebx
je 0x48ad61
mov edx, dword [eax]
mov dword [esp + 0x10], edx
test edx, edx
jne 0x48ab0e
mov dword [esp + 0x10], ecx
mov edx, ecx
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, dword [edx + 0x5c]
test ecx, eax
jne 0x48ab30
bts ecx, edi
mov dword [edx + 0x5c], ecx
cmp edi, 1
jne 0x48ab30
mov ecx, edx
call fcn.00462f50
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x58]
bts eax, edi
mov dword [ecx + 0x58], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
jne 0x48ab56
xor edi, edi
jmp 0x48ab8a
mov ecx, eax
xor eax, eax
add ecx, 1
adc eax, eax
push eax
push ecx
mov ecx, esi
call fcn.00410430
mov edi, eax
add esp, 8
test edi, edi
je 0x48ab8a
push dword [esp + 0x10]
push dword [esp + 0x20]
push edi
call fcn.004ae080
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov byte [eax + edi], 0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
push edi
push dword [eax + 4]
mov eax, dword [esi + 0x10]
push dword [esp + 0x2c]
push str.sqlite_master
push dword [eax + ecx]
mov eax, dword [esp + 0x28]
push str.INSERT_INTO__Q._s_VALUES_trigger__Q__Q_0_CREATE_TRIGGER__q_
push eax
call fcn.0045abb0
add esp, 0x1c
test edi, edi
je 0x48ac4b
cmp dword [esi + 0x1d0], 0
je 0x48abd3
mov edx, edi
mov ecx, esi
call fcn.0040ffa0
jmp 0x48ac4b
cmp edi, dword [esi + 0x128]
jb 0x48abf3
cmp edi, dword [esi + 0x12c]
jae 0x48abf3
mov eax, dword [esi + 0x124]
mov dword [edi], eax
mov dword [esi + 0x124], edi
jmp 0x48ac4b
cmp dword [0x4d9a98], 0
je 0x48ac41
mov eax, dword [0x4defd8]
test eax, eax
je 0x48ac0f
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 0x48ac4b
push eax
call dword [0x4d9afc]
jmp 0x48ac48
push edi
call dword [0x4d9ac8]
add esp, 4
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov ecx, dword [eax + 8]
mov eax, dword [eax]
mov dword [esp + 0x1c], ecx
mov edi, dword [ecx + 0x88]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx + 0xc]
mov edx, dword [eax]
mov eax, dword [ecx + 0xc]
inc edx
cmp dword [eax + 0x30], edi
jg 0x48ac8b
mov edi, dword [esp + 0x18]
push edx
push 1
push edi
mov edx, 0x66
call fcn.00434530
add esp, 0xc
jmp 0x48acc1
lea eax, [edi + 1]
mov dword [ecx + 0x88], eax
lea ecx, [edi + edi*4]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov eax, dword [eax + 0x58]
mov dword [eax + ecx*4], 0x66
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x24]
push str.typetrigger_AND_name_q
push esi
call fcn.004124b0
add esp, 0xc
mov edx, edi
mov ecx, ebx
push eax
call fcn.00434970
add esp, 4
cmp byte [esi + 0x9d], 0
je 0x48ad61
mov eax, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov edi, edx
push edx
mov edx, dword [esp + 0x28]
mov ecx, dword [eax + ecx + 0xc]
add ecx, 0x28
call fcn.00414b30
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x48ad3b
cmp byte [esi + 0x49], 0
jne 0x48ad65
cmp byte [esi + 0x4a], 0
jne 0x48ad65
cmp dword [esi + 0xac], 0
mov byte [esi + 0x49], 1
jle 0x48ad33
mov dword [esi + 0x100], 1
inc dword [esi + 0x108]
jmp 0x48ad65
mov ecx, dword [edi + 0x18]
cmp dword [edi + 0x14], ecx
jne 0x48ad65
mov edx, dword [edi + 4]
add ecx, 8
push 0
call fcn.00414a50
add esp, 4
mov esi, dword [eax + 8]
mov eax, dword [esi + 0x44]
mov dword [edi + 0x20], eax
mov dword [esi + 0x44], edi
jmp 0x48ad65
mov ebx, dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.0048ae60
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
call fcn.0048a070
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ac4d4
mov esp, ebp
pop ebp
ret