Function at 0x423ef0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x579630]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x21c], eax
mov byte [eax], 0
cmp dword [esi + 0x14], 8
jb 0x423f1d
mov eax, dword [esi]
jmp 0x423f1f
mov eax, esi
push 8
push str.__UNC_
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
je 0x424173
cmp dword [esi + 0x14], 8
jb 0x423f41
mov eax, dword [esi]
jmp 0x423f43
mov eax, esi
push 2
push 0x533da4
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
jne 0x423f74
cmp dword [esi + 0x10], 3
jbe 0x423f74
cmp dword [esi + 0x14], 8
jb 0x423f67
mov eax, dword [esi]
jmp 0x423f69
mov eax, esi
cmp word [eax + 4], 0x3f
jne 0x424173
cmp dword [esi + 0x14], 8
jb 0x423f7e
mov eax, dword [esi]
jmp 0x423f80
mov eax, esi
push 8
push str._UNC_
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
je 0x424173
push ebx
push edi
push 1
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x3a
push eax
mov ecx, esi
call fcn.0040cdd0
test eax, eax
je 0x424137
cmp eax, 0xffffffff
je 0x424137
cmp eax, 1
jbe 0x423fe4
cmp dword [esi + 0x14], 8
jb 0x423fd6
mov ecx, dword [esi]
jmp 0x423fd8
mov ecx, esi
cmp word [ecx + eax*2 - 4], 0x5c
jne 0x424137
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x423ff0
mov ecx, dword [esi]
jmp 0x423ff2
mov ecx, esi
lea ebx, [eax + eax]
movzx ecx, word [ebx + ecx - 2]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x424008
lea eax, [ecx - 0x61]
jmp 0x424018
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x424137
lea eax, [ecx - 0x41]
lea eax, [eax*4 + 0x57f4a8]
mov dword [ebp - 0x218], eax
mov eax, dword [eax]
cmp eax, 1
je 0x424157
cmp eax, 2
je 0x424137
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xc], ax
mov dword [ebp - 0xa], eax
mov word [ebp - 6], ax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.004f9050
add esp, 0xc
cmp edi, 8
jb 0x424069
mov esi, dword [esi]
push 4
lea eax, [ebx - 2]
add eax, esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
call fcn.004241e2
add esp, 0x10
test eax, eax
jne 0x424137
push 0x104
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x424137
cmp eax, 0x104
je 0x424137
mov dword [ebp - 0x234], str.DeviceMup_
xor esi, esi
mov dword [ebp - 0x230], str.DeviceLanmanRedirector_
mov dword [ebp - 0x22c], str.DeviceWebDavRedirector_
mov dword [ebp - 0x228], str.DeviceWinDfs_
mov dword [ebp - 0x224], str.DeviceNetWareRedirector_
mov dword [ebp - 0x220], str.Device_nwrdr_
nop
mov edx, dword [ebp + esi*4 - 0x234]
mov ecx, edx
lea edi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424100
sub ecx, edi
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push edx
push eax
call fcn.004208a2
add esp, 0xc
test eax, eax
je 0x42414a
inc esi
cmp esi, 6
jb 0x4240f0
mov ecx, dword [ebp - 0x218]
mov eax, 2
xchg dword [ecx], eax
pop edi
pop ebx
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
mov eax, 1
xchg dword [ecx], eax
mov eax, dword [ebp - 0x21c]
pop edi
pop ebx
pop esi
mov byte [eax], 1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401590
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00401590
mov esp, ebp
pop ebp
ret