Function at 0x43b150
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449673
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x98
mov eax, dword [0x47b018]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp - 0x94]
movzx ecx, byte [eax + 0xa5]
test ecx, ecx
jne 0x43b3a5
lea esi, [ebp - 0x4c]
call fcn.00401330
mov dword [ebp - 4], 0
push 0x45ae9c
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
mov eax, dword [edx + 8]
push eax
push str.SELECT_SUM_filesize___MIN_creationDate___MAX_creationDate___COUNT_MediaId__FROM_MediaBasics_mb_WHERE_eventId___d
lea esi, [ebp - 0x4c]
call fcn.00401380
add esp, 8
push eax
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x30]
call dword [0x4501c8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x84]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0x94]
add ecx, 0x194
call dword [sym.imp.MSVCP90.dll_public:_bool___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::empty_void_const]
movzx eax, al
test eax, eax
jne 0x43b258
push str._and
lea ecx, [ebp - 0x30]
call dword [0x450238]
mov ecx, dword [ebp - 0x94]
add ecx, 0x194
push ecx
lea ecx, [ebp - 0x30]
call dword [0x4501c8]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
lea eax, [ebp - 0x64]
push eax
push 0
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00438cb0
mov byte [ebp - 0xa5], al
movzx ecx, byte [ebp - 0xa5]
test ecx, ecx
jne 0x43b31b
sub esp, 8
fldz
fstp qword [esp]
push 0
lea ecx, [ebp - 0x64]
call fcn.004385a0
mov edx, dword [ebp - 0x94]
fstp qword [edx + 0x60]
push 0x45af90
push 1
lea ecx, [ebp - 0x64]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x6c
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0x45af94
push 2
lea ecx, [ebp - 0x64]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x94]
add ecx, 0x88
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_wchar_t_const__]
push 0
push 3
lea ecx, [ebp - 0x64]
call fcn.004385e0
mov ecx, dword [ebp - 0x94]
mov dword [ecx + 0x68], eax
mov edx, dword [ebp - 0x94]
mov byte [edx + 0xa5], 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x64]
call fcn.00438e00
jmp 0x43b382
mov dword [ebp - 4], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x4c]
call fcn.00401350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d40a
mov esp, ebp
pop ebp
ret