Function at 0x424fd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba6f4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5210b0]
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 + 0x500], 0
jne 0x4250d7
cmp byte [0x521aa4], 0
jne 0x425023
cmp byte [0x52753d], 0
je 0x425294
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 3
cmp byte [0x521aa4], 0
je 0x425093
cmp byte [0x52753d], 0
jne 0x425085
call fcn.00489070
test al, al
je 0x42508c
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x4250bc
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x8fe
cmovae ecx, dword [ebp - 0x3c]
call fcn.004894e0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
jmp 0x42528f
mov bl, byte [0x521aa4]
test bl, bl
jne 0x4250ef
mov bh, byte [0x52753d]
test bh, bh
je 0x4251af
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 9
cmp byte [0x521aa4], 0
je 0x42515f
cmp byte [0x52753d], 0
jne 0x425151
call fcn.00489070
test al, al
je 0x425158
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x425188
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x902
cmovae ecx, dword [ebp - 0x6c]
call fcn.004894e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404810
mov bl, byte [0x521aa4]
mov bh, byte [0x52753d]
mov ecx, dword [edi + 0x3b0]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x3c]
je 0x4251d4
mov ecx, dword [ecx + 0x3c]
mov edx, dword [eax + 4]
cmp dword [edx + 4], 1
je 0x4252b0
add eax, 8
cmp eax, ecx
jne 0x4251c0
test bl, bl
jne 0x4251e0
test bh, bh
je 0x425294
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
call fcn.00406ca0
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], 0x4e1680
mov dword [ebp - 0x48], 0x4e1670
call fcn.00406ca0
mov byte [ebp - 4], 0xf
cmp byte [0x521aa4], 0
je 0x425250
cmp byte [0x52753d], 0
jne 0x425242
call fcn.00489070
test al, al
je 0x425249
mov byte [0x52753d], 1
mov byte [0x521aa4], 0
cmp byte [0x52753d], 0
je 0x425279
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x918
cmovae ecx, dword [ebp - 0x6c]
call fcn.004894e0
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.00404810
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404810
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.0049c22a
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xa1], 0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4252ca
mov eax, dword [ecx]
lea edx, [ebp - 0xa1]
push edx
call dword [eax + 0x18]
push 0
lea esi, [edi + 0x464]
mov dword [ebp - 0xa0], 0x4e1680
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e1670
call fcn.00406f90
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, esi
call fcn.00435f20
mov byte [ebp - 4], 0x14
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x425312
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.00404be0
test bl, bl
je 0x42549b
mov dword [ebp - 0xa8], 0x208
mov dword [ebp - 0x40], 0x4e1680
mov dword [ebp - 0x18], 0x4e1670
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.0049c24e
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 0x4253cf
mov ecx, dword [ebx]
jmp 0x4253d1
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 0x425437
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
mov dword [ebp - 0xa8], eax
call fcn.0049c24e
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x42541e
push 4
push eax
call fcn.0049c240
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x425426
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 0x42547c
mov eax, dword [esi]
mov edx, 0x4db368
test eax, eax
mov ecx, edx
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
cmp word [edx], 0
jne 0x425458
xor ecx, ecx
jmp 0x42546f
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425460
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.00404000
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x42548f
push 4
push esi
call fcn.0049c240
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00404be0
mov ecx, dword [edi + 0x500]
lea eax, [ebp - 0x9c]
add ecx, 0x224
cmp ecx, eax
je 0x4254bb
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
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 + 0x500]
test eax, eax
je 0x4254d9
add eax, 4
jmp 0x4254db
xor eax, eax
add ecx, 0x14
cmp ecx, eax
je 0x4254ec
push 0xffffffffffffffff
push 0
push eax
call fcn.004044f0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00404be0
mov ecx, dword [edi + 0x500]
movzx eax, word [edi + 0x4d0]
mov dword [ecx + 0x318], eax
cmp byte [edi + 0x4eb], 0
je 0x425521
mov eax, dword [edi + 0x500]
or dword [eax + 0x320], 4
cmp byte [ebp - 0xa1], 0
mov ecx, str.unregistering
mov eax, str.registering
mov dword [ebp - 0xb0], str.SetupEngine.cpp
cmove eax, ecx
mov dword [ebp - 0xac], 0x93d
push eax
lea eax, [ebp - 0xb0]
push str.Engine:__s_ARP_entry
push eax
call fcn.0040b370
mov ecx, dword [edi + 0x500]
add esp, 0xc
cmp byte [ebp - 0xa1], 0
je 0x425574
call fcn.00471720
jmp 0x425579
call fcn.004721a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404be0
jmp 0x425294