Function at 0x45da58
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b39ab
mov eax, dword fs:[0]
push eax
mov eax, 0x104c
call fcn.005788a0
mov eax, dword [0x6bd6f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push edi
push str.BlockNew
push 0x676b90
call fcn.004019d7
push 1
push str.MasksNewInclude
push 0x676bac
mov byte [ebp - 0x1016], al
call fcn.004019d7
push ecx
mov ecx, esp
mov byte [ebp - 0x1015], al
mov dword [ebp - 0x1030], esp
call fcn.004010c4
mov dword [ebp - 4], edi
push ecx
mov dword [ebp - 0x1034], esp
mov esi, esp
push 0xffffffffffffffff
push 0x676bb8
call fcn.004bb9d0
pop ecx
pop ecx
mov dword [esi], eax
mov byte [ebp - 4], 1
push 0x676bc4
lea eax, [ebp - 0x101c]
push eax
or dword [ebp - 4], 0xffffffff
call fcn.004012ef
push 2
pop esi
mov dword [ebp - 4], esi
cmp dword [0x6bc38c], 1
jl 0x45db2c
mov eax, dword [ebp - 0x101c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
push ecx
push str.ADD_COUNT:__i
push 0x676be0
push 1
call fcn.00532652
add esp, 0x10
push edi
push 0x80
push esi
push edi
push edi
push 0xc0000000
push 0x676bf8
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x103c], eax
cmp eax, 0xffffffff
je 0x45dece
mov eax, dword [ebp - 0x101c]
mov ebx, dword [eax + 0xc]
sub ebx, dword [eax + 8]
shl ebx, 0xb
add ebx, 0xc
push ebx
call fcn.00573b6f
mov esi, eax
xor eax, eax
cmp byte [ebp - 0x1016], al
pop ecx
setne al
mov dword [ebp - 0x1034], esi
mov dword [ebp - 0x1020], edi
mov dword [ebp - 0x102c], edi
mov dword [esi], eax
xor eax, eax
cmp byte [ebp - 0x1015], al
setne al
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x101c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [ebp - 0x101c]
mov ecx, dword [eax + 0xc]
sub ecx, dword [eax + 8]
je 0x45dbcf
mov eax, dword [0x6d6628]
cmp eax, edi
je 0x45dbcf
push eax
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
mov dword [ebp - 0x102c], eax
lea eax, [ebp - 0x101c]
push eax
lea eax, [ebp - 0x104c]
push eax
call fcn.0046b16c
pop ecx
pop ecx
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x104c]
call fcn.00466dcf
test al, al
je 0x45de5d
push dword [ebp - 0x1044]
lea ecx, [ebp - 0x1028]
call fcn.0040102d
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1020]
shl eax, 0xb
lea eax, [eax + esi + 0xc]
mov dword [ebp - 0x1024], eax
cmp dword [ebp - 0x1048], edi
je 0x45de32
lea ecx, [ebp - 0x1028]
call fcn.004b9a40
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.0040852d
mov byte [ebp - 4], 5
cmp dword [0x6bc38c], 1
jl 0x45dcaf
push ecx
mov eax, esp
mov dword [ebp - 0x1050], esp
lea ecx, [ebp - 0x1014]
push ecx
push eax
call fcn.004084fe
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1058]
push eax
mov byte [ebp - 4], 5
call fcn.004040c2
pop ecx
pop ecx
mov byte [ebp - 4], 7
mov esi, eax
call fcn.004084c0
push eax
push str.Adding_protected_path_stage0____s
push 0x676c68
push 1
call fcn.00532652
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1058]
call fcn.0040842d
lea eax, [ebp - 0x1014]
call fcn.004260fd
mov ecx, dword [ebp - 0x1014]
mov eax, dword [ecx - 0xc]
cmp eax, 1
jle 0x45dd69
movzx eax, word [ecx + 2]
cmp ax, 0x3a
jne 0x45dd69
lea eax, [ebp - 0x1038]
push eax
lea eax, [ebp - 0x1014]
push eax
push 2
pop ecx
call fcn.004262df
mov byte [ebp - 4], 8
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push edi
push eax
call fcn.005780d0
add esp, 0xc
push 0x400
lea eax, [ebp - 0x810]
push eax
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x45dd5a
push 2
pop eax
lea ecx, [ebp - 0x1014]
call fcn.00425ee5
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x1014]
push eax
call fcn.00425f36
lea eax, [ebp - 0x1014]
call fcn.004260fd
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1038]
call fcn.0040856e
cmp dword [0x6bc38c], 1
jl 0x45ddcd
push ecx
mov eax, esp
mov dword [ebp - 0x1050], esp
lea ecx, [ebp - 0x1014]
push ecx
push eax
call fcn.004084fe
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1054]
push eax
mov byte [ebp - 4], 5
call fcn.004040c2
pop ecx
pop ecx
mov byte [ebp - 4], 0xa
mov esi, eax
call fcn.004084c0
push eax
push str.Adding_protected_path____s
push 0x676c9c
push 1
call fcn.00532652
add esp, 0x10
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1054]
call fcn.0040842d
lea esi, [ebp - 0x1014]
call fcn.004087a8
lea edx, [ebp - 0x1010]
movzx ecx, word [eax]
inc eax
mov word [edx], cx
inc eax
inc edx
inc edx
cmp cx, di
jne 0x45ddde
mov edi, dword [ebp - 0x1024]
inc dword [ebp - 0x1020]
add dword [ebp - 0x1024], 0x800
mov ecx, 0x200
lea esi, [ebp - 0x1010]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1014]
call fcn.0040856e
dec dword [ebp - 0x1048]
mov esi, dword [ebp - 0x1034]
xor edi, edi
jmp 0x45dc23
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1028]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x45de51
push dword [ebp - 0x1028]
call fcn.004b7ca0
pop ecx
add dword [ebp - 0x1044], 4
jmp 0x45dbe8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x104c]
call fcn.0045def7
cmp dword [ebp - 0x102c], edi
je 0x45de7a
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
push edi
lea eax, [ebp - 0x1030]
push eax
push edi
push edi
push ebx
push esi
push 0x9c402401
push dword [ebp - 0x103c]
mov dword [ebp - 0x1030], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp dword [0x6bc38c], 1
jl 0x45dec2
xor ecx, ecx
cmp eax, edi
setne cl
push ecx
push str.ADDED____i
push str.CIkAV::ApplyNewFiles
push 1
call fcn.00532652
add esp, 0x10
push dword [ebp - 0x103c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x101c]
call fcn.00401113
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057340c
leave
ret