Function at 0x415df0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x462de8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], edi
mov cx, word [0x475f80]
mov eax, dword [0x475f7c]
mov dl, byte [0x475f82]
xor ebp, ebp
mov word [esp + 0x40], cx
push 6
push 0x475f74
lea ecx, [esp + 0x24]
mov dword [esp + 0x84], ebp
mov dword [esp + 0x44], eax
mov byte [esp + 0x4a], dl
mov byte [esp + 0x3c], 0x87
mov byte [esp + 0x3d], 0x89
mov byte [esp + 0x3e], 0x91
mov byte [esp + 0x3f], 0xa3
mov byte [esp + 0x40], 0xa5
mov byte [esp + 0x41], 0x97
call fcn.0043f770
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0043f6d0
push 7
push 0x475f6c
lea ecx, [esp + 0x30]
mov byte [esp + 0x84], 2
call fcn.0043f770
push 7
push 0x475f64
lea ecx, [esp + 0x2c]
mov byte [esp + 0x84], 3
call fcn.0043f770
push 1
push 0x475f60
lea ecx, [esp + 0x28]
mov byte [esp + 0x84], 4
call fcn.0043f770
mov al, byte [esp + 0x84]
mov dword [esp + 0x48], ebp
mov byte [esp + 0x44], al
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
push ebp
push ebp
push ebp
mov byte [esp + 0x88], 6
call fcn.00425720
mov ecx, dword [esp + 0x58]
add esp, 0xc
mov esi, eax
push ecx
push esi
lea ecx, [esp + 0x4c]
call fcn.004254d0
lea edx, [esp + 0x28]
lea ecx, [esp + 0x44]
push edx
push 1
push esi
mov dword [esp + 0x58], esi
call fcn.00413c80
mov ecx, dword [esp + 0x4c]
lea eax, [esp + 0x24]
push eax
push 1
push ecx
lea ecx, [esp + 0x50]
call fcn.00413c80
lea edx, [esp + 0x20]
mov eax, dword [esp + 0x4c]
push edx
push 1
push eax
lea ecx, [esp + 0x50]
call fcn.00413c80
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, edi
call fcn.00420090
test ax, ax
jne 0x416007
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, edi
mov byte [esp + 0x7c], 5
je 0x415f76
push ebp
mov ecx, esi
call fcn.00414d60
add esi, 4
cmp esi, edi
jne 0x415f63
mov esi, dword [esp + 0x48]
push esi
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x7c], 4
call fcn.0043f810
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 3
call fcn.0043f810
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 2
call fcn.0043f810
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0043f810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.0043f810
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], 7
call fcn.00413440
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0043f810
or ax, 0xffff
jmp 0x416539
lea ecx, [esp + 0x10]
call fcn.0043fa70
cmp ax, 0x2f
jle 0x416076
push 0x2a
lea ecx, [esp + 0x14]
call fcn.0043f9e0
push 0x2b
lea ecx, [esp + 0x14]
mov byte [0x475e3e], al
call fcn.0043f9e0
push 0x2c
lea ecx, [esp + 0x14]
mov byte [0x475e3f], al
call fcn.0043f9e0
push 0x2d
lea ecx, [esp + 0x14]
mov byte [0x475e40], al
call fcn.0043f9e0
push 0x2e
lea ecx, [esp + 0x14]
mov byte [0x475e41], al
call fcn.0043f9e0
push 0x2f
lea ecx, [esp + 0x14]
mov byte [0x475e42], al
call fcn.0043f9e0
mov byte [0x475e43], al
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0xc]
lea ebx, [edi + 4]
push ecx
push eax
push eax
mov dword [esp + 0x20], ebx
call fcn.004145e0
add esp, 0xc
mov esi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push esi
call fcn.00413c50
mov dword [ebx + 8], esi
mov dword [esp + 0x18], ebp
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x10]
push edx
mov cl, byte [esp + eax + 0x38]
lea eax, [esp + 0x40]
mov byte [esp + 0x45], cl
push eax
mov ecx, edi
call fcn.0041c6c0
test ax, ax
jle 0x416456
mov cl, byte [esp + 0x18]
add cl, 0xb
push ecx
push 5
lea ecx, [esp + 0x24]
call fcn.0043f9f0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.0043f6e0
lea ecx, [esp + 0x88]
call fcn.0043f8b0
mov edi, 0x481e18
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00413840
test al, al
je 0x416146
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov eax, ecx
mov esi, 0x481e18
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00413820
mov eax, dword [esp + 0x18]
cmp eax, 5
ja case.default.0x416153
jmp dword [eax*4 + 0x416550]
xor edi, edi
lea ecx, [edi + 5]
push ecx
lea ecx, [esp + 0x14]
call fcn.0043f9e0
mov edx, dword [0x46814c]
mov ecx, dword [esp + 0x90]
sub edx, ecx
mov bl, al
cmp edx, 1
ja 0x416184
call fcn.00458530
mov eax, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [eax + 1]
push esi
call fcn.00413840
test al, al
je 0x4161c6
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x90]
push esi
lea eax, [edx + ecx]
movsx ecx, bl
mov ch, cl
mov byte [eax], cl
lea ecx, [esp + 0x8c]
call fcn.00413820
inc edi
cmp edi, 0xb
jl 0x41615c
jmp 0x416437
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0043f9e0
mov ecx, dword [0x46814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x4161fb
call fcn.00458530
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413840
test al, al
je 0x41623c
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413820
inc edi
cmp edi, 4
jl 0x4161d3
jmp 0x416437
xor edi, edi
lea edx, [edi + 5]
lea ecx, [esp + 0x10]
push edx
call fcn.0043f9e0
mov edx, dword [esp + 0x90]
mov bl, al
mov eax, dword [0x46814c]
sub eax, edx
cmp eax, 1
ja 0x416270
call fcn.00458530
mov ecx, dword [esp + 0x90]
push 0
lea esi, [ecx + 1]
lea ecx, [esp + 0x8c]
push esi
call fcn.00413840
test al, al
je 0x4162b1
mov edx, dword [esp + 0x8c]
mov eax, dword [esp + 0x90]
movsx ecx, bl
add eax, edx
mov ch, cl
push esi
mov byte [eax], cl
lea ecx, [esp + 0x8c]
call fcn.00413820
inc edi
cmp edi, 0xb
jl 0x416249
jmp 0x416437
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0043f9e0
mov ecx, dword [0x46814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x4162e6
call fcn.00458530
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413840
test al, al
je 0x416327
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413820
inc edi
cmp edi, 3
jl 0x4162be
jmp 0x416437
push 9
lea ecx, [esp + 0x14]
call fcn.0043f9e0
mov dl, al
push 0xa
and edx, 0xff
lea ecx, [esp + 0x14]
shl edx, 8
mov dword [esp + 0x30], edx
call fcn.0043f9e0
mov edx, dword [esp + 0x2c]
and eax, 0xff
add edx, eax
lea eax, [esp + 0x54]
push edx
push 0x47599c
push eax
call fcn.00458e0a
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x8c]
push ebp
call fcn.00413840
test al, al
je case.default.0x416153
mov edi, dword [esp + 0x8c]
mov ecx, ebp
mov edx, ecx
lea esi, [esp + 0x54]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x8c]
call fcn.00413820
jmp case.default.0x416153
xor edi, edi
lea eax, [edi + 5]
lea ecx, [esp + 0x10]
push eax
call fcn.0043f9e0
mov ecx, dword [0x46814c]
mov edx, dword [esp + 0x90]
sub ecx, edx
mov bl, al
cmp ecx, 1
ja 0x4163f0
call fcn.00458530
mov edx, dword [esp + 0x90]
push 0
lea ecx, [esp + 0x8c]
lea esi, [edx + 1]
push esi
call fcn.00413840
test al, al
je 0x416431
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x90]
movsx edx, bl
add eax, ecx
mov dh, dl
push esi
lea ecx, [esp + 0x8c]
mov byte [eax], dl
call fcn.00413820
inc edi
cmp edi, 0xd
jl 0x4163c8
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x84]
push edx
push 1
push eax
mov ecx, ebx
call fcn.00413970
mov edi, dword [esp + 0x30]
xor ebp, ebp
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 6
mov dword [esp + 0x18], eax
jl 0x4160a3
mov eax, dword [ebx + 4]
cmp eax, ebp
jne 0x416473
xor ebx, ebx
jmp 0x41648b
mov ebx, dword [ebx + 8]
sub ebx, eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebx, edx
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, edi
mov byte [esp + 0x7c], 5
je 0x4164ae
mov ecx, esi
call fcn.0043f810
add esi, 4
cmp esi, edi
jne 0x41649c
mov esi, dword [esp + 0x48]
push esi
call fcn.00458510
add esp, 4
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov byte [esp + 0x7c], 4
call fcn.0043f810
lea ecx, [esp + 0x24]
mov byte [esp + 0x7c], 3
call fcn.0043f810
lea ecx, [esp + 0x28]
mov byte [esp + 0x7c], 2
call fcn.0043f810
lea ecx, [esp + 0x10]
mov byte [esp + 0x7c], 1
call fcn.0043f810
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 0
call fcn.0043f810
push 1
lea ecx, [esp + 0x8c]
mov dword [esp + 0x80], 8
call fcn.00413440
lea ecx, [esp + 0x84]
mov dword [esp + 0x7c], 0xffffffff
call fcn.0043f810
mov ax, bx
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0x14