Function at 0x4a70e4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a745e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x28]
mov edx, dword [eax]
call dword [edx]
push eax
push 2
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4a7130
mov ecx, 0x4a7474
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f3b0
call fcn.004049a4
xor edx, edx
push ebp
push 0x4a7441
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
push 0
push 0
mov eax, dword [ebx + 0x28]
call fcn.0041f7bc
mov word [ebx + 0x58], 0
mov word [ebx + 0x5a], 0
mov word [ebx + 0x64], 0
mov word [ebx + 0x66], 0
mov eax, ebx
call fcn.004a7a6c
test al, al
je 0x4a733b
mov eax, ebx
call fcn.004a7950
test eax, eax
jle 0x4a733b
mov dl, 1
mov eax, dword [0x41adbc]
call fcn.00404194
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 1
mov byte [ebp - 0x15], 0
push 0
push 6
mov eax, dword [ebx + 0x28]
call fcn.0041f7bc
lea edx, [ebx + 0x64]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
lea edx, [ebx + 0x66]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebx + 0x28]
mov edx, dword [eax]
call dword [edx]
test eax, eax
jle 0x4a7311
mov dword [ebp - 0x20], eax
mov esi, 1
mov eax, esi
dec eax
cdq
push edx
push eax
mov eax, dword [ebx + 0x28]
call fcn.0041f7bc
lea edx, [ebp - 0x11]
mov eax, dword [ebx + 0x28]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebp - 0x11], 0x21
jne 0x4a72f1
mov eax, dword [ebx + 0x28]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
lea eax, [esi + 8]
cdq
cmp edx, dword [esp + 4]
jne 0x4a7231
cmp eax, dword [esp]
pop edx
pop eax
jae 0x4a72f1
jmp 0x4a7239
pop edx
pop eax
jge 0x4a72f1
lea edx, [ebp - 0x12]
mov eax, dword [ebx + 0x28]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x13]
mov eax, dword [ebx + 0x28]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
mov edi, dword [ebx + 0x28]
mov eax, edi
call fcn.0041f79c
add eax, 5
adc edx, 0
push edx
push eax
mov eax, edi
call fcn.0041f7bc
lea edx, [ebp - 0x14]
mov eax, dword [ebx + 0x28]
mov ecx, 1
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [ebp - 0x12], 0xf9
jne 0x4a72f1
cmp byte [ebp - 0x13], 4
jne 0x4a72f1
cmp byte [ebp - 0x14], 0x2c
jne 0x4a72f1
mov eax, dword [ebx + 0x48]
cmp eax, dword [ebp - 0x1c]
jne 0x4a72dc
lea edx, [ebx + 0x58]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x5a]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x5c]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebx + 0x5e]
mov eax, dword [ebx + 0x28]
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
inc dword [ebp - 0x1c]
mov eax, dword [ebx + 0x48]
cmp eax, dword [ebp - 0x1c]
jl 0x4a72ed
mov byte [ebp - 0x15], 1
jmp 0x4a72f1
mov byte [ebp - 0x15], 0
cmp byte [ebp - 0x15], 0
jne 0x4a7307
lea edx, [ebp - 0x11]
mov ecx, 1
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x10]
inc esi
dec dword [ebp - 0x20]
jne 0x4a71e9
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0041f7bc
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0041f9c8
mov eax, dword [ebp - 0x10]
call fcn.004041c4
jmp 0x4a7350
mov esi, dword [ebx + 0x28]
mov eax, esi
mov edx, dword [eax]
call dword [edx]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0041f9c8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0xc]
call fcn.00406bb8
lea eax, [ebp - 0xc]
call fcn.00406bb8
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.ole32.dll_CreateStreamOnHGlobal
not eax
test eax, eax
jne 0x4a7393
mov ecx, 0x4a74a0
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f3b0
call fcn.004049a4
jmp 0x4a73af
cmp dword [ebp - 0xc], 0
jne 0x4a73af
mov ecx, 0x4a74c8
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f3b0
call fcn.004049a4
lea eax, [ebx + 0x30]
call fcn.00406bb8
push eax
push 0x51d9dc
push 0
mov eax, dword [ebx + 0x28]
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.olepro32.dll_OleLoadPicture
xor edx, edx
push ebp
push 0x4a7420
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
je 0x4a73fa
mov ecx, 0x4a74ec
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f3b0
call fcn.004049a4
jmp 0x4a7416
cmp dword [ebx + 0x30], 0
jne 0x4a7416
mov ecx, 0x4a751c
mov dl, 1
mov eax, dword [0x40a228]
call fcn.0040f3b0
call fcn.004049a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4a742a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7448
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalFree
ret