Function at 0x42ab90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5edd38]
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
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42abbd
mov eax, dword [esi]
push 8
push str.__UNC_
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
je 0x42ae36
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42abdf
mov eax, dword [esi]
push 2
push 0x5921c8
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
jne 0x42ac0e
cmp dword [esi + 0x10], 3
jbe 0x42ac0e
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42ac03
mov eax, dword [esi]
cmp word [eax + 4], 0x3f
jne 0x42ae36
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x42ac18
mov eax, dword [esi]
push 8
push str._UNC_
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
je 0x42ae36
push edi
mov edi, dword [esi + 0x14]
mov edx, esi
cmp edi, 8
jb 0x42ac3d
mov edx, dword [esi]
mov ecx, dword [esi + 0x10]
push ebx
test ecx, ecx
je 0x42ae23
mov eax, edx
nop dword [eax + eax]
cmp word [eax], 0x3a
je 0x42ac71
add eax, 2
sub ecx, 1
jne 0x42ac50
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
sub eax, edx
sar eax, 1
je 0x42ae23
cmp eax, 0xffffffff
je 0x42ae23
cmp eax, 1
jbe 0x42aca1
mov ecx, esi
cmp edi, 8
jb 0x42ac95
lfence
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 4], 0x5c
jne 0x42ae23
mov edi, dword [esi + 0x14]
mov ecx, esi
cmp edi, 8
jb 0x42acad
mov ecx, dword [esi]
lea ebx, [eax + eax]
movzx ecx, word [ebx + ecx - 2]
lea eax, [ecx - 0x61]
cmp ax, 0x19
ja 0x42acc3
lea eax, [ecx - 0x61]
jmp 0x42acd3
lea eax, [ecx - 0x41]
cmp ax, 0x19
ja 0x42ae23
lea eax, [ecx - 0x41]
lea eax, [eax*4 + 0x5f3920]
mov dword [ebp - 0x218], eax
mov eax, dword [eax]
cmp eax, 1
je 0x42adf7
cmp eax, 2
je 0x42ae23
push 0x208
lea eax, [ebp - 0x214]
xorps xmm0, xmm0
push 0
push eax
movlpd qword [ebp - 0xc], xmm0
call fcn.0053f340
add esp, 0xc
cmp edi, 8
jb 0x42ad19
mov esi, dword [esi]
lea eax, [esi - 2]
add eax, ebx
je 0x42ae13
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x214]
push 0x104
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
cmp eax, 2
jb 0x42ae23
cmp eax, 0x104
je 0x42ae23
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_
mov edx, dword [ebp + esi*4 - 0x234]
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ada0
sub ecx, edi
lea eax, [ebp - 0x214]
sar ecx, 1
push ecx
push edx
push eax
call fcn.00420fc8
add esp, 0xc
test eax, eax
je 0x42adea
inc esi
cmp esi, 6
jb 0x42ad91
mov ecx, dword [ebp - 0x218]
mov eax, 2
xchg dword [ecx], eax
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x218]
mov eax, 1
xchg dword [ecx], eax
mov eax, dword [ebp - 0x21c]
pop ebx
pop edi
pop esi
mov byte [eax], 1
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
call fcn.004116f6
mov dword [eax], 0x16
call fcn.0054222b
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00401682
mov esp, ebp
pop ebp
ret