Function at 0x6db930
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74f2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x404
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
push 0x79a1ac
lea eax, [ebp - 0x410]
push str.SELECT__FROM__s_WHERE_account_id___u__type0_LIMIT_1
push eax
call fcn.0070258b
mov eax, dword [0x7ff318]
add esp, 0x10
test eax, eax
jne 0x6db998
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov ecx, dword [0x7ff318]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
push 1
lea eax, [ebp - 0x410]
push eax
call dword [edx]
mov ebx, eax
mov dword [ebp + 8], ebx
test ebx, ebx
mov dword [ebp - 4], 0
je 0x6db9d5
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x60]
test eax, eax
jbe 0x6db9d5
mov dword [ebp - 4], 0xffffffff
jmp 0x6dbb55
push esi
push str.cq_deluser
lea ecx, [ebp - 0x410]
push str.SELECT_id__account_id__level__profession__name__last_login_FROM__s_WHERE_account_id___u__type0_ORDER_BY_last_login_DESC_LIMIT_1
push ecx
call fcn.0070258b
mov eax, dword [0x7ff318]
add esp, 0x10
test eax, eax
jne 0x6dba19
push 0xc2
push 0x7db568
push str.CWorldKernel::m_pWorld
push str.ASSERT
push 0x793720
call fcn.00401080
add esp, 0x14
mov edx, dword [0x7ff318]
mov ecx, dword [edx + 0x30]
mov eax, dword [ecx]
push 1
lea edx, [ebp - 0x410]
push edx
call dword [eax]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
mov byte [ebp - 4], 1
je 0x6dbb3b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
test eax, eax
jbe 0x6dbb3b
mov edx, dword [esi]
push str.last_login
mov ecx, esi
call dword [edx + 0x30]
mov ecx, eax
mov eax, 0xd1b71759
mul ecx
mov edi, edx
push 0
push 2
shr edi, 0xd
call fcn.0040ab00
mov edx, eax
mov eax, 0xd1b71759
mul edx
shr edx, 0xd
push edi
push edx
call fcn.0040b550
add esp, 0x10
cmp eax, 0x1e
jle 0x6dbab3
mov eax, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0
call dword [eax + 4]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x6dbb5c
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 4]
jmp 0x6dbb5c
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x6dbb09
mov eax, dword [esi]
push 0x7cb354
mov ecx, esi
call dword [eax + 0x30]
mov dword [edi + 4], eax
mov edx, dword [esi]
push str.account_id
mov ecx, esi
call dword [edx + 0x30]
mov dword [edi], eax
mov eax, dword [esi]
push 0x7a72f8
mov ecx, esi
call dword [eax + 0x14]
mov word [edi + 8], ax
mov edx, dword [esi]
push 0x7a7a68
mov ecx, esi
call dword [edx + 0x14]
push 0x10
mov word [edi + 0xa], ax
mov eax, dword [esi]
push str.name
add edi, 0xc
push edi
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
mov ecx, esi
mov byte [ebp - 4], 0
call dword [edx + 4]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x6dbb26
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 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
test esi, esi
mov byte [ebp - 4], 0
je 0x6dbb4a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
test ebx, ebx
mov dword [ebp - 4], 0xffffffff
je 0x6dbb5c
mov eax, dword [ebx]
mov ecx, ebx
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