Function at 0x4247b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x202c
call fcn.004340e0
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, ecx
push edi
mov edi, edx
mov dword [ebp - 0x14], 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 - 0x24], edi
call fcn.0041dc50
mov dword [ebp - 8], eax
mov al, byte [edi + 0x11]
mov byte [ebp - 0x18], al
mov al, byte [edi + 0x12]
push 0
mov byte [ebp - 0x28], al
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_Uin_FROM_BaseInfo_Where_NickName__
push dword [0x4918d8]
mov dword [ebp - 0x10], 0
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 0x424871
mov edx, dword [ebp - 8]
test edx, edx
je 0x424853
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x424837
sub ecx, dword [ebp - 0x1c]
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
add esp, 4
cmp eax, 0x64
jne 0x424871
push 0
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x4248ff
push 0xffff
call dword [sym.imp.WS2_32.dll_htons]
movq xmm0, qword [0x4827a4]
mov edx, 0x6e
mov word [ebp - 0x202c], ax
mov eax, dword [0x4827ac]
push ecx
mov dword [ebp - 0x2021], eax
mov ecx, ebx
mov al, byte [0x4827b0]
mov byte [ebp - 0x201d], al
movzx eax, word [ebx + 0x10]
push 1
push eax
movzx eax, word [ebx + 0x34]
push 2
push eax
lea eax, [ebp - 0x202c]
mov byte [ebp - 0x202a], 0xd
push 0x10
push eax
movq qword [ebp - 0x2029], xmm0
call fcn.004202d0
push dword [ebp - 8]
call fcn.00433246
add esp, 0x20
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push str.BEGIN
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.INSERT_INTO_Player__Uin_VipFlag_IsInTopList__VALUES_________
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x28
test eax, eax
jne 0x42496b
push dword [ebx + 0x18]
push 1
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 0x106
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 1
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 0x424985
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4802cc
call fcn.00410f10
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_Experience_SuperMoney_Money_Coupons_LuckMoney__VALUES_____________________
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x424a65
push dword [ebx + 0x18]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
push 1
push dword [ebp - 4]
call ebx
mov edx, dword [ebp - 8]
add esp, 0xc
test edx, edx
je 0x424a04
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1c], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4249e0
sub ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push ecx
push edx
push 2
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_text]
push dword [ebp - 8]
call fcn.00433246
add esp, 0x18
movzx eax, byte [ebp - 0x18]
push eax
push 3
push dword [ebp - 4]
call ebx
movzx eax, byte [ebp - 0x28]
push eax
push 4
push dword [ebp - 4]
call ebx
push 0x5f5e0ff
push 5
push dword [ebp - 4]
call ebx
push 0x5f5e0ff
push 6
push dword [ebp - 4]
call ebx
push 0x5f5e0ff
push 7
push dword [ebp - 4]
call ebx
push 0x5f5e0ff
push 8
push dword [ebp - 4]
call ebx
add esp, 0x48
push 0x5f5e0ff
push 9
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call esi
add esp, 0x10
jmp 0x424a7f
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_errmsg]
push eax
push 0x4802cc
call fcn.00410f10
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 - 0x1c], 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 - 0x10], 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 - 0x20], 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 - 0x14]
mov ecx, eax
push 0xffffffffffffffff
push 1
push esi
mov edx, dword [eax + 0x18]
call fcn.0040fc10
push 1
push 0xffffffffffffffff
push 1
push edi
mov edi, dword [ebp - 0x14]
mov ecx, edi
mov edx, dword [edi + 0x18]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push ebx
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x1c]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x10]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x2c]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 0x20]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push dword [ebp - 8]
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a2a
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a2b
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a2c
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a2d
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a2e
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a36
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a37
call fcn.0040fc10
push 1
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0xffffffffffffffff
push 1
push 0x6a38
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a39
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 1
push 0xffffffffffffffff
push 1
push 0x6a3a
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x31b0
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x1f84b
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x1f280
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x1f30e
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x48d3
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x1f312
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 0
push 0xffffffffffffffff
push 0xa
push 0x55dc
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0xffffffffffffffff
push 0xa
push 0x55e2
call fcn.0040fc10
push 0
push 0
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0x63
push 0x3058
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 0x63
push 0x3059
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 0
push 0
push 0x63
push 0x305a
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 0x63
push 0x305b
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 0x63
push 0x305c
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 1
push 0x27df
call fcn.0040fc10
mov edx, dword [edi + 0x18]
add esp, 0x40
mov ecx, edi
push 0
push 0xffffffffffffffff
push 1
push 0x2a27
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 0xc8
push 0x1f304
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 1
push 0x487a
call fcn.0040fc10
mov edx, dword [edi + 0x18]
mov ecx, edi
push 0
push 0
push 1
push 0x1d5c2
call fcn.0040fc10
add esp, 0x40
push 0
push 0
push 0
push str.COMMIT
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_exec]
mov dword [ebp - 0x10], 0
lea eax, [ebp - 4]
mov byte [ebp - 9], 0
push 0
push eax
push 0xffffffffffffffff
push str.SELECT_ItemID_ItemNum_AvailPeriod_Status_ObtainTime_OtherAttribute__FROM_Item_WHERE_Uin____
push dword [0x4918d8]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x28
test eax, eax
jne 0x424f5f
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 0x424f8f
push eax
call esi
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 4
cmp eax, 0x64
jne 0x424f95
lea esi, [ebp - 0x1608]
mov dword [ebp - 8], esi
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 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 0x424f1c
mov esi, dword [ebp - 0x20]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call fcn.0041d440
mov eax, dword [eax]
test eax, eax
je 0x424f1c
cmp dword [eax + 4], 1
jne 0x424f1c
mov dword [edi + 0x30], esi
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 8]
inc eax
add esi, 0x1c
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], esi
cmp eax, 0xc8
jae 0x424f53
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x424ea2
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
mov eax, dword [ebp - 0x10]
jmp 0x424f97
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
mov byte [ebp - 9], 1
jmp 0x424f97
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]
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
xor eax, eax
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x160c]
push ecx
push eax
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x18]
call fcn.00425130
mov eax, dword [ebp - 4]
add esp, 0x10
test eax, eax
je 0x4250e0
cmp byte [ebp - 9], 0
je 0x4250cf
nop word [eax + eax]
push eax
mov dword [ebp - 0x18], 0
call esi
add esp, 4
cmp eax, 0x64
jne 0x4250b4
lea esi, [ebp - 0x1608]
nop dword [eax]
push 0
push dword [ebp - 4]
call ebx
push 1
push dword [ebp - 4]
mov dword [ebp - 0x24], 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 0x425064
mov edi, dword [ebp - 0x24]
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], edi
call fcn.0041d440
mov eax, dword [eax]
test eax, eax
je 0x425064
cmp dword [eax + 4], 1
jne 0x425064
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], edi
mov edi, dword [ebp - 0x18]
add esi, 0x1c
inc edi
mov dword [ebp - 0x18], edi
cmp edi, 0xc8
jae 0x425090
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
je 0x424ff0
mov ecx, dword [ebp - 0x14]
jmp 0x4250b8
lea eax, [ebp - 0x160c]
mov edx, edi
mov edi, dword [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00428570
mov eax, dword [ebp - 4]
add esp, 4
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_step]
jmp 0x424fd0
mov ecx, edi
xor edi, edi
lea eax, [ebp - 0x160c]
mov edx, edi
push eax
call fcn.00428570
mov eax, dword [ebp - 4]
add esp, 4
mov edi, dword [ebp - 0x14]
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 - 0x202c], ax
call dword [sym.imp.WS2_32.dll_htonl]
push ecx
push 1
mov dword [ebp - 0x202a], eax
mov edx, 0xb7
movzx eax, word [edi + 0x10]
mov ecx, edi
push eax
push 1
push eax
lea eax, [ebp - 0x202c]
push 6
push eax
call fcn.004202d0
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret