Function at 0x47d860
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5ac5c3
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 0x47dc6a
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 0x47dc6a
xor edi, edi
test ecx, ecx
jle 0x47d9c7
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp byte [edi + eax], 0x30
jl 0x47dc6a
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 0x47dc6a
mov eax, dword [esp + 0x40]
inc edi
cmp edi, dword [eax - 8]
jl 0x47d981
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 0x47dc6a
cmp ebx, 0x7f5
jge 0x47dc6a
cmp ebp, 1
jl 0x47dc6a
cmp ebp, 0xc
jg 0x47dc6a
cmp edx, 1
jl 0x47dc6a
cmp edx, 0x1f
jg 0x47dc6a
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 0x47daaa
mov ecx, dword [0x63ac10]
lea eax, [esp + 0x20]
push eax
call fcn.00593330
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 0x47dae2
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x63ac10]
call fcn.00593330
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 0x47db0e
push str.XGSP
mov ecx, eax
call fcn.004dd020
mov edi, eax
jmp 0x47db10
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.004dd0b0
test eax, eax
je 0x47dc2c
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47dc2c
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 0x47dbb6
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 0x615908
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 0x47de61
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.004dd280
test edi, edi
je 0x47dbda
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 0x6158f0
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 0x47de61
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 0x615690
call dword [edx + 0x90]
test edi, edi
je 0x47dc57
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 0x47de3d
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 0x6158b8
call dword [edx + 0x90]
mov eax, dword [0x63ac10]
test eax, eax
je 0x47dcf4
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47dcf4
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 [0x63ac10]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004ec730
mov eax, dword [0x63ac10]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c8d0
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47dd42
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 [0x635468]
mov byte [esp + 0x44], 2
call fcn.00401150
mov eax, dword [0x635470]
test eax, eax
je 0x47de3d
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47de3d
mov bl, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47de31
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47de31
call fcn.0044c8d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47de2c
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47de2c
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 0x47de1e
mov al, byte [edi + 0x80]
test al, al
jne 0x47de1e
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 0x47de1e
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.004024d0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x635470]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47dd5e
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