Function at 0x42bbc0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004340e0
push ebx
mov eax, edx
mov dword [ebp - 0x20], ecx
push esi
mov esi, dword [sym.imp.WS2_32.dll_htons]
lea ecx, [ebp - 0x2024]
mov dword [ebp - 0x24], eax
movzx eax, word [eax]
push edi
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
call esi
mov ecx, dword [ebp - 4]
lea edx, [ebp - 4]
mov ebx, dword [ebp + 8]
mov word [ecx], ax
mov ecx, ebx
movzx eax, word [ebx + 0x10]
add dword [ebp - 4], 2
push eax
push dword [ebp + 0xc]
push dword [ebx + 0x18]
call fcn.00424160
mov edi, dword [ebp - 4]
add esp, 0xc
push 0
call esi
mov word [edi], ax
push dword [ebx + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
call ebx
push 0
mov dword [edi + 2], eax
call ebx
push 0
mov dword [edi + 6], eax
call ebx
mov dword [edi + 0xa], eax
xorps xmm0, xmm0
movups xmmword [edi + 0xe], xmm0
push 0
mov byte [edi + 0x1e], 0
call ebx
push 0
mov dword [edi + 0x1f], eax
call ebx
push 0
mov dword [edi + 0x23], eax
call ebx
push 0
mov dword [edi + 0x27], eax
call ebx
mov dword [edi + 0x2b], eax
add edi, 0x2f
mov eax, dword [sym.imp.WS2_32.dll_htons]
mov byte [edi], 4
mov esi, dword [ebp - 4]
sub edi, esi
inc edi
push edi
call eax
mov word [esi], ax
lea eax, [ebp - 8]
add dword [ebp - 4], edi
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_KartHeadRefitItemID_KartTailRefitItemID_KartFlankRefitItemID_KartTireRefitItemID_ShapeSuitID_FROM_KartRefit_WHERE_Uin____and_KartID____
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x42bd2c
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [edi + 0x18]
push 1
push dword [ebp - 8]
call esi
push dword [edi + 0x30]
push 2
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x42bd2c
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [ebp - 8]
call esi
push 1
push dword [ebp - 8]
mov dword [ebp - 0xc], eax
call esi
push 2
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
call esi
push 3
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
call esi
push 4
push dword [ebp - 8]
mov dword [ebp - 0x18], eax
call esi
add esp, 0x28
mov dword [ebp - 0x1c], eax
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov edi, dword [sym.imp.WS2_32.dll_htons]
add esp, 4
mov dword [ebp - 8], 0
push 1
call edi
mov ecx, dword [ebp - 4]
push 0
mov word [ecx], ax
mov esi, dword [ebp - 4]
add esi, 2
mov dword [ebp - 4], esi
call edi
mov word [esi], ax
lea edi, [esi + 2]
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
call ebx
mov dword [edi], eax
push dword [esi + 0x30]
call ebx
push 0
mov dword [edi + 4], eax
call ebx
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0
mov dword [edi + 8], eax
call esi
push 0
mov word [edi + 0xc], ax
call esi
push 0
mov word [edi + 0xe], ax
call esi
push 0
mov word [edi + 0x10], ax
call esi
push 0
mov word [edi + 0x12], ax
call esi
push 0
mov word [edi + 0x14], ax
call esi
push 0
mov word [edi + 0x16], ax
call ebx
push dword [ebp - 0xc]
mov dword [edi + 0x18], eax
call ebx
push dword [ebp - 0x10]
mov dword [edi + 0x1c], eax
call ebx
push dword [ebp - 0x14]
mov dword [edi + 0x20], eax
call ebx
push dword [ebp - 0x18]
mov dword [edi + 0x24], eax
call ebx
push 0
mov dword [edi + 0x28], eax
call ebx
push 0
mov dword [edi + 0x2c], eax
call esi
push 0
mov word [edi + 0x30], ax
call esi
push 0
mov word [edi + 0x32], ax
call esi
push 0
mov word [edi + 0x34], ax
call esi
push 0
mov word [edi + 0x36], ax
call esi
push 0
mov word [edi + 0x38], ax
call esi
mov word [edi + 0x3a], ax
mov esi, dword [ebp - 0x1c]
push esi
call ebx
mov dword [edi + 0x3c], eax
push 0x457
mov byte [edi + 0x40], 0xa
call ebx
mov dword [edi + 0x41], eax
add edi, 0x45
push esi
call ebx
mov dword [edi], eax
mov esi, dword [ebp - 4]
sub edi, esi
mov eax, dword [sym.imp.WS2_32.dll_htons]
add edi, 4
push edi
call eax
mov word [esi], ax
mov esi, dword [ebp - 4]
add esi, edi
push 0
mov dword [ebp - 4], esi
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esi], ax
lea edi, [esi + 2]
call ebx
mov dword [edi], eax
add edi, 4
push 0
call ebx
mov dword [edi], eax
mov esi, dword [ebp - 4]
sub edi, esi
add edi, 4
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov edx, 0x1f4
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 0x20]
add ecx, edi
push ecx
push 2
mov dword [ebp - 4], ecx
movzx eax, word [esi + 0x10]
push eax
mov eax, dword [ebp - 0x24]
push 2
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x2024]
sub ecx, eax
push ecx
push eax
mov ecx, esi
call fcn.004202d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret