Function at 0x41e350
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x556620]
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 0x41e37d
mov eax, dword [esi]
jmp 0x41e37f
mov eax, esi
push 8
push str.__UNC_
push eax
call fcn.0041abf5
add esp, 0xc
test eax, eax
je 0x41e5d3
cmp dword [esi + 0x14], 8
jb 0x41e3a1
mov eax, dword [esi]
jmp 0x41e3a3
mov eax, esi
push 2
push 0x517174
push eax
call fcn.0041abf5
add esp, 0xc
test eax, eax
jne 0x41e3d4
cmp dword [esi + 0x10], 3
jbe 0x41e3d4
cmp dword [esi + 0x14], 8
jb 0x41e3c7
mov eax, dword [esi]
jmp 0x41e3c9
mov eax, esi
cmp word [eax + 4], 0x3f
jne 0x41e5d3
cmp dword [esi + 0x14], 8
jb 0x41e3de
mov eax, dword [esi]
jmp 0x41e3e0
mov eax, esi
push 8
push str._UNC_
push eax
call fcn.0041abf5
add esp, 0xc
test eax, eax
je 0x41e5d3
push ebx
push edi
push 1
push 0
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x3a
push eax
mov ecx, esi
call fcn.0040b680
test eax, eax
je 0x41e597
cmp eax, 0xffffffff
je 0x41e597
cmp eax, 1
jbe 0x41e444
cmp dword [esi + 0x14], 8
jb 0x41e436
mov ecx, dword [esi]
jmp 0x41e438
mov ecx, esi
cmp word [ecx + eax*2 - 4], 0x5c
jne 0x41e597
mov edi, dword [esi + 0x14]
cmp edi, 8
jb 0x41e450
mov ecx, dword [esi]
jmp 0x41e452
mov ecx, esi
lea ebx, [eax + eax]
movzx ecx, word [ebx + ecx - 2]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x41e468
lea eax, [ecx - 0x61]
jmp 0x41e478
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x41e597
lea eax, [ecx - 0x41]
lea eax, [eax*4 + 0x55b430]
mov dword [ebp - 0x218], eax
mov eax, dword [eax]
cmp eax, 1
je 0x41e5b7
cmp eax, 2
je 0x41e597
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.004dead0
add esp, 0xc
cmp edi, 8
jb 0x41e4c9
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.0041e67e
add esp, 0x10
test eax, eax
jne 0x41e597
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 0x41e597
cmp eax, 0x104
je 0x41e597
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 0x41e560
sub ecx, edi
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push edx
push eax
call fcn.0041abf5
add esp, 0xc
test eax, eax
je 0x41e5aa
inc esi
cmp esi, 6
jb 0x41e550
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.00401580
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.00401580
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00401580
mov esp, ebp
pop ebp
ret