Function at 0x424640
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b7a34
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x51c0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x4f8], 0
jne 0x424747
cmp byte [0x51caa5], 0
jne 0x424693
cmp byte [0x522582], 0
je 0x424904
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 1
push 0
push ecx
push str.No_ARP_information_provided_in_setup.xml__skipping_register_unregister_ARP_info
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 3
cmp byte [0x51caa5], 0
je 0x424703
cmp byte [0x522582], 0
jne 0x4246f5
call fcn.00486870
test al, al
je 0x4246fc
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x42472c
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x8cb
cmovae ecx, dword [ebp - 0x3c]
call fcn.00486ce0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
jmp 0x4248ff
mov bl, byte [0x51caa5]
test bl, bl
jne 0x42475f
mov bh, byte [0x522582]
test bh, bh
je 0x42481f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 7
push 0
push ecx
push str.Engine:_registering_unregistering_ARP_entry__will_use_maintenance_mode_detection_from_setup.xml
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 9
cmp byte [0x51caa5], 0
je 0x4247cf
cmp byte [0x522582], 0
jne 0x4247c1
call fcn.00486870
test al, al
je 0x4247c8
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x4247f8
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x8cf
cmovae ecx, dword [ebp - 0x6c]
call fcn.00486ce0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov bl, byte [0x51caa5]
mov bh, byte [0x522582]
mov ecx, dword [edi + 0x3b0]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x3c]
je 0x424844
mov ecx, dword [ecx + 0x3c]
mov edx, dword [eax + 4]
cmp dword [edx + 4], 1
je 0x424920
add eax, 8
cmp eax, ecx
jne 0x424830
test bl, bl
jne 0x424850
test bh, bh
je 0x424904
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call fcn.00406e60
mov dword [ebp - 4], 0xd
push 0
push ecx
push str.No_maintenance_mode_detection_condition_in_setup.xml__skipping_register_unregister_ARP_info
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4dd804
mov dword [ebp - 0x48], 0x4dcac4
call fcn.00406e60
mov byte [ebp - 4], 0xf
cmp byte [0x51caa5], 0
je 0x4248c0
cmp byte [0x522582], 0
jne 0x4248b2
call fcn.00486870
test al, al
je 0x4248b9
mov byte [0x522582], 1
mov byte [0x51caa5], 0
cmp byte [0x522582], 0
je 0x4248e9
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x8e5
cmovae ecx, dword [ebp - 0x6c]
call fcn.00486ce0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.004049f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004049f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004996ca
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xa1], 0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x42493a
mov eax, dword [ecx]
lea edx, [ebp - 0xa1]
push edx
call dword [eax + 0x18]
push 0
lea esi, [edi + 0x464]
mov dword [ebp - 0xa0], 0x4dd804
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4dcac4
call fcn.00407160
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, esi
call fcn.00409340
mov byte [ebp - 4], 0x14
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x424982
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00404db0
test bl, bl
je 0x424b0b
mov dword [ebp - 0xa8], 0x208
mov dword [ebp - 0x40], 0x4dd804
mov dword [ebp - 0x18], 0x4dcac4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x16
xor eax, eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x28], 7
mov dword [ebp - 0x2c], 0
mov word [ebp - 0x3c], ax
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0x18
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push dword [ebp + eax - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [ebp - 4], 0x1b
push dword [ebp - 0xa8]
call fcn.004996e0
mov esi, eax
mov dword [ebp - 0xac], eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov byte [ebp - 4], 0x1c
lea ebx, [edi + 0x468]
cmp dword [ebx + 0x14], 8
jb 0x424a3f
mov ecx, dword [ebx]
jmp 0x424a41
mov ecx, ebx
lea edx, [ebp - 0xa8]
push edx
push eax
push 1
push ecx
call dword [sym.imp.MPR.dll_WNetGetUniversalNameW]
cmp eax, 0xea
jne 0x424aa7
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
mov dword [ebp - 0xa8], eax
call fcn.004996e0
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x424a8e
push 4
push eax
call fcn.00499db8
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x424a96
mov ebx, dword [ebx]
lea eax, [ebp - 0xa8]
push eax
push esi
push 1
push ebx
call dword [sym.imp.MPR.dll_WNetGetUniversalNameW]
test eax, eax
jne 0x424aec
mov eax, dword [esi]
mov edx, 0x4d7438
test eax, eax
mov ecx, edx
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
cmp word [edx], 0
jne 0x424ac8
xor ecx, ecx
jmp 0x424adf
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424ad0
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.00404170
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x424aff
push 4
push esi
call fcn.00499db8
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00404db0
mov ecx, dword [edi + 0x4f8]
lea eax, [ebp - 0x9c]
add ecx, 0x224
cmp ecx, eax
je 0x424b2b
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov eax, dword [edi]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, edi
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
mov ecx, dword [edi + 0x4f8]
test eax, eax
je 0x424b49
add eax, 4
jmp 0x424b4b
xor eax, eax
add ecx, 0x14
cmp ecx, eax
je 0x424b5c
push 0xffffffffffffffff
push 0
push eax
call fcn.004046f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00404db0
mov ecx, dword [edi + 0x4f8]
movzx eax, word [edi + 0x4d0]
mov dword [ebp - 0xb0], str.SetupEngine.cpp
mov dword [ebp - 0xac], 0x908
mov dword [ecx + 0x318], eax
mov ecx, str.unregistering
cmp byte [ebp - 0xa1], 0
mov eax, str.registering
cmove eax, ecx
push eax
lea eax, [ebp - 0xb0]
push str.Engine:__s_ARP_entry
push eax
call fcn.0040b080
mov ecx, dword [edi + 0x4f8]
add esp, 0xc
cmp byte [ebp - 0xa1], 0
je 0x424bce
call fcn.0046df90
jmp 0x424bd3
call fcn.0046ea20
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404db0
jmp 0x424904