Function at 0x406cc0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x42f8ae
mov eax, dword fs:[0]
push eax
mov eax, 0x1844
call fcn.0041c220
mov eax, dword [0x43cc00]
xor eax, esp
mov dword [esp + 0x1840], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43cc00]
xor eax, esp
push eax
lea eax, [esp + 0x1858]
mov dword fs:[0], eax
mov esi, ecx
push 0x4349fc
lea ecx, [esp + 0x34]
mov dword [esp + 0x20], esi
call fcn.00402520
lea eax, [esp + 0x54]
push eax
push 0x400
mov dword [esp + 0x1868], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x54], 0
lea ebx, [esp + 0x54]
je 0x406ed2
mov edi, edi
test ebx, ebx
jne 0x406d48
xor eax, eax
jmp 0x406d5f
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406d50
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.004019b0
mov esi, dword [esp + 0x30]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x406d9c
cmp eax, dword [esi]
jne 0x406d9c
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x406dd7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40701b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
lea esi, [esp + 0x18]
mov dword [ebp], edi
call fcn.00408ae0
mov byte [esp + 0x1860], 1
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x406e14
push esi
lea ecx, [esp + 0x18]
call fcn.00401720
mov edx, dword [esp + 0x14]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.00418c92
add esp, 8
test esi, esi
jl 0x407173
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x407173
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
mov word [edx + esi*2], 0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jl 0x406e6d
push str.PUSH_BUTTON
push ecx
call fcn.004185be
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
je 0x406e6d
sub eax, ecx
sar eax, 1
je 0x406f93
push str.PQSERVICE
push ecx
call fcn.00417e97
add esp, 8
test eax, eax
je 0x4070f5
mov byte [esp + 0x1860], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406eab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406eb0
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 + 2], cx
lea ebx, [ebx + eax*2 + 2]
jne 0x406d40
mov esi, dword [esp + 0x1c]
cmp dword [esi + 4], 0
mov dword [esp + 0x40], 0
jle 0x4076aa
add esi, 0x18
mov dword [esp + 0x2c], esi
jmp 0x406ef0
mov ecx, dword [esp + 0x2c]
mov ebp, dword [ecx]
mov dword [esp + 0x48], ebp
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x34], eax
push ebp
push ebp
lea ecx, [esp + 0x3c]
push str.Disks__d_:_Partitions__d
push ecx
mov byte [esp + 0x1870], 6
call fcn.004028d0
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4349fc
call fcn.00402520
mov byte [esp + 0x1864], 7
mov ebx, dword [esp + 0x38]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x30], esp
mov edi, esp
mov dword [esp + 0x30], ebx
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x40717d
cmp eax, dword [ebx]
jne 0x40717d
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4071b8
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4349fc
call fcn.00402520
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._1_AssignLetterToPBR
mov byte [esp + 0x186c], 2
call fcn.00402520
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x11a50]
push edx
mov byte [esp + 0x186c], 1
call fcn.004029e0
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x407007
cmp eax, dword [esi]
jne 0x407007
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x407043
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x407020
jmp fcn.004017f0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._1_No_need_to_mount_PBR
mov byte [esp + 0x186c], 3
call fcn.00402520
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x11a50]
push edx
mov byte [esp + 0x186c], 1
call fcn.004029e0
mov byte [esp + 0x1860], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070a2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1860], 0xffffffff
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4070cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1858]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1840]
xor ecx, esp
call fcn.00417ffe
add esp, 0x1850
ret
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x4349fc
call fcn.00402520
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str._1_AssignLetterToAHP
mov byte [esp + 0x186c], 4
call fcn.00402520
mov edi, dword [esp + 0x24]
mov ecx, dword [edi + 0x11a50]
push ecx
mov byte [esp + 0x186c], 1
call fcn.004029e0
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00401880
add eax, 0x10
mov dword [esi], eax
mov ecx, esp
mov dword [esp + 0x30], esp
push str._1_No_need_to_mount_AHP
mov byte [esp + 0x186c], 5
call fcn.00402520
mov edx, dword [edi + 0x11a50]
jmp 0x40706c
push 0x80070057
call fcn.004016a0
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [ebx + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00417f28
add esp, 0x10
mov edx, dword [esp + 0x24]
add esi, 0x10
mov dword [edi], esi
mov eax, dword [edx + 0x11a50]
push eax
mov byte [esp + 0x186c], 6
call fcn.004029e0
cmp ebp, 1
mov dword [esp + 0x3c], 1
jl 0x40766a
jmp 0x4071f4
mov ebp, dword [esp + 0x48]
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1860], 8
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x1860], 9
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x3c]
push ecx
push ebp
lea edx, [esp + 0x2c]
push str.DeviceHarddisk_dPartition_d
push edx
mov byte [esp + 0x1870], 0xa
call fcn.004028d0
add esp, 0x10
lea eax, [esp + 0x50]
push eax
call fcn.00408c80
mov byte [esp + 0x1860], 0xb
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea edi, [ebx - 0x10]
cmp esi, edi
je 0x407352
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407340
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x407340
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4072e6
cmp eax, dword [esi]
jne 0x4072e6
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407321
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x40701b
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x407337
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x40734e
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004019b0
mov ebx, dword [esp + 0x18]
mov byte [esp + 0x1860], 0xa
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40737a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x4075dd
mov esi, dword [esp + 0x24]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x4073b6
cmp eax, dword [esi]
jne 0x4073b6
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4073f1
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40701b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
mov byte [esp + 0x1864], 0xc
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea edi, [ebx - 0x10]
mov dword [esp + 0x40], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x40742d
cmp eax, dword [edi]
jne 0x40742d
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x407468
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00417f28
add esp, 0x10
add esi, 0x10
mov dword [ebp], esi
mov byte [esp + 0x1868], 0xa
call fcn.00402020
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esp, 4
mov dword [esp + 0x3c], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x4074a7
cmp eax, dword [edi]
jne 0x4074a7
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x4074e2
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00417f28
add esp, 0x10
add esi, 0x10
mov dword [ebp], esi
lea esi, [esp + 0x18]
call fcn.00408ae0
mov byte [esp + 0x1860], 0xd
mov edx, dword [esp + 0x14]
push str.PQSERVICE
push edx
call fcn.00417e97
add esp, 8
test eax, eax
je 0x407781
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
call edx
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x407536
cmp eax, dword [edi]
jne 0x407536
mov esi, edi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x407571
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
push 0x800
lea ecx, [esp + 0x858]
push ecx
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x854]
push edx
push esi
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0xa
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1860], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407651
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 1
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x3c], eax
jle 0x4071f0
mov ebx, dword [esp + 0x28]
mov byte [esp + 0x1860], 0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40768b
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x2c], 0x18
add eax, 1
cmp eax, dword [ecx + 4]
mov dword [esp + 0x40], eax
jl 0x406ef0
mov esi, ecx
cmp dword [esi + 4], 0
mov dword [esp + 0x44], 0
jle 0x4070a2
add esi, 0x1c
mov dword [esp + 0x3c], esi
mov eax, dword [esp + 0x3c]
mov ebp, dword [eax]
mov ecx, dword [eax - 4]
add ebp, 1
mov dword [esp + 0x28], ecx
mov dword [esp + 0x48], ebp
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x1860], 0x10
mov edx, dword [ecx + 4]
push ebp
push edx
lea eax, [esp + 0x1c]
push str.Disks__d_:_Partitions__d
push eax
call fcn.004028d0
add esp, 0xc
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4349fc
call fcn.00402520
mov byte [esp + 0x1864], 0x11
mov ebx, dword [esp + 0x18]
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add ebx, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
mov dword [esp + 0x28], ebx
call eax
cmp dword [ebx + 0xc], 0
lea edx, [ebx + 0xc]
jl 0x407915
cmp eax, dword [ebx]
jne 0x407915
mov esi, ebx
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x407950
push 0x80004005
call fcn.004016a0
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0x4349fc
call fcn.00402520
push ecx
mov byte [esp + 0x1868], 0xe
mov ecx, esp
mov dword [esp + 0x28], esp
push str._2_AssignLetterToAHP
call fcn.00402520
mov ebx, dword [esp + 0x24]
mov edx, dword [ebx + 0x11a50]
push edx
mov byte [esp + 0x186c], 0xd
call fcn.004029e0
mov esi, dword [esp + 0x14]
push ecx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebp, esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x4077f5
cmp eax, dword [esi]
jne 0x4077f5
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x407831
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x40780e
jmp fcn.004017f0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
push ecx
mov byte [esp + 0x1868], 0xf
mov ecx, esp
mov dword [esp + 0x28], esp
push str._2_Need_to_mount_AHP
call fcn.00402520
mov ecx, dword [ebx + 0x11a50]
push ecx
mov byte [esp + 0x186c], 0xd
call fcn.004029e0
mov byte [esp + 0x1860], 0xa
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40788c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 9
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078b4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4078dc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 6
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407904
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0
mov eax, dword [esp + 0x34]
jmp 0x407086
mov ecx, dword [ebx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
mov eax, dword [ebx + 4]
lea ecx, [eax + eax + 2]
push ecx
add ebx, 0x10
lea edx, [eax + eax + 2]
push ebx
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
mov ecx, dword [esp + 0x24]
add esi, 0x10
mov dword [edi], esi
mov edx, dword [ecx + 0x11a50]
push edx
mov byte [esp + 0x186c], 0x10
call fcn.004029e0
cmp ebp, 1
mov dword [esp + 0x2c], 1
jl 0x407e6f
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x1860], 0x12
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x34], ebx
mov byte [esp + 0x1860], 0x13
call fcn.0040c0d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x407777
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ecx
push edx
lea eax, [esp + 0x2c]
push str.DeviceHarddisk_dPartition_d
push eax
mov byte [esp + 0x1870], 0x14
call fcn.004028d0
add esp, 0x10
lea ecx, [esp + 0x50]
push ecx
call fcn.00408c80
mov byte [esp + 0x1860], 0x15
mov eax, dword [eax]
lea esi, [eax - 0x10]
lea edi, [ebx - 0x10]
cmp esi, edi
je 0x407ae0
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x407ace
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x407ace
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407a74
cmp eax, dword [esi]
jne 0x407a74
mov ebp, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407aaf
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebp, eax
test ebp, ebp
je 0x40701b
mov eax, dword [esi + 4]
mov dword [ebp + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x407ac5
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
lea ebx, [ebp + 0x10]
mov dword [esp + 0x34], ebx
jmp 0x407ae0
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.004019b0
mov ebx, dword [esp + 0x34]
mov byte [esp + 0x1860], 0x14
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x407de6
mov esi, dword [esp + 0x24]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x3c], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x407b44
cmp eax, dword [esi]
jne 0x407b44
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407b7f
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x40701b
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
mov byte [esp + 0x1864], 0x16
push ecx
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea edi, [ebx - 0x10]
mov dword [esp + 0x54], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea edx, [edi + 0xc]
jl 0x407bbb
cmp eax, dword [edi]
jne 0x407bbb
mov esi, edi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x407bf6
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00417f28
add esp, 0x10
add esi, 0x10
mov dword [ebp], esi
mov byte [esp + 0x1868], 0x14
call fcn.00402020
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esp, 4
mov dword [esp + 0x50], esp
mov ebp, esp
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x407c35
cmp eax, dword [edi]
jne 0x407c35
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407c70
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [edi + 0x10]
push edx
lea eax, [eax + eax + 2]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.00417f28
add esp, 0x10
add esi, 0x10
mov dword [ebp], esi
lea esi, [esp + 0x1c]
call fcn.00408ae0
mov byte [esp + 0x1860], 0x17
mov edx, dword [esp + 0x18]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x407cad
push esi
lea ecx, [esp + 0x1c]
call fcn.00401720
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
push eax
push edx
call fcn.00418c92
add esp, 8
test esi, esi
jl 0x407173
mov eax, dword [esp + 0x18]
cmp esi, dword [eax - 8]
jg 0x407173
mov dword [eax - 0xc], esi
mov ecx, dword [esp + 0x18]
mov word [ecx + esi*2], 0
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
jl 0x407d06
push str.PUSH_BUTTON
push ecx
call fcn.004185be
mov ecx, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x407d06
sub eax, ecx
sar eax, 1
je 0x407eb6
push str.IMAGES
push ecx
call fcn.00417e97
add esp, 8
test eax, eax
je 0x407eb6
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x407d3f
cmp eax, dword [edi]
jne 0x407d3f
mov esi, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x407d7a
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x40701b
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 4]
lea ecx, [eax + eax + 2]
push ecx
add edi, 0x10
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
push 0x800
lea ecx, [esp + 0x858]
push ecx
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x854]
push edx
push esi
push 7
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407dbe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0x14
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407de6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0x13
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e0e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1860], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e32
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0x10
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e5a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
jle 0x40797e
mov byte [esp + 0x1860], 0
mov eax, dword [esp + 0x20]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
add dword [esp + 0x3c], 0x18
add eax, 1
cmp eax, dword [ecx + 4]
mov dword [esp + 0x44], eax
jl 0x4076c3
jmp 0x4070a2
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push 0x4349fc
call fcn.00402520
push ecx
mov byte [esp + 0x1868], 0x18
mov ecx, esp
mov dword [esp + 0x40], esp
push str._2_AssignLetterToPBR
call fcn.00402520
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x11a50]
push eax
mov byte [esp + 0x186c], 0x17
call fcn.004029e0
mov esi, dword [esp + 0x18]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x50], esp
mov ebp, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x407f2a
cmp eax, dword [esi]
jne 0x407f2a
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x407f66
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
jne 0x407f43
jmp fcn.004017f0
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
lea ecx, [eax + eax + 2]
push ecx
add esi, 0x10
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [edi + 0x10]
push eax
call fcn.00417f28
add esp, 0x10
add edi, 0x10
mov dword [ebp], edi
push ecx
mov byte [esp + 0x1868], 0x19
mov ecx, esp
mov dword [esp + 0x40], esp
push str._2_Need_to_mount_PBR
call fcn.00402520
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x11a50]
push edx
mov byte [esp + 0x186c], 0x17
call fcn.004029e0
mov byte [esp + 0x1860], 0x14
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fc5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0x13
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407fed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x1860], 0x12
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408011
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x1860], 0x10
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40707a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x40707a