Function at 0x41e9f0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2010
call fcn.00463070
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
mov esi, edx
mov dword [ebp - 0x10], edi
lea edx, [ebp - 0x2010]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edx
cmp dword [edi + 0x3c], 1
jne 0x41eb3c
push 0
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
push str.SELECT_Experience_SuperMoney_TotalHonor_FROM_BaseInfo_WHERE_Uin__
push dword [edi + 0x1a0]
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
mov ebx, dword [sym.imp.sqlite3.dll_sqlite3_bind_int]
add esp, 0x14
test eax, eax
jne 0x41ea98
push dword [edi + 0x18]
push 1
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x10
cmp eax, 0x64
jne 0x41ea98
mov esi, dword [sym.imp.sqlite3.dll_sqlite3_column_int]
push 0
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 4]
mov dword [edi + 0x124], eax
call esi
push 2
push dword [ebp - 4]
mov dword [edi + 0x128], eax
call esi
mov esi, dword [ebp - 8]
add esp, 0x18
mov dword [edi + 0x12c], eax
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add dword [edi + 0x124], 0x2710
lea eax, [ebp - 4]
add dword [edi + 0x128], 0x3e8
add dword [edi + 0x12c], 0x2710
push 0
push eax
push 0xffffffffffffffff
push str.UPDATE_BaseInfo_SET_Experience__SuperMoney__TotalHonor__WHERE_Uin__
push dword [0x4d1304]
mov dword [ebp - 4], 0
call dword [sym.imp.sqlite3.dll_sqlite3_prepare_v2]
add esp, 0x18
test eax, eax
jne 0x41eb23
push dword [edi + 0x124]
push 1
push dword [ebp - 4]
call ebx
push dword [edi + 0x128]
push 2
push dword [ebp - 4]
call ebx
push dword [edi + 0x12c]
push 3
push dword [ebp - 4]
call ebx
push dword [edi + 0x18]
push 4
push dword [ebp - 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_step]
add esp, 0x34
push dword [ebp - 4]
call dword [sym.imp.sqlite3.dll_sqlite3_finalize]
add esp, 4
mov dword [ebp - 4], 0
lea edx, [ebp - 0x2010]
xor bl, bl
cmp byte [esi + 0x23], bl
jbe 0x41ec23
mov edi, dword [sym.imp.WS2_32.dll_htonl]
nop dword [eax]
xor al, al
movsx ecx, al
mov esi, dword [esi + ecx*4 + 0x38]
test esi, esi
je 0x41eb6b
cmp byte [esi + 0x8e], bl
jne 0x41eb6b
cmp dword [esi + 0x3c], 1
je 0x41eb7a
inc al
cmp al, 6
jge 0x41ec0c
mov esi, dword [ebp - 8]
jmp 0x41eb52
push dword [esi + 0x18]
call edi
mov dword [0x4d178a], eax
push dword [esi + 0x44]
call edi
push 0x2710
mov dword [0x4d178e], eax
call edi
mov dword [0x4d1796], eax
push dword [esi + 0x124]
call edi
push 0x3e8
mov dword [0x4d179a], eax
call edi
mov dword [0x4d179e], eax
push dword [esi + 0x128]
call edi
push 0x3e8
mov dword [0x4d17a2], eax
call edi
mov dword [0x4d17a6], eax
push dword [esi + 0x12c]
call edi
push 0
mov dword [0x4d17aa], eax
call edi
push 0
mov dword [0x4d17ae], eax
call edi
mov edx, dword [ebp - 0xc]
mov ecx, 0x2c
mov edi, edx
mov dword [0x4d17b2], eax
mov esi, 0x4d1788
add edx, 0xb1
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.WS2_32.dll_htonl]
mov esi, dword [ebp - 8]
inc bl
movsx eax, bl
movzx ecx, byte [esi + 0x23]
cmp eax, ecx
jl 0x41eb50
mov edi, dword [ebp - 0x10]
movq xmm0, qword [0x4b6b38]
mov ecx, edi
mov ax, word [0x4b6b40]
push 1
movq qword [edx], xmm0
mov word [edx + 8], ax
movzx eax, word [edi + 0x10]
push 2
push eax
push 1
push eax
lea eax, [ebp - 0x2010]
sub edx, eax
add edx, 0xa
push edx
push eax
mov edx, 0x21e
call fcn.00437370
add esp, 0x1c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret