Function at 0x1000c760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100565ff
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x180
mov eax, dword [0x10076008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], 0xffffffff
mov dword [ebp - 0x140], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x158], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x150], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x13c], xmm0
lea ecx, [ebp - 0x9c]
call fcn.10005ad0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.10005620
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.10005620
mov byte [ebp - 4], 2
mov byte [ebp - 0x121], 1
push 0x40
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.10033d10
add esp, 0xc
lea ecx, [ebp - 0x6c]
call fcn.10005620
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.10005620
mov byte [ebp - 4], 4
push str._INF___StartClone__Start_
call fcn.100098e0
add esp, 4
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
cmp dword [edx + 0x7638], 0
je 0x1000c869
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
cmp dword [ecx + 0x763c], 0
jne 0x1000c8d6
push str._ERR__StartClone__m_pStartPartClone__NULL
call fcn.100098e0
add esp, 4
mov dword [ebp - 0x178], 0xffffffff
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.10005450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10005900
mov eax, dword [ebp - 0x178]
jmp 0x1000dbba
mov dword [ebp - 0x128], 1
mov edx, dword [ebp - 0x118]
add edx, 0x2a0
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0x118]
call fcn.100203b0
movzx ecx, al
test ecx, ecx
je 0x1000c95b
lea edx, [ebp - 0xe4]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.10020f90
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
push eax
mov ecx, dword [ebp - 0x118]
add ecx, 0x254
call fcn.10005950
lea ecx, [ebp - 0xe4]
call fcn.10005900
mov ecx, dword [ebp - 0x118]
call fcn.10020700
mov ecx, dword [ebp - 0x118]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x118]
call fcn.1000dbe0
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1000c97a
jmp 0x1000db26
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x158], eax
mov ecx, dword [edx + 0x54]
mov dword [ebp - 0x154], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x58]
mov dword [ebp - 0x134], eax
mov ecx, dword [edx + 0x5c]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x60]
mov dword [ebp - 0x13c], eax
mov ecx, dword [edx + 0x64]
mov dword [ebp - 0x138], ecx
mov edx, dword [ebp - 0x118]
mov byte [edx + 0x4a], 0
mov eax, dword [ebp - 0x118]
imul ecx, dword [eax + 0x10], 0xbb
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov edx, dword [eax + 0x7212]
mov eax, dword [edx + ecx + 0x13]
add eax, 1
mov ecx, dword [edx + ecx + 0x17]
adc ecx, 0
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov ecx, dword [edx + 0x69e8]
cmp ecx, dword [eax + 0x69e0]
jne 0x1000ca33
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
mov ecx, dword [edx + 0x10]
cmp ecx, dword [eax + 0x14]
je 0x1000ca3d
mov edx, dword [ebp - 0x118]
mov byte [edx + 0x4a], 1
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
push str._INF__StartClone__dlSLen__llu
call fcn.100098e0
add esp, 0xc
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x158]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.1000e570
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
je 0x1000caab
mov dword [ebp - 0x11c], 0xffffffff
jmp 0x1000db26
call fcn.1000a2a0
push 0
push 1
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x69f0]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.100167e0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
push str.ShellHWDetection
call fcn.10005a60
mov ecx, dword [ebp - 0x118]
call fcn.10013190
call fcn.1000a2a0
mov dword [ebp - 0x128], 2
mov edx, dword [ebp - 0x118]
add edx, 0x2a0
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [ebp + 8]
add esp, 8
mov dword [ebp - 0x120], 0
jmp 0x1000cb32
mov ecx, dword [ebp - 0x120]
add ecx, 1
mov dword [ebp - 0x120], ecx
cmp dword [ebp - 0x120], 0xa
jge 0x1000d225
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
cmp dword [eax + edx + 0x74], 0
jge 0x1000cb7e
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx + 0x74]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push str._INF__StartClone__break___d__m_tRest_i_.nSPart___d____0
call fcn.100098e0
add esp, 0xc
jmp 0x1000d225
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x144], edx
mov ecx, dword [ebp - 0x144]
mov edx, dword [ebp - 0x148]
mov eax, dword [ebp - 0x144]
mov esi, dword [ebp - 0x148]
mov ecx, dword [edx + ecx + 0x8e]
or ecx, dword [esi + eax + 0x92]
jne 0x1000cbf5
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x92]
push ecx
mov edx, dword [eax + edx + 0x8e]
push edx
mov eax, dword [ebp - 0x120]
push eax
push str._INF__StartClone__continue___d__m_tRest_i_.dlTLen___ld____0
call fcn.100098e0
add esp, 0x10
jmp 0x1000cb23
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69f0]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69e8]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69e0]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push str._INF__StartClone____d__m_nYDisk__d__m_nSDisk__d__m_nTDisk__d
call fcn.100098e0
add esp, 0x14
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x81]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x74]
push ecx
mov edx, dword [ebp - 0x120]
push edx
push str._INF__StartClone____d__m_tRest_i_.nSPart__d__m_tRest_i_.nTPart__d
call fcn.100098e0
add esp, 0x10
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x8a]
push edx
mov eax, dword [ecx + eax + 0x86]
push eax
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx + 0x7d]
push eax
mov ecx, dword [edx + ecx + 0x79]
push ecx
mov edx, dword [ebp - 0x120]
push edx
push str._INF__StartClone____d__m_tRest_i_.dlSStart__llu__m_tRest_i_.dlTStart__llu
call fcn.100098e0
add esp, 0x18
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x92]
push edx
mov eax, dword [ecx + eax + 0x8e]
push eax
mov ecx, dword [ebp - 0x120]
push ecx
push str._INF__StartClone____d__m_tRest_i_.dlTLen__d
call fcn.100098e0
add esp, 0x10
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + edx + 0x78]
push ecx
mov edx, dword [ebp - 0x120]
push edx
push str._INF__StartClone____d__m_tRest_i_.bDefrag__d
call fcn.100098e0
add esp, 0xc
call fcn.1000a2a0
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
movzx edx, byte [ecx + eax + 0x96]
test edx, edx
jne 0x1000ce67
mov byte [ebp - 4], 5
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
movzx edx, byte [ecx + eax + 0x78]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x92]
push edx
mov eax, dword [ecx + eax + 0x8e]
push eax
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx + 0x8a]
push eax
mov ecx, dword [edx + ecx + 0x86]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + edx + 0x85]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x81]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x69f0]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x7d]
push ecx
mov edx, dword [eax + edx + 0x79]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x74]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x70]
push edx
push 0x10013180
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x763c]
call edx
add esp, 0x34
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x11c], eax
jmp 0x1000ce52
mov dword [ebp - 4], 4
jmp 0x1000ce62
jmp 0x1000cfde
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + ecx + 0x97]
test eax, eax
je 0x1000ce8c
mov dword [ebp - 0x128], 9
jmp 0x1000ce96
mov dword [ebp - 0x128], 2
mov ecx, dword [ebp - 0x118]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [ebp + 8]
add esp, 8
mov byte [ebp - 4], 7
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
movzx edx, byte [ecx + eax + 0x78]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x92]
push edx
mov eax, dword [ecx + eax + 0x8e]
push eax
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx + 0x8a]
push eax
mov ecx, dword [edx + ecx + 0x86]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + edx + 0x85]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x81]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x69f0]
push ecx
imul edx, dword [ebp - 0x120], 0x28
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + edx + 0x7d]
push ecx
mov edx, dword [eax + edx + 0x79]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x74]
push edx
imul eax, dword [ebp - 0x120], 0x28
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x70]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x763c]
call eax
add esp, 0x34
mov dword [ebp - 0x16c], eax
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x11c], ecx
jmp 0x1000cfce
mov dword [ebp - 4], 4
jmp 0x1000cfde
call fcn.1000a2a0
mov edx, dword [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x120]
push eax
push str._INF__StartClone____d__nRet__d
call fcn.100098e0
add esp, 0xc
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov edx, dword [ebp - 0x118]
mov eax, dword [eax + 0x69e8]
cmp eax, dword [edx + ecx + 0x70]
jne 0x1000d178
imul ecx, dword [ebp - 0x120], 0x28
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x118]
mov edx, dword [edx + 0x14]
cmp edx, dword [eax + ecx + 0x74]
jne 0x1000d178
push 0x40
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000d071
mov ecx, 1
imul edx, ecx, 0
movsx eax, byte [ebp + edx - 0x54]
push eax
call fcn.100417a5
add esp, 4
mov byte [ebp - 0x129], al
jmp 0x1000d085
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov al, byte [edx + 0x69de]
mov byte [ebp - 0x129], al
push 0x10067a10
movsx ecx, byte [ebp - 0x129]
push ecx
push 0x10067a2c
lea edx, [ebp - 0x114]
push edx
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
push eax
lea ecx, [ebp - 0x6c]
call fcn.100054a0
lea ecx, [ebp - 0x114]
call fcn.10005450
push 0x10067a3c
movsx ecx, byte [ebp - 0x129]
push ecx
push 0x10067a60
lea edx, [ebp - 0xfc]
push edx
call fcn.1002eaa0
add esp, 0x10
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x84]
call fcn.100054a0
lea ecx, [ebp - 0xfc]
call fcn.10005450
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x184], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.10005670
call fcn.10009b10
add esp, 0x18
mov byte [ebp - 0x12a], al
movzx eax, byte [ebp - 0x12a]
test eax, eax
je 0x1000d178
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x188], esp
lea edx, [ebp - 0x84]
push edx
call fcn.10005670
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 9
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x190], esp
lea eax, [ebp - 0x6c]
push eax
call fcn.10005670
mov byte [ebp - 4], 4
call fcn.10009f80
add esp, 0x30
cmp dword [ebp - 0x140], 0
jne 0x1000d1a9
cmp dword [ebp - 0x11c], 0x31195
jne 0x1000d1a9
mov dword [ebp - 0x140], 1
mov ecx, dword [ebp - 0x118]
call fcn.100133b0
jmp 0x1000cd16
cmp dword [ebp - 0x140], 1
jne 0x1000d1d8
cmp dword [ebp - 0x11c], 0x31195
jne 0x1000d1d8
mov dword [ebp - 0x140], 2
mov ecx, dword [ebp - 0x118]
call fcn.10013850
jmp 0x1000cd16
cmp dword [ebp - 0x11c], 0
je 0x1000d1e6
jmp 0x1000db26
mov ecx, dword [ebp - 0x118]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [ebp + 8]
add esp, 8
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x2a0]
test ecx, ecx
je 0x1000d220
mov dword [ebp - 0x11c], 0x4b0
jmp 0x1000db26
jmp 0x1000cb23
mov edx, dword [ebp - 0x118]
add edx, 0x2a0
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0x118]
movzx edx, byte [ecx + 0x2a0]
test edx, edx
je 0x1000d25f
mov dword [ebp - 0x11c], 0x4b0
jmp 0x1000db26
call fcn.1000a2a0
mov eax, dword [ebp - 0x134]
or eax, dword [ebp - 0x130]
je 0x1000d5bf
mov ecx, dword [ebp - 0x118]
cmp dword [ecx + 0x68], 0xffffffff
jne 0x1000d37b
mov dword [ebp - 0x128], 3
mov edx, dword [ebp - 0x118]
add edx, 0x2a0
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69f0]
push eax
push str._INF__StartClone__Data1_format.wcl__m_nTDisk__d
call fcn.100098e0
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x211]
push edx
push 0x10067aa4
call fcn.100098e0
add esp, 8
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x222]
push ecx
mov edx, dword [eax + 0x21e]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x21a]
push ecx
mov edx, dword [eax + 0x216]
push edx
push 0x10067ad0
call fcn.100098e0
add esp, 0x14
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x222]
push ecx
mov edx, dword [eax + 0x21e]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x21a]
push ecx
mov edx, dword [eax + 0x216]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x211]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.1001ad80
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x11c]
push edx
push str._INF__StartClone__FormatPartition_Data1_nRet_:__d__GetLastError_:__d
call fcn.100098e0
add esp, 0xc
jmp 0x1000d5b1
mov dword [ebp - 0x128], 5
mov eax, dword [ebp - 0x118]
add eax, 0x2a0
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call dword [ebp + 8]
add esp, 8
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x204]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69e8]
push eax
push str._INF__StartClone__Data1_m_nSDisk__d__m_nSPart__d
call fcn.100098e0
add esp, 0xc
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69f0]
push eax
push str._INF__StartClone__Data1_m_nTDisk__d
call fcn.100098e0
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x211]
push edx
push str._INF__StartClone__Data1_m_tData.nTPart__d
call fcn.100098e0
add esp, 8
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x222]
push ecx
mov edx, dword [eax + 0x21e]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x21a]
push ecx
mov edx, dword [eax + 0x216]
push edx
push str._INF__StartClone__Data1_m_tData.dlTStart__llu__m_tData.dlTLen__llu
call fcn.100098e0
add esp, 0x14
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x208]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x222]
push eax
mov ecx, dword [edx + 0x21e]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x21a]
push eax
mov ecx, dword [edx + 0x216]
push ecx
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0x215]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x211]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x69f0]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x20d]
push ecx
mov edx, dword [eax + 0x209]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x204]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x200]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x763c]
call ecx
add esp, 0x34
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x11c], edx
jmp 0x1000d51c
mov dword [ebp - 4], 4
jmp 0x1000d52c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x11c]
push eax
push str._INF__StartClone__m_pStartPartCloneEx_Data1_nRet_:__d__GetLastError_:__d
call fcn.100098e0
add esp, 0xc
cmp dword [ebp - 0x11c], 0
je 0x1000d5b1
mov byte [ebp - 0x121], 0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x222]
push edx
mov eax, dword [ecx + 0x21e]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x21a]
push edx
mov eax, dword [ecx + 0x216]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x211]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.1001ad80
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
push str._ERR__StartClone__Data1_Format_nRet_:__d
call fcn.100098e0
add esp, 8
cmp dword [ebp - 0x11c], 0
je 0x1000d5bf
jmp 0x1000db26
call fcn.1000a2a0
mov ecx, dword [ebp - 0x118]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [ebp + 8]
add esp, 8
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x2a0]
test ecx, ecx
jne 0x1000d960
mov edx, dword [ebp - 0x134]
or edx, dword [ebp - 0x130]
je 0x1000d960
mov eax, dword [ebp - 0x13c]
or eax, dword [ebp - 0x138]
je 0x1000d960
mov ecx, dword [ebp - 0x118]
cmp dword [ecx + 0x6c], 0xffffffff
jne 0x1000d71c
mov dword [ebp - 0x128], 3
mov edx, dword [ebp - 0x118]
add edx, 0x2a0
push edx
mov eax, dword [ebp - 0x128]
push eax
call dword [ebp + 8]
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69f0]
push eax
push str._INF__StartClone_:_Data2_format.wcl__m_nTDisk__d
call fcn.100098e0
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x239]
push edx
push str._INF__StartClone_:_Data2_m_tData2.nTPart__d
call fcn.100098e0
add esp, 8
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x24a]
push ecx
mov edx, dword [eax + 0x246]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x242]
push ecx
mov edx, dword [eax + 0x23e]
push edx
push str._INF__StartClone_:_Data2_m_tData2.dlTStart__llu__m_tData2.dlTLen__llu
call fcn.100098e0
add esp, 0x14
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x24a]
push ecx
mov edx, dword [eax + 0x246]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x242]
push ecx
mov edx, dword [eax + 0x23e]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x239]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.1001ad80
mov dword [ebp - 0x11c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp - 0x11c]
push edx
push str._INF__StartClone__FormatPartition_Data2_nRet_:__d__GetLastError_:__d
call fcn.100098e0
add esp, 0xc
jmp 0x1000d952
mov dword [ebp - 0x128], 6
mov eax, dword [ebp - 0x118]
add eax, 0x2a0
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call dword [ebp + 8]
add esp, 8
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x22c]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69e8]
push eax
push str._INF__StartClone__Data2_m_nSDisk__d__m_nSPart__d
call fcn.100098e0
add esp, 0xc
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx]
mov eax, dword [edx + 0x69f0]
push eax
push str._INF__StartClone__Data2_m_nTDisk__d
call fcn.100098e0
add esp, 8
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x239]
push edx
push str._INF__StartClone__Data2_m_tData.nTPart__d
call fcn.100098e0
add esp, 8
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x24a]
push ecx
mov edx, dword [eax + 0x246]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x242]
push ecx
mov edx, dword [eax + 0x23e]
push edx
push str._INF__StartClone__Data2_m_tData.dlTStart__llu__m_tData.dlTLen__llu
call fcn.100098e0
add esp, 0x14
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x230]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x24a]
push eax
mov ecx, dword [edx + 0x246]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x242]
push eax
mov ecx, dword [edx + 0x23e]
push ecx
mov edx, dword [ebp - 0x118]
movzx eax, byte [edx + 0x23d]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x239]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x69f0]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x235]
push ecx
mov edx, dword [eax + 0x231]
push edx
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax + 0x22c]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 0x228]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x763c]
call ecx
add esp, 0x34
mov dword [ebp - 0x15c], eax
mov edx, dword [ebp - 0x15c]
mov dword [ebp - 0x11c], edx
jmp 0x1000d8bd
mov dword [ebp - 4], 4
jmp 0x1000d8cd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [ebp - 0x11c]
push eax
push str._INF__StartClone__m_pStartPartCloneEx_Data2_nRet_:__d__GetLastError_:__d
call fcn.100098e0
add esp, 0xc
cmp dword [ebp - 0x11c], 0
je 0x1000d952
mov byte [ebp - 0x121], 0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x24a]
push edx
mov eax, dword [ecx + 0x246]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x242]
push edx
mov eax, dword [ecx + 0x23e]
push eax
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 0x239]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.1001ad80
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x11c]
push eax
push str._ERR__StartClone__Data2_Format_nRet_:__d
call fcn.100098e0
add esp, 8
cmp dword [ebp - 0x11c], 0
je 0x1000d960
jmp 0x1000db26
mov ecx, dword [ebp - 0x118]
add ecx, 0x2a0
push ecx
mov edx, dword [ebp - 0x128]
push edx
call dword [ebp + 8]
add esp, 8
mov eax, dword [ebp - 0x118]
movzx ecx, byte [eax + 0x2a0]
test ecx, ecx
je 0x1000d99a
mov dword [ebp - 0x11c], 0x4b0
jmp 0x1000db26
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
movsx ecx, byte [eax + 0x69dc]
cmp ecx, 4
jne 0x1000da02
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, 0x28
imul ecx, eax, 0
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + ecx + 0x8a]
push eax
mov ecx, dword [edx + ecx + 0x86]
push ecx
mov edx, dword [ebp - 0x118]
mov eax, dword [edx]
mov ecx, dword [eax + 0x69f0]
push ecx
mov ecx, dword [ebp - 0x118]
call fcn.10014a10
call fcn.1000a2a0
mov edx, 0x28
imul eax, edx, 0
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + eax + 0x86]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.10014e70
call fcn.1000a2a0
mov dword [ebp - 0x128], 4
mov eax, dword [ebp - 0x118]
add eax, 0x2a0
push eax
mov ecx, dword [ebp - 0x128]
push ecx
call dword [ebp + 8]
add esp, 8
mov edx, dword [ebp - 0x138]
push edx
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov ecx, dword [ebp - 0x118]
call fcn.10015090
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x1000dac8
mov eax, dword [ebp - 0x118]
cmp dword [eax + 0x34], 0xffffffff
je 0x1000dac8
push 1
push 1
push 0x3e
mov ecx, dword [ebp - 0x118]
call fcn.100270b0
movzx ecx, al
test ecx, ecx
jne 0x1000dac8
mov dword [ebp - 0x11c], 0x1f9
mov edx, dword [ebp - 0x11c]
push edx
push str._ERR___________FixMBR__Err__nRet_________
call fcn.100098e0
add esp, 8
cmp dword [ebp - 0x11c], 0
jne 0x1000dae8
movzx eax, byte [ebp - 0x121]
test eax, eax
jne 0x1000dae8
mov dword [ebp - 0x11c], 0xfffffffe
jmp 0x1000db26
cmp dword [ebp - 0x11c], 1
jne 0x1000db08
movzx ecx, byte [ebp - 0x121]
test ecx, ecx
je 0x1000db08
mov dword [ebp - 0x11c], 0xfffffffd
jmp 0x1000db26
cmp dword [ebp - 0x11c], 1
jne 0x1000db26
movzx edx, byte [ebp - 0x121]
test edx, edx
jne 0x1000db26
mov dword [ebp - 0x11c], 0xfffffffc
mov ecx, dword [ebp - 0x118]
call fcn.1001f400
cmp dword [ebp - 0x11c], 0
je 0x1000db50
mov eax, dword [ebp - 0x11c]
push eax
push str._ERR___________StartClone__Err__nRet___d_________
call fcn.100098e0
add esp, 8
jmp 0x1000db5d
push str._SUC___________StartClone__End_________
call fcn.100098e0
add esp, 4
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x84]
call fcn.10005450
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.10005450
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xcc]
call fcn.10005450
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.10005450
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.10005900
mov eax, dword [ebp - 0x17c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002fa64
mov esp, ebp
pop ebp
ret 8