Function at 0x53d570
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x743ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x410
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
test esi, esi
jne 0x53d5cc
push 0x174
push 0x7b1190
push str.pUser
push str.CHECKF
push 0x793720
call fcn.00401080
add esp, 0x14
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 8]
lea edi, [esi + 8]
push 0x10
mov ecx, edi
call dword [eax + 8]
lea ecx, [ebp - 0x1c]
push eax
push ecx
call fcn.0040cc10
lea edx, [ebp - 0x1c]
push edx
call fcn.0053d550
add esp, 0x10
test al, al
jne 0x53d604
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 0xc]
push ebx
call fcn.0053cee0
add esp, 4
test al, al
jne 0x53d638
mov eax, dword [edi]
push 0x7a759c
push edi
call dword [eax + 0x1b4]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push ebx
lea ecx, [ebp - 0x41c]
push str.SELECT_count___FROM_cq_user_WHERE_name___s
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0xc
lea eax, [ebp - 0x41c]
mov edx, dword [ecx]
push 1
push eax
call dword [edx]
mov edi, eax
mov dword [ebp + 0xc], edi
test edi, edi
mov dword [ebp - 4], 0
jne 0x53d68e
push 0x22
push str.....common_autoptr.h
push str.m_ptr
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edx, dword [edi]
push 0
mov ecx, edi
call dword [edx + 0x44]
test eax, eax
mov eax, dword [esi]
jle 0x53d6d1
push 0x7b1418
push esi
call dword [eax + 0xcc]
add esp, 8
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x53d6be
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, esi
call dword [eax + 4]
push eax
push ebx
lea ecx, [ebp - 0x41c]
push str.UPDATE_cq_user_SET_name_s_WHERE_id_u_LIMIT_1
push ecx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x10
lea eax, [ebp - 0x41c]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 8]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
push eax
lea eax, [ebp - 0x1c]
push ebx
lea ecx, [ebp - 0x1c]
push eax
push ecx
lea edx, [ebp - 0x41c]
push str.INSERT_INTO_cq_dup_name_SET_complete1__old_name_s__name_s__new_name_s__object_id_u__type4
push edx
call fcn.0070258b
mov ecx, dword [0x7fd5f0]
add esp, 0x18
lea edx, [ebp - 0x41c]
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 8]
mov eax, dword [esi]
push 0x7b1498
push esi
call dword [eax + 0xcc]
mov ecx, dword [esi + 0x5e4]
mov eax, dword [esi]
add esp, 8
lea edx, [ebp - 0x1c]
mov dword [ebp + 8], ecx
mov ecx, esi
push ebx
push edx
call dword [eax + 4]
mov ecx, dword [ebp + 8]
push eax
push ecx
push str.account_id:_u_user_id:_u_old_name:_s_new_name:_s
push str.gmlog_chg_error_name
call fcn.0040a4e0
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x53d788
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret