Function at 0x1001cab0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x10061c13
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100dd9d4]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x138]
mov edx, dword [esi + 0x128]
xor edi, edi
xor ecx, ecx
xor ebx, ebx
push edi
xor ebp, ebp
sub edx, eax
mov eax, dword [esi + 0x144]
push eax
sbb ebx, ecx
push ebx
push edx
mov dword [esp + 0x24], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call sub.ntdll.dll__allmul
cmp edx, edi
jl 0x1001cbcc
jg 0x1001cb24
cmp eax, edi
jbe 0x1001cbba
mov ecx, dword [esi + 0x120]
push edi
push ecx
push edx
push eax
call fcn.100595b0
cmp dword [esi + 0x78], edi
je 0x1001cb79
or ecx, ebx
mov dword [esp + 0x18], edx
je 0x1001cb43
add eax, 1
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x15d
mov ecx, str..._fatresize.cpp
add edi, 8
call fcn.10016e70
mov edx, dword [edi]
push eax
push str._s:_Extend_FAT32_and_Increase_FAT_Table.
push ebx
call edx
jmp 0x1001cc85
or ecx, ebx
mov dword [esp + 0x18], edx
je 0x1001cb84
add eax, 1
lea ecx, [eax + 2]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x24], eax
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x16a
mov ecx, str..._fatresize.cpp
add edi, 8
call fcn.10016e70
mov edx, dword [edi]
push eax
push str._s:_Shrink_FAT32_and_Increase_FAT_Table.
push ebx
call edx
jmp 0x1001cc85
cmp edx, edi
jg 0x1001cc5f
jl 0x1001cbcc
cmp eax, edi
jae 0x1001cc5f
neg eax
adc edx, edi
neg edx
cmp dword [esi + 0x78], edi
push 0
je 0x1001cc23
mov edi, dword [esi + 0x124]
push edi
push edx
push eax
call sub.ntdll.dll__alldiv
mov ecx, eax
xor edx, edx
mov eax, edi
div dword [esi + 0x120]
mov dword [esp + 0x20], 0
mov ebp, eax
imul ebp, ecx
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x175
mov ecx, str..._fatresize.cpp
add edi, 8
call fcn.10016e70
push eax
push str._s:_Extend_FAT32_and_Decrease_FAT_Table.
jmp 0x1001cc80
mov ecx, dword [esi + 0x120]
push ecx
push edx
push eax
call sub.ntdll.dll__alldiv
mov ebp, eax
mov dword [esp + 0x20], edx
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x17b
mov ecx, str..._fatresize.cpp
add edi, 8
call fcn.10016e70
mov edx, dword [edi]
push eax
push str._s:_Shrink_FAT32_and_Decrease_FAT_Table.
push ebx
call edx
jmp 0x1001cc85
call fcn.10059c60
mov ebx, eax
mov edi, dword [ebx]
push 0x180
mov ecx, str..._fatresize.cpp
add edi, 8
call fcn.10016e70
push eax
push str._s:_FAT_Table_No_Change.
mov eax, dword [edi]
push ebx
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
add esp, 0x10
mov dword [esi + 0x158], ecx
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x178], eax
xor eax, eax
push ecx
mov dword [esi + 0x174], edx
mov edx, dword [esi + 0x38]
mov dword [esi + 0x17c], eax
mov eax, dword [esi + 0x30]
push edx
xor ebx, ebx
lea edi, [esi + 0x80]
push eax
mov ecx, edi
mov dword [esi + 0x150], 2
mov dword [esi + 0x154], ebx
mov dword [esi + 0x15c], ebx
mov dword [esi + 0x170], ebp
call fcn.1002a3a0
test eax, eax
jne 0x1001cd40
call fcn.10059c60
mov ebp, eax
mov ebx, dword [ebp]
push 0x18c
mov ecx, str..._fatresize.cpp
add ebx, 8
call fcn.10016e70
mov ecx, dword [ebx]
push eax
push str._s:_Failed_to_init_ClusList.
push ebp
call ecx
mov edx, dword [esi + 0x70]
mov ebx, dword [edx]
add esp, 0x10
mov ecx, edi
add ebx, 0x20
call fcn.10029be0
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [ebx]
call eax
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov ecx, dword [esi + 0x13c]
push ecx
mov ecx, edi
mov dword [esp + 0x84], ebx
call fcn.1002a8d0
mov ebx, eax
test ebx, ebx
jne 0x1001cdcf
mov edx, dword [esi + 0x70]
mov ebp, dword [edx]
mov ecx, edi
add ebp, 0x20
call fcn.10029be0
mov ecx, dword [esi + 0x70]
push eax
mov eax, dword [ebp]
call eax
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x197
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov ecx, dword [esi]
push eax
push 0x10065620
push edi
call ecx
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x1001cdb9
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
xor ebp, ebp
test ebx, ebx
jbe 0x1001ce06
push ebp
mov ecx, edi
mov dword [esp + 0x30], 1
call fcn.1002a420
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x38]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
call fcn.1003bda0
add ebp, 1
cmp ebp, ebx
jb 0x1001cdd5
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.1001a7e0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x74]
call eax
test eax, eax
je 0x1001ce82
mov esi, dword [esi + 0x70]
mov edx, dword [esi]
mov eax, dword [edx + 0x20]
push 0x17
mov ecx, esi
call eax
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x1a9
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov ecx, dword [esi]
push eax
push 0x10064608
push edi
call ecx
mov eax, dword [esp + 0x48]
add esp, 0x10
test eax, eax
je 0x1001cdb9
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [0x10065618]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push str.Filesystem_Scanning...
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push str.Working...
call eax
push 0x18
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x80], 1
je 0x1001ced8
push 0
mov ecx, eax
call fcn.1002a9a0
jmp 0x1001ceda
xor eax, eax
mov ecx, dword [esi + 0x13c]
mov dword [esi + 0x7c], eax
lea edx, [esp + 0x34]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x7c]
push edx
mov byte [esp + 0x84], 0
call fcn.1001a190
mov eax, dword [esi + 0x7c]
mov byte [eax + 0x10], 1
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, esi
call fcn.1001b490
test eax, eax
jne 0x1001cf3c
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x1b8
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov edx, dword [esi]
push eax
push 0x100655b0
push edi
call edx
jmp 0x1001cda5
fld qword [esi + 0x180]
fmul qword [0x10064600]
fiadd dword [esi + 0x188]
call fcn.100594f0
mov ecx, dword [esi + 0x70]
mov ebx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
cmp eax, ebx
jge 0x1001cf6e
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push ebx
call edx
mov ecx, edi
call fcn.10029df0
mov edi, dword [esi + 0xf8]
cmp dword [esi + 0xf4], edi
lea ebp, [esi + 0xf0]
jbe 0x1001cf8f
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [ebp + 4]
cmp ebx, dword [ebp + 8]
jbe 0x1001cf9d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push ebp
push ebx
push ebp
lea eax, [esp + 0x34]
push eax
mov ecx, ebp
call fcn.10030600
mov ebx, dword [esi + 0x108]
cmp dword [esi + 0x104], ebx
lea edi, [esi + 0x100]
jbe 0x1001cfc7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x14], eax
jbe 0x1001cfdd
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
push ebx
push edi
push eax
push edi
lea ecx, [esp + 0x34]
push ecx
mov ecx, edi
call fcn.10030600
mov eax, dword [esi + 0x118]
cmp dword [esi + 0x114], eax
lea ebx, [esi + 0x110]
mov dword [esp + 0x14], eax
jbe 0x1001d00b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebx + 4]
cmp eax, dword [ebx + 8]
mov dword [esp + 0x1c], eax
jbe 0x1001d01d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
push edx
push ebx
push eax
push ebx
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebx
call fcn.10019d10
mov edx, dword [esi + 0x15c]
cmp edx, dword [esi + 0x154]
jl 0x1001d06e
jg 0x1001d053
mov eax, dword [esi + 0x158]
cmp eax, dword [esi + 0x150]
jbe 0x1001d06e
mov eax, dword [esi + 0x150]
mov ecx, dword [esi + 0x158]
sub ecx, eax
push ecx
push eax
lea ecx, [esi + 0xc8]
call fcn.1002b8b0
fld qword [0x100655a8]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push str.Filesystem_Analysing...
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push str.Analysing...
call eax
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, esi
call fcn.1001c8d0
test eax, eax
jne 0x1001d0d9
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x1e3
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov edx, dword [esi]
push eax
push 0x10065538
push edi
call edx
jmp 0x1001cda5
fld qword [esi + 0x180]
fmul qword [0x10064600]
fiadd dword [esi + 0x188]
call fcn.100594f0
mov ecx, dword [esi + 0x70]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
cmp eax, dword [esp + 0x14]
jge 0x1001d113
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 8]
push edx
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x24]
push 0
call eax
fld qword [str.333333]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push str.Data_Moving...
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push str.Moving_Data
call eax
mov ecx, ebx
call fcn.10019e30
cmp dword [esi + 0x78], 0
mov ecx, esi
je 0x1001d20d
call fcn.10018590
test eax, eax
jne 0x1001d1a3
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x1f4
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
push eax
push 0x100654d8
mov ecx, dword [esi]
push edi
call ecx
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.10032630
jmp 0x1001cdb9
xor ebx, ebx
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x1001d201
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x1001d201
test ecx, ecx
je 0x1001d1c8
mov eax, dword [ebp + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1001d1ce
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebp + 4]
mov edi, dword [edx + ebx*4]
test edi, edi
je 0x1001d1fc
mov eax, dword [edi + 4]
test eax, eax
je 0x1001d1e8
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
push edi
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
add ebx, 1
jmp 0x1001d1a5
mov ecx, ebp
call fcn.10030660
jmp 0x1001d2b5
call fcn.10018b90
test eax, eax
jne 0x1001d24d
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x202
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
push eax
mov eax, dword [esi]
push 0x100654d8
push edi
call eax
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.10032630
jmp 0x1001cdb9
xor ebx, ebx
nop
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1001d2ae
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x1001d2ae
test ecx, ecx
je 0x1001d273
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x1001d279
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 4]
mov ebp, dword [ecx + ebx*4]
xor ecx, ecx
cmp ebp, ecx
je 0x1001d2a9
mov eax, dword [ebp + 0x14]
cmp eax, ecx
je 0x1001d297
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
push ebp
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
add ebx, 1
jmp 0x1001d250
mov ecx, edi
call fcn.10030660
fld qword [esi + 0x180]
fmul qword [0x10064600]
fiadd dword [esi + 0x188]
call fcn.100594f0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x4c]
call eax
cmp eax, edi
jge 0x1001d2e7
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
fld qword [0x100654d0]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x38]
push str.File_Items_Updating...
call eax
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
push str.Updating_Files
call eax
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, esi
call fcn.10019a50
test eax, eax
jne 0x1001d352
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x216
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov edx, dword [esi]
push eax
push 0x10065448
push edi
call edx
jmp 0x1001cda5
fld qword [esi + 0x180]
fmul qword [0x10064600]
fiadd dword [esi + 0x188]
call fcn.100594f0
mov ecx, dword [esi + 0x70]
mov edi, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x4c]
call edx
cmp eax, edi
jge 0x1001d384
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
push edi
call edx
fld qword [0x10065440]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
push str.FAT_Table_Rewriting...
call edx
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push str.Writing_FAT
call edx
mov eax, dword [esi + 0x7c]
push eax
mov ecx, esi
call fcn.1001a500
test eax, eax
jne 0x1001d3ea
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x22b
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
push eax
push str._s:_Combine_and_Split_FATable_error.
jmp 0x1001d18d
fld qword [esi + 0x180]
fmul qword [0x10064600]
fiadd dword [esi + 0x188]
call fcn.100594f0
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x4c]
call eax
cmp eax, edi
jge 0x1001d41c
mov ecx, dword [esi + 0x70]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
push edi
call eax
fld qword [0x10065618]
sub esp, 8
mov ecx, esi
fstp qword [esp]
call fcn.100178a0
mov ecx, dword [esi + 0x7c]
push ecx
mov ecx, esi
call fcn.10017cb0
test eax, eax
jne 0x1001d475
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x234
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
mov edx, dword [esi]
push eax
push str._s:_Failed_to_write_FAT_table.
push edi
call edx
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.10032630
jmp 0x1001cdb9
push 0x64
mov ecx, esi
call fcn.1001e7b0
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
push str.DBR_Rewriting...
call edx
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
mov edx, dword [eax + 0x3c]
push str.Writing_DBR
call edx
mov ecx, esi
call fcn.10017430
test eax, eax
jne 0x1001d4de
call fcn.10059c60
mov edi, eax
mov esi, dword [edi]
push 0x23f
mov ecx, str..._fatresize.cpp
add esi, 8
call fcn.10016e70
push eax
mov eax, dword [esi]
push str._s:_Failed_to_write_Reserved_Sector.
push edi
call eax
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.10032630
jmp 0x1001cdb9
mov esi, dword [esi + 0x70]
mov edx, dword [esi]
mov eax, dword [edx + 8]
push 0x64
mov ecx, esi
call eax
lea ecx, [esp + 0x34]
call fcn.10032630
mov eax, 1
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret