Function at 0x53d2c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743ec8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x400
mov al, byte [ecx]
push ebx
push esi
push edi
test al, al
je 0x53d534
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x53d318
push 0x12f
push 0x7b1190
push str.pUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
jmp 0x53d534
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053cee0
add esp, 4
test al, al
je 0x53d534
mov ecx, dword [ebx + 0x304]
test ecx, ecx
je 0x53d534
call fcn.0062e8c0
mov edi, eax
test edi, edi
je 0x53d534
mov eax, dword [ebx + 0x304]
test eax, eax
je 0x53d534
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x53d534
mov edx, dword [ecx]
push 2
call dword [edx + 8]
cmp eax, 0x64
jne 0x53d534
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push eax
lea ecx, [ebp - 0x40c]
push str.SELECT__FROM_cq_dup_name_WHERE_object_id_d__type3
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x40c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
mov dword [ebp - 4], 0
jne 0x53d3c7
mov ecx, dword [ebx]
push 0x7b16f8
push ebx
call dword [ecx + 0xcc]
add esp, 8
jmp 0x53d534
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x44]
test eax, eax
jl 0x53d505
cmp eax, 3
jge 0x53d505
cmp eax, 1
jne 0x53d3f6
mov eax, dword [ebx]
push 0x7b1498
push ebx
call dword [eax + 0xcc]
jmp 0x53d453
cmp eax, 2
jne 0x53d40b
mov eax, dword [ebx]
push 0x7b1474
push ebx
call dword [eax + 0xcc]
jmp 0x53d453
mov ecx, dword [0x7fd5a8]
test ecx, ecx
jne 0x53d438
push 0x1bc
push 0x797a90
push str.g_pFamilyMgr
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor ecx, ecx
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053f4a0
test al, al
je 0x53d469
mov ecx, dword [ebx]
push 0x7b16c8
push ebx
call dword [ecx + 0xcc]
mov edx, dword [esi]
add esp, 8
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call dword [edx + 4]
jmp 0x53d534
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x40c]
push str.UPDATE_cq_family_SET_family_name_s_WHERE_id_u__LIMIT_1
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea edx, [ebp - 0x40c]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 8]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x40c]
push str.UPDATE_cq_dup_name_SET_complete1__new_name_s_WHERE_object_id_d__type3_LIMIT_1
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea edx, [ebp - 0x40c]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 8]
mov eax, dword [ebx]
push 0x7b1498
push ebx
call dword [eax + 0xcc]
mov edx, dword [esi]
add esp, 8
mov ecx, esi
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
push 0x14a
push 0x7b1190
push str.nComplete___0__nComplete___3
push str.CHECKF
push 0x793720
call fcn.00401080
mov eax, dword [esi]
add esp, 0x14
mov ecx, esi
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