Function at 0x449280
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_BaseInfo_order_by_TotalHonor_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 0x14
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
test eax, eax
jne 0x4492f1
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x4492f1
xor ebx, ebx
nop dword [eax]
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22b8]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x4492d0
push dword [ebp - 4]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_BaseInfo_order_by_Charm_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x449359
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x449359
xor ebx, ebx
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22b4]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x449332
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push dword [ebp - 4]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_RankInfo_order_by_TotalScore_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x4493bb
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x4493bb
xor ebx, ebx
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22b0]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x449394
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push dword [ebp - 4]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.UPDATE_RankInfo_SET_GradeLevel__CASE_WHEN_TotalScore_IN__SELECT_TotalScore_FROM_RankInfo_ORDER_BY_TotalScore_DESC_LIMIT_5__THEN_7_ELSE_6_END_WHERE_GradeLevel__6_OR_GradeLevel__7_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x4493ef
push dword [ebp - 4]
call esi
add esp, 4
push dword [ebp - 4]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.select_I.Uin_as_Uin_count_I.ItemType__as_KartNum__From_Item_I_Join_BaseInfo_B_on_I.UinB.Uin_where_ItemType1_group_by_I.Uin_order_by_KartNum_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x449457
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x449457
xor ebx, ebx
nop word [eax + eax]
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22c0]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x449430
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push dword [ebp - 4]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_BaseInfo_order_by_Experience_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x4494b9
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x4494b9
xor ebx, ebx
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22ac]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x449492
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push dword [ebp - 4]
call ebx
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_BaseInfo_order_by_BugletTalk_DESC_limit_0_30_
push dword [0x4d1300]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x44951b
push dword [ebp - 4]
call esi
add esp, 4
cmp eax, 0x64
jne 0x44951b
xor ebx, ebx
push 0
push dword [ebp - 4]
call edi
mov ecx, dword [0x4d22bc]
lea ebx, [ebx + 4]
mov dword [ebx + ecx - 4], eax
push dword [ebp - 4]
call esi
add esp, 0xc
cmp eax, 0x64
je 0x4494f4
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push dword [ebp - 4]
call ebx
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret