Function at 0x1000d2d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100b1cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100e87b8]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x20]
call fcn.1007f440
push 0x5c
push eax
lea ecx, [esp + 0x1c]
xor ebp, ebp
push ecx
mov dword [esp + 0x38], ebp
call fcn.10080830
add esp, 0xc
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], 2
call fcn.1007ece0
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x38]
call fcn.1007f490
mov bl, 3
push str.Source
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], bl
call fcn.1007f440
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 4
call fcn.1007fbb0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 5
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 4
call fcn.1007ece0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.HardDiskNumber
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.PartitionNumber
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.PartitionStartSector
lea ecx, [esp + 0x3c]
call fcn.1007ee00
push eax
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
call edx
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x94]
push ecx
mov dword [esi + 0x24], ebp
mov edi, dword [eax]
push str.MediumType
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push 0x100c0988
push str.DriveName
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x94]
call edx
push eax
lea ecx, [esi + 0x4c]
mov byte [esp + 0x30], 6
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push 0x100c0988
push str.DiscType
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x94]
call edx
push eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x30], 7
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push 0x100c0988
push str.RelativePath
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x94]
call edx
push eax
lea ecx, [esi + 0x54]
mov byte [esp + 0x30], 8
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
push str.Target
lea ecx, [esp + 0x1c]
call fcn.1007f440
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 9
call fcn.1007fbb0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0xa
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 9
call fcn.1007ece0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov ecx, dword [esi + 0x30]
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.HardDiskNumber
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.PartitionNumber
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.PartitionStartSector
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x40]
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x94]
push ecx
mov dword [esi + 0x3c], ebp
mov edi, dword [eax]
push str.PartitionSize
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
push 0x100c12d8
lea ecx, [esp + 0x1c]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ebp
call fcn.1007f440
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
mov byte [esp + 0x34], 0xb
push edx
call fcn.1007fbb0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0xc
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 0xb
call fcn.1007ece0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov ecx, dword [esi + 0x74]
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.RestoredPartitionSize
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x78]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.RestoreMBR
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push 0x100c0988
push 0x100c14c0
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov edx, dword [edi + 0xc]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x94]
call edx
push eax
lea ecx, [esi + 0x64]
mov byte [esp + 0x30], 0xd
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
push str.Actions
lea ecx, [esp + 0x1c]
call fcn.1007f440
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov byte [esp + 0x38], 0xe
call fcn.1007fbb0
add esp, 0xc
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0xf
call fcn.1007f5b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x2c], 0xe
call fcn.1007ece0
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], bl
call fcn.1007ece0
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.StartRestore
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x94]
mov edi, dword [eax]
push ecx
push str.SystemState
lea ecx, [esp + 0x3c]
call fcn.1007ee00
mov ecx, dword [esi + 0x94]
mov edx, dword [edi + 8]
push eax
call edx
lea ecx, [esp + 0x34]
mov dword [esi + 0x80], eax
mov byte [esp + 0x2c], 2
call fcn.1007ece0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ece0
lea eax, [ebp + 1]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4