Function at 0x45d6f0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57baae
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x5f6ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x74], dl
mov dword [ebp - 0x78], ecx
mov eax, dword [ecx]
mov edi, dword [eax]
mov dword [eax], eax
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov dword [ecx + 4], 0
cmp edi, dword [ecx]
je 0x45d756
nop dword [eax]
mov esi, dword [edi]
push 0xc
push edi
call fcn.00537216
mov eax, dword [ebp - 0x78]
add esp, 8
mov edi, esi
cmp esi, dword [eax]
jne 0x45d740
mov dword [ebp - 0x80], 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, eax
mov dword [ebp - 0x7c], ecx
test ecx, ecx
je 0x45dc2f
mov al, 0x41
mov byte [ebp - 0x71], al
mov dl, al
mov byte [ebp - 0x72], dl
test cl, 1
je 0x45dc1c
mov byte [ebp - 0x73], al
lea ecx, [ebp - 0x2c]
push 1
lea eax, [ebp - 0x73]
mov dword [ebp - 0x1c], 0
push eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0044b8b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea edi, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xc8], eax
cmovae edi, dword [ebp - 0x2c]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0x44], cx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0x30], 7
call fcn.0044cd30
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x44]
push dword [ebp - 0xc8]
push edi
call fcn.0044ce20
push 2
push 0x5e23d0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00453360
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [ebp - 0x88], eax
cmp eax, 3
je 0x45d855
cmp eax, 2
je 0x45d855
cmp eax, 6
je 0x45d855
cmp byte [ebp - 0x74], 0
je 0x45db86
cmp eax, 4
jne 0x45db86
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
mov edx, eax
cmovae ecx, dword [ebp - 0x44]
call fcn.0045e480
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x70], eax
add eax, 0x18
push 4
push str.._
mov ecx, eax
mov dword [ebp - 0xa8], eax
call fcn.0044b750
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0xb4], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0xcc], eax
cmovae edi, dword [ebp - 0x2c]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0xc4], cx
push eax
lea ecx, [ebp - 0xc4]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xb0], 7
call fcn.0044cd30
push dword [ebp - 0xd4]
lea ecx, [ebp - 0xc4]
push dword [ebp - 0xcc]
push edi
call fcn.0044ce20
mov byte [ebp - 4], 2
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 8
push dword [ebp - 0xb4]
cmovae eax, dword [ebp - 0xc4]
mov esi, dword [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.00453360
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0xb0]
cmp edx, 8
jb 0x45d961
mov ecx, dword [ebp - 0xc4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45d957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de67
push edx
push ecx
call fcn.00537216
add esp, 8
push 1
xor eax, eax
mov dword [ebp - 0xb4], 0
push 0x5e23e4
mov ecx, esi
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
call fcn.00453360
mov eax, dword [ebp - 0x88]
cmp eax, 4
jne 0x45daa8
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
lea edi, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
add eax, ecx
mov dword [ebp - 0x4c], 0
cmp dword [ebp - 0x18], 0x10
mov dword [ebp - 0x84], eax
cmovae edi, dword [ebp - 0x2c]
xor ecx, ecx
sub eax, edi
mov word [ebp - 0x5c], cx
push eax
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0xd8], edi
mov dword [ebp - 0x48], 7
call fcn.0044cd30
push dword [ebp - 0xd8]
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x84]
push edi
call fcn.0044ce20
push 1
push 0x5e23e4
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 3
call fcn.00453360
mov esi, dword [ebp - 0x8c]
lea edx, [ebp - 0x14]
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push edx
cmovae eax, dword [ebp - 0x5c]
lea ecx, [esi + 0x130]
mov dword [ebp - 0x14], 0x80
push ecx
push eax
call dword [sym.imp.MPR.dll_WNetGetConnectionW]
mov edi, eax
test edi, edi
je 0x45da4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x5e23e8
call fcn.0046b580
add esp, 0xc
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x45da8c
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45da82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de67
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x48], 7
jmp 0x45daae
mov esi, dword [ebp - 0x8c]
xorps xmm0, xmm0
movq qword [ebp - 0x6c], xmm0
movq qword [ebp - 0x64], xmm0
movq qword [ebp - 0xac], xmm0
cmp eax, 4
je 0x45db09
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45dad2
mov eax, dword [esi]
lea ecx, [ebp - 0x6c]
push ecx
lea ecx, [ebp - 0x64]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x45daff
mov ecx, dword [ebp - 0x64]
sub ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x60]
sbb eax, dword [ebp - 0x68]
shrd ecx, eax, 0x14
mov dword [esi + 0x23c], ecx
jmp 0x45db09
mov dword [esi + 0x23c], 0
lea edx, [esi + 0x30]
mov ecx, 0x80
mov eax, edx
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x45db13
cmp dword [esi + 0x14], 8
lea eax, [esi + 0x230]
lea ecx, [esi + 0xb0]
jb 0x45db32
mov esi, dword [esi]
push 0x40
push edx
push eax
push 0
push 0
push 0x40
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov esi, dword [ebp - 0x78]
lea ecx, [ebp - 0x70]
push ecx
mov edi, dword [esi]
mov eax, dword [edi + 4]
push eax
push edi
mov dword [ebp - 0xa8], eax
call fcn.0045d040
mov edx, dword [esi + 4]
mov ecx, eax
mov eax, 0x15555554
sub eax, edx
cmp eax, 1
jb 0x45de6c
inc dword [ebp - 0x80]
lea eax, [edx + 1]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xa8]
mov dword [edi + 4], ecx
mov dword [eax], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x45dbc4
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45dbba
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de67
push edx
push ecx
call fcn.00537216
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 0x10
jb 0x45dc13
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x45dc09
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de67
push edx
push ecx
call fcn.00537216
add esp, 8
mov dl, byte [ebp - 0x72]
mov ecx, dword [ebp - 0x7c]
mov al, byte [ebp - 0x71]
shr ecx, 1
inc al
mov dword [ebp - 0x7c], ecx
mov byte [ebp - 0x71], al
cmp dl, 0x5a
jl 0x45d775
cmp byte [0x5fd96a], 0
mov esi, dword [ebp - 0x78]
je 0x45dc42
mov ecx, esi
call fcn.0045d060
cmp byte [ebp + 0xc], 0
je 0x45dc5c
push str.___Scanning_user_context_mapped_drives...
call fcn.0046b580
add esp, 4
mov ecx, esi
call fcn.0045d270
cmp byte [ebp + 8], 0
je 0x45de49
push 0x5e24b0
call fcn.0046b580
push dword [esi + 4]
push str.___Found__d_drives:
call fcn.0046b580
mov edi, dword [esi]
add esp, 0xc
mov dword [ebp - 0x70], edi
mov esi, dword [edi]
cmp esi, edi
je 0x45de3c
nop
mov eax, dword [esi + 8]
cmp byte [eax + 0x240], 0
lea ecx, [eax + 0xb0]
mov dword [ebp - 0x14], ecx
je 0x45dcac
mov eax, 1
jmp 0x45dcb2
mov eax, dword [eax + 0x234]
dec eax
cmp eax, 5
ja case.0x45dcb8.5
jmp dword [eax*4 + 0x45de78]
push 0x5e22c0
lea ecx, [ebp - 0xa4]
call fcn.004499e0
jmp 0x45dd48
push str.REMOVABLE
lea ecx, [ebp - 0xa4]
call fcn.004499e0
jmp 0x45dd48
push str.RAMDISK
lea ecx, [ebp - 0xa4]
call fcn.004499e0
jmp 0x45dd48
push str.REMOTE
lea ecx, [ebp - 0xa4]
call fcn.004499e0
jmp 0x45dd48
push str.HIDDEN
lea ecx, [ebp - 0xa4]
call fcn.004499e0
jmp 0x45dd48
push 0xc
xor eax, eax
mov dword [ebp - 0x94], 0
push str.UNKNOWN_TYPE
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
call fcn.0044b750
mov dword [ebp - 4], 4
lea ecx, [ebp - 0xa4]
mov eax, dword [esi + 8]
cmp dword [ebp - 0x90], 8
cmovae ecx, dword [ebp - 0xa4]
cmp dword [eax + 0x14], 8
lea edx, [eax + 0x30]
mov edi, dword [eax + 0x23c]
mov dword [ebp - 0x84], edi
mov edi, dword [ebp - 0x70]
jb 0x45dd80
mov eax, dword [eax]
push dword [ebp - 0x14]
push ecx
push edx
push dword [ebp - 0x84]
push eax
push str.____s____lu_Mb._occupy__t__s____s___Label:__s_
call fcn.0046b580
mov dword [ebp - 4], 0xffffffff
add esp, 0x18
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x45dde0
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x45ddd6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x45de67
push edx
push ecx
call fcn.00537216
add esp, 8
mov ecx, dword [esi + 8]
xor eax, eax
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 7
mov word [ebp - 0xa4], ax
cmp dword [ecx + 0x234], 4
jne 0x45de32
cmp byte [ecx + 0x241], 0
mov edx, 0x5e1cac
mov eax, str._user_context_
cmove eax, edx
push eax
lea eax, [ecx + 0x130]
push eax
push str._t____s__s
call fcn.0046b580
add esp, 0xc
mov esi, dword [esi]
cmp esi, edi
jne 0x45dc90
push 0x5e24b0
call fcn.0046b580
add esp, 4
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00536fd5
mov esp, ebp
pop ebp
ret
call fcn.00552cb1
push str.list_T__too_long
call fcn.0053442e
nop
pop es
fld qword [ebp]
rcr esp, 1
inc ebp
add byte [edi - 0xaffba24], bh
fadd qword [ebp]
sbb ebp, ebx
inc ebp
add bl, ah
fadd qword [ebp]