Function at 0x47b890
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4dc497
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.00405880
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 0x47bb2f
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.00469f90
mov esi, 0x104
lea ecx, [esp + 0x40]
nop
mov dl, byte [eax]
test dl, dl
je 0x47b96f
mov byte [ecx], dl
inc ecx
inc eax
dec esi
jne 0x47b960
jmp 0x47b973
test esi, esi
jne 0x47b974
dec ecx
mov byte [ecx], 0
mov ecx, 0x104
lea eax, [esp + 0x40]
cmp byte [eax], 0
je 0x47b98b
inc eax
dec ecx
jne 0x47b980
jmp 0x47b9ac
test ecx, ecx
je 0x47b9ac
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.00401eb0
mov eax, dword [ebp + 8]
push 0
push 0
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, 0x94a75c
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 [0x94a6a8]
push eax
push edx
call fcn.00439c20
mov esi, eax
add esp, 0x18
mov dword [esp + 0x10], esi
test esi, esi
mov byte [esp + 0x154], 1
jne 0x47ba16
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 0x47b9f0
sub eax, edx
mov dword [esp + 0x34], eax
je 0x47bb2f
push esi
push str.DxAttBoneLink::LoadFile
call fcn.00413c80
add esp, 8
jmp 0x47bb2f
mov eax, dword [esi]
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call dword [eax + 0xac]
mov eax, dword [esp + 0xc]
cmp eax, 0x200
jb 0x47ba3d
mov edx, dword [esi]
push 0xe
mov ecx, esi
call dword [edx + 0x10]
mov eax, dword [esp + 0xc]
cmp eax, 0x102
ja 0x47ba71
je 0x47ba67
mov ecx, eax
sub ecx, 0x100
je 0x47ba5d
dec ecx
jne 0x47ba7e
push esi
mov ecx, ebx
call fcn.0047b2d0
jmp 0x47babf
push esi
mov ecx, ebx
call fcn.0047b4a0
jmp 0x47babf
push esi
mov ecx, ebx
call fcn.0047b640
jmp 0x47babf
mov ecx, eax
sub ecx, 0x200
je 0x47bab7
dec ecx
je 0x47baad
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
push eax
push str.DxAttBoneLink::LoadFile
call fcn.00413310
add esp, 0xc
mov edx, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [edx + 0xc8]
jmp 0x47bb2f
push esi
mov ecx, ebx
call fcn.0047af80
jmp 0x47babf
push esi
mov ecx, ebx
call fcn.0047b120
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.00433590
mov ecx, eax
call fcn.00433c70
mov edi, eax
test edi, edi
je 0x47ba94
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.0040b4d0
test eax, eax
je 0x47bb1b
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.0046df00
mov ecx, eax
call fcn.0046ddb0
mov edi, eax
test edi, edi
jne 0x47bb5d
mov eax, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [eax + 0xc8]
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 0x47bba3
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.0046cd50
mov ecx, eax
call fcn.0046cb80
test eax, eax
jne 0x47bba3
push 0x4e4860
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 0x47bbc1
mov byte [eax], cl
inc eax
dec edi
jne 0x47bbb2
jmp 0x47bbc5
test edi, edi
jne 0x47bbc6
dec eax
mov byte [eax], 0
mov eax, dword [esi]
push 1
mov ecx, esi
mov byte [esp + 0x158], 0
call dword [eax + 0xc8]
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