Function at 0x4ded00
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x577680
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x5c3678]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov ecx, dword [ebx + 0x30]
push 0
push 1
push 0
push 0
push ecx
lea eax, [ebx + 0x50]
push eax
mov ecx, str.accountlicensepage.xml
call fcn.004ac6e0
test al, al
je 0x4dedcb
mov eax, dword [ebx + 0x58]
test eax, eax
jne 0x4ded5e
push 0x80004003
call fcn.0053c010
lea esi, [esp + 0x1c]
call fcn.0046fa70
mov dword [esp + 0x68], 0
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x4dedae
push 0
push 0xa7f8
lea esi, [esp + 0x20]
mov eax, edi
call fcn.0046fb00
lea ecx, [ebx + 0x1a4]
mov byte [esp + 0x68], 1
call fcn.00472570
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dedae
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [ebx + 0x1a4], 0
jne 0x4dede3
mov dword [esp + 0x68], 0xffffffff
test edi, edi
je 0x4dedcb
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
or eax, 0xffffffff
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4dedf7
push 0x80004003
call fcn.0053c010
push 1
push 0xa85c
lea esi, [esp + 0x20]
call fcn.0046fb00
lea esi, [ebx + 0x1a8]
mov ecx, esi
mov byte [esp + 0x68], 2
call fcn.0046edc0
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4dee2e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esi]
test esi, esi
je 0x4dee7e
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0
mov eax, dword [esi]
mov edx, dword [eax]
push 0x58eb60
push esi
call edx
mov byte [esp + 0x68], 3
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4dee6d
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
push 1
push 0x7fc
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x68], 0
test eax, eax
je 0x4dee7e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebx + 0x1a4]
test eax, eax
jne 0x4dee92
push 0x80004003
call fcn.0053c010
push 1
push 0xaab4
lea esi, [esp + 0x28]
call fcn.0046fb00
lea ecx, [esp + 0x18]
mov byte [esp + 0x68], 4
call fcn.0046ed80
mov byte [esp + 0x68], 6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4deec5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4df031
mov eax, dword [edi]
mov edx, dword [eax + 0x40]
lea ecx, [esp + 0x40]
push ecx
push edi
call edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.0046c450
cmp byte [eax + 0xc], 0
je 0x4def10
mov eax, dword [eax]
cmp eax, 0x64
je 0x4def10
push 0x64
push eax
push 0x190
call dword [sym.imp.KERNEL32.dll_MulDiv]
jmp 0x4def15
mov eax, 0x190
mov edx, eax
sub edx, dword [esp + 0x34]
push 1
add dword [esp + 0x40], edx
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x44]
push ecx
push edi
call edx
push 0
push 0xaabe
lea esi, [esp + 0x2c]
mov eax, edi
call fcn.0046fb00
lea ecx, [esp + 0x14]
mov byte [esp + 0x68], 7
call fcn.004724f0
mov byte [esp + 0x68], 9
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4def67
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov edi, dword [esp + 0x14]
test edi, edi
je 0x4df01c
push 0
push str.IDS_ENTER_LICENSE
xor al, al
or ecx, 0xffffffff
lea esi, [esp + 0x48]
call fcn.004acdf0
mov byte [esp + 0x6c], 0xa
cmp dword [eax + 0x18], 8
jb 0x4def98
mov esi, dword [eax + 4]
jmp 0x4def9b
lea esi, [eax + 4]
push ecx
mov eax, esp
mov dword [eax], edi
mov eax, dword [edi]
mov ecx, dword [eax + 4]
mov dword [esp + 0x30], esp
push edi
call ecx
mov ecx, esi
call fcn.0048b7f0
add esp, 8
lea ecx, [esp + 0x40]
call fcn.0040eb20
push 0
push 0
xor esi, esi
push esi
push ecx
mov eax, esp
mov dword [esp + 0x38], esp
mov dword [eax], esi
push esi
push 1
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov byte [esp + 0x84], 0xb
mov dword [esp + 0x48], esp
call fcn.00472530
mov edx, dword [ebx + 0x30]
push edx
mov ecx, esi
mov byte [esp + 0x88], 9
call fcn.00490460
add esp, 0x20
push esi
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x34], esp
call fcn.00472530
lea eax, [ebx + 0x50]
push eax
mov edx, ebx
call fcn.004ad4b0
mov byte [esp + 0x68], 6
test edi, edi
je 0x4df02d
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
mov edi, dword [esp + 0x18]
mov eax, dword [ebx + 0x1a4]
push 0
test eax, eax
jne 0x4df047
push 0x80004003
call fcn.0053c010
push ecx
mov esi, esp
mov dword [esp + 0x34], esp
push 0
push 0xa867
call fcn.0046fb00
lea eax, [ebx + 0x50]
push eax
mov edx, ebx
call fcn.004ad4b0
mov byte [esp + 0x68], 0
test edi, edi
je 0x4df076
mov edx, dword [edi]
mov eax, dword [edx + 8]
push edi
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4df08e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
xor eax, eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4