Function at 0x440cbe
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 0x440d64
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 0x440dc4
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 0x440ec5
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 0x440f1f
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x34]
cmp eax, 2
je 0x440f43
cmp eax, 3
je 0x44122a
cmp eax, 1
jne 0x44122e
jmp 0x44100a
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___table_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 0x440fac
mov esi, dword [ebp - 0x2c]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x441178
cmp dword [0x8e6f60], 0
je 0x440fde
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x440fe7
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x441178
lea eax, [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x441178
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__TABLE_NAME__FROM__information_schema_._tables__WHERE__TABLE_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__TABLE_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 0x4410c2
mov esi, dword [ebp - 0x24]
sub esi, 0xc
cmp esi, 0x7bf7a4
je 0x441124
cmp dword [0x8e6f60], 0
je 0x4410f0
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4410f9
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x441124
lea eax, [ebp - 0x1b]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x441124
mov esi, dword [ebp - 0x28]
sub esi, 0xc
mov eax, 0x7bf7a4
cmp eax, esi
je 0x441178
cmp dword [0x8e6f60], 0
je 0x441153
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x44115c
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x441178
lea eax, [ebp - 0x1a]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x441178
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 0x441202
cmp dword [0x8e6f60], 0
je 0x4411d1
mov dword [esp + 4], 0xffffffff
lea eax, [esi + 8]
mov dword [esp], eax
call fcn.006b2de0
mov edi, eax
jmp 0x4411da
mov edi, dword [esi + 8]
lea eax, [edi - 1]
mov dword [esi + 8], eax
test edi, edi
jg 0x441202
lea eax, [ebp - 0x19]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00702c78
jmp 0x441202
test ebx, ebx
je 0x44122e
mov eax, dword [ebx]
mov dword [esp], ebx
call dword [eax + 0x10]
mov bl, 1
jmp 0x441230
mov bl, 1
jmp 0x441230
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