Function at 0x49e9c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547f17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x158], 0
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x18]
mov edi, eax
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::end_void_]
mov esi, eax
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::iterator___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::begin_void_]
mov ecx, dword [sym.imp.MSVCR71.dll_tolower]
mov edx, dword [edi]
push ecx
mov ecx, dword [esi]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00402c40
add esp, 0x14
push 0
push str..abl
lea ecx, [esp + 0x1c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::find_char_const___unsigned_int_const]
mov ecx, dword [sym.imp.MSVCP71.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
cmp eax, dword [ecx]
je 0x49ec5f
mov byte [esp + 0x40], 0
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x41]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.0046a240
mov esi, 0x104
lea ecx, [esp + 0x40]
nop
mov dl, byte [eax]
test dl, dl
je 0x49ea9f
mov byte [ecx], dl
inc ecx
inc eax
dec esi
jne 0x49ea90
jmp 0x49eaa3
test esi, esi
jne 0x49eaa4
dec ecx
mov byte [ecx], 0
mov ecx, 0x104
lea eax, [esp + 0x40]
cmp byte [eax], 0
je 0x49eabb
inc eax
dec ecx
jne 0x49eab0
jmp 0x49eadc
test ecx, ecx
je 0x49eadc
mov edx, dword [ebp + 8]
mov eax, 0x104
sub eax, ecx
push edx
mov ecx, 0x104
sub ecx, eax
push ecx
lea edx, [esp + eax + 0x48]
push edx
call fcn.004126e0
mov eax, dword [ebp + 8]
push 0
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x298efd4
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [0x298ef20]
push eax
push edx
call fcn.00466b10
mov esi, eax
add esp, 0x18
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x154], 1
jne 0x49eb46
mov esi, dword [ebp + 8]
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49eb20
sub eax, edx
mov dword [esp + 0x34], eax
je 0x49ec5f
push esi
push str.DxAttBoneLink::LoadFile
call fcn.00464be0
add esp, 8
jmp 0x49ec5f
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0xa4]
mov eax, dword [esp + 0xc]
cmp eax, 0x200
jb 0x49eb6d
mov edx, dword [esi]
push 0xe
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, 0x102
ja 0x49eba1
je 0x49eb97
mov ecx, eax
sub ecx, 0x100
je 0x49eb8d
dec ecx
jne 0x49ebae
push esi
mov ecx, ebx
call fcn.0049e410
jmp 0x49ebef
push esi
mov ecx, ebx
call fcn.0049e5d0
jmp 0x49ebef
push esi
mov ecx, ebx
call fcn.0049e770
jmp 0x49ebef
mov ecx, eax
sub ecx, 0x200
je 0x49ebe7
dec ecx
je 0x49ebdd
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
push eax
push str.DxAttBoneLink::LoadFile
call fcn.004647e0
add esp, 0xc
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [edx + 0xc0]
jmp 0x49ec5f
push esi
mov ecx, ebx
call fcn.0049e0e0
jmp 0x49ebef
push esi
mov ecx, ebx
call fcn.0049e270
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebx + 0x64]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.004726e0
mov ecx, eax
call fcn.00472dc0
mov edi, eax
test edi, edi
je 0x49ebc4
lea ecx, [ebx + 0xa8]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, edi
call fcn.004632f0
test eax, eax
je 0x49ec4b
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea ecx, [ebx + 0x48]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0046b430
mov ecx, eax
call fcn.0046b2e0
mov edi, eax
test edi, edi
jne 0x49ec8d
mov eax, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [eax + 0xc0]
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor eax, eax
mov ecx, dword [esp + 0x14c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
lea ecx, [ebx + 0x8c]
call dword [sym.imp.MSVCP71.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::size_void_const]
test eax, eax
je 0x49ecd3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
lea ecx, [ebx + 0x8c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0046e7e0
mov ecx, eax
call fcn.0046e610
test eax, eax
jne 0x49ecd3
push 0x5d0b45
lea ecx, [ebx + 0x8c]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_char_const__]
mov edx, dword [ebp + 8]
mov dword [ebx + 0x40], edi
mov edi, 0x40
mov eax, ebx
sub edx, ebx
mov cl, byte [edx + eax]
test cl, cl
je 0x49ecf1
mov byte [eax], cl
inc eax
dec edi
jne 0x49ece2
jmp 0x49ecf5
test edi, edi
jne 0x49ecf6
dec eax
mov byte [eax], 0
mov eax, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [eax + 0xc0]
lea ecx, [esp + 0x14]
mov dword [esp + 0x154], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc