Function at 0x45baa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494320
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4c9070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00404a20
mov ecx, eax
test ecx, ecx
jne 0x45badf
push 0x80004005
call fcn.00404ad0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
or edi, 0xffffffff
mov ecx, dword [ebx]
mov dword [ebp - 0x1c], 0x104
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x45bc9f
jns 0x45bb14
push 0x80070057
call fcn.00404ad0
movzx eax, word [ecx]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.0045c8e0
push 2
push 0x4ad3e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00403730
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x14]
cmp eax, 4
mov eax, edi
sete cl
add edx, 0xfffffff0
mov dword [ebp - 0x18], ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bb69
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x45bc9f
push 2
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00425700
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov edx, 1
mov ecx, dword [esi - 8]
sub edx, dword [esi - 4]
sub ecx, 0x104
or ecx, edx
jge 0x45bbad
push 0x104
lea ecx, [ebp - 0x10]
call fcn.00404530
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x1c]
push ecx
push esi
push dword [eax]
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45bbdb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi - 8]
push esi
call fcn.00474f18
add esp, 8
test eax, eax
js 0x45bb0a
cmp eax, dword [esi - 8]
jg 0x45bb0a
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
cmp dword [ebp - 0x18], ecx
jne 0x45bc9f
cmp dword [esi - 0xc], ecx
je 0x45bc9f
push 2
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00425650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.00403730
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45bc50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
push 2
push str._UNC_
push esi
call fcn.004774d7
add esp, 0xc
test eax, eax
jne 0x45bc8d
push 8
push str._UNC_
push esi
call fcn.004774d7
add esp, 0xc
test eax, eax
je 0x45bc8d
push 0x4ad3ec
push 2
lea ecx, [ebp - 0x10]
call fcn.00435580
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0040a720
mov ebx, 1
jmp 0x45bca1
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x45bcbd
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret