Function at 0x52ef60
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x65c6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x758898]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x758898]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x5c]
mov esi, ecx
mov ecx, dword [esp + 0x60]
push ecx
mov dword [esp + 0x24], ecx
push eax
mov ecx, esi
call fcn.0060e516
xor ebp, ebp
xor edi, edi
cmp dword [esi + 0x120], 0x1e
jle 0x52efc0
mov dword [esi + 0x120], 0x1e
cmp dword [esi + 0x120], ebp
jge 0x52efcd
mov edi, 1
lea ecx, [esp + 0x14]
call fcn.004024f0
mov dword [esp + 0x54], ebp
lea ecx, [esp + 0x14]
cmp edi, ebp
je 0x52efef
mov eax, dword [0x75f7ac]
push eax
push 0x678ea8
jmp 0x52effd
movzx edx, byte [esi + 0x120]
mov eax, dword [0x75f7a4]
push edx
push eax
push ecx
call fcn.00402f60
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.004024f0
mov byte [esp + 0x54], 1
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push str._B__s__B_
push eax
call fcn.00402f60
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], ebp
mov word [esp + 0x34], cx
mov byte [esp + 0x54], 2
cmp dword [0x75dd30], ebp
je 0x52f132
xor edx, edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], dx
mov byte [esp + 0x54], 3
mov eax, dword [0x75dd28]
mov ecx, dword [0x75ee28]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.00401970
push str.nbsp_9658_
lea ecx, [esp + 0x28]
call fcn.00405310
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x52f08f
lea eax, [esp + 0x28]
push eax
push str.enter_serial_btn
mov ecx, esi
call fcn.0060e4ca
mov edx, dword [0x75dd28]
mov eax, dword [0x75f7a0]
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401970
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x52f0be
lea eax, [esp + 0x28]
push eax
push str.AlreadyPurchasedQ
mov ecx, esi
call fcn.0060e47e
cmp edi, ebp
jne 0x52f0dc
mov eax, 0x75f7a8
cmp dword [esi + 0x120], ebp
jne 0x52f0e1
mov eax, 0x75f7b0
mov ecx, dword [0x75dd28]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.00401970
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x52f100
lea eax, [esp + 0x28]
push eax
push str.dontWaitText
mov ecx, esi
call fcn.0060e47e
mov edx, dword [0x75dd28]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x38]
call fcn.00401970
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x24]
call fcn.00401210
jmp 0x52f199
cmp edi, ebp
jne 0x52f13e
cmp dword [esi + 0x120], ebp
jne 0x52f18a
xor ecx, ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebp
mov word [esp + 0x28], cx
mov byte [esp + 0x54], 4
mov edx, dword [0x75f7b0]
push ebp
push edx
lea ecx, [esp + 0x2c]
call fcn.00401970
mov eax, dword [esp + 0x24]
cmp eax, ebp
jne 0x52f16f
lea eax, [esp + 0x28]
push eax
push str.dontWaitText
mov ecx, esi
call fcn.0060e47e
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x24]
call fcn.00401210
mov eax, dword [esp + 0x18]
push ebp
push eax
lea ecx, [esp + 0x38]
call fcn.00401970
mov eax, dword [esp + 0x30]
cmp eax, ebp
jne 0x52f1a5
lea eax, [esp + 0x34]
push eax
push 0x6a7e78
mov ecx, esi
call fcn.0060e4ca
cmp edi, ebp
je 0x52f1ba
mov bl, 0x64
jmp 0x52f1d9
fild dword [esi + 0x120]
fld qword [0x6828a0]
fmul st(1), st(0)
fxch st(1)
fdiv qword [0x6a7e70]
fsubp st(1)
call fcn.00622df0
mov bl, al
lea ecx, [esp + 0x1c]
call fcn.004024f0
mov byte [esp + 0x54], 5
movsx ecx, bl
push ecx
lea edx, [esp + 0x20]
push str._TABLE_class_days_sum__align_center___TR__TD__TABLE_class_days_used__width__d_____TR__TD___TD___TR___TABLE___TD___TR___TABLE_
push edx
call fcn.00402f60
mov ecx, dword [esp + 0x28]
add esp, 0xc
push ebp
xor eax, eax
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x4c], ebp
mov word [esp + 0x48], ax
call fcn.00401970
mov byte [esp + 0x54], 6
mov eax, dword [esp + 0x3c]
cmp eax, ebp
jne 0x52f22c
lea eax, [esp + 0x40]
push eax
push str.daysSumTable
mov ecx, esi
call fcn.0060e4ca
mov edx, dword [esp + 0x20]
push str.internetdownloadmanager.com
push edx
call fcn.00622230
add esp, 8
test eax, eax
je 0x52f28a
cmp dword [esi + 0x118], ebp
je 0x52f28a
push 5
mov ecx, esi
mov dword [esi + 0x118], ebp
call fcn.005f5caa
cmp dword [esi + 0x120], ebp
jle 0x52f28a
mov eax, dword [esi + 0x20]
push ebp
push 0x1f4
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [esi + 0x12c], 1
mov byte [esp + 0x54], 5
lea ecx, [esp + 0x3c]
call fcn.00401210
mov byte [esp + 0x54], 2
lea ecx, [esp + 0x1c]
call fcn.00402560
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x30]
call fcn.00401210
mov byte [esp + 0x54], 0
lea ecx, [esp + 0x18]
call fcn.00402560
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.00402560
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.00620b8d
add esp, 0x44
ret 8