Function at 0x6e94d0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x74fcb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x408
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push esi
lea eax, [ebp - 0x414]
push str.SELECT__FROM_cq_user_WHERE_id_u
push eax
call fcn.0070258b
add esp, 0xc
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0
push esi
mov ecx, eax
call dword [edx + 0xc]
call fcn.0071f4d0
mov edi, dword [ebp + 8]
mov edx, dword [eax]
push edi
push 0
push esi
mov ecx, eax
call dword [edx + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 4], 0
test eax, eax
je 0x6e9622
mov edx, dword [eax]
push str.password_id
mov ecx, eax
call dword [edx + 0x14]
test eax, eax
je 0x6e958e
push eax
lea eax, [ebp - 0x414]
push str.SELECT__FROM_cq_password_WHERE_id_u_LIMIT_1
push eax
call fcn.0070258b
add esp, 0xc
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x16
push esi
mov ecx, eax
call dword [edx + 0xc]
jmp 0x6e9622
push ebx
push str.cq_card3
lea edx, [ebp - 0x414]
push str.SELECT_ref_id_FROM__s_WHERE_account_id_u__type729052_ORDER_BY_id_LIMIT_1
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x17
push esi
mov ecx, eax
call dword [edx + 0xc]
call fcn.0071f4d0
mov edx, dword [eax]
push edi
push 0x17
push esi
mov ecx, eax
call dword [edx + 8]
mov edi, eax
mov dword [ebp + 0xc], edi
test edi, edi
mov byte [ebp - 4], 1
je 0x6e9613
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x44]
push eax
lea ecx, [ebp - 0x414]
push str.SELECT__FROM_cq_password_WHERE_id_u_LIMIT_1
push ecx
call fcn.0070258b
add esp, 0xc
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x16
push esi
mov ecx, eax
call dword [edx + 0xc]
test edi, edi
mov byte [ebp - 4], 0
je 0x6e9622
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
push esi
push 0x7ae034
lea eax, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_user_id_u_LIMIT_1
push eax
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 1
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x64
push esi
push str.cq_friend
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_userid_u_LIMIT__d
push edx
call fcn.0070258b
add esp, 0x14
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 2
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x64
push esi
push str.cq_addresslist
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_user_id_u_LIMIT__d
push edx
call fcn.0070258b
add esp, 0x14
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x19
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push str.cq_tutor
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_user_id_u_LIMIT_1
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 3
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0xf
push esi
push str.cq_tutor
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_tutor_id_u_LIMIT__d
push edx
call fcn.0070258b
add esp, 0x14
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 4
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push str.cq_enemy
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_userid_d_ORDER_BY_time
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 5
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x34
push 0x32
push esi
push 0x79a1d8
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u__position__u__position__u
push edx
call fcn.0070258b
add esp, 0x18
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 6
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0xc
push 0xd
push 1
push esi
push 0x79a1d8
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u__position____u__position__u_LIMIT__d
push edx
call fcn.0070258b
add esp, 0x1c
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 7
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x35
push 0x34
push esi
push 0x79a140
lea edx, [ebp - 0x414]
push 0x7de8bc
push edx
call fcn.0070258b
add esp, 0x18
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xa
push esi
mov ecx, eax
call dword [edx + 0xc]
call fcn.0071f4d0
mov ecx, dword [ebp + 8]
mov edx, dword [eax]
push ecx
push 0xa
push esi
mov ecx, eax
call dword [edx + 8]
mov edi, eax
mov dword [ebp + 0x10], edi
test edi, edi
mov byte [ebp - 4], 2
je 0x6e98b7
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x60]
test eax, eax
jle 0x6e98b7
mov dword [ebp + 0xc], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x44]
push eax
push 0x79a188
lea ecx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_ownerid_u__unlearn0
push ecx
mov dword [ebp + 8], eax
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
mov ecx, dword [ebp + 8]
push 0x3e8
push ecx
mov ecx, eax
call dword [edx + 0xc]
test al, al
je 0x6e98a3
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x6e98a3
mov edx, dword [eax + 0x10]
lea ecx, [eax + 8]
mov eax, dword [eax + 0xc]
cmp eax, edx
je 0x6e9899
test eax, eax
je 0x6e9893
mov edx, dword [ebp + 8]
mov dword [eax], edx
add dword [ecx + 4], 4
jmp 0x6e98a3
lea edx, [ebp + 8]
push edx
push eax
call fcn.00445f20
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x64]
mov eax, dword [ebp + 0xc]
dec eax
mov dword [ebp + 0xc], eax
jne 0x6e982e
push 0xa
push esi
push 0xd1
push esi
push 0x79a140
lea ecx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u__position_d__player_id_u__LIMIT__d
push ecx
call fcn.0070258b
add esp, 0x1c
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xb
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x32
push 0xd7
push esi
push 0x79a140
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_player_id_u__position_d__LIMIT__d
push edx
call fcn.0070258b
add esp, 0x18
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x18
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0x64
push esi
push 0xc9
push 0x3ed
push 0x79a1d8
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u__position_d__player_id_u__LIMIT__d
push edx
call fcn.0070258b
add esp, 0x1c
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x13
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push 0x79a194
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u__unlearn0
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xc
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push 0x79a188
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_ownerid_u__unlearn0
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xd
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push 0x7c4764
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_owner_id_u
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xe
push esi
mov ecx, eax
call dword [edx + 0xc]
push ebx
push str.cq_bonus
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_id_account_u__flag0
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0xf
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push str.cq_tutorexp
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_tutor_id_u_LIMIT_1
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x10
push esi
mov ecx, eax
call dword [edx + 0xc]
push 0
push 1
call fcn.0040ab00
add esp, 8
lea edx, [ebp - 0x414]
push eax
push esi
push str.cq_special_status
push str.SELECT__FROM__s_WHERE_user_id_u_AND_finish_time__u
push edx
call fcn.0070258b
add esp, 0x14
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x11
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push str.cq_statistic
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_player_id_u_ORDER_BY_event_type
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x12
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push 0x7cc998
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_userid_d_ORDER_BY_userid__taskid
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x14
push esi
mov ecx, eax
call dword [edx + 0xc]
push esi
push 0x79a16c
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_id_d_LIMIT_1
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x15
push esi
mov ecx, eax
call dword [edx + 0xc]
push ebx
push 0x79a1ac
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_account_id_u__type__0
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x1b
push esi
mov ecx, eax
call dword [edx + 0xc]
push ebx
push 0x79a1ac
lea edx, [ebp - 0x414]
push str.SELECT__FROM__s_WHERE_account_id_u__type_0_LIMIT_1
push edx
call fcn.0070258b
add esp, 0x10
call fcn.0071f4d0
mov edx, dword [eax]
lea ecx, [ebp - 0x414]
push 1
push ecx
push 0x1a
push esi
mov ecx, eax
call dword [edx + 0xc]
test edi, edi
mov byte [ebp - 4], 0
je 0x6e9baa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [ebp - 4], 0xffffffff
test ecx, ecx
pop ebx
je 0x6e9bc0
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret