Function at 0x41fc80
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x204c
call fcn.00463070
push ebx
push esi
mov esi, edx
mov dword [ebp - 0x48], 0xffffffff
xor edx, edx
mov dword [ebp - 0x44], 0xffffffff
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41fcd1
cmp dword [eax + 0x44], edx
jne 0x41fcba
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x38]
mov edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x44], eax
mov eax, dword [esi + 0x3c]
mov dword [ebp - 0x40], 0xffffffff
mov dword [ebp - 0x3c], 0xffffffff
test eax, eax
je 0x41fd06
cmp dword [eax + 0x44], 0
jne 0x41fcf3
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x3c]
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x34], 0xffffffff
test eax, eax
je 0x41fd3b
cmp dword [eax + 0x44], 0
jne 0x41fd28
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x40]
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x38], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x30], 0xffffffff
mov dword [ebp - 0x2c], 0xffffffff
test eax, eax
je 0x41fd70
cmp dword [eax + 0x44], 0
jne 0x41fd5d
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x44]
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
test eax, eax
je 0x41fda5
cmp dword [eax + 0x44], 0
jne 0x41fd92
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x48]
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x4c]
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
test eax, eax
je 0x41fdda
cmp dword [eax + 0x44], 0
jne 0x41fdc7
mov dword [eax + 0x44], 0xffffffff
mov ecx, dword [esi + 0x4c]
inc edx
mov dword [ebp - 4], edx
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0x44]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
lea edx, [ebp - 0x18]
push 6
lea ecx, [ebp - 0x48]
call fcn.00427cb0
mov ecx, dword [ebp - 4]
lea esi, [ebp - 0x2047]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
xor edx, edx
add esp, 8
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x2048], cl
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x420184
nop dword [eax]
mov eax, dword [ebp + edx*8 - 0x44]
lea edi, [edx + 1]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
mov dword [ebp - 0x18], edi
mov eax, 0x1388
je 0x41fe3c
mov eax, 0x2710
cdq
idiv edi
mov edx, dword [ebp - 0x10]
mov edi, eax
mov eax, 0x3e8
imul edi, ecx
xor ecx, ecx
cmp dword [ebp - 8], 0xffffffff
cmovne ecx, eax
mov eax, dword [ebp + edx*8 - 0x48]
cmp eax, dword [ebx + 0x18]
jne 0x41fef3
add dword [ebx + 0x124], edi
lea eax, [ebp - 8]
add dword [ebx + 0x128], ecx
push 0
push eax
push 0xffffffffffffffff
mov dword [ebx + 0xa4], edx
push str.UPDATE_BaseInfo_SET_Experience_____SuperMoney____WHERE_Uin____
push dword [0x4d1304]
mov dword [ebp - 8], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x41feec
push dword [ebx + 0x124]
push 1
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebx + 0x128]
push 2
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebx + 0x18]
push 3
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
push dword [ebp - 8]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov ecx, ebx
call fcn.0045eba0
push 0
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi], ax
mov eax, dword [ebp - 0x10]
push dword [ebp + eax*8 - 0x48]
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 2], eax
mov eax, dword [ebp - 0x10]
push dword [ebp + eax*8 - 0x44]
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 6], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0
mov dword [esi + 0xa], eax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x12c
mov dword [esi + 0xe], eax
call dword [sym.imp.WS2_32.dll_htonl]
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x12], eax
call edi
push 0
mov dword [esi + 0x16], eax
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
push str.SELECT_Experience__FROM_BaseInfo__WHERE_Uin__
push dword [ebx + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x14
test eax, eax
jne 0x41ffa5
mov eax, dword [ebp - 0x10]
push dword [ebp + eax*8 - 0x48]
push 1
push dword [ebp - 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0xc
push dword [ebp - 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 4
cmp eax, 0x64
jne 0x41ffa5
push 0
push dword [ebp - 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_column_int]
add esp, 8
mov dword [ebp - 0x14], eax
push dword [ebp - 0xc]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 0xc], 0
push dword [ebp - 0x14]
call edi
mov dword [esi + 0x1a], eax
push 3
mov byte [esi + 0x1e], 0xa
call edi
push 6
mov dword [esi + 0x1f], eax
call edi
push 7
mov dword [esi + 0x23], eax
call edi
push 8
mov dword [esi + 0x27], eax
call edi
push 0x10
mov dword [esi + 0x2b], eax
call edi
push 0x1a
mov dword [esi + 0x2f], eax
call edi
push 0x1e
mov dword [esi + 0x33], eax
call edi
push 0x1f
mov dword [esi + 0x37], eax
call edi
push 0x22
mov dword [esi + 0x3b], eax
call edi
push 0x23
mov dword [esi + 0x3f], eax
call edi
push 0
mov dword [esi + 0x43], eax
call edi
push 0
mov dword [esi + 0x47], eax
call edi
push 0
mov dword [esi + 0x4b], eax
call edi
push 0
mov dword [esi + 0x4f], eax
call edi
push 0
mov dword [esi + 0x53], eax
call edi
push 0
mov dword [esi + 0x57], eax
call edi
push 0
mov dword [esi + 0x5b], eax
call edi
push 0
mov dword [esi + 0x5f], eax
call edi
push 0
mov dword [esi + 0x63], eax
call edi
push 0
mov dword [esi + 0x67], eax
call edi
mov dword [esi + 0x6b], eax
push 0
mov byte [esi + 0x6f], 0
call edi
push 0
mov dword [esi + 0x70], eax
call edi
mov dword [esi + 0x74], eax
push 0
mov byte [esi + 0x78], 0
call edi
push 0
mov dword [esi + 0x79], eax
call edi
push 0
mov dword [esi + 0x7d], eax
call edi
push 0
mov dword [esi + 0x81], eax
call edi
push 0
mov dword [esi + 0x85], eax
call edi
mov dword [esi + 0x89], eax
push 0
mov byte [esi + 0x8d], 0
call edi
push 0
mov dword [esi + 0x8e], eax
call edi
push 0
mov dword [esi + 0x92], eax
call edi
mov dword [esi + 0x96], eax
push 0
mov byte [esi + 0x9a], 0
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebx + 0x30]
mov word [esi + 0x9b], ax
mov byte [esi + 0x9d], 1
call dword [sym.imp.WS2_32.dll_htonl]
push 0xa
mov dword [esi + 0x9e], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0xb
mov dword [esi + 0xa2], eax
call edi
mov word [esi + 0x9b], ax
mov dword [esi + 0xa6], 0
push 0
mov dword [esi + 0xaa], 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0xae], eax
push 0
mov dword [esi + 0xb2], 0
call edi
mov word [esi + 0xb6], ax
push 6
mov dword [esi + 0xb8], 0
call edi
mov word [esi + 0xb6], ax
lea edi, [esi + 0xbd]
mov byte [esi + 0xbc], 0
mov byte [edi], 0
sub edi, esi
inc edi
push edi
call dword [sym.imp.WS2_32.dll_htons]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov word [esi], ax
add esi, edi
mov dword [ebp - 0x10], edx
cmp edx, ecx
jb 0x41fe20
mov edi, dword [sym.imp.WS2_32.dll_htonl]
push 0
mov byte [esi], 0
call edi
push 0
mov dword [esi + 1], eax
call edi
mov dword [esi + 5], eax
mov word [esi + 9], 0
push 0
mov byte [esi + 0xb], 1
call dword [sym.imp.WS2_32.dll_htons]
push dword [ebx + 0x18]
mov word [esi + 0xc], ax
call dword [sym.imp.WS2_32.dll_htonl]
push 0x3e8
mov dword [esi + 0xe], eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 0x12], eax
push 0xb
mov byte [esi + 0x16], 1
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0xc], ax
mov edx, 0x201
movzx eax, word [ebx + 0x10]
mov ecx, ebx
push 1
mov dword [esi + 0x17], 0
mov dword [esi + 0x1b], 0
push 2
push eax
movzx eax, word [ebx + 0x36]
mov byte [esi + 0x1f], 0
add esi, 0x20
push 3
push eax
lea eax, [ebp - 0x2048]
mov byte [esi], 0
sub esi, eax
inc esi
push esi
push eax
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret