Function at 0x4c9280
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bfe5a
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x61f138]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], edx
mov ebx, ecx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebx]
mov eax, dword [eax + 4]
add eax, ebx
mov dword [ebp - 0x64], eax
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x38]
mov eax, dword [eax + 0x30]
mov byte [ebp - 0x5c], 0
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 1
mov edi, dword [eax + 4]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0055bbd7
mov esi, dword [0x6d9748]
test esi, esi
jne 0x4c932f
push esi
lea ecx, [ebp - 0x30]
call fcn.0055bbd7
cmp dword [0x6d9748], esi
jne 0x4c9321
mov eax, dword [0x6b39c8]
inc eax
mov dword [0x6b39c8], eax
mov dword [0x6d9748], eax
lea ecx, [ebp - 0x30]
call fcn.0055bc2f
mov esi, dword [0x6d9748]
cmp esi, dword [edi + 0xc]
jae 0x4c947d
mov eax, dword [edi + 8]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4c947f
mov byte [ebp - 0x29], 1
lea ecx, [ebp - 0x34]
call fcn.0055bc2f
mov byte [ebp - 4], 3
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4c9369
mov eax, dword [ecx]
push 1
call dword [eax]
cmp byte [ebp - 0x29], 0
mov byte [ebp - 4], 0
je 0x4c94d8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx + 0x30]
mov byte [ebp - 4], 4
mov ebx, dword [eax + 4]
mov ecx, ebx
mov dword [ebp - 0x70], ebx
mov eax, dword [ebx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x38]
push 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx + 0x40]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], eax
call fcn.0055bbd7
mov byte [ebp - 4], 6
mov edi, dword [0x6d9748]
mov eax, dword [0x6d6610]
mov dword [ebp - 0x30], eax
test edi, edi
jne 0x4c93f4
push edi
lea ecx, [ebp - 0x34]
call fcn.0055bbd7
cmp dword [0x6d9748], edi
jne 0x4c93e6
mov eax, dword [0x6b39c8]
inc eax
mov dword [0x6b39c8], eax
mov dword [0x6d9748], eax
lea ecx, [ebp - 0x34]
call fcn.0055bc2f
mov edi, dword [0x6d9748]
cmp edi, dword [ebx + 0xc]
jae 0x4c94a6
mov eax, dword [ebx + 8]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x4c94a8
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.0055bc2f
push dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
push dword [ebp - 0x5c]
push dword [ebp - 0x44]
mov eax, dword [ecx]
push dword [ebp - 0x4c]
mov eax, dword [eax + 4]
add eax, ecx
mov ecx, esi
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004cc3a0
mov byte [ebp - 4], 8
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4c9450
mov eax, dword [ecx]
push 1
call dword [eax]
mov ebx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x54]
movzx ecx, ax
mov eax, dword [ebp - 0x64]
mov dword [eax + 0x14], ecx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056eeb4
mov esp, ebp
pop ebp
ret
xor eax, eax
cmp byte [edi + 0x14], 0
je 0x4c9495
call fcn.0055be3e
cmp esi, dword [eax + 0xc]
jae 0x4c949d
mov eax, dword [eax + 8]
mov eax, dword [eax + esi*4]
test eax, eax
jne 0x4c9346
mov byte [ebp - 0x29], 0
jmp 0x4c934a
xor esi, esi
cmp byte [ebx + 0x14], 0
je 0x4c94be
call fcn.0055be3e
cmp edi, dword [eax + 0xc]
jae 0x4c94c6
mov eax, dword [eax + 8]
mov esi, dword [eax + edi*4]
test esi, esi
jne 0x4c940b
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4c9697
mov esi, eax
jmp 0x4c940b
push 0x114
call fcn.0056eed3
mov edi, eax
add esp, 4
mov dword [ebp - 0x4c], edi
push 0
sub esp, 0xc
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x48], esp
call fcn.004c7080
sub esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x34], esp
call fcn.004c7870
sub esp, 0x64
mov byte [ebp - 4], 0xb
mov ecx, esp
sub esp, 0x14
call fcn.004c7db0
push str._Y__b__d__H:_M:_S_F__z
mov ecx, edi
mov byte [ebp - 4], 9
call fcn.004c8890
mov ecx, 0x5f439c
mov byte [ebp - 4], 0xc
xor eax, eax
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
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4c9555
sub ecx, edx
sar ecx, 1
push ecx
push 0x5f439c
lea ecx, [ebp - 0x28]
call fcn.00445cb0
push str._O:_M:_S_F
lea ecx, [edi + 0xfc]
mov byte [ebp - 4], 0xd
lea edx, [ebp - 0x28]
call fcn.0044a240
mov byte [ebp - 4], 0xc
add esp, 4
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4c95ca
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4c95c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4c96ad
push edx
push ecx
call fcn.0056eec5
add esp, 8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx + 0x30]
mov byte [ebp - 4], 0xe
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x68], esi
mov eax, dword [esi]
call dword [eax + 4]
push esi
mov byte [ebp - 4], 0xf
call fcn.0055bfb0
add esp, 4
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x3c]
push edi
call fcn.004c91c0
mov byte [ebp - 4], 0x12
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4c9614
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.004c7fa0
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x4c9648
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x4c9648
mov eax, dword [ecx]
push 1
call dword [eax]
mov byte [ebp - 4], 0x11
mov eax, dword [ebx]
push dword [ebp - 0x40]
push dword [ebp - 0x5c]
mov ecx, dword [eax + 4]
push dword [ebp - 0x44]
movzx eax, word [ecx + ebx + 0x40]
add ecx, ebx
push eax
push ecx
lea eax, [ebp - 0x6c]
mov ecx, edi
push eax
call fcn.004cc3a0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x4c9453
mov eax, dword [ecx]
call dword [eax + 8]
test eax, eax
je 0x4c9453
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
jmp 0x4c9453
lea ecx, [ebp - 0x1c]
call fcn.004354a0
push 0x61ac54
lea eax, [ebp - 0x1c]
push eax
call fcn.005869da
call fcn.00591dc6
int3