Function at 0x47ee80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a8363
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
push edi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esi + 0x78]
lea edx, [esp + 0x14]
xor ebp, ebp
mov ecx, dword [eax + 0x10c]
mov dword [esp + 0x44], ebp
push ecx
push str.select__from_group_list_where__id____d
push edx
call sub.MFC42.DLL_CString::Format
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0x44], 1
je 0x47eeee
push str.XGSP
mov ecx, eax
call fcn.004dc060
mov edi, eax
jmp 0x47eef0
xor edi, edi
mov eax, dword [esp + 0x14]
push 3
push 3
push 1
push eax
mov ecx, edi
mov byte [esp + 0x54], 0
call fcn.004dc0f0
cmp eax, ebp
je 0x47f1f2
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47f1f2
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 3
push ecx
push str.group_name
mov ecx, edi
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], ebp
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea edx, [esp + 0x18]
mov ecx, edi
push edx
push str.default_office_code
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_CString__
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push str.expire_date
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___class_COleDateTime__
lea ecx, [esp + 0x24]
push ecx
push str.prompt_expire_date
mov ecx, edi
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::GetCollect_char_const___int__
cmp edi, ebp
je 0x47ef9e
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x24]
mov byte [esp + 0x44], 4
cmp eax, 1
mov edi, 0x6016dc
je 0x47efbf
mov edi, 0x6016d4
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_COleDateTime::GetDay
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_COleDateTime::GetMonth
push eax
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_COleDateTime::GetYear
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push 0xd
push edi
push 0xd
push eax
push 0xd
push ecx
lea edx, [esp + 0x34]
push 0x610f5c
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esi + 0x7c]
mov edx, dword [esi]
add esp, 0x2c
inc eax
mov dword [esi + 0x7c], eax
mov ecx, esi
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [edx + 0x90]
mov eax, dword [0x635400]
cmp eax, ebp
je 0x47f081
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47f081
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x78]
push ecx
push str._RX_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x635400]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb7d0
mov edx, dword [0x635400]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c560
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x47f0cf
mov edx, dword [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x62fc58]
mov byte [esp + 0x50], 4
call fcn.00401140
mov eax, dword [0x62fc60]
cmp eax, ebp
je 0x47f1c6
cmp dword [eax + 0x50], ebp
jle 0x47f1c6
mov bl, 6
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47f1ba
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47f1ba
call fcn.0044c560
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47f1b5
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47f1b5
mov ecx, dword [esi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x20]
mov byte [esp + 0x44], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47f1a7
mov al, byte [edi + 0x80]
test al, al
jne 0x47f1a7
mov eax, dword [esi + 0x78]
mov ecx, dword [edi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x47f1a7
mov ecx, dword [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x50], bl
call fcn.004024b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x62fc60]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47f0e7
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
jmp 0x47f217
cmp edi, ebp
je 0x47f1fe
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov edx, dword [esi + 0x7c]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x7c], edx
mov edx, dword [esi]
push eax
push 0x610f50
call dword [edx + 0x90]
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret 4