Function at 0x41dc40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4632d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x34]
mov ebx, ecx
push eax
mov dword [esp + 0x20], ebx
call fcn.00412310
xor edi, edi
push eax
mov dword [esp + 0x60], edi
call fcn.00410540
mov esi, dword [esp + 0x38]
add esp, 4
cmp esi, edi
mov ebp, eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x5c], 0xffffffff
je 0x41dccd
push edi
lea ecx, [esp + 0x30]
call fcn.0043cff5
mov eax, dword [esi + 4]
cmp eax, edi
jbe 0x41dcab
cmp eax, 0xffffffff
jae 0x41dcab
dec eax
mov dword [esi + 4], eax
mov edx, dword [esi + 4]
xor ecx, ecx
cmp edx, edi
setne cl
dec ecx
and esi, ecx
lea ecx, [esp + 0x2c]
call fcn.0043d018
cmp esi, edi
je 0x41dccd
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
mov eax, dword [ebp]
push 0x25
mov ecx, ebp
call dword [eax + 0x28]
mov cl, byte [ebx + 0x50]
mov byte [esp + 0x2c], cl
mov edx, dword [esp + 0x2c]
push edx
push ebp
mov ebp, dword [esp + 0x6c]
mov esi, eax
push esi
push ebp
mov byte [esp + 0x22], 1
mov dword [esp + 0x34], 0xffffffff
call fcn.00414570
add esp, 0x10
push eax
mov ecx, ebx
call fcn.0041d540
push 1
push edi
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], edi
mov byte [esp + 0x1f], 0
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], esi
call fcn.0040f9d0
mov edi, eax
cmp edi, 0xffffffff
je 0x41dff8
mov dword [esp + 0x2c], esi
lea esp, [esp]
mov ecx, dword [esp + 0x20]
test ecx, ecx
jne 0x41dd4d
lea ecx, [ebx + 0x34]
jmp 0x41dd5a
mov eax, dword [ebx + 4]
imul ecx, ecx, 0x64
lea eax, [ecx + eax - 0x64]
lea ecx, [eax + 0x20]
mov eax, dword [ebp + 0x18]
cmp eax, 8
lea edx, [ebp + 4]
mov dword [esp + 0x18], edx
jb 0x41dd6d
mov esi, dword [edx]
jmp 0x41dd6f
mov esi, edx
cmp eax, 8
jb 0x41dd76
mov edx, dword [edx]
mov si, word [esi + edi*2 + 2]
cmp si, word [edx + edi*2]
jne 0x41ddea
cmp eax, 8
mov esi, dword [esp + 0x18]
jb 0x41dd8e
mov edx, dword [esi]
jmp 0x41dd90
mov edx, esi
cmp eax, 8
lea edx, [edx + edi*2 + 2]
mov dword [esp + 0x18], edx
jb 0x41dda1
mov eax, dword [esi]
jmp 0x41dda3
mov eax, esi
mov edx, dword [esp + 0x14]
lea ebx, [eax + edx*2]
mov edx, dword [ecx + 0x18]
cmp edx, 8
lea ebp, [ecx + 4]
jb 0x41ddba
mov esi, dword [ebp]
jmp 0x41ddbc
mov esi, ebp
mov eax, dword [ecx + 0x14]
shl eax, 1
add esi, eax
cmp edx, 8
jb 0x41ddcd
mov edx, dword [ebp]
jmp 0x41ddcf
mov edx, ebp
add eax, edx
mov edx, dword [esp + 0x18]
push edx
push ebx
push esi
push eax
call fcn.00442790
add edi, 2
mov dword [esp + 0x14], edi
jmp 0x41df6b
mov esi, dword [esp + 0x14]
cmp edi, esi
je 0x41de56
cmp eax, 8
mov ebx, dword [esp + 0x18]
jb 0x41ddff
mov edx, dword [ebx]
jmp 0x41de01
mov edx, ebx
cmp eax, 8
lea edx, [edx + edi*2]
mov dword [esp + 0x18], edx
jb 0x41de11
mov eax, dword [ebx]
jmp 0x41de13
mov eax, ebx
mov edx, dword [ecx + 0x18]
cmp edx, 8
lea ebx, [eax + esi*2]
lea ebp, [ecx + 4]
jb 0x41de26
mov esi, dword [ebp]
jmp 0x41de28
mov esi, ebp
mov eax, dword [ecx + 0x14]
shl eax, 1
add esi, eax
cmp edx, 8
jb 0x41de39
mov edx, dword [ebp]
jmp 0x41de3b
mov edx, ebp
add eax, edx
mov edx, dword [esp + 0x18]
push edx
push ebx
push esi
push eax
call fcn.00442790
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
mov ecx, dword [ebp + 0x18]
inc edi
cmp ecx, 8
jb 0x41de64
mov eax, dword [ebp + 4]
jmp 0x41de67
lea eax, [ebp + 4]
mov esi, dword [esp + 0x20]
mov dl, byte [ebx + 0x50]
imul esi, esi, 0x64
lea eax, [eax + edi*2]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 4]
add eax, esi
cmp ecx, 8
mov byte [esp + 0x38], dl
jb 0x41de8b
mov ecx, dword [ebp + 4]
jmp 0x41de8e
lea ecx, [ebp + 4]
mov edx, dword [ebp + 0x14]
lea ecx, [ecx + edx*2]
mov edx, dword [esp + 0x38]
push edx
push edi
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.00415260
mov ecx, dword [ebp + 0x18]
add esp, 0x18
cmp ecx, 8
jb 0x41dec3
mov ecx, dword [ebp + 4]
jmp 0x41dec6
lea ecx, [ebp + 4]
mov edi, dword [esp + 0x18]
sub edi, ecx
sar edi, 1
test al, al
je 0x41df73
mov edx, dword [ebx + 4]
mov eax, dword [esi + edx + 0x60]
test al, 1
lea ebp, [esi + edx + 0x60]
mov dword [esp + 0x14], edi
je 0x41df14
mov ecx, dword [esi + edx + 0x48]
test cl, 0x40
je 0x41def7
and eax, 0xfffffffe
jmp 0x41df11
and ecx, 0xffffff3f
and eax, 0xfffffffd
or ecx, 0x100
mov word [esi + edx + 0x44], 0x30
mov dword [esi + edx + 0x48], ecx
mov dword [ebp], eax
mov eax, dword [ebp]
test al, 2
je 0x41df28
test byte [esi + edx + 0x48], 0x20
je 0x41df28
and eax, 0xfffffffd
mov dword [ebp], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 4]
mov esi, dword [esi + eax]
cmp esi, 0xfffffffd
je 0x41df6b
cmp esi, 0xffffffff
jne 0x41df43
mov byte [esp + 0x12], 0
jmp 0x41df59
cmp esi, 0xfffffffe
jne 0x41df4f
mov byte [esp + 0x13], 1
jmp 0x41df59
cmp esi, dword [esp + 0x24]
jle 0x41df59
mov dword [esp + 0x24], esi
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
inc ecx
inc eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x1c]
push 1
push edi
lea edx, [esp + 0x34]
push edx
mov ecx, ebp
call fcn.0040f9d0
mov edi, eax
cmp edi, 0xffffffff
jne 0x41dd40
mov eax, dword [esp + 0x20]
xor esi, esi
cmp eax, esi
je 0x41dffa
mov ecx, dword [ebx + 4]
imul eax, eax, 0x64
lea eax, [eax + ecx - 0x64]
add eax, 0x20
mov ecx, dword [ebp + 0x14]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push ebp
push eax
call fcn.004151f0
mov al, byte [esp + 0x22]
add esp, 0x10
test al, al
jne 0x41e02a
mov edi, dword [esp + 0x24]
cmp edi, esi
jl 0x41dfff
test byte [ebx + 0x50], 1
je 0x41dfff
lea ecx, [esp + 0x40]
call fcn.0042b37d
mov dword [esp + 0x40], 0x467fe4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], esi
lea edx, [esp + 0x40]
push edx
mov dword [esp + 0x60], 1
call fcn.00414430
xor esi, esi
lea eax, [ebx + 0x34]
jmp 0x41dfa4
mov edi, dword [esp + 0x28]
xor ebp, ebp
cmp edi, esi
jle 0x41e023
xor ecx, ecx
mov edx, edi
lea ecx, [ecx]
mov eax, dword [ebx + 4]
add eax, ecx
cmp dword [eax], 0xffffffff
jne 0x41e01d
mov dword [eax], ebp
inc ebp
add ecx, 0x64
dec edx
jne 0x41e010
dec ebp
mov dword [esp + 0x24], ebp
jmp 0x41e02e
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [ecx]
push 0x20
call dword [edx + 0x28]
sub esp, 0x64
mov ecx, esp
mov dword [ecx], 0xffffffff
mov dword [ecx + 0x18], esi
mov edx, 7
mov dword [ecx + 0x1c], edx
mov word [ecx + 8], si
mov dword [ecx + 0x38], edx
mov dword [ecx + 0x34], esi
mov word [ecx + 0x24], si
mov byte [ecx + 0x54], 0
mov dword [ecx + 0x3c], esi
mov dword [ecx + 0x40], 6
mov word [ecx + 0x44], ax
mov dword [ecx + 0x48], 0x201
mov dword [ecx + 0x50], esi
mov dword [ecx + 0x4c], esi
mov dword [esp + 0xc8], esp
mov dword [ecx + 0x5c], SysReAllocString
mov dword [ecx + 0x60], esi
push edi
mov ecx, ebx
call fcn.0041cbf0
mov al, byte [esp + 0x13]
test al, al
je 0x41e0a1
or dword [ebx + 0x24], 4
mov eax, dword [esp + 0x24]
inc eax
mov dword [ebx + 0x2c], eax
mov al, byte [esp + 0x12]
test al, al
mov eax, dword [ebx + 0x24]
je 0x41e0b9
or eax, 1
jmp 0x41e0bc
and eax, 0xfffffffe
mov ecx, dword [esp + 0x54]
pop edi
pop esi
mov dword [ebx + 0x24], eax
pop ebp
mov eax, ebx
mov dword fs:[0], ecx
pop ebx
add esp, 0x50
ret 4