Function at 0x100271b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
push edi
cmp dword [eax + 0x50], 0
mov dword [esp + 0x34], edx
jne 0x100271df
cmp dword [eax + 0x54], 0
jne 0x100271df
mov eax, 0xd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp byte [edx + 8], 0
jne 0x100271f4
mov ebx, dword [ebp + 0xc]
push 0
push ebx
push 0xffffffffffffffff
push str.SELECT_MsgRowid__AVData__ASData__LastUsedTimestamp__RecordFlags_FROM_MsgCache_WHERE_MsgID____AND_MsgPrefixID____
jmp 0x10027215
cmp dword [edx + 0xc], 0
jne 0x10027208
mov eax, 0xd3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [ebp + 0xc]
push 0
push ebx
push 0xffffffffffffffff
push str.SELECT_MsgRowid__AVData__ASData__LastUsedTimestamp__RecordFlags__AdditionalSemiUniqueID_FROM_MsgCache_WHERE_MsgID____AND_MsgPrefixID____
mov ecx, dword [0x10122dfc]
push dword [edx + 4]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
mov ecx, esi
call dword [0x100f5330]
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
add ecx, 0xc
mov dword [esp + 0x24], ecx
test edi, edi
jne 0x1002793c
mov edx, dword [0x10122dfc]
mov ecx, dword [ecx]
push edi
mov eax, dword [edx]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push 1
push dword [ebx]
mov ecx, esi
push edx
call dword [0x100f5330]
call esi
mov edi, eax
test edi, edi
jne 0x1002793c
mov ecx, dword [0x10122dfc]
mov eax, dword [ecx]
mov esi, dword [eax + 0xcc]
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 2
push dword [ebx]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, eax
test edi, edi
jne 0x1002793c
mov ecx, dword [0x10122dfc]
xorps xmm0, xmm0
push dword [ebx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
mov eax, dword [ecx]
push ecx
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x30], xmm0
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
cmp edi, 0x64
jne 0x100275b0
nop
mov ecx, dword [0x10122dfc]
push dword [ebx]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, dword [esp + 0x34]
xor ecx, ecx
cmp byte [edi + 8], cl
setne cl
add ecx, 5
cmp ecx, eax
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 0
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 1
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x10027394
mov ecx, dword [0x10122dfc]
push 1
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 2
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x100273d6
mov ecx, dword [0x10122dfc]
push 2
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 3
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 4
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
cmp byte [edi + 8], 0
je 0x1002791e
mov ecx, dword [0x10122dfc]
push 5
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x10027468
mov ecx, dword [0x10122dfc]
push 5
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
cmp byte [edi + 8], 0
je 0x1002791e
mov ecx, dword [0x10122dfc]
inc dword [esp + 0x20]
push 5
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x54]
mov ecx, esi
call dword [0x100f5330]
call esi
mov edx, dword [0x10122dfc]
push 5
push dword [ebx]
mov dword [esp + 0x30], eax
mov ecx, dword [edx]
push edx
mov esi, dword [ecx + 0x58]
mov ecx, esi
call dword [0x100f5330]
call esi
mov ecx, dword [ebp + 8]
mov esi, eax
mov dword [esp + 0x38], esi
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
sub ecx, edx
cmp esi, ecx
jne 0x1002753e
mov ecx, dword [esp + 0x28]
sub esi, 4
jb 0x100274e1
nop dword [eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x100274e6
add edx, 4
add ecx, 4
sub esi, 4
jae 0x100274d0
cmp esi, 0xfffffffc
je 0x10027513
mov al, byte [edx]
cmp al, byte [ecx]
jne 0x1002753e
cmp esi, 0xfffffffd
je 0x10027513
mov al, byte [edx + 1]
cmp al, byte [ecx + 1]
jne 0x1002753e
cmp esi, 0xfffffffe
je 0x10027513
mov al, byte [edx + 2]
cmp al, byte [ecx + 2]
jne 0x1002753e
cmp esi, 0xffffffff
je 0x10027513
mov al, byte [edx + 3]
cmp al, byte [ecx + 3]
jne 0x1002753e
mov ecx, dword [0x10122dfc]
push 0
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xd4]
mov ecx, esi
call dword [0x100f5330]
call esi
inc dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x1002758d
push dword [esp + 0x38]
mov esi, dword [edi + 0xc]
mov ecx, esi
push dword [esp + 0x2c]
mov eax, dword [ebp + 8]
push dword [esp + 0x2c]
push eax
call dword [0x100f5330]
call esi
add esp, 0x10
test al, al
je 0x10027568
inc dword [esp + 0xc]
jmp 0x1002758d
mov ecx, dword [0x10122dfc]
push 0
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0xd4]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov esi, dword [0x10122dfc]
push dword [ebx]
push esi
mov ecx, dword [esi]
mov edi, dword [ecx + 0x3c]
mov ecx, edi
call dword [0x100f5330]
call edi
mov edi, eax
cmp edi, 0x64
je 0x10027300
mov eax, dword [0x10122dfc]
push dword [ebx]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
mov dword [ebx], 0
cmp edi, 0x65
jne 0x10027929
mov edx, dword [esp + 0x34]
cmp byte [edx + 8], 0
je 0x100276b2
mov eax, dword [esp + 0x20]
cmp eax, 1
jle 0x100276eb
cmp eax, dword [esp + 0xc]
je 0x100276eb
cmp byte [ebp + 0x14], 0
je 0x100276b2
mov ecx, dword [0x10122dfc]
mov dword [esp + 0x1c], 0
push 0
mov eax, dword [ecx]
mov esi, dword [eax + 0x20]
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
push str.DELETE_FROM_MsgCache_WHERE_MsgID____AND_MsgPrefixID____
push dword [edx + 4]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov ecx, eax
test ecx, ecx
jne 0x10027695
mov edx, dword [0x10122dfc]
push 0
mov eax, dword [edx]
mov esi, dword [eax + 0x2c]
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push 1
push dword [esp + 0x2c]
mov ecx, esi
push edx
call dword [0x100f5330]
call esi
mov ecx, eax
test ecx, ecx
jne 0x10027695
mov ecx, dword [0x10122dfc]
mov eax, dword [ecx]
mov esi, dword [eax + 0xcc]
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
push dword [eax + 0x50]
push 2
push dword [esp + 0x28]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov ecx, eax
mov eax, dword [0x10122dfc]
push ecx
push dword [esp + 0x20]
mov esi, dword [eax]
push eax
mov esi, dword [esi + 0xdc]
mov ecx, esi
call dword [0x100f5330]
call esi
mov eax, 0xfd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x10122dfc]
push dword [ebx]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
mov eax, 0xc9
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
jne 0x100276ff
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x100276b2
mov ecx, dword [0x10122dfc]
push 0
push ebx
push 0xffffffffffffffff
mov eax, dword [ecx]
push str.SELECT_MsgRowid__AVData__ASData__LastUsedTimestamp__RecordFlags__AdditionalSemiUniqueID_FROM_MsgCache_WHERE_MsgRowid____
push dword [edx + 4]
mov esi, dword [eax + 0x20]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, eax
test edi, edi
jne 0x10027781
mov ecx, dword [0x10122dfc]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov eax, dword [ecx]
mov esi, dword [eax + 0xcc]
mov eax, edx
or eax, edi
je 0x10027748
mov eax, edi
jmp 0x10027750
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
push eax
push edx
push 1
push dword [ebx]
push ecx
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, eax
test edi, edi
jne 0x10027781
mov ecx, dword [0x10122dfc]
push dword [ebx]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x100f5330]
call esi
mov edi, eax
push dword [ebx]
cmp edi, 0x64
je 0x100277b6
mov eax, dword [0x10122dfc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
test edi, edi
mov dword [ebx], 0
mov eax, 0xc9
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [0x10122dfc]
push ecx
mov eax, dword [ecx]
mov esi, dword [eax + 0x44]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 6
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 0
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 1
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x1002783a
mov ecx, dword [0x10122dfc]
push 1
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 2
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x1002787c
mov ecx, dword [0x10122dfc]
push 2
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 3
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 4
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 1
jne 0x100276c0
mov ecx, dword [0x10122dfc]
push 5
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 4
je 0x10027904
mov ecx, dword [0x10122dfc]
push 5
push dword [ebx]
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 0x4c]
mov ecx, esi
call dword [0x100f5330]
call esi
cmp eax, 5
jne 0x100276c0
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x14]
jne 0x1002791e
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x1002791e
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test edi, edi
mov eax, 0xc9
cmovne eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x10122dfc]
push dword [ebx]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x40]
mov ecx, esi
call dword [0x100f5330]
call esi
mov eax, edi
mov dword [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10