Function at 0x47c9b0
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5a9cc3
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 0x47cda8
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 0x47cda8
xor edi, edi
test ecx, ecx
jle 0x47cb17
mov ebp, dword [sym.imp.MSVCRT.dll__mbscmp]
cmp byte [edi + eax], 0x30
jl 0x47cda8
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 0x47cda8
mov eax, dword [esp + 0x40]
inc edi
cmp edi, dword [eax - 8]
jl 0x47cad1
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 0x47cda8
cmp ebx, 0x7f5
jge 0x47cda8
cmp ebp, 1
jl 0x47cda8
cmp ebp, 0xc
jg 0x47cda8
cmp edx, 1
jl 0x47cda8
cmp edx, 0x1f
jg 0x47cda8
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 0x47cbfa
mov ecx, dword [0x637770]
lea eax, [esp + 0x20]
push eax
call fcn.0058fb30
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x78]
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 0x47cc32
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [0x637770]
call fcn.0058fb30
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 0x47cc5e
push str.XGSP
mov ecx, eax
call fcn.004dbdb0
mov edi, eax
jmp 0x47cc60
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.004dbe40
test eax, eax
je 0x47cd70
mov ecx, edi
call sym.ETermProxy.exe_public:_long_int___thiscall_CAdoRecordSet::GetRecordCount_void_
test eax, eax
je 0x47cd70
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 0x47cd00
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 0x612704
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 0x47cf99
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.004dc010
test edi, edi
je 0x47cd24
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
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 0x6126ec
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 0x47cf99
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x61248c
call dword [edx + 0x90]
test edi, edi
je 0x47cd95
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 0x47cf75
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi]
inc ebp
mov ecx, esi
mov eax, ebp
mov dword [esi + 0x7c], ebp
push eax
push 0x6126b4
call dword [edx + 0x90]
mov eax, dword [0x637770]
test eax, eax
je 0x47ce2c
mov cl, byte [eax + 0x40]
test cl, cl
je 0x47ce2c
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x78]
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 [0x637770]
push str.command
push str.esms
mov edx, dword [ecx + 0x44]
push edx
call fcn.004eb4c0
mov eax, dword [0x637770]
add esp, 0x1c
mov edx, dword [eax + 0x248]
lea ecx, [eax + 0x248]
call dword [edx + 0x1c]
call fcn.0044c540
mov eax, dword [eax + 0xd0]
cmp byte [eax], 0
je 0x47ce7a
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 + 0x78]
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 [0x631fc8]
mov byte [esp + 0x44], 2
call fcn.00401160
mov eax, dword [0x631fd0]
test eax, eax
je 0x47cf75
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x47cf75
mov bl, 0xa
mov ecx, dword [eax + 0x4c]
mov edi, dword [ecx + ebp*4]
test edi, edi
je 0x47cf69
mov cl, byte [edi + 0x88]
test cl, cl
je 0x47cf69
call fcn.0044c540
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x47cf64
mov eax, dword [edi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x47cf64
mov ecx, dword [esi + 0x78]
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 0x47cf56
mov al, byte [edi + 0x80]
test al, al
jne 0x47cf56
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 0x47cf56
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 + 0x78]
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.00402500
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fd0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x47ce96
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