Function at 0x4f6c00
Capabilities:
Reference sql statements
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b8b76
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], 0x5d2254
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov ecx, dword [0x63ac20]
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 0x4f6df7
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 0x4f6cdb
mov edx, dword [edi + 0x1c]
mov esi, dword [edx]
cmp dword [esi + 0x78], 0xa
jne 0x4f6c84
inc ebp
inc eax
add edx, 4
cmp eax, ecx
jl 0x4f6c7b
test ebp, ebp
jle 0x4f6cdb
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 0x4f6cb3
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::CString_1
jmp 0x4f6cb5
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.0054c510
mov eax, dword [esp + 0x2c]
mov dword [eax + edi*4], esi
mov ecx, dword [esp + 0x18]
inc ebx
cmp ebx, dword [ecx]
jl 0x4f6c64
mov eax, dword [esp + 0x30]
xor ebp, ebp
cmp eax, ebp
jle 0x4f6df7
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 0x4f6d27
push str.XGSP
mov ecx, eax
call fcn.004dcfd0
mov edi, eax
jmp 0x4f6d29
xor edi, edi
mov eax, dword [esp + 0x30]
mov byte [esp + 0x58], 2
cmp eax, ebp
jle 0x4f6ddb
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.004dd060
test eax, eax
je 0x4f6db2
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x4f6db2
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 0x4f6d3c
xor ebp, ebp
cmp edi, ebp
je 0x4f6de9
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x58], 0
call fcn.005971b2
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.00596eca
push str._items__r
lea ecx, [esp + 0x14]
call fcn.00596eca
cmp dword [esp + 0x30], ebp
jle 0x4f6ee0
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 0x4f6ed3
push str._item__r
lea ecx, [esp + 0x14]
call fcn.00596eca
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.0059716a
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.0059716a
push str.__item__r
lea ecx, [esp + 0x14]
call fcn.00596eca
test esi, esi
je 0x4f6ed3
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 0x4f6e48
push str.__items__r
lea ecx, [esp + 0x14]
call fcn.00596eca
push str.__xg_remote_in_req__r
lea ecx, [esp + 0x14]
call fcn.00596eca
mov eax, dword [esp + 0x10]
push 1
mov ecx, dword [eax - 8]
push ecx
mov ecx, dword [esp + 0x28]
push eax
call fcn.004f56b0
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], 0x5d2254
pop ebx
je 0x4f6f48
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret