Function at 0x309053c0
Capabilities:
Reference sql statements

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x309225a0
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov edi, dword [esp + 0x24]
push str.records
push edi
mov esi, ecx
call fcn.30905220
test eax, eax
jl 0x309055d7
push ebx
push str.SELECT_key__data_FROM_records_WHERE_records.section___qParam_Section_
lea ecx, [esp + 0x10]
call fcn.30903a30
push str.PARAMETERS_qParam_Section_TEXT_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0
call fcn.30903a30
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
push str.EnumRecords
push edi
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.30904fa0
mov ebx, eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x20], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x30905459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x3090547f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
jge 0x30905499
mov eax, ebx
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push ebp
push str.DELETE_FROM_records_WHERE_records.key___qParam_ObjectKey_
lea ecx, [esp + 0x14]
call fcn.30903a30
mov ebx, 2
push str.PARAMETERS_qParam_ObjectKey_TEXT_
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.30903a30
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x30]
push ecx
push 0x309245d0
push edi
mov ecx, esi
mov byte [esp + 0x34], 3
call fcn.30904fa0
mov ebp, eax
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x309054ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x30905525
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebp, ebp
jge 0x30905540
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
push str.DELETE__FROM_records
lea ecx, [esp + 0x1c]
call fcn.30903a30
mov ebx, 4
push 0x309244f4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
call fcn.30903a30
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push str.DeleteAll
push edi
mov ecx, esi
mov byte [esp + 0x34], 5
call fcn.30904fa0
mov esi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x309055a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0x24], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x309055cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
test esi, esi
setge al
pop ebp
pop ebx
dec eax
and eax, esi
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4