Function at 0x4264d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0eb4
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 0x4265d7
cmp byte [0x52aaa4], 0
jne 0x426523
cmp byte [0x530565], 0
je 0x426794
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
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], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 3
cmp byte [0x52aaa4], 0
je 0x426593
cmp byte [0x530565], 0
jne 0x426585
call fcn.0048e190
test al, al
je 0x42658c
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x4265bc
cmp dword [ebp - 0x58], 8
lea edx, [ebp - 0x6c]
lea ecx, [ebp - 0x3c]
cmovae edx, dword [ebp - 0x6c]
cmp dword [ebp - 0x28], 8
push 0x9e9
cmovae ecx, dword [ebp - 0x3c]
call fcn.0048e600
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.00404850
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
jmp 0x42678f
mov bl, byte [0x52aaa4]
test bl, bl
jne 0x4265ef
mov bh, byte [0x530565]
test bh, bh
je 0x4266af
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
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], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 9
cmp byte [0x52aaa4], 0
je 0x42665f
cmp byte [0x530565], 0
jne 0x426651
call fcn.0048e190
test al, al
je 0x426658
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x426688
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0x9ed
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e600
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 [0x530565]
mov ecx, dword [edi + 0x3b0]
mov eax, dword [ecx + 0x38]
cmp eax, dword [ecx + 0x3c]
je 0x4266d4
mov ecx, dword [ecx + 0x3c]
mov edx, dword [eax + 4]
cmp dword [edx + 4], 1
je 0x4267b0
add eax, 8
cmp eax, ecx
jne 0x4266c0
test bl, bl
jne 0x4266e0
test bh, bh
je 0x426794
push 0
push ecx
push str.SetupEngine.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
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], 0x4e81b4
mov dword [ebp - 0x48], 0x4e8f38
call fcn.00406ce0
mov byte [ebp - 4], 0xf
cmp byte [0x52aaa4], 0
je 0x426750
cmp byte [0x530565], 0
jne 0x426742
call fcn.0048e190
test al, al
je 0x426749
mov byte [0x530565], 1
mov byte [0x52aaa4], 0
cmp byte [0x530565], 0
je 0x426779
cmp dword [ebp - 0x28], 8
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x6c]
cmovae edx, dword [ebp - 0x3c]
cmp dword [ebp - 0x58], 8
push 0xa03
cmovae ecx, dword [ebp - 0x6c]
call fcn.0048e600
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.004a14ba
mov esp, ebp
pop ebp
ret
mov byte [ebp - 0xa1], 0
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x4267ca
mov eax, dword [ecx]
lea edx, [ebp - 0xa1]
push edx
call dword [eax + 0x1c]
push 0
lea esi, [edi + 0x464]
mov dword [ebp - 0xa0], 0x4e81b4
push esi
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x78], 0x4e8f38
call fcn.00406fd0
mov dword [ebp - 4], 0x13
lea eax, [ebp - 0x70]
push 0
push eax
mov ecx, esi
call fcn.00438730
mov byte [ebp - 4], 0x14
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x426812
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 0x42699b
mov dword [ebp - 0xa8], 0x208
mov dword [ebp - 0x40], 0x4e81b4
mov dword [ebp - 0x18], 0x4e8f38
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.004a14d0
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 0x4268cf
mov ecx, dword [ebx]
jmp 0x4268d1
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 0x426937
mov eax, dword [ebp - 0xa8]
add eax, 2
push eax
mov dword [ebp - 0xa8], eax
call fcn.004a14d0
mov esi, eax
add esp, 4
mov dword [ebp - 0xb4], esi
mov eax, dword [ebp - 0xac]
test eax, eax
je 0x42691e
push 4
push eax
call fcn.004a1ba5
add esp, 8
cmp dword [ebx + 0x14], 8
jb 0x426926
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 0x42697c
mov eax, dword [esi]
mov edx, 0x4e23a8
test eax, eax
mov ecx, edx
cmovne ecx, eax
test ecx, ecx
cmovne edx, ecx
cmp word [edx], 0
jne 0x426958
xor ecx, ecx
jmp 0x42696f
mov ecx, edx
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426960
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 0x42698f
push 4
push esi
call fcn.004a1ba5
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 0x4269bb
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 0x4269d9
add eax, 4
jmp 0x4269db
xor eax, eax
add ecx, 0x14
cmp ecx, eax
je 0x4269ec
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 + 0x4ec], 0
je 0x426a21
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], 0xa28
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 0x426a74
call fcn.00476890
jmp 0x426a79
call fcn.00477310
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00404c20
jmp 0x426794