Function at 0x4292b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x201c
call fcn.004340e0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push esi
mov esi, edx
mov dword [ebp - 8], esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], edi
test ebx, ebx
jne 0x429388
push ebx
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_KartHeadRefitItemID_KartTailRefitItemID_KartFlankRefitItemID_KartTireRefitItemID__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 0x429375
push dword [edi + 0x18]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 8]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x429372
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push ebx
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call esi
push 2
push dword [ebp - 4]
mov dword [ebp - 0x10], eax
call esi
push 3
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call esi
add esp, 0x20
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0
call edi
push esi
mov esi, dword [sym.imp.WS2_32.dll_htonl]
mov word [ebp - 0x201c], ax
mov byte [ebp - 0x201a], 0
call esi
push 0
mov dword [ebp - 0x2019], eax
call edi
push 0xa
mov dword [ebp - 0x2013], 0
mov dword [ebp - 0x200f], 0
call edi
push dword [ebp - 0xc]
mov word [ebp - 0x2015], ax
mov byte [ebp - 0x200b], 4
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x200a], eax
call esi
push dword [ebp - 0x14]
mov dword [ebp - 0x2006], eax
call esi
push dword [ebp - 0x18]
mov dword [ebp - 0x2002], eax
call esi
push ebx
mov dword [ebp - 0x1ffe], eax
call esi
push 0
mov dword [ebp - 0x1ffa], eax
call edi
push 0
call esi
push dword [ebp - 8]
mov dword [ebp - 0x1ff4], eax
call esi
push 0
mov dword [ebp - 0x1ff0], eax
call esi
push 0
mov dword [ebp - 0x1fec], eax
call edi
push 0
mov word [ebp - 0x1fe8], ax
call edi
push 0
mov word [ebp - 0x1fe6], ax
call edi
push 0
mov word [ebp - 0x1fe4], ax
call edi
push 0
mov word [ebp - 0x1fe2], ax
call edi
push 0
mov word [ebp - 0x1fe0], ax
call edi
push 0
mov word [ebp - 0x1fde], ax
call esi
push 0
mov dword [ebp - 0x1fdc], eax
call esi
push 0
mov dword [ebp - 0x1fd8], eax
call esi
push 0
mov dword [ebp - 0x1fd4], eax
call esi
push 0
mov dword [ebp - 0x1fd0], eax
call esi
push 0
mov dword [ebp - 0x1fcc], eax
call edi
mov dword [ebp - 0x1fc6], 0
mov dword [ebp - 0x1fc2], 0
push 0xa
call edi
push 0
mov word [ebp - 0x1fc8], ax
call esi
push 0
mov dword [ebp - 0x1fbe], eax
call edi
push 0
mov word [ebp - 0x1fba], ax
call edi
push 0
mov word [ebp - 0x1fb8], ax
call edi
push 0
mov word [ebp - 0x1fb6], ax
call edi
push 0
mov word [ebp - 0x1fb4], ax
call edi
push 0
mov word [ebp - 0x1fb2], ax
call edi
push ebx
mov word [ebp - 0x1fb0], ax
call esi
push 0x457
mov dword [ebp - 0x1fae], eax
mov byte [ebp - 0x1faa], 0xa
call esi
push ebx
mov dword [ebp - 0x1fa9], eax
call esi
push 0x55
mov dword [ebp - 0x1fa5], eax
call edi
mov ecx, dword [ebp - 0x1c]
mov edx, 0x13c
push ecx
push 1
mov word [ebp - 0x1ff6], ax
movzx eax, word [ecx + 0x10]
push eax
push 1
push eax
lea eax, [ebp - 0x201c]
push 0x7b
push eax
call fcn.004202d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret