Function at 0x441d30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x203c
call fcn.00463070
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, ecx
push edi
push dword [edx]
mov dword [ebp - 0x1c], ebx
lea edi, [edx + 4]
call esi
mov edx, dword [edi]
push edx
mov dword [ebp - 0x14], eax
call esi
mov ecx, dword [edi + 4]
push ecx
call esi
push dword [edi + 8]
mov dword [ebp - 0xc], eax
call esi
push dword [edi + 0xc]
mov dword [ebp - 0x10], eax
call esi
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x1a0]
or edi, 0xffffffff
push ecx
push edi
push str.SELECT_ID_FROM_KartStoneGroove_WHERE_Uin__AND_KartID__
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0x18], eax
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0x14
test eax, eax
jne 0x441de2
push dword [ebp - 0x14]
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0xc]
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 0x441de2
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov edi, eax
push dword [ebp - 4]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_finalize]
call ebx
add esp, 4
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
je 0x441f6e
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_SkillStoneID_FROM_KartStone_WHERE_ID__AND_StoneGrooveID__
push dword [ebp - 0x18]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x441e51
push edi
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
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 0x441e51
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov dword [ebp - 8], eax
push dword [ebp - 4]
call ebx
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0xffffffff
je 0x441f6e
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.UPDATE_KartStone_SET_SkillStoneID0_WHERE_ID__AND_StoneGrooveID_
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x441ea8
push edi
push 1
push dword [ebp - 4]
call esi
push dword [ebp - 0x10]
push 2
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
push dword [ebp - 4]
call ebx
mov ebx, dword [ebp - 8]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x1c]
mov ecx, edi
mov edx, dword [ebp - 0x14]
push 0
push 0
push 1
push ebx
mov dword [ebp - 4], 0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x3c], ebx
call fcn.00412360
mov dword [ebp - 0x38], eax
mov edx, 1
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0044fd30
mov edx, dword [ebp - 0xc]
mov ecx, edi
call fcn.0044f0f0
push 1
mov edx, 0x5642
mov ecx, edi
call fcn.00450270
mov esi, dword [sym.imp.WS2_32.dll_htonl]
add esp, 0x1c
push 0
call esi
push dword [ebp - 0xc]
mov dword [ebp - 0x203c], eax
call esi
push dword [ebp - 0x10]
mov dword [ebp - 0x2038], eax
call esi
push dword [ebp - 0x20]
mov dword [ebp - 0x2034], eax
call esi
push ebx
mov dword [ebp - 0x2030], eax
call esi
push 1
push 1
mov dword [ebp - 0x202c], eax
mov edx, 0x390
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [ebp - 0x203c]
push 0x14
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret