Function at 0x511150
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5691e7
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5d21e8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], esi
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
mov dword [ebp - 0x60], eax
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], ecx
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
mov byte [ebp - 0x58], 0
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x38]
push eax
call fcn.00513060
add esp, 4
mov byte [ebp - 0x29], al
test edi, edi
je 0x5111e5
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x5111e2
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, byte [ebp - 0x29]
test al, al
je 0x511259
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x30]
mov edi, dword [eax + 4]
mov ecx, edi
mov dword [ebp - 0x34], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call fcn.005138a0
mov edx, eax
add esp, 4
mov eax, dword [esi]
push dword [ebp - 0x3c]
mov ecx, dword [eax + 4]
movzx eax, word [ecx + esi + 0x40]
add ecx, esi
push eax
push ecx
push dword [ebp - 0x40]
lea eax, [ebp - 0x4c]
mov ecx, edx
push dword [ebp - 0x58]
push eax
call fcn.00516d60
test edi, edi
je 0x51142d
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x51142d
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x51142d
push 0x114
call fcn.0053274c
mov edi, eax
add esp, 4
mov dword [ebp - 0x64], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x51137b
mov esi, dword [str._Y__b__d__H:_M:_S_F__z]
push 0
sub esp, 0xc
mov ecx, esp
mov dword [ebp - 0x44], esp
call fcn.00513fd0
sub esp, 0xc
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x68], esp
call fcn.00514830
sub esp, 0x64
mov byte [ebp - 4], 4
mov ecx, esp
push 0x5a0b24
push 0x5a0b20
push 0x5a0b1c
push 0x5a0b18
push 1
call fcn.005146f0
push esi
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.00513da0
mov dword [edi], vtable.boost::date_time::time_facet_class_boost::posix_time::ptime__wchar_t__class_std::ostreambuf_iterator_wchar_t__struct_std::char_traits_wchar_t___.0
xor eax, eax
mov edx, dword [0x5d20e4]
mov ecx, edx
mov esi, dword [str._O:_M:_S_F]
mov dword [ebp - 0x28], 0
mov word [ebp - 0x28], ax
lea eax, [ecx + 2]
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x44], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x511306
sub ecx, dword [ebp - 0x44]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00503d40
push esi
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
lea eax, [edi + 0xfc]
push eax
call fcn.00511730
mov edx, dword [ebp - 0x14]
add esp, 0xc
mov byte [ebp - 4], 5
cmp edx, 8
jb 0x511376
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x51136c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x511456
push edx
push ecx
call fcn.0053277c
add esp, 8
mov esi, dword [ebp - 0x30]
jmp 0x51137d
xor edi, edi
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + esi + 0x30]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x48], ecx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x38]
call fcn.00510e70
mov ecx, dword [ebp - 0x30]
mov byte [ebp - 4], 9
test ecx, ecx
je 0x5113c3
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x5113c3
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
call fcn.00515db0
mov ecx, dword [ebp - 0x48]
test ecx, ecx
je 0x5113f1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov ecx, eax
test ecx, ecx
je 0x5113f1
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [esi]
mov ecx, edi
push dword [ebp - 0x3c]
mov edx, dword [eax + 4]
movzx eax, word [edx + esi + 0x40]
add edx, esi
push eax
push edx
push dword [ebp - 0x40]
lea eax, [ebp - 0x58]
push dword [ebp - 0x58]
push eax
call fcn.00516d60
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x51142d
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x51142d
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x50]
movzx ecx, ax
mov eax, esi
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005329db
mov esp, ebp
pop ebp
ret
call fcn.005379bf
int3