Function at 0x4512c0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2068
call fcn.00463070
push ebx
mov eax, ecx
mov dword [ebp - 4], 0
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov ebx, edx
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x1a0]
push 0
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], eax
call edi
push 0
mov word [ebp - 0x2068], ax
call edi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
mov word [ebp - 0x2066], ax
lea eax, [ebx - 0x2710]
push eax
call esi
push 0
mov dword [ebp - 0x2064], eax
call esi
push 0
mov dword [ebp - 0x2060], eax
call edi
push dword [ebp - 0x14]
mov word [ebp - 0x205c], ax
lea ecx, [ebp - 8]
lea eax, [ebp - 0x205a]
mov edx, ebx
mov dword [ebp - 8], eax
call fcn.00449530
add esp, 4
test eax, eax
je 0x451d69
mov edx, ebx
lea ecx, [ebp - 8]
call fcn.00449b10
push dword [ebp - 0x14]
mov edx, ebx
lea ecx, [ebp - 8]
call fcn.00449e20
add esp, 4
mov dword [ebp - 0x18], eax
push 0
call esi
mov ebx, dword [ebp - 8]
push 0
mov dword [ebx], eax
call esi
push 0x107
mov dword [ebx + 4], eax
call edi
push 0xa
mov word [ebx + 8], ax
call edi
mov word [ebx + 0xa], ax
push 0
mov byte [ebx + 0xc], 0
call edi
push dword [ebp - 0x10]
mov word [ebx + 0xd], ax
call esi
mov dword [ebx + 0xf], eax
push 0
mov byte [ebx + 0x13], 0
call esi
push 0
mov dword [ebx + 0x14], eax
call esi
push 0xf
mov dword [ebx + 0x18], eax
call edi
mov word [ebx + 0xd], ax
push 0
mov byte [ebx + 0x1c], 0
call edi
mov word [ebx + 0x1d], ax
push 0
mov byte [ebx + 0x1f], 0
call esi
push 7
mov dword [ebx + 0x20], eax
call edi
mov word [ebx + 0x1d], ax
push 0
mov word [ebx + 0x24], 0x100
call edi
mov word [ebx + 0x26], ax
push 0
mov byte [ebx + 0x28], 0
call esi
mov dword [ebx + 0x29], eax
push 8
mov byte [ebx + 0x2d], 0
call edi
mov word [ebx + 0x26], ax
push 0
mov word [ebx + 0x2e], 0
call edi
mov word [ebx + 0x30], ax
push 0
mov byte [ebx + 0x32], 0
call esi
mov dword [ebx + 0x33], eax
push 0
mov byte [ebx + 0x37], 0
call esi
push 0
mov dword [ebx + 0x38], eax
call edi
push 0
mov word [ebx + 0x3c], ax
call esi
mov dword [ebx + 0x3e], eax
push 0
call esi
push 0
mov dword [ebx + 0x42], eax
call esi
mov dword [ebx + 0x46], eax
push 0xf
mov byte [ebx + 0x4a], 0
call edi
push 0x1b
mov word [ebx + 0x3c], ax
call edi
mov word [ebx + 0x30], ax
push 0
mov byte [ebx + 0x4b], 0
call esi
push 0
mov dword [ebx + 0x4c], eax
call esi
push 0
mov dword [ebx + 0x50], eax
call esi
push 0
mov dword [ebx + 0x54], eax
call esi
push 0
mov dword [ebx + 0x58], eax
call edi
mov word [ebx + 0x5c], ax
push 0
mov byte [ebx + 0x5e], 0
call esi
push 0
mov dword [ebx + 0x5f], eax
call esi
mov dword [ebx + 0x63], eax
push 0xc
mov byte [ebx + 0x67], 0
call edi
push 0
mov word [ebx + 0x5c], ax
call edi
push 0
mov word [ebx + 0x68], ax
call esi
mov dword [ebx + 0x6a], eax
push 7
mov byte [ebx + 0x6e], 0
call edi
push 0
mov word [ebx + 0x68], ax
call edi
push 0
mov word [ebx + 0x6f], ax
call esi
push 0
mov dword [ebx + 0x71], eax
call esi
push 0xa
mov dword [ebx + 0x75], eax
call edi
mov word [ebx + 0x6f], ax
push 0
mov byte [ebx + 0x79], 0
call edi
push 0
mov word [ebx + 0x7a], ax
call edi
push 0
mov word [ebx + 0x7c], ax
call edi
push 0
mov word [ebx + 0x7e], ax
call edi
push 0
mov word [ebx + 0x80], ax
call edi
push 0xa
mov word [ebx + 0x82], ax
call edi
mov word [ebx + 0x7a], ax
mov byte [ebx + 0x84], 1
lea edi, [ebx + 0x85]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push 0
call ebx
push 5
mov word [edi], ax
lea esi, [edi + 2]
call dword [sym.imp.WS2_32.dll_htonl]
push 0x11783
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x11783
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x64
mov dword [esi + 8], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 5
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 0x10], eax
call ebx
push 1
mov word [esi + 0x14], ax
call ebx
mov word [esi + 0x16], ax
add esi, 0x18
push 0
call ebx
mov word [esi], ax
sub esi, edi
add esi, 2
push esi
call ebx
mov word [edi], ax
add edi, esi
push 0
call ebx
push 0
mov word [edi], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [edi + 2], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [edi + 6], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [edi + 0xa], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x12
mov dword [edi + 0xe], eax
call ebx
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0
mov word [edi], ax
call esi
push 0
mov dword [edi + 0x12], eax
call esi
push 0
mov dword [edi + 0x16], eax
call esi
push 0
mov dword [edi + 0x1a], eax
call ebx
push 0
mov word [edi + 0x1e], ax
call esi
push 0
mov dword [edi + 0x20], eax
call esi
push 0
mov dword [edi + 0x24], eax
call esi
push 0xe
mov dword [edi + 0x28], eax
call ebx
mov word [edi + 0x1e], ax
mov byte [edi + 0x2c], 0
push 0
call esi
mov dword [edi + 0x2d], eax
mov byte [edi + 0x31], 1
add edi, 0x32
push 0
call ebx
push 5
mov word [edi], ax
lea esi, [edi + 2]
call dword [sym.imp.WS2_32.dll_htonl]
push 0x11782
mov dword [esi], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x11782
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x64
mov dword [esi + 8], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 5
mov dword [esi + 0xc], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 0x10], eax
call ebx
push 1
mov word [esi + 0x14], ax
call ebx
mov word [esi + 0x16], ax
add esi, 0x18
push 0
call ebx
mov word [esi], ax
sub esi, edi
add esi, 2
push esi
call ebx
mov word [edi], ax
push 0
mov word [edi + esi], 2
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + esi + 2], eax
push 0
mov byte [edi + esi + 6], 0
call ebx
mov word [edi + esi + 7], ax
push 0
mov byte [edi + esi + 9], 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + esi + 0xa], eax
lea ecx, [ebp - 0x2066]
mov dword [edi + esi + 0xe], 0
mov dword [edi + esi + 0x12], 0
mov byte [edi + esi + 0x16], 0
add esi, edi
lea eax, [esi + 0x17]
sub eax, ecx
push eax
call ebx
mov word [ebp - 0x2066], ax
mov byte [esi + 0x17], 0
add esi, 0x18
push 0
mov dword [ebp - 8], esi
call ebx
mov word [esi], ax
lea edi, [esi + 2]
push 0
mov byte [edi], 0
call ebx
push 0
mov word [edi + 1], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 3], eax
add edi, 7
push 0
call ebx
mov word [edi], ax
lea esi, [edi + 2]
push 0
call ebx
push 0
mov word [esi], ax
call ebx
push 0
mov word [esi + 2], ax
call ebx
mov word [esi + 4], ax
mov word [esi + 6], 0
push 0
mov byte [esi + 8], 0
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 9], eax
call ebx
mov word [esi + 0xd], ax
xorps xmm0, xmm0
movups xmmword [esi + 0xf], xmm0
mov dword [esi + 0x1f], 0
push 0
mov dword [esi + 0x23], 0
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 0x27], eax
call ebx
push 0
mov word [esi + 0x2b], ax
call ebx
mov word [esi + 0x2d], ax
push 0
mov dword [esi + 0x2f], 0
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 0x33], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x37], eax
mov dword [esi + 0x3b], 0
push 0
mov byte [esi + 0x3f], 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x40], eax
xorps xmm0, xmm0
add esi, 0x44
movups xmmword [esi], xmm0
mov byte [esi + 0x10], 0
sub esi, edi
add esi, 0x11
push esi
call ebx
mov word [edi], ax
add edi, esi
mov esi, dword [ebp - 8]
mov byte [edi], 0
inc edi
mov byte [edi], 0
sub edi, esi
inc edi
push edi
call ebx
mov word [esi], ax
add esi, edi
push 0
mov byte [esi], 0
inc esi
mov dword [ebp - 8], esi
call ebx
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 0
mov word [esi], ax
call edi
push 0
mov dword [esi + 2], eax
call edi
push 0
mov dword [esi + 6], eax
call edi
mov dword [esi + 0xa], eax
xorps xmm0, xmm0
movups xmmword [esi + 0xe], xmm0
mov byte [esi + 0x1e], 0
push 0
call edi
push 0
mov dword [esi + 0x1f], eax
call edi
push 0
mov dword [esi + 0x23], eax
call edi
push 0
mov dword [esi + 0x27], eax
call edi
mov edi, dword [ebp - 8]
mov dword [esi + 0x2b], eax
add esi, 0x2f
mov byte [esi], 0
sub esi, edi
inc esi
push esi
call ebx
mov word [edi], ax
add edi, esi
push 0
mov dword [ebp - 8], edi
call ebx
push 0
mov word [edi], ax
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_RefitCout_MaxFlags_WWeight_SpeedWeight_JetWeight_SJetWeight_AccuWeight_AntiCollisionWeight_ShapeRefitCount_KartHeadRefitItemID_KartTailRefitItemID_KartFlankRefitItemID_KartTireRefitItemID_ShapeSuitID_Speed2Weight_DriftVecWeight_AdditionalZSpeedWeight_LegendSuitLevelChoice_LegendSuitLevel_ShapeLegendSuitID__FROM_KartRefit_WHERE_Uin__AND_KartID__
push dword [ebp - 0xc]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x68], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 0x14
test eax, eax
jne 0x451a23
push dword [ebp - 0x10]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 0x18]
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x451a23
push 0
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
call esi
push 2
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x20], eax
call esi
push 3
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x24], eax
call esi
push 4
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x28], eax
call esi
push 5
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x2c], eax
call esi
push 6
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x30], eax
call esi
push 7
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x34], eax
call esi
add esp, 0x40
movzx eax, ax
mov dword [ebp - 0x58], eax
push 8
push dword [ebp - 4]
call esi
push 9
push dword [ebp - 4]
mov dword [ebp - 0x38], eax
call esi
push 0xa
push dword [ebp - 4]
mov dword [ebp - 0x3c], eax
call esi
push 0xb
push dword [ebp - 4]
mov dword [ebp - 0x40], eax
call esi
push 0xc
push dword [ebp - 4]
mov dword [ebp - 0x44], eax
call esi
push 0xd
push dword [ebp - 4]
mov dword [ebp - 0x48], eax
call esi
push 0xe
push dword [ebp - 4]
mov dword [ebp - 0x5c], eax
call esi
push 0xf
push dword [ebp - 4]
movzx eax, ax
mov dword [ebp - 0x4c], eax
call esi
add esp, 0x40
movzx eax, ax
mov dword [ebp - 0x50], eax
push 0x10
push dword [ebp - 4]
call esi
movzx eax, ax
mov dword [ebp - 0x54], eax
push 0x11
push dword [ebp - 4]
call esi
push 0x12
push dword [ebp - 4]
mov dword [ebp - 0x64], eax
call esi
push 0x13
push dword [ebp - 4]
mov dword [ebp - 0x60], eax
call esi
add esp, 0x20
mov dword [ebp - 0x68], eax
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x18]
mov dword [edi + 2], eax
call esi
push dword [ebp - 0x1c]
mov dword [edi + 6], eax
call esi
push dword [ebp - 0x20]
mov dword [edi + 0xa], eax
call ebx
push dword [ebp - 0x24]
mov word [edi + 0xe], ax
call ebx
push dword [ebp - 0x28]
mov word [edi + 0x10], ax
call ebx
push dword [ebp - 0x2c]
mov word [edi + 0x12], ax
call ebx
push dword [ebp - 0x30]
mov word [edi + 0x14], ax
call ebx
push dword [ebp - 0x34]
mov word [edi + 0x16], ax
call ebx
push dword [ebp - 0x38]
mov word [edi + 0x18], ax
call esi
push dword [ebp - 0x3c]
mov dword [edi + 0x1a], eax
call esi
push dword [ebp - 0x40]
mov dword [edi + 0x1e], eax
call esi
push dword [ebp - 0x44]
mov dword [edi + 0x22], eax
call esi
push dword [ebp - 0x48]
mov dword [edi + 0x26], eax
call esi
mov dword [edi + 0x2a], eax
add edi, 0x2e
push 0
call ebx
mov word [edi], ax
lea esi, [edi + 2]
mov dword [esi], 0
mov word [esi + 4], 0
mov byte [esi + 6], 0
add esi, 7
mov byte [esi], 0
sub esi, edi
inc esi
push esi
call ebx
mov word [edi], ax
add edi, esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0
call esi
push dword [ebp - 0x4c]
mov dword [edi], eax
call ebx
push dword [ebp - 0x50]
mov word [edi + 4], ax
call ebx
push dword [ebp - 0x54]
mov word [edi + 6], ax
call ebx
push dword [ebp - 0x58]
mov word [edi + 8], ax
call ebx
push 0
mov word [edi + 0xa], ax
call ebx
push 0
mov word [edi + 0xc], ax
call ebx
push dword [ebp - 0x5c]
mov word [edi + 0xe], ax
call esi
push dword [ebp - 0x64]
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x60]
mov byte [edi + 0x14], al
call esi
push dword [ebp - 0x68]
mov dword [edi + 0x15], eax
add edi, 0x19
call esi
mov esi, dword [ebp - 8]
mov dword [edi], eax
sub edi, esi
add edi, 4
push edi
call ebx
mov word [esi], ax
add esi, edi
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_P.PetID_P.PetStatus_P.PetStrengLevel_FROM_PlayerPetInfo_P_join_Item_I_on_P.PetIDI.ItemID_and_P.UinI.Uin_where_I.Status1_and_I.Uin__
push dword [ebp - 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x451c68
mov edi, dword [ebp - 0x10]
push edi
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 4]
lea eax, [esi + 2]
mov dword [ebp - 0xc], eax
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x10
cmp eax, 0x64
jne 0x451c5e
push 1
call ebx
mov word [esi], ax
mov esi, dword [ebp - 0xc]
push 0
mov dword [ebp - 8], esi
call ebx
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov word [esi], ax
call edi
mov dword [esi + 2], eax
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call edi
mov dword [esi + 6], eax
xorps xmm0, xmm0
movups xmmword [esi + 0xa], xmm0
mov byte [esi + 0x1a], 0
mov eax, dword [0x4bc630]
mov dword [esi + 0xa], eax
mov al, byte [0x4bc634]
push 0
mov byte [esi + 0xe], al
call edi
push 0
mov dword [esi + 0x1b], eax
call edi
mov dword [esi + 0x1f], eax
mov byte [esi + 0x23], 0
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov byte [esi + 0x24], al
push 0
call ebx
mov word [esi + 0x25], ax
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call edi
mov dword [esi + 0x27], eax
mov byte [esi + 0x2b], 4
add esi, 0x2c
push 0
call ebx
push 0
mov word [esi], ax
call edi
mov dword [esi + 2], eax
push 7
mov byte [esi + 6], 1
call ebx
mov word [esi], ax
sub esi, dword [ebp - 8]
add esi, 7
push esi
call ebx
mov ecx, dword [ebp - 8]
mov word [ecx], ax
add ecx, esi
mov esi, ecx
jmp 0x451c6e
push 0
call ebx
mov word [esi], ax
mov esi, dword [ebp - 0xc]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
mov byte [esi], 0
inc esi
mov dword [ebp - 8], esi
push 0
call ebx
push 0
mov word [esi], ax
call edi
push 0
mov dword [esi + 2], eax
call edi
push 0
mov dword [esi + 6], eax
call edi
push 0xa
mov dword [esi + 6], eax
call ebx
mov ecx, esi
lea edi, [esi + 0xa]
push 0
mov word [ecx], ax
mov byte [edi], 0
call ebx
push 0
mov word [edi + 1], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [edi + 3], eax
xorps xmm0, xmm0
movups xmmword [edi + 7], xmm0
push 0
mov byte [edi + 0x17], 0
call ebx
mov word [edi + 0x18], ax
push 0x1b
mov word [edi + 0x1a], 0
call ebx
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push 0
mov word [edi + 1], ax
call esi
push 0
mov dword [edi + 0x1c], eax
call esi
push 0
mov dword [edi + 0x20], eax
call esi
push 0
mov dword [edi + 0x24], eax
call ebx
mov word [edi + 0x28], ax
push 3
mov byte [edi + 0x2a], 0
call ebx
mov word [edi + 0x28], ax
push 0
mov word [edi + 0x2b], 0
call esi
push 0
mov dword [edi + 0x2d], eax
call ebx
mov word [edi + 0x31], ax
push 0
mov byte [edi + 0x33], 0
call esi
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x34], eax
mov word [edi + 0x38], 0
add edi, 0x3a
push 1
push 1
mov byte [edi], 0
movzx eax, word [ecx + 0x10]
push eax
push 1
push eax
lea eax, [ebp - 0x2068]
sub edi, eax
inc edi
mov edx, 0x7a
push edi
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret