Function at 0x427c40
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb00
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, edx
mov dword [ebp - 0x10], ecx
push dword [edi]
call esi
push dword [edi + 4]
call esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.SELECT_KartID_RefitCout_MaxFlags_WWeight_SpeedWeight_JetWeight_SJetWeight_AccuWeight_ShapeRefitCount_KartHeadRefitItemID_KartTailRefitItemID_KartFlankRefitItemID_KartTireRefitItemID_ShapeSuitID_FROM_KartRefit_WHERE_Uin____
push dword [0x4918d8]
mov dword [ebp - 0xc], 0
mov byte [ebp - 8], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov edi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 0x14
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_step]
test eax, eax
jne 0x427d92
mov eax, dword [ebp - 0x10]
push dword [eax + 0x18]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
je 0x427dbc
push eax
call ebx
add esp, 4
cmp eax, 0x64
jne 0x427dbc
lea esi, [ebp - 0xafc]
push 0
push dword [ebp - 4]
call edi
push 1
push dword [ebp - 4]
mov dword [esi - 4], eax
call edi
push 2
push dword [ebp - 4]
mov dword [esi], eax
call edi
push 3
push dword [ebp - 4]
mov dword [esi + 4], eax
call edi
push 4
push dword [ebp - 4]
mov dword [esi + 8], eax
call edi
push 5
push dword [ebp - 4]
mov dword [esi + 0xc], eax
call edi
push 6
push dword [ebp - 4]
mov dword [esi + 0x10], eax
call edi
push 7
push dword [ebp - 4]
mov dword [esi + 0x14], eax
call edi
add esp, 0x40
mov dword [esi + 0x18], eax
push 8
push dword [ebp - 4]
call edi
push 9
push dword [ebp - 4]
mov dword [esi + 0x1c], eax
call edi
push 0xa
push dword [ebp - 4]
mov dword [esi + 0x20], eax
call edi
push 0xb
push dword [ebp - 4]
mov dword [esi + 0x24], eax
call edi
push 0xc
push dword [ebp - 4]
mov dword [esi + 0x28], eax
call edi
push 0xd
push dword [ebp - 4]
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
lea esi, [esi + 0x38]
mov eax, dword [ebp - 0xc]
add esp, 0x30
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 0x32
jae 0x427d8c
push dword [ebp - 4]
call ebx
add esp, 4
cmp eax, 0x64
je 0x427cd6
mov eax, dword [ebp - 0xc]
jmp 0x427dbe
mov byte [ebp - 8], 1
jmp 0x427dbe
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4802cc
call fcn.00410f10
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 0x10
mov dword [ebp - 4], 0
xor eax, eax
push dword [ebp - 8]
lea ecx, [ebp - 0xb00]
mov edx, eax
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00427f20
mov eax, dword [ebp - 4]
add esp, 8
test eax, eax
je 0x427f11
cmp byte [ebp - 8], 0
je 0x427f07
nop word [eax + eax]
xor edx, edx
push eax
mov dword [ebp - 8], edx
call ebx
add esp, 4
cmp eax, 0x64
jne 0x427ee8
lea esi, [ebp - 0xafc]
nop word [eax + eax]
push 0
push dword [ebp - 4]
call edi
push 1
push dword [ebp - 4]
mov dword [esi - 4], eax
call edi
push 2
push dword [ebp - 4]
mov dword [esi], eax
call edi
push 3
push dword [ebp - 4]
mov dword [esi + 4], eax
call edi
push 4
push dword [ebp - 4]
mov dword [esi + 8], eax
call edi
push 5
push dword [ebp - 4]
mov dword [esi + 0xc], eax
call edi
push 6
push dword [ebp - 4]
mov dword [esi + 0x10], eax
call edi
push 7
push dword [ebp - 4]
mov dword [esi + 0x14], eax
call edi
add esp, 0x40
mov dword [esi + 0x18], eax
push 8
push dword [ebp - 4]
call edi
push 9
push dword [ebp - 4]
mov dword [esi + 0x1c], eax
call edi
push 0xa
push dword [ebp - 4]
mov dword [esi + 0x20], eax
call edi
push 0xb
push dword [ebp - 4]
mov dword [esi + 0x24], eax
call edi
push 0xc
push dword [ebp - 4]
mov dword [esi + 0x28], eax
call edi
push 0xd
push dword [ebp - 4]
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
lea esi, [esi + 0x38]
mov eax, dword [ebp - 8]
add esp, 0x30
inc eax
mov dword [ebp - 8], eax
cmp eax, 0x32
jae 0x427eca
push dword [ebp - 4]
call ebx
add esp, 4
cmp eax, 0x64
je 0x427e10
mov edx, dword [ebp - 8]
mov byte [ebp - 0xc], 0
jmp 0x427eed
lea ecx, [ebp - 0xb00]
mov edx, eax
push 1
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.00428170
mov eax, dword [ebp - 4]
add esp, 8
jmp 0x427df0
xor edx, edx
mov byte [ebp - 0xc], dl
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xb00]
push ecx
mov ecx, eax
call fcn.00428170
mov eax, dword [ebp - 4]
add esp, 8
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret