Function at 0x4f5500
Capabilities:
Reference sql statements

Disassembly:
push 0xffffffffffffffff
push 0x5b5cf6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push ebp
xor ebp, ebp
push esi
push edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], 0x5cf22c
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [0x637760]
xor ebx, ebx
mov dword [esp + 0x58], ebp
lea eax, [ecx + 0x2f0]
mov dword [esp + 0x18], eax
mov eax, dword [eax]
cmp eax, ebp
jle 0x4f56f7
add ecx, 0x2ec
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
xor ebp, ebp
mov ecx, dword [eax]
xor eax, eax
mov edi, dword [ecx + ebx*4]
mov ecx, dword [edi + 0x20]
test ecx, ecx
jle 0x4f55db
mov edx, dword [edi + 0x1c]
mov esi, dword [edx]
cmp dword [esi + 0x74], 0xa
jne 0x4f5584
inc ebp
inc eax
add edx, 4
cmp eax, ecx
jl 0x4f557b
test ebp, ebp
jle 0x4f55db
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x58], 1
je 0x4f55b3
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
jmp 0x4f55b5
xor esi, esi
mov edx, dword [edi]
mov dword [esi + 8], ebp
mov dword [esi], edx
mov eax, dword [esp + 0x30]
mov edi, eax
inc eax
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 0
call fcn.00582a70
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], esi
mov ecx, dword [esp + 0x18]
inc ebx
cmp ebx, dword [ecx]
jl 0x4f5564
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
jle 0x4f56f7
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CStringArray::CStringArray
push 0x40
mov byte [esp + 0x5c], 2
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, ebp
mov byte [esp + 0x58], 3
je 0x4f5627
push str.XGSP
mov ecx, eax
call fcn.004db9f0
mov edi, eax
jmp 0x4f5629
xor edi, edi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x58], 2
cmp eax, ebp
jle 0x4f56db
mov bl, 5
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], bl
mov esi, dword [edx + ebp*4]
mov eax, dword [esi]
push eax
push str.SELECT_TOP_1_account_FROM_client_config_WHERE_delflag0_AND_disable0_AND_is_web_account1_AND__group__d
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, edi
push 3
push 3
push 1
push edx
call fcn.004dba80
test eax, eax
je 0x4f56b2
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x4f56b2
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push str.account
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x58], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x58], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x4f563c
xor ebp, ebp
cmp edi, ebp
je 0x4f56e9
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
call fcn.00594582
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov bl, 6
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString_1
push str.__xml_version_1.0__encoding_GB2312____r
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 7
call sub.MFC42.DLL_CString::operator
push str._xg_remote_in_req__r
lea ecx, [esp + 0x14]
call fcn.0059429a
push str._items__r
lea ecx, [esp + 0x14]
call fcn.0059429a
cmp dword [esp + 0x30], ebp
jle 0x4f57e0
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + ebp*4]
mov ecx, dword [esi + 4]
lea edi, [esi + 4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x4f57d3
push str._item__r
lea ecx, [esp + 0x14]
call fcn.0059429a
mov edx, dword [edi]
lea eax, [esp + 0x14]
push edx
push str._account__s__account_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0059453a
mov edx, dword [esi + 8]
lea eax, [esp + 0x14]
push edx
push str._right__d__right_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.0059453a
push str.__item__r
lea ecx, [esp + 0x14]
call fcn.0059429a
test esi, esi
je 0x4f57d3
mov ecx, edi
call sub.MFC42.DLL_CString::CString
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x30]
inc ebp
cmp ebp, eax
jl 0x4f5748
push str.__items__r
lea ecx, [esp + 0x14]
call fcn.0059429a
push str.__xg_remote_in_req__r
lea ecx, [esp + 0x14]
call fcn.0059429a
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004f3fb0
lea ecx, [esp + 0x14]
mov byte [esp + 0x58], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 0
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
test eax, eax
mov dword [esp + 0x1c], 0x5cf22c
pop ebx
je 0x4f5848
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret