Function at 0x4eee30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x74
mov eax, dword [ecx + 8]
push ebx
push esi
movzx esi, word [ecx + 0xe]
xor ebx, ebx
mov dword [esp + 0x20], eax
movzx eax, word [ecx + 0xc]
mov dword [esp + 0x40], ecx
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x3c], eax
xor eax, eax
push edi
mov dword [esp + 0x20], ecx
mov byte [esp + 0x19], 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], ebx
cmp dword [ecx + 0xc], eax
jne 0x4eee79
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x2002
call fcn.00560858
movsd xmm0, qword [0x5ea578]
mov edi, eax
push ecx
movsd qword [esp], xmm0
lea eax, [esp + 0x22]
push eax
lea eax, [esp + 0x54]
mov ecx, dword [esp + 0x50]
push eax
lea eax, [esp + 0x2b]
push eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x8c]
push eax
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push dword [esp + 0x5c]
call fcn.004e8ca0
mov dword [esp + 0x48], eax
cmp dword [esp + 0x24], ebx
je 0x4ef683
mov eax, dword [esp + 0x40]
mov cl, byte [esp + 0x19]
nop
test cl, cl
je 0x4ef683
movzx edx, ax
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
cmp ax, word [edx]
jge 0x4ef488
nop dword [eax]
test cl, cl
je 0x4ef488
mov edx, dword [esp + 0x34]
movzx eax, si
mov dword [esp + 0x30], eax
movsx eax, dx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov edx, dword [edx + eax*4 + 4]
mov eax, dword [esp + 0x30]
cmp si, word [edx]
jge 0x4ef470
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
nop word [eax + eax]
cmp byte [esp + 0x19], 0
je 0x4ef46c
cwde
movsx ecx, cx
mov ax, word [edx + eax*2 + 2]
mov word [edi + ecx*2], ax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
inc ecx
mov dword [esp + 0x1c], ecx
cmp cx, word [eax + 4]
jl 0x4ef452
mov edx, 0xff3b
cmp cx, 0xa
jl 0x4ef431
cmp word [edi], dx
jne 0x4ef431
mov esi, 0xff03
cmp word [edi + 2], si
jne 0x4ef431
cmp word [edi + 4], 0x61
jne 0x4ef431
cmp word [edi + 6], 0x20
jne 0x4ef431
cmp word [edi + 8], 0x68
jne 0x4ef431
cmp word [edi + 0xa], 0x72
jne 0x4ef431
cmp word [edi + 0xc], 0x65
jne 0x4ef431
cmp word [edi + 0xe], 0x66
jne 0x4ef431
cmp word [edi + 0x10], 0x3d
jne 0x4ef431
cmp word [edi + 0x12], 0x31
jne 0x4ef431
mov eax, dword [ebp + 0x20]
xor edx, edx
xor esi, esi
mov word [eax], dx
mov eax, dword [ebp + 0x24]
mov word [eax], dx
lea edx, [esi + 0xa]
movsx eax, cx
dec eax
mov dword [esp + 0x40], eax
cmp eax, edx
jle 0x4ef04e
nop dword [eax]
mov ax, word [edi + edx*2]
inc edx
mov ebx, dword [ebp + 0x18]
movsx ecx, si
inc esi
mov word [ebx + ecx*2], ax
cmp edx, dword [esp + 0x40]
jl 0x4ef030
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x28]
test si, si
mov edx, 0xff3b
mov word [eax], si
mov esi, dword [ebp + 0x20]
jle 0x4ef069
mov eax, 1
mov word [esi], ax
mov eax, dword [esp + 0x20]
cmp cx, 0xc
jne 0x4ef36a
cmp word [edi], dx
jne 0x4ef36a
mov edx, 0xff03
cmp word [edi + 2], dx
jne 0x4ef36a
cmp word [edi + 4], 0x61
jne 0x4ef36a
cmp word [edi + 6], 0x20
jne 0x4ef36a
cmp word [edi + 8], 0x68
jne 0x4ef36a
cmp word [edi + 0xa], 0x72
jne 0x4ef36a
cmp word [edi + 0xc], 0x65
jne 0x4ef36a
cmp word [edi + 0xe], 0x66
jne 0x4ef36a
mov edx, 0x7d42
cmp word [edi + 0x10], dx
jne 0x4ef36a
mov edx, 0x308f
cmp word [edi + 0x12], dx
jne 0x4ef36a
mov edx, 0x308a
cmp word [edi + 0x14], dx
jne 0x4ef36a
mov edx, 0xff3d
cmp word [edi + 0x16], dx
jne 0x4ef36a
cmp word [esi], 2
jne 0x4ef361
mov eax, dword [ebp + 0x10]
push 0
mov dword [esp + 0x2c], 1
mov dword [esp + 0x3c], 0
lea esi, [eax + 8]
mov dword [esp + 0x44], 0
push esi
push 0xffffffffffffffff
push str.SELECT_updateCount__buffSize__buffPositionA__buffPositionB__FROM_favoriteSubTable_WHERE_path____AND_updateCount_____
push dword [eax]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare16]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ef63c
push eax
mov eax, dword [ebp + 0x28]
movsx eax, word [eax]
add eax, eax
push eax
push dword [ebp + 0x18]
push 1
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text16]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ef622
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x43c0]
dec eax
push eax
push 2
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef608
mov eax, dword [esi]
test eax, eax
je 0x4ef1f4
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_count]
add esp, 4
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x4ef1f4
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [esi]
call ebx
push 1
push dword [esi]
call ebx
push 2
push dword [esi]
mov dword [esp + 0x40], eax
call ebx
push 3
push dword [esi]
mov dword [esp + 0x58], eax
call ebx
push dword [esi]
mov dword [esp + 0x64], eax
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x24
cmp eax, 0x64
je 0x4ef1c0
push dword [esi]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ef5ee
mov esi, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0x28]
movsx eax, word [eax]
add eax, eax
push eax
push dword [ebp + 0x18]
push 1
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text16]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ef5d4
push eax
add esi, 0x430
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push esi
mov esi, dword [ebp + 0x10]
push 2
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text16]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ef5b7
push eax
mov eax, dword [ebp + 0x24]
movsx eax, word [eax]
add eax, eax
push eax
push dword [ebp + 0x1c]
push 3
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text16]
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x4ef59a
push dword [esi + 0x43c0]
push 4
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef57d
push eax
push 5
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef560
push dword [esp + 0x28]
push 6
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef543
push dword [esp + 0x38]
push 7
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef526
push dword [esp + 0x40]
push 8
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ef509
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
mov ebx, eax
add esp, 4
cmp ebx, 0x65
je 0x4ef32a
cmp ebx, 1
jne 0x4ef4b2
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_reset]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4ef4ec
push dword [esi + 4]
call dword [sym.imp.sqlite3.dll_sqlite3_clear_bindings]
mov ebx, eax
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x4ef4cf
mov ecx, dword [esp + 0x1c]
mov esi, dword [ebp + 0x20]
xor eax, eax
mov word [esi], ax
mov eax, dword [esp + 0x20]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
test eax, eax
je 0x4ef449
cmp eax, dword [esp + 0x48]
jne 0x4ef3e5
movsd xmm0, qword [0x5ea578]
lea ecx, [esp + 0x1a]
sub esp, 8
movsd qword [esp], xmm0
push ecx
lea ecx, [esp + 0x54]
push ecx
lea ecx, [esp + 0x2b]
push ecx
lea ecx, [esp + 0x4c]
push ecx
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x8c]
push ecx
lea ecx, [esp + 0x98]
push ecx
lea ecx, [esp + 0xa4]
push ecx
lea ecx, [esp + 0x7c]
push ecx
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x7c]
push dword [ebp + 0xc]
push eax
call fcn.004e8ca0
mov dword [esp + 0x48], eax
movsx eax, word [esi]
sub eax, 1
je 0x4ef439
sub eax, 1
jne 0x4ef441
mov eax, dword [esp + 0x1c]
xor esi, esi
cwde
mov dword [esp + 0x40], eax
test eax, eax
jle 0x4ef441
mov eax, dword [ebp + 0x24]
mov ebx, dword [ebp + 0x1c]
movzx edx, word [eax]
mov ax, word [edi + esi*2]
inc esi
movsx ecx, dx
mov word [ebx + ecx*2], ax
lea eax, [edx + 1]
mov ecx, dword [ebp + 0x24]
mov word [ecx], ax
cmp esi, dword [esp + 0x40]
jl 0x4ef401
mov ebx, dword [esp + 0x28]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x4ef44e
mov esi, dword [ebp + 0x20]
jmp 0x4ef06d
mov eax, 2
mov word [esi], ax
xor ecx, ecx
mov dword [esp + 0x1c], ecx
jmp 0x4ef44e
mov byte [esp + 0x19], 0
mov esi, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
mov edx, dword [edx + esi*4 + 4]
cmp ax, word [edx]
jl 0x4eef60
mov cl, byte [esp + 0x19]
mov eax, dword [esp + 0x34]
xor esi, esi
mov edx, dword [esp + 0x24]
inc eax
mov dword [esp + 0x34], eax
cmp ax, word [edx]
jl 0x4eef20
mov edx, dword [edx + 0x1004]
xor eax, eax
xor esi, esi
mov dword [esp + 0x24], edx
test edx, edx
jne 0x4eef00
push edi
call fcn.00560853
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eed
push str.SQLite3_step_error
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eef
push str.SQLite3_clear_bindings_error
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eee
push str.SQLite3_reset_error
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eec
push str.SQLite3_bind_error_8
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eeb
push str.SQLite3_bind_error_7
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2eea
push str.SQLite3_bind_error_6
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee9
push str.SQLite3_bind_error_5
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee8
push str.SQLite3_bind_error_4
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee7
push str.SQLite3_bind_error_3
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee6
push str.SQLite3_bind_error_2
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee5
push str.SQLite3_bind_error_1
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee4
push str.SQLite3_finalize_error
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee3
push str.SQLite3_bind_error_2
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee2
push str.SQLite3_bind_error_1
jmp 0x4ef654
push 0x3e8
call fcn.00560858
add esp, 4
push ebx
push 0x2ee1
push str.SQLite3_prepare_error
push str._s_Place_d_LastCode_d
mov esi, eax
push 0x3e8
push esi
call fcn.00407340
add esp, 0x18
push 0x30
push 0x5aa224
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call fcn.00560853
add esp, 4
push edi
call fcn.00560853
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24