Function at 0x43b3d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4496b3
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x47b018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x64], ecx
mov eax, dword [ebp - 0x64]
movzx ecx, byte [eax + 0xa4]
test ecx, ecx
jne 0x43b5c1
lea esi, [ebp - 0x30]
call fcn.00401330
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x64]
mov eax, dword [edx + 8]
push eax
push str.SELECT_EventId__EventName__FolderPath__Description___tCreationDate__Mode__State__Type__FROM_Event_WHERE_EventId___d
lea esi, [ebp - 0x30]
call fcn.00401380
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
push 0
call fcn.00448420
add esp, 4
mov ecx, eax
call fcn.00439520
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x48]
call fcn.00438cb0
mov byte [ebp - 0x69], al
movzx eax, byte [ebp - 0x69]
test eax, eax
jne 0x43b551
mov eax, dword [ebp - 0x64]
add eax, 0x118
lea esi, [ebp - 0x50]
call fcn.0040b400
mov byte [ebp - 4], 3
push 0x45adf8
push 1
lea ecx, [ebp - 0x48]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x44
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 0x45adfc
push 3
lea ecx, [ebp - 0x48]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x28
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 0x45ae00
push 4
lea ecx, [ebp - 0x48]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0xc
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 6
lea ecx, [ebp - 0x48]
call fcn.004385e0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x168], eax
push 0
push 5
lea ecx, [ebp - 0x48]
call fcn.004385e0
mov edx, dword [ebp - 0x64]
mov dword [edx + 0x16c], eax
push 0
push 7
lea ecx, [ebp - 0x48]
call fcn.004385e0
mov ecx, dword [ebp - 0x64]
mov dword [ecx + 0x170], eax
push 0x45ae04
push 2
lea ecx, [ebp - 0x48]
call fcn.00438540
push eax
mov ecx, dword [ebp - 0x64]
add ecx, 0x130
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__]
mov edx, dword [ebp - 0x64]
mov byte [edx + 0xa4], 1
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
call fcn.0040b420
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00438e00
jmp 0x43b5ab
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x30]
call fcn.00401350
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret