Function at 0x44c400
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x48c4
call fcn.00463070
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, edx
push edi
mov dword [esp + 0x20], ecx
mov eax, dword [ebx]
push eax
call esi
mov edx, dword [ebx + 4]
mov edi, eax
push edx
call esi
push dword [ebx + 8]
call esi
mov ecx, dword [ebx + 0x22]
push ecx
mov dword [esp + 0x2c], eax
call esi
mov ecx, dword [ebx + 0x26]
push ecx
call esi
mov ecx, dword [ebx + 0x2a]
push ecx
mov dword [esp + 0x30], eax
call esi
push dword [ebx + 0x2e]
call esi
push dword [ebx + 0x33]
call esi
push dword [ebx + 0x37]
call esi
mov eax, dword [esp + 0x20]
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x28], 0
mov dword [eax + 0x18], edi
lea eax, [esp + 0x14]
mov edi, dword [esp + 0x24]
push eax
push 0xffffffffffffffff
push str.SELECT_PetID_PetLevel_PetStatus_PetStrengLevel_FROM_PlayerPetInfo_WHERE_Uin____
push dword [edi + 0x1a0]
mov byte [esp + 0x28], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x44c4ad
push dword [edi + 0x18]
push 1
push dword [esp + 0x18]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_step]
test eax, eax
je 0x44c553
push eax
call ebx
add esp, 4
cmp eax, 0x64
jne 0x44c553
lea eax, [esp + 0x2046]
mov dword [esp + 0x1c], eax
nop
push 0
push dword [esp + 0x14]
call esi
mov ecx, dword [esp + 0x24]
push 1
push dword [esp + 0x1c]
mov dword [ecx - 0x16], eax
call esi
mov ecx, dword [esp + 0x2c]
push 2
push dword [esp + 0x24]
mov word [ecx], ax
call esi
mov ecx, dword [esp + 0x34]
push 3
push dword [esp + 0x2c]
mov word [ecx + 2], ax
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0x20
mov word [ecx + 4], ax
add ecx, 0x34
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmp eax, 0xc8
jae 0x44c54c
push dword [esp + 0x10]
call ebx
add esp, 4
cmp eax, 0x64
je 0x44c4e0
mov eax, dword [esp + 0x24]
jmp 0x44c555
mov byte [esp + 0x14], 1
jmp 0x44c555
xor eax, eax
push dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x2034]
push ecx
push eax
push dword [esp + 0x38]
mov ecx, edi
call fcn.0044ca60
mov eax, dword [esp + 0x20]
add esp, 0x10
test eax, eax
je 0x44c667
cmp byte [esp + 0x14], 0
je 0x44c655
nop dword [eax + eax]
push eax
xor ebx, ebx
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x44c62d
lea edi, [esp + 0x2046]
nop dword [eax]
push 0
push dword [esp + 0x14]
call esi
push 1
push dword [esp + 0x1c]
mov dword [edi - 0x16], eax
call esi
push 2
push dword [esp + 0x24]
mov word [edi], ax
call esi
push 3
push dword [esp + 0x2c]
mov word [edi + 2], ax
call esi
inc ebx
mov word [edi + 4], ax
add esp, 0x20
lea edi, [edi + 0x34]
cmp ebx, 0xc8
jae 0x44c60a
push dword [esp + 0x10]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x44c5b0
mov edi, dword [esp + 0x20]
mov byte [esp + 0x14], 0
jmp 0x44c633
mov edi, dword [esp + 0x20]
lea eax, [esp + 0x2030]
push 1
push eax
mov edx, ebx
mov ecx, edi
call fcn.0044ded0
mov eax, dword [esp + 0x18]
add esp, 8
jmp 0x44c590
xor ebx, ebx
mov byte [esp + 0x14], bl
push dword [esp + 0x14]
lea eax, [esp + 0x2034]
mov ecx, edi
push eax
mov edx, ebx
call fcn.0044ded0
mov eax, dword [esp + 0x18]
add esp, 8
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_step]
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0x10], 0
mov ecx, edi
call fcn.0044afc0
push dword [edi + 0x18]
call dword [sym.imp.WS2_32.dll_htonl]
push 0x107
mov dword [esp + 0x34], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
mov word [esp + 0x38], ax
call dword [sym.imp.WS2_32.dll_htons]
push 0xa
mov word [esp + 0x3a], ax
call dword [sym.imp.WS2_32.dll_htons]
push 1
push 2
mov word [esp + 0x40], ax
mov edx, 0x3b4
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [esp + 0x44]
push 0xa
push eax
call fcn.00437370
add esp, 0x1c
mov ecx, edi
call fcn.00420a30
mov ecx, edi
call fcn.00423650
mov ecx, edi
call fcn.00423720
push 0
call dword [sym.imp.WS2_32.dll_htons]
push 0x7f
mov word [esp + 0x34], ax
mov byte [esp + 0x36], 0
call dword [sym.imp.WS2_32.dll_htonl]
push 1
mov dword [esp + 0x37], eax
mov edx, 0x2c5e
movzx eax, word [edi + 0x10]
mov ecx, edi
push 2
push eax
movzx eax, word [edi + 0x2c]
push 4
push eax
lea eax, [esp + 0x44]
push 7
push eax
call fcn.00437370
add esp, 0x1c
mov ecx, edi
call fcn.00420ba0
mov ecx, edi
call fcn.00421040
mov ecx, edi
call fcn.004211d0
mov ecx, edi
call fcn.00421da0
mov eax, dword [edi + 0x1a0]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0xffffffffffffffff
push str.SELECT_KartID_ID__FROM_KartStoneGroove_WHERE_Uin____
push eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov byte [esp + 0x28], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x44c7eb
push dword [edi + 0x18]
push 1
push dword [esp + 0x20]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x44c818
push eax
call ebx
add esp, 4
cmp eax, 0x64
jne 0x44c818
push 0
push dword [esp + 0x1c]
call esi
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x38]
push 1
push dword [esp + 0x24]
mov dword [edx + ecx*8], eax
call esi
mov ecx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + ecx*8 + 0x34], eax
inc ecx
mov dword [esp + 0x1c], ecx
cmp ecx, 0x32
jae 0x44c7e4
push dword [esp + 0x18]
call ebx
add esp, 4
cmp eax, 0x64
je 0x44c7a0
mov ecx, dword [esp + 0x1c]
jmp 0x44c81a
mov byte [esp + 0x14], 1
jmp 0x44c81a
push dword [esp + 0x28]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
add esp, 4
push eax
push 0x4b6e7c
call fcn.00413de0
push dword [esp + 0x20]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 0xc
mov dword [esp + 0x18], 0
xor ecx, ecx
push dword [esp + 0x14]
lea eax, [esp + 0x34]
mov edx, ecx
push eax
mov ecx, edi
call fcn.004206b0
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x44c8da
cmp byte [esp + 0x14], 0
je 0x44c8c8
push eax
xor edi, edi
call ebx
add esp, 4
cmp eax, 0x64
jne 0x44c8a2
push 0
push dword [esp + 0x1c]
call esi
push 1
push dword [esp + 0x24]
lea ecx, [esp + 0x40]
mov dword [ecx + edi*8], eax
call esi
mov dword [esp + edi*8 + 0x44], eax
add esp, 0x10
inc edi
cmp edi, 0x32
jae 0x44c887
push dword [esp + 0x18]
call ebx
add esp, 4
cmp eax, 0x64
je 0x44c853
jmp 0x44c8a4
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
push 1
push eax
mov edx, edi
call fcn.00420870
mov eax, dword [esp + 0x20]
add esp, 8
jmp 0x44c846
xor edi, edi
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x30]
mov byte [esp + 0x14], 0
mov edx, edi
push dword [esp + 0x14]
push eax
call fcn.00420870
mov eax, dword [esp + 0x20]
add esp, 8
mov edi, dword [esp + 0x20]
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [esp + 0x18], 0
mov ecx, edi
call fcn.0044b1a0
mov bl, byte [edi + 0x144]
mov esi, dword [sym.imp.WS2_32.dll_htons]
push 0
call esi
push 1
push 1
mov word [esp + 0x38], ax
mov edx, 0x652
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [esp + 0x44]
mov byte [esp + 0x46], bl
push 3
push eax
call fcn.00437370
add esp, 0x1c
mov ecx, edi
call fcn.0044bd10
mov ecx, edi
call fcn.0044b8b0
mov edx, dword [edi + 0x18]
mov ecx, edi
call fcn.00424280
push dword [edi + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
call ebx
push 0
mov dword [esp + 0x34], eax
call esi
push 0
mov word [esp + 0x38], ax
mov byte [esp + 0x3a], 0
call ebx
push 0
mov dword [esp + 0x3b], eax
call ebx
push 0
mov dword [esp + 0x3f], eax
call ebx
push 0
mov dword [esp + 0x43], eax
call ebx
push 0
mov dword [esp + 0x47], eax
lea ebx, [esp + 0x4d]
mov word [esp + 0x4b], 0x100
call esi
push 0
mov word [esp + 0x4d], ax
mov byte [esp + 0x4f], 1
call esi
push 4
mov word [esp + 0x50], ax
mov word [esp + 0x52], 0x506
call esi
mov word [esp + 0x4c], ax
lea eax, [esp + 0x50]
sub eax, ebx
push eax
call esi
push 1
push 2
mov word [esp + 0x51], ax
mov edx, 0x60bf
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [esp + 0x44]
push 0x20
push eax
call fcn.00437370
add esp, 0x1c
cmp dword [edi + 0x134], 0
je 0x44c9e3
mov ecx, edi
call fcn.00448ae0
mov ecx, edi
call fcn.0044c110
cmp dword [edi + 0xc4], 0
je 0x44c9fa
mov ecx, edi
call fcn.0044c1b0
mov ecx, dword [0x4d2c54]
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
cmp eax, ecx
je 0x44ca4d
mov esi, dword [0x4d2c58]
lea eax, [esp + 0x14]
xor edx, edx
add esi, 0xffffffe2
test esi, esi
mov ecx, edi
push eax
setg dl
call fcn.00448570
add esp, 4
test esi, esi
jle 0x44ca4d
nop dword [eax]
xor edx, edx
lea eax, [esp + 0x14]
sub esi, 0x1e
mov ecx, edi
test esi, esi
push eax
setg dl
call fcn.00448830
add esp, 4
test esi, esi
jg 0x44ca30
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret