Function at 0x10047f90
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1006d5ed
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x18], ebx
push ecx
mov ecx, esp
push 0x1009c70c
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlDatabase::constructor_class_QSqlDatabase_const__]
lea ecx, [esp + 0x30]
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::constructor_class_QSqlDatabase_]
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x64], 0
mov dword [esp + 0x14], eax
mov edi, dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
push 5
push str.mdate
mov byte [esp + 0x6c], 1
call edi
mov dword [esp + 0x30], eax
push 5
push str.mdate
mov byte [esp + 0x74], 2
call edi
mov dword [esp + 0x34], eax
push 0x23
push str.CREATE_INDEX_index_date1_ON__1___2_
mov byte [esp + 0x7c], 3
call edi
mov dword [esp + 0x38], eax
add esp, 0x14
mov byte [esp + 0x34], 0x20
mov ecx, esp
mov byte [esp + 0x68], 4
add ebx, 0xc
push dword [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
mov ebp, dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::arg_class_QString_const___int__class_QChar_]
lea eax, [esp + 0x58]
push 0
push ebx
push eax
lea ecx, [esp + 0x30]
call ebp
mov esi, eax
push ecx
mov ecx, esp
mov byte [esp + 0x34], 0x20
push dword [esp + 0x34]
mov byte [esp + 0x6c], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x30]
mov ecx, esi
push eax
lea eax, [esp + 0x5c]
push eax
call ebp
mov dword [esp + 0x34], eax
push 0x23
push str.CREATE_INDEX_index_date1_ON__1___2_
mov byte [esp + 0x6c], 6
call edi
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x20]
add esp, 4
mov ecx, esp
mov byte [esp + 0x34], 0x20
mov byte [esp + 0x68], 7
add ebx, 8
push dword [esp + 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
push ebx
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x2c]
call ebp
mov esi, eax
push ecx
mov ecx, esp
mov byte [esp + 0x34], 0x20
push dword [esp + 0x34]
mov byte [esp + 0x6c], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QChar::constructor_struct_QLatin1Char_]
push 0
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x54]
push eax
call ebp
mov edi, eax
mov eax, dword [esp + 0x18]
add eax, 0xc
mov byte [esp + 0x64], 9
push eax
lea eax, [esp + 0x48]
push str.create_table
push eax
call fcn.100065c0
push 0x1009c864
push eax
lea eax, [esp + 0x54]
mov byte [esp + 0x78], 0xa
push eax
call fcn.10003aa0
mov esi, eax
push ebx
lea eax, [esp + 0x58]
mov byte [esp + 0x80], 0xb
push str.create_table
push eax
call fcn.100065c0
push 0x1009c864
push eax
lea eax, [esp + 0x64]
mov byte [esp + 0x90], 0xc
push eax
call fcn.10003aa0
add esp, 0x30
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 0xd
call fcn.10006660
push esi
lea ecx, [esp + 0x18]
call fcn.10006660
push edi
lea ecx, [esp + 0x18]
call fcn.10006660
push dword [esp + 0x34]
lea ecx, [esp + 0x18]
call fcn.10006660
lea ecx, [esp + 0x38]
mov byte [esp + 0x64], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], 9
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov byte [esp + 0x64], 6
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x64], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x64], 3
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov esi, dword [esp + 0x14]
xor edi, edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, ecx
test eax, eax
jle 0x10048270
mov ebx, dword [sym.imp.Qt5Sql.dll_public:_bool___thiscall_QSqlQuery::exec_class_QString_const__]
lea esp, [esp]
lea eax, [ecx + 4]
add eax, edi
lea ecx, [esp + 0x2c]
lea eax, [esi + eax*4]
push eax
call ebx
mov esi, dword [esp + 0x14]
inc edi
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
sub eax, ecx
cmp edi, eax
jl 0x10048250
mov eax, dword [esi]
mov byte [esp + 0x64], 0
test eax, eax
je 0x10048292
cmp eax, 0xffffffff
je 0x100482c9
or eax, 0xffffffff
lock xadd dword [esi], eax
setne al
test al, al
jne 0x100482c9
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 8]
add edi, 4
add ebx, 4
lea edi, [esi + edi*4]
lea ebx, [esi + ebx*4]
cmp ebx, edi
je 0x100482bf
jmp 0x100482b0
sub edi, 4
mov ecx, edi
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp edi, ebx
jne 0x100482b0
push esi
call dword [sym.imp.Qt5Core.dll_public:_static_void___cdecl_QListData::dispose_struct_QListData::Data__]
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.Qt5Sql.dll_public:_void___thiscall_QSqlQuery::destructor_void_]
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret