Function at 0x46f820
Capabilities:
Get disk information
Get disk size
Get file system object information

Disassembly:
push 0xffffffffffffffff
push 0x5e37eb
mov eax, dword fs:[0]
push eax
sub esp, 0x770
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x768], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x784]
mov dword fs:[0], eax
mov eax, dword [esp + 0x794]
xor ebx, ebx
mov dword [esp + 0x30], eax
mov eax, 7
mov edi, ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov dword [esp + 0x68], eax
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], bx
mov dword [esp + 0x84], eax
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], bx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], bl
push 0x2b0
lea ecx, [esp + 0xac]
push ebx
mov dword [esp + 0x794], ebx
push ecx
mov dword [esp + 0xb0], ebx
call fcn.005be600
add esp, 0xc
cmp dword [edi + 0x18], 8
lea ebp, [edi + 4]
jb 0x46f8f8
mov eax, dword [ebp]
jmp 0x46f8fa
mov eax, ebp
push 0x610
push 0x2b4
lea edx, [esp + 0xac]
push edx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
jne 0x46f928
lea esi, [esp + 0x34]
call fcn.0044d040
xor al, al
jmp 0x46fb2b
lea eax, [esp + 0xb0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46f932
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xb4]
push eax
lea esi, [esp + 0x3c]
call fcn.00402770
lea eax, [esp + 0x2b8]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46f960
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2bc]
push ecx
lea esi, [esp + 0x58]
call fcn.00402770
push 0x208
lea edx, [esp + 0x572]
push ebx
push edx
mov word [esp + 0x578], bx
call fcn.005be600
push 0x208
lea eax, [esp + 0x36e]
push ebx
push eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x374], bx
call fcn.005be600
add esp, 0x18
cmp dword [edi + 0x18], 8
jb 0x46f9d1
mov eax, dword [ebp]
jmp 0x46f9d3
mov eax, ebp
push 0x104
lea ecx, [esp + 0x360]
push ecx
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x38]
push edx
push 0x104
lea ecx, [esp + 0x584]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x46faeb
lea eax, [esp + 0x35c]
mov word [esp + 0x564], bx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x46fa20
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x360]
push edx
lea esi, [esp + 0x74]
call fcn.00402770
cmp dword [edi + 0x18], 8
mov byte [esp + 0x9c], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
jb 0x46fa64
mov eax, dword [ebp]
jmp 0x46fa66
mov eax, ebp
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x46fb15
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, esi
imul eax, edi
mov dword [esp + 0x88], eax
xor eax, eax
push eax
push edi
push ebx
push ecx
call fcn.005c0590
push ebx
push esi
push edx
push eax
call fcn.005c0590
mov dword [esp + 0x8c], eax
xor eax, eax
push eax
push edi
mov dword [esp + 0x98], edx
mov edx, dword [esp + 0x28]
push ebx
push edx
call fcn.005c0590
push ebx
push esi
push edx
push eax
call fcn.005c0590
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
jmp 0x46fb15
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov byte [esp + 0x9c], bl
mov esi, dword [esp + 0x30]
lea edi, [esp + 0x34]
call fcn.0046fb60
mov esi, edi
call fcn.0044d040
mov al, 1
mov ecx, dword [esp + 0x784]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x768]
xor ecx, esp
call fcn.005b88a9
add esp, 0x77c
ret