Function at 0x47d790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5ac7a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
add eax, 3
push edi
mov dword [esp + 0x20], ecx
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_1
push 0x20
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::Find_2
mov edi, eax
cmp edi, 0xffffffff
jle 0x47db9a
lea ecx, [esp + 0x1c]
push edi
push ecx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::TrimRight
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [esp + 0x40]
mov ecx, dword [eax - 8]
cmp ecx, 8
jne 0x47db9a
xor edi, edi
test ecx, ecx
jle 0x47d8f7
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp byte [edi + eax], 0x30
jl 0x47db9a
push 1
push 0x39
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x40]
push ecx
push edx
call ebp
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
setg bl
call sub.MFC42.DLL_CString::CString
test bl, bl
jne 0x47db9a
mov eax, dword [esp + 0x40]
inc edi
cmp edi, dword [eax - 8]
jl 0x47d8b1
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, eax
mov eax, 0x68db8bad
imul ecx
sar edx, 0xc
mov eax, edx
mov edi, 0x2710
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov ebx, edx
add esp, 4
cdq
idiv edi
mov eax, 0x51eb851f
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, ecx
mov ebp, edx
mov ecx, 0x64
cdq
idiv ecx
cmp ebx, 0x7d7
mov dword [esp + 0x1c], edx
jle 0x47db9a
cmp ebx, 0x7f5
jge 0x47db9a
cmp ebp, 1
jl 0x47db9a
cmp ebp, 0xc
jg 0x47db9a
cmp edx, 1
jl 0x47db9a
cmp edx, 0x1f
jg 0x47db9a
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_1
mov edx, dword [esp + 0x20]
mov byte [esp + 0x38], 5
mov al, byte [edx + 0x20]
test al, al
je 0x47d9da
mov ecx, dword [0x63ac20]
lea eax, [esp + 0x20]
push eax
call fcn.00593560
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x7c]
push ecx
mov byte [esp + 0x3c], 6
mov ecx, dword [edx + 0x10c]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push str.select__expire_date__from__s_where__delflag_0_and__group____d_and__account____s
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x20]
jmp 0x47da12
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x63ac20]
call fcn.00593560
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x20]
push str.select__expire_date__from__s_where__delflag_0_and__account____s
push ecx
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x38], 5
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString
push 0x40
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov byte [esp + 0x38], 8
je 0x47da3e
push str.XGSP
mov ecx, eax
call fcn.004dcfd0
mov edi, eax
jmp 0x47da40
xor edi, edi
mov edx, dword [esp + 0x18]
push 3
push 3
push 1
push edx
mov ecx, edi
mov byte [esp + 0x48], 5
call fcn.004dd060
test eax, eax
je 0x47db5c
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47db5c
mov eax, dword [esp + 0x1c]
push 0x3b
push 0x3b
push 0x17
push eax
push ebp
push ebx
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_COleDateTime::SetDateTime
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_COleDateTime::GetDay
or ebx, 0xffffffff
cmp eax, ebx
jne 0x47dae6
mov edx, dword [esi + 0x80]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x80], edx
mov edx, dword [esi]
push eax
push 0x615904
call dword [edx + 0x90]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x38], ebx
jmp 0x47dd91
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push str.expire_date
call sym.ETermProxy.exe_public:_int___thiscall_CAdoRecordSet::PutCollect_char_const___class_COleDateTime_const__
mov ecx, edi
call fcn.004dd230
test edi, edi
je 0x47db0a
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
mov edx, dword [esi + 0x80]
mov ecx, esi
inc edx
mov eax, edx
mov dword [esi + 0x80], edx
mov edx, dword [esi]
push eax
push 0x6158ec
call dword [edx + 0x90]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x38], ebx
jmp 0x47dd91
mov ebp, dword [esi + 0x80]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x80], ebp
push eax
push 0x61568c
call dword [edx + 0x90]
test edi, edi
je 0x47db87
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
jmp 0x47dd6d
mov ebp, dword [esi + 0x80]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x80], ebp
push eax
push 0x6158b4
call dword [edx + 0x90]
mov eax, dword [0x63ac20]
test eax, eax
je 0x47dc24
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47dc24
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x7c]
push str.PARAM_ERROR_
push str._RX_
push 0
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x63ac20]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec710
mov eax, dword [0x63ac20]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c870
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47dc72
push str.PARAM_ERROR_
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x48], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x635478]
mov byte [esp + 0x44], 2
call fcn.00401160
mov eax, dword [0x635480]
test eax, eax
je 0x47dd6d
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47dd6d
mov bl, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47dd61
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47dd61
call fcn.0044c870
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47dd5c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47dd5c
mov ecx, dword [esi + 0x7c]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x1c]
mov byte [esp + 0x38], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x47dd4e
mov al, byte [edi + 0x80]
test al, al
jne 0x47dd4e
mov eax, dword [esi + 0x7c]
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 0x47dd4e
push str.PARAM_ERROR_
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push str._RX_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esi + 0x7c]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x48], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [esp + 0x44], bl
call fcn.004024f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635480]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47dc8e
lea ecx, [esp + 0x40]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret 4