Function at 0x404de0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4382c6
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4447bc]
xor eax, ebp
mov dword [ebp - 0x94], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3bc], ecx
mov eax, dword [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407560
mov dword [ebp - 4], 0
push str.begin_transaction
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
push str.addRecords
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
push str.removeDatabaseAccess
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x404e82
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407590
jmp 0x405e34
mov ecx, dword [ebp - 0x3bc]
push ecx
lea ecx, [ebp - 0x18]
call dword [sym.imp.sqlite.dll_public:_void___thiscall_CTransaction::constructor_class_CppSQLite3DB__]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x3bc]
mov esi, dword [edx + 0x58]
add esi, 0xea60
mov edi, dword [edx + 0x5c]
adc edi, 0
call fcn.00404530
mov dword [ebp - 0x3c4], esi
mov dword [ebp - 0x3c0], edi
mov dword [ebp - 0x3cc], eax
mov dword [ebp - 0x3c8], edx
mov eax, dword [ebp - 0x3c0]
cmp eax, dword [ebp - 0x3c8]
ja 0x405119
jb 0x404eee
mov ecx, dword [ebp - 0x3c4]
cmp ecx, dword [ebp - 0x3cc]
jae 0x405119
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x14
call fcn.00407c00
lea edx, [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.0040d050
jmp 0x404f21
push 0
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00420980
lea ecx, [ebp - 0x2dc]
push ecx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.004203d0
push eax
lea ecx, [ebp - 0x3c]
call fcn.00424960
movzx edx, al
test edx, edx
je 0x404f77
lea ecx, [ebp - 0x3c]
call fcn.00420960
cmp dword [eax + 4], 0xc8
jle 0x404f75
lea ecx, [ebp - 0x3c]
call fcn.00420960
push eax
lea eax, [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x14
call fcn.00407a30
jmp 0x404f10
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00408220
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x14
call fcn.0040d050
jmp 0x404faa
push 0
lea edx, [ebp - 0x2f0]
push edx
lea ecx, [ebp - 0x44]
call fcn.00408440
lea eax, [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x14
call fcn.004203d0
push eax
lea ecx, [ebp - 0x44]
call fcn.00424960
movzx ecx, al
test ecx, ecx
je 0x404fee
lea ecx, [ebp - 0x44]
call fcn.00408420
push eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
mov dword [eax], 0x64
jmp 0x404f99
push 0x43afe0
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x3bc]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_bool___thiscall_CppSQLite3Query::eof_void_]
movzx ecx, al
test ecx, ecx
jne 0x40505a
push 0
push 0x43b0a4
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x2fc], eax
lea edx, [ebp - 0x2fc]
push edx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
mov dword [eax], 0x63
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::nextRow_void_]
jmp 0x40500e
push str.select_iid_from_applications_where_applications.weight___500_
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x3d0], eax
mov ecx, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x3d4]
push edx
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x314]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_bool___thiscall_CppSQLite3Query::eof_void_]
movzx eax, al
test eax, eax
jne 0x4050fb
push 0
push 0x43b0e8
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x318], eax
lea ecx, [ebp - 0x318]
push ecx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
mov dword [eax], 0xfffffc18
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::nextRow_void_]
jmp 0x4050af
call fcn.00404530
mov ecx, dword [ebp - 0x3bc]
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
mov dword [ebp - 0x48], 0
jmp 0x40512b
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp + 0xc]
jge 0x405e18
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x230]
and eax, 1
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x51], al
push 0
push 0
push 0x208
lea ecx, [ebp - 0x29c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
add edx, dword [ebp + 8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0x5c
lea eax, [ebp - 0x29c]
push eax
call fcn.00407540
add esp, 8
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x40519e
jmp 0x405122
mov ecx, dword [ebp - 0x60]
mov byte [ecx], 0
mov edx, dword [ebp - 0x60]
add edx, 1
mov dword [ebp - 0x60], edx
push str.searching_for_path
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
lea eax, [ebp - 0x29c]
push eax
push str.select__from_folders_where_path___Q_
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
push ecx
mov ecx, dword [eax + 4]
call ecx
add esp, 0xc
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_bool___thiscall_CppSQLite3Query::eof_void_]
movzx ecx, al
test ecx, ecx
je 0x405332
movzx edx, byte [ebp - 0x51]
test edx, edx
je 0x405252
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
push str.path_not_found
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.sqlite.dll_public:_void___thiscall_CppSQLite3Buffer::constructor_void_]
mov byte [ebp - 4], 5
lea eax, [ebp - 0x29c]
push eax
push str.insert_into_folders_path__values___Q__
lea ecx, [ebp - 0x2b4]
push ecx
call dword [sym.imp.sqlite.dll_public_virtual:_char_const____cdecl_CppSQLite3Buffer::format_char_const__]
add esp, 0xc
mov edx, dword [ebp - 0x2b4]
lea ecx, [ebp - 0x2b4]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x330]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3dc]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x330]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2b4]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Buffer::destructor_void_]
push 0
push 0x43b160
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x2ac], eax
mov eax, dword [ebp - 0x2ac]
push eax
push str.searching_for_file_with_pathid__d
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0x10
mov ecx, dword [ebp - 0x2ac]
push ecx
mov edx, dword [ebp - 0x60]
push edx
push str.select__from_files_where__name___Q_AND_pid___d__
mov eax, dword [ebp - 0x3bc]
add eax, 0xc
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x10
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x228]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x348]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x3e0], eax
mov ecx, dword [ebp - 0x3e0]
mov dword [ebp - 0x3e4], ecx
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x3e4]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x348]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_bool___thiscall_CppSQLite3Query::eof_void_]
movzx eax, al
test eax, eax
je 0x40560f
movzx ecx, byte [ebp - 0x51]
test ecx, ecx
je 0x405446
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x34c], edx
lea eax, [ebp - 0x34c]
push eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x3e8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x3e8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x350], ecx
lea edx, [ebp - 0x350]
push edx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
cmp dword [eax], 0x64
jle 0x4054b5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.sqlite.dll_public:_void___thiscall_CppSQLite3Buffer::constructor_void_]
mov byte [ebp - 4], 8
push str.file_not_found
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
push 0
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x22c]
push edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x21c]
push edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x20c]
push edx
mov eax, dword [ecx + eax + 0x208]
push eax
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x214]
push eax
mov ecx, dword [edx + ecx + 0x210]
push ecx
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x218]
push ecx
mov edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
push str.insert_into_files__pid__name__filesize__filedate__fileid__pathhash__loadorder__numwrites__values___d___Q__d__lld__lld__d__d__d__
lea ecx, [ebp - 0x2bc]
push ecx
call dword [sym.imp.sqlite.dll_public_virtual:_char_const____cdecl_CppSQLite3Buffer::format_char_const__]
add esp, 0x30
mov edx, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2bc]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x3ec], eax
mov ecx, dword [ebp - 0x3ec]
mov dword [ebp - 0x3f0], ecx
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x3f0]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x368]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2bc]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Buffer::destructor_void_]
push 0
push 0x43b254
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x1c], eax
push 0
push 0x43b258
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x74], eax
push 0
push str.numwrites
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x4c], eax
push 0
push 0x43b270
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x2a8], eax
push 0
push 0x43b27c
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___int_]
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], edx
push 0
push 0x43b288
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___int_]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2a8]
cmp edx, dword [ecx + eax + 0x22c]
jae 0x4056d6
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x2a8]
mov dword [ecx + eax + 0x22c], edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
cmp dword [ecx + eax + 0x22c], 0
jne 0x405703
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
mov dword [eax + edx + 0x22c], 0x30d40
movzx ecx, byte [ebp - 0x51]
test ecx, ecx
je 0x405714
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
movzx eax, byte [ebp - 0x51]
test eax, eax
jne 0x4057f5
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
cmp eax, dword [edx + ecx + 0x218]
jne 0x4057f5
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f8], ecx
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [ebp - 0x2a4]
cmp edx, dword [ecx + eax + 0x210]
jne 0x4057f5
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [ebp - 0x3f4]
mov edx, dword [ebp - 0x2a0]
cmp edx, dword [ecx + eax + 0x214]
jne 0x4057f5
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x3fc], ecx
mov dword [ebp - 0x400], eax
mov edx, dword [ebp - 0x400]
mov eax, dword [ebp - 0x3fc]
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [eax + edx + 0x208]
jne 0x4057f5
mov edx, dword [ebp - 0x400]
mov eax, dword [ebp - 0x3fc]
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [eax + edx + 0x20c]
jne 0x4057f5
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x2a8]
cmp ecx, dword [eax + edx + 0x22c]
je 0x4059ad
lea ecx, [ebp - 0x2c4]
call dword [sym.imp.sqlite.dll_public:_void___thiscall_CppSQLite3Buffer::constructor_void_]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax + 0x20c]
push edx
mov eax, dword [ecx + eax + 0x208]
push eax
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x214]
push eax
mov ecx, dword [edx + ecx + 0x210]
push ecx
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x22c]
push ecx
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [eax + edx + 0x218]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
push str.update_files_set_numwrites_d__filesize_d__loadorder_d__filedate_lld__fileid_lld__where_iid___d_
lea eax, [ebp - 0x2c4]
push eax
call dword [sym.imp.sqlite.dll_public_virtual:_char_const____cdecl_CppSQLite3Buffer::format_char_const__]
add esp, 0x28
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c4]
mov eax, dword [edx + 8]
call eax
push eax
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
mov edx, dword [ebp - 0x2c4]
lea ecx, [ebp - 0x2c4]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x380]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
mov dword [ebp - 0x408], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x408]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x380]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x74]
cmp edx, dword [ecx + eax + 0x218]
jne 0x405999
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x410], eax
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x2a4]
cmp ecx, dword [eax + edx + 0x210]
jne 0x405999
mov edx, dword [ebp - 0x410]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x2a0]
cmp ecx, dword [eax + edx + 0x214]
je 0x40599d
mov byte [ebp - 0x51], 1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c4]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Buffer::destructor_void_]
mov edx, dword [ebp - 0x2ac]
push edx
push str.searching_for_file__d_accessed_with_app__d
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0x10
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
push str.select__from_summary_where__fid___d_AND_apid___d__
mov edx, dword [ebp - 0x3bc]
add edx, 0xc
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov eax, dword [ebp - 0x3bc]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 8]
call eax
push eax
lea ecx, [ebp - 0x398]
push ecx
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x414], eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x418]
push ecx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x398]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_bool___thiscall_CppSQLite3Query::eof_void_]
movzx edx, al
test edx, edx
je 0x405bdf
movzx eax, byte [ebp - 0x51]
test eax, eax
je 0x405a8f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x39c], ecx
lea edx, [ebp - 0x39c]
push edx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 0x41c]
mov dword [edx], ecx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x3a0], eax
lea ecx, [ebp - 0x3a0]
push ecx
mov ecx, dword [ebp - 0x3bc]
add ecx, 0x34
call fcn.00407d00
cmp dword [eax], 0x64
jle 0x405afe
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.sqlite.dll_public:_void___thiscall_CppSQLite3Buffer::constructor_void_]
mov byte [ebp - 4], 0xd
push str.app_not_found
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x1c]
push eax
push str.insert_into_summary__fid__apid__values___d___d__
lea ecx, [ebp - 0x2cc]
push ecx
call dword [sym.imp.sqlite.dll_public_virtual:_char_const____cdecl_CppSQLite3Buffer::format_char_const__]
add esp, 0x10
mov edx, dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2cc]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
lea eax, [ebp - 0x3b8]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 0x420], eax
mov ecx, dword [ebp - 0x420]
mov dword [ebp - 0x424], ecx
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x424]
push edx
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public:_class_CppSQLite3Query____thiscall_CppSQLite3Query::operator_class_CppSQLite3Query_const__]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x3b8]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2cc]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Buffer::destructor_void_]
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x74]
imul edx, dword [ecx + eax + 0x220]
mov eax, dword [ebp - 0x48]
imul eax, eax, 0x234
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + eax + 0x224]
jae 0x405c4b
mov edx, dword [ebp - 0x48]
imul edx, edx, 0x234
mov eax, dword [ebp + 8]
cmp dword [eax + edx + 0x220], 0
je 0x405c4b
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x74]
imul eax, dword [edx + ecx + 0x220]
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov dword [edx + ecx + 0x224], eax
push 0
push str.numreads
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x90], eax
push 0
push 0x43b3ac
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_long_long___int64____thiscall_CppSQLite3Query::getInt64Field_char_const___int_]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
push 0
push str.iteration
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x70]
push edx
push str.checking_iteration__d_d
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0x14
mov eax, dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [eax + 0x64]
je 0x405cfc
mov eax, dword [ebp - 0x90]
imul eax, eax, 0x13
cdq
mov ecx, 0x14
idiv ecx
mov dword [ebp - 0x90], eax
push 0
push 0x13
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp - 0x5c]
push eax
call fcn.00429b00
push 0
push 0x14
push edx
push eax
call fcn.00429a50
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x90]
add eax, dword [edx + ecx + 0x220]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x48]
imul ecx, ecx, 0x234
mov edx, dword [ebp + 8]
mov eax, dword [edx + ecx + 0x224]
xor ecx, ecx
add eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x58]
adc edx, ecx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], edx
movzx eax, byte [ebp - 0x51]
test eax, eax
jne 0x405d4c
cmp dword [ebp - 0x4c], 0x32
jle 0x405d64
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x90], 0
push 0
push 0x43b3e0
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_int___thiscall_CppSQLite3Query::getIntField_char_const___int_]
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx + 0x64]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x90]
push edx
push str.update_summary_set_numreads___d__readbytes___lld__iteration___d_where_iid___d_
mov eax, dword [ebp - 0x3bc]
add eax, 0xc
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx + 0xc]
push eax
mov eax, dword [edx + 4]
call eax
add esp, 0x1c
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov edx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0xc]
mov edx, dword [eax + 8]
call edx
push eax
push 1
push 0x445a5a
call fcn.0041d160
add esp, 0xc
mov ecx, dword [ebp - 0x3bc]
add ecx, 0xc
mov eax, dword [ebp - 0x3bc]
mov edx, dword [eax + 0xc]
mov eax, dword [edx + 8]
call eax
push eax
mov ecx, dword [ebp - 0x3bc]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [edx + 0x14]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CppSQLite3Query::destructor_void_]
jmp 0x405122
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call dword [sym.imp.sqlite.dll_public_virtual:_void___thiscall_CTransaction::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00407590
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.00428b32
mov esp, ebp
pop ebp
ret 8