Function at 0x53cf60
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743ea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov al, byte [ecx]
push ebx
push esi
push edi
test al, al
je 0x53d29e
mov edi, dword [ebp + 8]
test edi, edi
jne 0x53cfb8
push 0xeb
push 0x7b1190
push str.pUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x53d29e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053cee0
add esp, 4
test al, al
je 0x53d29e
mov ecx, edi
call fcn.00467cd0
mov ebx, eax
test ebx, ebx
je 0x53d29e
mov ecx, dword [ebx + 0x28]
test ecx, ecx
jne 0x53d009
push 0xf1
push 0x79b9c4
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor esi, esi
jmp 0x53d012
mov edx, dword [ecx]
push 5
call dword [edx + 8]
mov esi, eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
cmp esi, eax
jne 0x53d29e
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push eax
lea eax, [ebp - 0x418]
push str.SELECT__FROM_cq_dup_name_WHERE_object_id_d__type2
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x418]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov edi, eax
mov dword [ebp - 0x18], edi
xor esi, esi
cmp edi, esi
mov dword [ebp - 4], esi
jne 0x53d077
mov eax, dword [ebp + 8]
push 0x7b15d4
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
add esp, 8
jmp 0x53d29e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 0x44]
cmp eax, esi
jl 0x53d26f
cmp eax, 3
jge 0x53d26f
cmp eax, 1
jne 0x53d0a5
mov eax, dword [ebp + 8]
push 0x7b1498
mov ecx, dword [eax]
jmp 0x53d255
cmp eax, 2
jne 0x53d0b9
mov eax, dword [ebp + 8]
push 0x7b1474
mov ecx, dword [eax]
jmp 0x53d255
mov eax, dword [0x7fd5fc]
mov ecx, dword [eax + 4]
cmp ecx, esi
jne 0x53d0e8
push 0x48
push 0x79b938
push str.m_setSyn
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
mov dword [ebp - 0x10], esi
jmp 0x53d0f0
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], esi
test eax, eax
jle 0x53d1af
mov eax, dword [0x7fd5fc]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x53d12a
push 0x49
push 0x79b938
push str.m_setSyn
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x53d1a0
mov edx, dword [ecx]
push esi
call dword [edx + 8]
test eax, eax
je 0x53d1a0
mov ecx, dword [eax + 0x28]
test ecx, ecx
jne 0x53d160
push 0xf2
push 0x79b9c4
push str.m_pData
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor eax, eax
jmp 0x53d167
mov eax, dword [ecx]
push 1
call dword [eax + 0xc]
mov esi, eax
mov eax, dword [ebp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x53d190
test cl, cl
je 0x53d18c
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x53d190
add eax, 2
add esi, 2
test cl, cl
jne 0x53d16c
xor eax, eax
jmp 0x53d195
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x53d24b
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
inc esi
cmp esi, eax
mov dword [ebp - 0x14], esi
jl 0x53d0fe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov esi, dword [ebp + 0xc]
push eax
push esi
lea ecx, [ebp - 0x418]
push str.UPDATE_cq_syndicate_SET_name_s_WHERE_id_u_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x418]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
push eax
push esi
lea eax, [ebp - 0x418]
push str.UPDATE_cq_dup_name_SET_complete1__new_name_s_WHERE_object_id_d__type2_LIMIT_1
push eax
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x418]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
mov eax, dword [ebp + 8]
push 0x7b1498
push eax
mov ecx, dword [eax]
call dword [ecx + 0xcc]
mov edx, dword [edi]
add esp, 8
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
push 0x7b1514
mov ecx, dword [eax]
push eax
call dword [ecx + 0xcc]
mov edx, dword [edi]
add esp, 8
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
jmp 0x53d29e
push 0x101
push 0x7b1190
push str.nComplete___0__nComplete___3
push str.CHECKF
push 0x793720
call fcn.00401080
mov eax, dword [edi]
add esp, 0x14
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8