Function at 0x44fd30
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2018
call fcn.00463070
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
push dword [edi + 0x18]
call ebx
push dword [edi + 0x18]
mov dword [ebp - 0x2018], eax
call ebx
push esi
mov dword [ebp - 0x2014], eax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0xc], 0
lea esi, [ebp - 0x200e]
mov word [ebp - 0x2010], ax
mov dword [ebp - 4], 0
jbe 0x44fee4
nop dword [eax + eax]
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov eax, dword [ebp + 8]
push dword [eax]
call ebx
push 0
mov dword [esi + 2], eax
call fcn.00480067
mov dword [ebp - 0x14], eax
lea ecx, [esi + 0xa]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 0x18], 0
push eax
mov eax, dword [ebp - 0x10]
push 0xffffffffffffffff
push str.SELECT_ItemNum_AvailPeriod_ObtainTime_OtherAttribute_FROM_Item_WHERE_Uin__AND_ItemID__
mov dword [ebp - 8], ecx
push dword [eax + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x44fe6b
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 + 8]
push dword [eax]
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x1c
cmp eax, 0x64
jne 0x44fe6b
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
push eax
call ebx
push 1
push dword [ebp - 4]
mov dword [esi + 6], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov ecx, 0xfffffffe
cmp eax, 0xffffffff
cmove eax, ecx
push eax
call ebx
mov edi, dword [ebp - 8]
push 2
push dword [ebp - 4]
mov dword [edi], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 3
push dword [ebp - 4]
mov dword [ebp - 0x14], eax
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 0x10
mov dword [ebp - 0x18], eax
jmp 0x44fe7b
push 1
call ebx
push 0xfffffffffffffffe
mov dword [esi + 6], eax
call ebx
mov edi, dword [ebp - 8]
mov dword [edi], eax
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov eax, dword [ebp + 8]
add esp, 4
mov ecx, 4
mov dword [ebp - 4], 0
mov al, byte [eax + 0xc]
push dword [ebp - 0x14]
mov byte [ecx + edi], al
add edi, ecx
call ebx
push dword [ebp - 0x18]
mov dword [edi + 1], eax
call ebx
mov dword [edi + 5], eax
add edi, 9
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0x18]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [edi], ax
sub edi, esi
add edi, 2
push edi
call dword [sym.imp.WS2_32.dll_htons]
add dword [ebp + 8], 0x1c
mov word [esi], ax
add esi, edi
sub dword [ebp - 0xc], 1
jne 0x44fd90
mov edi, dword [ebp - 0x10]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push 0
call ebx
push 0
mov word [esi], ax
call ebx
mov word [esi + 2], ax
mov edx, 0x211
movzx eax, word [edi + 0x10]
add esi, 4
push 1
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2018]
mov byte [esi], 0
sub esi, eax
mov ecx, edi
inc esi
push esi
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret