Function at 0x426390
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c08d4
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x52a0b0]
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 0x426497
cmp byte [0x52aaa4], 0
jne 0x4263e3
cmp byte [0x530561], 0
je 0x426654
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
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], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x426453
cmp byte [0x530561], 0
jne 0x426445
call fcn.0048ded0
test al, al
je 0x42644c
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x42647c
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x9e1
cmovae ecx, dword [ebp - 0x3c]
call fcn.0048e340
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
jmp 0x42664f
mov bl, byte [0x52aaa4]
test bl, bl
jne 0x4264af
mov bh, byte [0x530561]
test bh, bh
je 0x42656f
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 9
cmp byte [0x52aaa4], 0
je 0x42651f
cmp byte [0x530561], 0
jne 0x426511
call fcn.0048ded0
test al, al
je 0x426518
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x426548
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x9e5
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e340
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404850
mov bl, byte [0x52aaa4]
mov bh, byte [0x530561]
mov ecx, dword [edi + 0x3b0]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x3c]
je 0x426594
mov ecx, dword [ecx + 0x3c]
mov edx, dword [eax + 4]
cmp dword [edx + 4], 1
je 0x426670
add eax, 8
cmp eax, ecx
jne 0x426580
test bl, bl
jne 0x4265a0
test bh, bh
je 0x426654
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
call fcn.00406ce0
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], 0x4e7a18
mov dword [ebp - 0x48], 0x4e86a8
call fcn.00406ce0
mov byte [ebp - 4], 0xf
cmp byte [0x52aaa4], 0
je 0x426610
cmp byte [0x530561], 0
jne 0x426602
call fcn.0048ded0
test al, al
je 0x426609
mov byte [0x530561], 1
mov byte [0x52aaa4], 0
cmp byte [0x530561], 0
je 0x426639
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x9fb
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e340
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x70]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404850
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.004a0eca
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xa1], 0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x42668a
mov eax, dword [ecx]
lea edx, [ebp - 0xa1]
push edx
call dword [eax + 0x1c]
push 0
lea esi, [edi + 0x464]
mov dword [ebp - 0xa0], 0x4e7a18
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e86a8
call fcn.00406fd0
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, esi
call fcn.004385f0
mov byte [ebp - 4], 0x14
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4266d2
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.00404c20
test bl, bl
je 0x42685b
mov dword [ebp - 0xa8], 0x208
mov dword [ebp - 0x40], 0x4e7a18
mov dword [ebp - 0x18], 0x4e86a8
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.004a0ee0
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 0x42678f
mov ecx, dword [ebx]
jmp 0x426791
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 0x4267f7
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
mov dword [ebp - 0xa8], eax
call fcn.004a0ee0
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x4267de
push 4
push eax
call fcn.004a15b5
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x4267e6
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 0x42683c
mov eax, dword [esi]
mov edx, 0x4e2398
test eax, eax
mov ecx, edx
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
cmp word [edx], 0
jne 0x426818
xor ecx, ecx
jmp 0x42682f
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426820
sub ecx, ebx
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x9c]
call fcn.00404040
mov byte [ebp - 4], 0x1b
test esi, esi
je 0x42684f
push 4
push esi
call fcn.004a15b5
add esp, 8
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.00404c20
mov ecx, dword [edi + 0x500]
lea eax, [ebp - 0x9c]
add ecx, 0x224
cmp ecx, eax
je 0x42687b
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
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 0x426899
add eax, 4
jmp 0x42689b
xor eax, eax
add ecx, 0x14
cmp ecx, eax
je 0x4268ac
push 0xffffffffffffffff
push 0
push eax
call fcn.00404530
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x70]
call fcn.00404c20
mov ecx, dword [edi + 0x500]
movzx eax, word [edi + 0x4d0]
mov dword [ecx + 0x318], eax
cmp byte [edi + 0x4eb], 0
je 0x4268e1
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], 0xa20
push eax
lea eax, [ebp - 0xb0]
push str.Engine:__s_ARP_entry
push eax
call fcn.0040b3b0
mov ecx, dword [edi + 0x500]
add esp, 0xc
cmp byte [ebp - 0xa1], 0
je 0x426934
call fcn.004765c0
jmp 0x426939
call fcn.00477040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404c20
jmp 0x426654