Function at 0x4dd460
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x619b5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
mov eax, dword [0x67db18]
mov dl, byte [eax + 0x1e53c]
mov eax, dword [ebp + 0x14]
cmp dl, 1
lea edx, [eax + eax*4]
lea edx, [eax + edx*2]
push ebx
lea edx, [edx + edx*4]
push esi
lea edx, [edx + edx*4]
sete bl
test eax, eax
lea esi, [ecx + edx*4 + 0x38]
push edi
mov byte [ebp - 0xd], bl
mov dword [ebp - 0x1c], esi
mov dword [ecx + 0x8d0], eax
jne 0x4dd1f1
mov eax, dword [0x67db18]
mov cl, byte [eax + 0x1e300]
test cl, cl
je 0x4dd1f1
mov byte [ebp - 0xd], 1
mov dword [ebp - 0x14], 0xa
jmp 0x4dd252
test bl, bl
je 0x4dd1fe
mov dword [ebp - 0x14], 0xa
jmp 0x4dd252
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [esi + 0x54]
mov ecx, dword [edx]
cmp dword [ebp + 8], ecx
jg 0x4dd220
cmp ecx, 0xffffffff
je 0x4dd220
inc eax
add edx, 0x64
cmp eax, 0xa
jl 0x4dd206
mov dword [ebp - 0x14], eax
jmp 0x4dd252
cmp eax, 0xa
mov dword [ebp - 0x14], eax
jge 0x4dd252
cmp eax, 9
jg 0x4dd252
mov ecx, dword [ebp - 0x14]
mov edx, 0xa
lea eax, [esi + 0x384]
sub edx, ecx
lea edi, [eax + 0x64]
mov esi, eax
mov ecx, 0x19
sub eax, 0x64
dec edx
rep movsd dword es:[edi], dword [esi]
jne 0x4dd23d
mov esi, dword [ebp - 0x1c]
mov ecx, dword [0x67d8a8]
push 0
push 0
call fcn.004ffe00
mov ecx, dword [0x67d8a8]
push 0
call fcn.00500700
push 0x12
push 0xd4
push 0xe8
push 0xc2
push 0x11c
lea ecx, [ebp - 0x80]
call fcn.005ecea0
push 3
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0
mov dword [ebp - 0x80], 0x62a264
call fcn.004de600
push 0x30
call fcn.00604401
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x4dd2dd
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x60]
push 0x800
push 0x664f40
push 0x1f4
push ecx
push edx
push 0
push 0
mov ecx, eax
call fcn.0044e690
jmp 0x4dd2df
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0053e500
push 0x74
call fcn.00604401
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x4dd343
push 5
push 7
push 0
push pe_nt_image_headers32
push 0x1f5
push 0
push 0
push 4
push 4
push 0x64a178
push 0x676080
push 0x28
push 0x17
push 0xc7
push 0x69
push 0x12
mov ecx, eax
call fcn.004dd640
jmp 0x4dd345
xor eax, eax
push 0x4c
mov byte [ebp - 4], 0
mov dword [ebp - 0x34], eax
call fcn.00604401
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x4dd394
mov edx, dword [0x68ba40]
mov edx, dword [edx + 0x20]
mov edx, dword [edx + 0x184]
push 8
push 0
push 1
push 0xffffffffffffffff
push 4
push 0x64a178
push edx
push 0x64
push 0xcd
push 0xd
push 0xd
mov ecx, eax
call fcn.005aa840
jmp 0x4dd396
xor eax, eax
mov edx, dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
push edx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
mov dword [ebp - 0x24], eax
call fcn.0053e500
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x20]
push ecx
push edx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
call fcn.0053e500
push 0x64
call fcn.00604401
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 4
je 0x4dd406
push 2
push 0x1c
push 0
push 1
push 0
push 0x664f34
push 0x1f7
push 0x20
push 0x40
push 0x8f
push 0x54
mov ecx, eax
call fcn.00454210
jmp 0x4dd408
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push ecx
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.0053e500
push 0x4c
call fcn.00604401
add esp, 4
mov dword [ebp - 0x18], eax
test eax, eax
mov byte [ebp - 4], 5
je 0x4dd45f
push 8
push 0x20
push 1
push 0x1f8
push 1
push 0x64a178
push 0
push 0x12
push 0xd8
push 0xba
push 8
mov ecx, eax
call fcn.005aa840
jmp 0x4dd461
xor eax, eax
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x48]
push 1
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0
call fcn.004f9e20
lea ecx, [ebp - 0x80]
call fcn.005ece70
mov ecx, dword [ebp - 0x34]
movsx edx, word [ecx + 0x10]
push edx
lea ecx, [ebp - 0x80]
call fcn.005ecd90
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
push 1
call dword [eax + 0x34]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
push 1
call dword [edx + 0x40]
mov eax, dword [ebp - 0x34]
mov ecx, dword [0x67db18]
mov edi, dword [eax]
mov dword [ebp - 4], 6
call fcn.004c5090
mov ecx, eax
call fcn.004b2e20
mov ecx, dword [ebp - 0x34]
push eax
call dword [edi + 0x30]
push 0
lea ecx, [ebp - 0x80]
call fcn.005ecd60
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x34]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea ebx, [esi + ecx*4]
xor eax, eax
mov ecx, 0x19
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x30]
test eax, eax
jne 0x4dd4fe
mov eax, 0x6264b0
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x80], 0x62a264
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 7
call fcn.005ece10
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 0xffffffff
call fcn.005ec380
mov dl, byte [ebp - 0xd]
test dl, dl
je 0x4dd55a
mov ecx, dword [0x68ba40]
mov eax, dword [ecx + 0x20]
mov edi, dword [eax + 0x414]
jmp 0x4dd55d
mov edi, dword [ebp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
lea esi, [ebx + 0x29]
mov dword [ebp + 0x18], esi
mov esi, edi
mov edi, dword [ebp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov dword [ebx + 0x54], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebx + 0x58], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x5c], ecx
mov byte [ebx + 0x60], dl
mov ecx, dword [0x664c48]
xor edx, edx
mov edi, 1
cmp eax, edi
mov eax, dword [ebp - 0x14]
sete dl
push ecx
push 0x65d9f8
push 0x64b2d0
mov dword [edx*4 + str.HPL026Dr.PCX], eax
lea edx, [ebp - 0x1e0]
push edx
call fcn.0060494e
push 0x80
lea eax, [ebp - 0x1e0]
push 0x8301
push eax
call fcn.006070ed
mov esi, eax
add esp, 0x1c
cmp esi, 0xffffffff
jne 0x4dd5f9
mov ecx, dword [0x664c48]
call fcn.004e7780
jmp 0x4dd617
mov ecx, dword [0x67d894]
push 0x898
add ecx, 0x38
push ecx
push esi
call fcn.0060d6ef
push esi
call fcn.0060700d
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword [0x67db8c], edi
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14