Function at 0x440734
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
call fcn.0043f37c
mov ebx, eax
lea edi, [ebp - 0xe8]
lea eax, [ebp - 0xb4]
mov dword [esp], eax
call fcn.007507e0
mov dword [ebp - 0xb4], 0x839710
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 0x3f], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov eax, dword [0x8210cc]
mov dword [ebp - 0xe8], eax
mov esi, eax
sub esi, 0xc
mov eax, dword [esi]
mov edx, dword [0x8210d0]
mov dword [edi + eax], edx
mov dword [ebp - 0xe4], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax - 0xc]
lea eax, [edi + ecx]
mov dword [esp], eax
call fcn.007518a0
jmp 0x4407da
mov edx, dword [0x8210d4]
mov dword [ebp - 0xe0], edx
lea eax, [ebp - 0xe0]
mov edx, dword [edx - 0xc]
mov ecx, dword [0x8210d8]
mov dword [eax + edx], ecx
mov dword [esp + 4], 0
mov edx, dword [ebp - 0xe0]
add eax, dword [edx - 0xc]
mov dword [esp], eax
call fcn.007518a0
jmp 0x44083a
mov eax, dword [0x8210c8]
mov dword [ebp - 0xe8], eax
lea esi, [ebp - 0xe8]
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210dc]
mov dword [esi + eax], edx
mov eax, dword [0x8210e0]
mov dword [ebp - 0xe0], eax
mov eax, dword [0x8210c4]
mov dword [ebp - 0xe8], eax
mov eax, dword [eax - 0xc]
mov edx, dword [0x8210e4]
mov dword [esi + eax], edx
mov eax, dword [0x8210e8]
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], vtable.c_streambufIwSt11char_traitsIwEE.0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0
lea eax, [ebp - 0xc0]
mov dword [esp], eax
call fcn.0072de18
mov dword [ebp - 0xdc], 0x838ce8
mov dword [ebp - 0xbc], 0x18
mov dword [ebp - 0xb8], 0x7bf7b0
lea eax, [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xe8]
add esi, dword [eax - 0xc]
mov dword [esp], esi
call fcn.007518a0
jmp 0x44093b
mov dword [ebp - 0xe8], vtable.o.14.0
mov dword [ebp - 0xb4], 0x824814
mov dword [ebp - 0xe0], 0x824800
mov dword [esp], 0x8d18a0
call fcn.00647b78
jmp 0x440995
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x34]
cmp eax, 2
je 0x4409b9
cmp eax, 3
je 0x440ca0
cmp eax, 1
jne 0x440ca4
jmp 0x440a80
lea edx, [ebp - 0x2c]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
mov dword [esp + 4], str.SELECT__name__FROM__sqlite_master__WHERE__type___trigger_AND__name__
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x2c]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], 0x7c6ab7
mov dword [esp], eax
call fcn.0076107c
jmp 0x440a22
mov esi, dword [ebp - 0x2c]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x440bee
cmp dword [0x8e6f60], 0
je 0x440a54
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x440a5d
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x440bee
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x440bee
lea edx, [ebp - 0x28]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], edx
call dword [eax + 0x20]
sub esp, 4
mov eax, dword [ebx]
mov esi, dword [eax + 0x20]
mov dword [esp + 4], 0x11
mov dword [esp], 0x8dfd80
call fcn.0041b674
lea edx, [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], edx
call esi
sub esp, 4
mov dword [esp + 4], str.SELECT__TRIGGER_NAME__FROM__information_schema_._triggers__WHERE__TRIGGER_SCHEMA__
lea eax, [ebp - 0xe0]
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], str._AND__TRIGGER_NAME__
mov dword [esp], eax
call fcn.0076107c
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx - 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00757358
mov dword [esp + 4], 0x7c6ab7
mov dword [esp], eax
call fcn.0076107c
jmp 0x440b38
mov esi, dword [ebp - 0x24]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x440b9a
cmp dword [0x8e6f60], 0
je 0x440b66
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x440b6f
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x440b9a
lea eax, [ebp - 0x1b]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x440b9a
mov esi, dword [ebp - 0x28]
sub esi, 0xc
mov eax, 0x7bf7a4
cmp eax, esi
je 0x440bee
cmp dword [0x8e6f60], 0
je 0x440bc9
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x440bd2
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x440bee
lea eax, [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x440bee
mov eax, dword [ebx]
mov esi, dword [eax + 0x1c]
lea eax, [ebp - 0x20]
lea edx, [ebp - 0xdc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.006de294
sub esp, 4
lea eax, [ebp - 0x20]
mov dword [esp + 4], eax
mov dword [esp], ebx
call esi
mov ebx, eax
mov esi, dword [ebp - 0x20]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x440c78
cmp dword [0x8e6f60], 0
je 0x440c47
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x440c50
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x440c78
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x440c78
test ebx, ebx
je 0x440ca4
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
mov bl, 1
jmp 0x440ca6
mov bl, 1
jmp 0x440ca6
mov bl, 0
lea eax, [ebp - 0xe8]
mov dword [esp], eax
call fcn.006668d4
mov al, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
leave
ret