Function at 0x44a670
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2030
call fcn.00463070
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], 0
mov eax, dword [edi]
push eax
call esi
mov eax, dword [edi + 4]
add edi, 8
push eax
call esi
mov ecx, edi
mov dword [ebp - 0x20], edi
call fcn.0042c9b0
mov dword [ebp - 8], eax
mov al, byte [edi + 0x11]
mov byte [ebp - 0x18], al
mov al, byte [edi + 0x12]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x28], al
test al, al
jne 0x44a6e9
push 0
call fcn.00480067
push eax
call fcn.0048048b
add esp, 8
call fcn.0048046a
cdq
mov ecx, 3
idiv ecx
mov eax, edx
inc al
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x28], al
mov eax, dword [ebx + 0x1a0]
lea ecx, [ebp - 4]
push 0
push ecx
push 0xffffffffffffffff
push str.SELECT_1_FROM_BaseInfo_Where_NickName__
push eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], eax
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x14
test eax, eax
jne 0x44a764
mov edx, dword [ebp - 8]
test edx, edx
je 0x44a74c
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a730
sub ecx, dword [ebp - 0x14]
push 0xffffffffffffffff
push ecx
push edx
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text]
add esp, 0x14
push dword [ebp - 4]
call esi
xor ecx, ecx
add esp, 4
cmp eax, 0x64
mov edx, 1
cmove ecx, edx
mov dword [ebp - 0x14], ecx
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0
je 0x44a812
push 0xffff
call dword [sym.imp.WS2_32.dll_htons]
movups xmm0, xmmword [0x4bc638]
mov word [ebp - 0x2030], ax
mov edx, 0x6e
mov eax, dword [0x4bc650]
mov ecx, ebx
mov dword [ebp - 0x2015], eax
mov ax, word [0x4bc654]
mov word [ebp - 0x2011], ax
mov al, byte [0x4bc656]
push 1
mov byte [ebp - 0x200f], al
movzx eax, word [ebx + 0x10]
push 1
push eax
movzx eax, word [ebx + 0x34]
push 2
push eax
movups xmmword [ebp - 0x202d], xmm0
lea eax, [ebp - 0x2030]
mov byte [ebp - 0x202e], 0x1f
movq xmm0, qword [0x4bc648]
push 0x22
push eax
movq qword [ebp - 0x201d], xmm0
call fcn.00437370
push dword [ebp - 8]
call fcn.00462046
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_Player__Uin_VipFlag_NobleID__VALUES_________
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x44a868
push dword [ebx + 0x18]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 0x107
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebx + 0x18]
push 3
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push dword [ebp - 4]
call esi
add esp, 0x28
jmp 0x44a882
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4b6e7c
call fcn.00413de0
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_BaseInfo__Uin_NickName_Gender_Country_SuperMoney__VALUES__________2000__
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x44a91b
push dword [ebx + 0x18]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov ebx, dword [ebp - 8]
add esp, 0xc
test ebx, ebx
je 0x44a8f1
mov ecx, ebx
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x44a8d0
push 0xffffffffffffffff
sub ecx, edx
push ecx
push ebx
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text]
push ebx
call fcn.00462046
add esp, 0x18
movzx eax, byte [ebp - 0x18]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push eax
push 3
push dword [ebp - 4]
call ebx
mov eax, dword [ebp - 0x24]
movzx eax, al
push eax
push 4
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call esi
add esp, 0x1c
jmp 0x44a935
push dword [0x4d1304]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4b6e7c
call fcn.00413de0
add esp, 0xc
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov eax, dword [edi + 0x13]
add esp, 4
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], 0
push eax
call ebx
mov ecx, dword [edi + 0x17]
mov esi, eax
add edi, 0x1b
push ecx
mov dword [ebp - 8], edi
call ebx
mov edi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add eax, 4
push ecx
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add eax, 4
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add eax, 4
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add eax, 4
push ecx
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
push 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 0xffffffffffffffff
push 1
push 0x6a2a
mov edx, dword [eax + 0x18]
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a2b
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a2c
call fcn.00412360
mov eax, dword [ebp - 0xc]
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a2d
mov ecx, eax
call fcn.00412360
mov eax, dword [ebp - 0xc]
add esp, 0x40
mov ecx, eax
mov edx, dword [eax + 0x18]
push 1
push 0xffffffffffffffff
push 1
push 0x6a2e
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a36
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a37
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a38
call fcn.00412360
mov eax, dword [ebp - 0xc]
add esp, 0x40
mov ecx, eax
mov edx, dword [eax + 0x18]
push 1
push 0xffffffffffffffff
push 1
push 0x6a39
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push 0x6a3a
call fcn.00412360
mov eax, dword [ebp - 0xc]
mov ecx, eax
push 1
push 0xffffffffffffffff
push 1
mov edx, dword [eax + 0x18]
push esi
call fcn.00412360
push 1
push 0xffffffffffffffff
push 1
push edi
mov edi, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [edi + 0x18]
call fcn.00412360
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push ebx
call fcn.00412360
mov edx, dword [edi + 0x18]
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x24]
mov ecx, edi
call fcn.00412360
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x14]
call fcn.00412360
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x2c]
call fcn.00412360
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x30]
call fcn.00412360
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 8]
call fcn.00412360
mov ebx, dword [0x4d2bd4]
add esp, 0x20
mov esi, dword [0x4d2bd0]
cmp esi, ebx
je 0x44ab95
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push dword [esi + 8]
push dword [esi + 4]
push dword [esi]
call fcn.00412360
add esi, 0x1c
add esp, 0x10
cmp esi, ebx
jne 0x44ab77
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_ItemID_ItemNum_AvailPeriod_Status_ObtainTime_OtherAttribute__FROM_Item_WHERE_Uin____
push esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 0xd], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 0x14
test eax, eax
jne 0x44acbf
push dword [edi + 0x18]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
mov eax, dword [ebp - 4]
add esp, 0xc
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
test eax, eax
je 0x44acea
push eax
call esi
add esp, 4
cmp eax, 0x64
jne 0x44acea
lea esi, [ebp - 0x160c]
mov dword [ebp - 8], esi
push 0
push dword [ebp - 4]
call ebx
push 1
push dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov dword [esi - 4], eax
call ebx
push 2
push dword [ebp - 4]
mov dword [esi], eax
call ebx
push 3
push dword [ebp - 4]
mov dword [esi + 4], eax
call ebx
mov esi, eax
mov eax, dword [ebp - 8]
test esi, esi
push 4
push dword [ebp - 4]
setne cl
mov byte [eax + 8], cl
call ebx
mov ecx, dword [ebp - 8]
push 5
push dword [ebp - 4]
mov dword [ecx + 0xc], eax
call ebx
mov ecx, dword [ebp - 8]
add esp, 0x30
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 0
test esi, esi
je 0x44ac7c
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], esi
call fcn.0042b840
mov eax, dword [eax]
test eax, eax
je 0x44ac7c
cmp dword [eax + 4], 1
jne 0x44ac7c
mov dword [edi + 0x30], esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 8]
inc eax
add esi, 0x1c
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], esi
cmp eax, 0xc8
jae 0x44acb3
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x44ac02
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
mov eax, dword [ebp - 0x14]
jmp 0x44acec
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
mov byte [ebp - 0xd], 1
jmp 0x44acec
push esi
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4b6e7c
call fcn.00413de0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x10
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 0x1610]
push ecx
push eax
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.0044ae80
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x44ae30
cmp byte [ebp - 0xd], 0
je 0x44ae1f
nop dword [eax]
push eax
mov dword [ebp - 0x18], 0
call esi
add esp, 4
cmp eax, 0x64
jne 0x44ae04
lea esi, [ebp - 0x160c]
nop dword [eax]
push 0
push dword [ebp - 4]
call ebx
push 1
push dword [ebp - 4]
mov dword [ebp - 0x20], eax
mov dword [esi - 4], eax
call ebx
push 2
push dword [ebp - 4]
mov dword [esi], eax
call ebx
push 3
push dword [ebp - 4]
mov dword [esi + 4], eax
call ebx
mov edi, eax
test edi, edi
push 4
push dword [ebp - 4]
setne cl
mov byte [esi + 8], cl
call ebx
push 5
push dword [ebp - 4]
mov dword [esi + 0xc], eax
call ebx
add esp, 0x30
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
test edi, edi
je 0x44adb4
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], edi
call fcn.0042b840
mov eax, dword [eax]
test eax, eax
je 0x44adb4
cmp dword [eax + 4], 1
jne 0x44adb4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], edi
mov edi, dword [ebp - 0x18]
add esi, 0x1c
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0xc8
jae 0x44ade0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x44ad40
mov ecx, dword [ebp - 0xc]
jmp 0x44ae08
lea eax, [ebp - 0x1610]
mov edx, edi
mov edi, dword [ebp - 0xc]
mov ecx, edi
push eax
call fcn.0044ff30
mov eax, dword [ebp - 4]
add esp, 4
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
jmp 0x44ad20
mov ecx, edi
xor edi, edi
lea eax, [ebp - 0x1610]
mov edx, edi
push eax
call fcn.0044ff30
mov eax, dword [ebp - 4]
add esp, 4
mov edi, dword [ebp - 0xc]
push eax
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.WS2_32.dll_htons]
push dword [edi + 0x18]
mov word [ebp - 0x2030], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 1
push 1
mov dword [ebp - 0x202e], eax
mov edx, 0xb7
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [ebp - 0x2030]
push 6
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret