Function at 0x48f6a0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4ba6
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x62700c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
call fcn.00488470
push ecx
lea ecx, [ebp - 0xf0]
mov esi, eax
call fcn.0041c300
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x34]
sub eax, 1
je 0x48f751
sub eax, 1
jne 0x48f899
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov edi, eax
mov edx, str.SELECT__name__FROM__sqlite_master__WHERE__type___table_AND__name__
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe0]
call fcn.004064c0
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x48f730
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, 0x5c176c
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x28]
jmp 0x48f81e
mov eax, dword [esi]
lea ecx, [ebp + 8]
push ecx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov edi, eax
mov byte [ebp - 4], 3
cmp byte [0x631c98], 0
je 0x48f776
mov ecx, 0x631e38
jmp 0x48f7ab
cmp byte [0x631c99], 0
jne 0x48f7a6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::clog]
mov edx, str._Warning___ConfigManager::getString_
push 0x406700
push 0x11
call fcn.004064c0
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov ecx, 0x631ca0
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov ebx, eax
mov edx, 0x5c1770
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xe0]
call fcn.004064c0
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x48f7d7
mov edx, dword [ebx]
push dword [ebx + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, str._AND__TABLE_NAME__
mov ecx, eax
call fcn.004064c0
cmp dword [edi + 0x14], 0x10
mov edx, edi
jb 0x48f7fa
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.004073f0
add esp, 4
mov edx, 0x5c1880
mov ecx, eax
call fcn.004064c0
lea ecx, [ebp - 0x28]
call fcn.00405b30
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00405b30
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xf0]
call fcn.00404ef0
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [esi]
push eax
call dword [edx + 0x1c]
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
test esi, esi
sete bl
cmp ecx, 0x10
jb 0x48f883
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f879
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f879
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
test bl, bl
je 0x48f89d
xor bl, bl
jmp 0x48f8a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov bl, 1
lea ecx, [ebp - 0xf0]
call fcn.0041c440
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x48f8e7
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x48f8dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48f8dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0045b34b
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ad9e
mov esp, ebp
pop ebp
ret 0x18