Function at 0x1000a5d0
Capabilities:
Get process heap force flags
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f158
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
push edi
mov eax, dword [0x10061008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov ecx, 0x100631ab
mov dword [ebp - 0x18], ebx
call fcn.1003d885
mov dword [ebx], vtable.RC::RCLocalCacheHandler.0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x60]
push str.ScanCache
call fcn.10003930
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
push str.WScanCache
call fcn.10003930
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
push str.BScanCache
call fcn.10003930
mov byte [ebp - 4], 3
lea eax, [ebp - 0x18]
push dword [ebp - 0x18]
lea ecx, [ebx + 8]
mov dword [ecx], 0
push eax
lea eax, [ebp - 0x60]
mov dword [ecx + 4], 0
push eax
mov dword [ecx + 8], 0
call fcn.10014090
mov byte [ebp - 4], 5
lea eax, [ebp - 0x60]
push fcn.100038d0
push 3
push 0x18
push eax
call fcn.1003b79d
lea esi, [ebx + 0x14]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 6
push 0x18
call fcn.1003b6ff
add esp, 4
mov dword [esi], eax
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [ebp - 4], 7
lea edi, [ebx + 0x18]
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10013ad0
mov dword [edi], eax
mov byte [ebp - 4], 0xa
add ebx, 0x20
mov dword [ebp - 0x10], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.10013ad0
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x14]
add esi, 0x28
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10013690
mov dword [esi], eax
mov byte [ebp - 4], 0x10
mov esi, dword [ebp - 0x14]
add esi, 0x30
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.10013600
mov dword [esi], eax
mov byte [ebp - 4], 0x13
mov esi, dword [ebp - 0x14]
push str.2345AvScan
lea ecx, [esi + 0x3c]
mov dword [esi + 0x38], 0
call fcn.10003930
mov byte [ebp - 4], 0x14
lea ecx, [esi + 0x54]
push str.LocalCache
call fcn.10003930
mov byte [ebp - 4], 0x15
lea ecx, [esi + 0x6c]
push str.virus_local_white_cache
call fcn.10003930
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0x84]
push str.virus_local_black_cache
call fcn.10003930
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x9c]
push str.virus_hot_change_version
call fcn.10003930
mov byte [ebp - 4], 0x18
lea ecx, [esi + 0xb4]
push str.SELECT_name_FROM_sqlite_master_WHERE_typetable_AND_name_s_
call fcn.10003930
mov byte [ebp - 4], 0x19
lea ecx, [esi + 0xcc]
push str.CREATE_TABLE_IF_NOT_EXISTS__virus_local_white_cache________id__INTEGER_NOT_NULL_PRIMARY_KEY_AUTOINCREMENT______md5__VARCHAR_32__NOT_NULL_DEFAULT_______data_type__INTEGER_NOT_NULL_DEFAULT_0______hit_count__INTEGER_NOT_NULL_DEFAULT_0______hit_time__INTEGER_NOT_NULL_DEFAULT_0___CREATE_UNIQUE_INDEX_virus_local_white_cache_md5_idx_ON_virus_local_white_cache_md5__
call fcn.10003930
mov byte [ebp - 4], 0x1a
lea ecx, [esi + 0xe4]
push str.CREATE_TABLE_IF_NOT_EXISTS__virus_local_black_cache________id__INTEGER_NOT_NULL_PRIMARY_KEY_AUTOINCREMENT______md5__VARCHAR_32__NOT_NULL_DEFAULT_______data_type__INTEGER_NOT_NULL_DEFAULT_0______hit_count__INTEGER_NOT_NULL_DEFAULT_0______hit_time__INTEGER_NOT_NULL_DEFAULT_0______essw_safe_level__INTEGER_NOT_NULL_DEFAULT_0______essw_sub_type__INTEGER_NOT_NULL_DEFAULT_0______essw_virus_name__VARCHAR_32__NOT_NULL_DEFAULT_______avir_safe_level__INTEGER_NOT_NULL_DEFAULT_0______avir_sub_type__INTEGER_NOT_NULL_DEFAULT_0______avir_virus_name__VARCHAR_32__NOT_NULL_DEFAULT___CREATE_UNIQUE_INDEX_virus_local_black_cache_md5_idx_ON_virus_local_black_cache_md5__
call fcn.10003930
mov byte [ebp - 4], 0x1b
lea ecx, [esi + 0xfc]
push str.CREATE_TABLE_IF_NOT_EXISTS__virus_hot_change_version____________id__INTEGER_NOT_NULL_PRIMARY_KEY__________hot_version__INTEGER_NOT_NULL_DEFAULT_0__________change_version__INTEGER_NOT_NULL_DEFAULT_0___
call fcn.10003930
mov byte [ebp - 4], 0x1c
lea ecx, [esi + 0x114]
push 0x1004a1c0
call fcn.10003930
mov byte [ebp - 4], 0x1d
lea ecx, [esi + 0x12c]
push str.DELETE_FROM__s_WHERE_hit_time__d_
call fcn.10003930
mov byte [ebp - 4], 0x1e
lea ecx, [esi + 0x144]
push str.DELETE_FROM__s_WHERE_md5_s_
call fcn.10003930
mov byte [ebp - 4], 0x1f
lea ecx, [esi + 0x15c]
push str.DELETE_FROM__s_WHERE_md5_IN___s__
call fcn.10003930
mov byte [ebp - 4], 0x20
push str.SELECT__s_FROM__s_WHERE_md5_s_
lea ecx, [esi + 0x174]
call fcn.10003930
mov byte [ebp - 4], 0x21
lea ecx, [esi + 0x18c]
push str.INSERT_INTO__s___s__VALUES__s_ON_CONFLICT_md5__DO_UPDATE_SET__s_
call fcn.10003930
mov byte [ebp - 4], 0x22
lea ecx, [esi + 0x1a4]
push str.UPDATE__s_SET__s_WHERE_md5_s_
call fcn.10003930
mov byte [ebp - 4], 0x23
lea ecx, [esi + 0x1bc]
push str.SELECT__s_FROM__s_WHERE_id1_
call fcn.10003930
mov byte [ebp - 4], 0x24
lea ecx, [esi + 0x1d4]
push str.INSERT_INTO__s___s__VALUES__s_ON_CONFLICT_id__DO_UPDATE_SET__s_
call fcn.10003930
mov byte [ebp - 4], 0x25
mov ecx, edi
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10011c80
mov eax, dword [edi]
mov ecx, ebx
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
mov esi, dword [ebx]
push dword [esi + 4]
call fcn.10011c80
mov eax, dword [ebx]
mov edi, dword [ebp - 0x14]
mov dword [eax + 4], esi
mov eax, dword [ebx]
lea ecx, [edi + 0x28]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
mov esi, dword [edi + 0x28]
push dword [esi + 4]
call fcn.10011ab0
mov eax, dword [edi + 0x28]
lea ecx, [edi + 0x30]
mov dword [eax + 4], esi
mov eax, dword [edi + 0x28]
mov dword [eax], esi
mov eax, dword [edi + 0x28]
mov dword [eax + 8], esi
mov dword [edi + 0x2c], 0
mov esi, dword [edi + 0x30]
push dword [esi + 4]
call fcn.10011910
mov ecx, dword [edi + 0x30]
mov dword [ecx + 4], esi
mov ecx, dword [edi + 0x30]
mov dword [ecx], esi
mov ecx, dword [edi + 0x30]
mov dword [ecx + 8], esi
mov dword [edi + 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret