Function at 0x469de0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5146e0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x577680]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x24], 0
call fcn.00469a20
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
jne 0x469e72
mov edi, dword [ebp + 8]
push 0x532ad4
mov ecx, edi
call fcn.00401c30
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x469e5e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x579c84]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
jne 0x469f3f
push str.Version.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
call fcn.0046c9b0
test al, al
jne 0x469f14
mov esi, dword [0x578ad4]
mov eax, 0x99d722db
imul esi
add edx, esi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd5
mov eax, esi
sub eax, ecx
xor edi, edi
cmp eax, 0xc4
je 0x469f0e
mov eax, esi
or eax, 0xffffff6b
add esi, eax
mov eax, esi
imul eax, esi
inc edi
cmp edi, eax
jg 0x469f0e
mov eax, 0x99d722db
imul esi
add edx, esi
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0xd5
mov eax, esi
sub eax, ecx
cmp eax, 0xc4
jne 0x469ed7
mov dword [0x578ad4], edi
test ebx, ebx
je 0x469f2e
push str.GetFileVersionInfoSizeW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov dword [0x579c84], ecx
jmp 0x469f34
mov ecx, dword [0x579c84]
test ecx, ecx
je 0x46a088
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push eax
call ecx
mov esi, eax
push 0x532ad4
lea ecx, [ebp - 0x14]
call fcn.00401c30
mov byte [ebp - 4], 1
test esi, esi
je 0x46a019
call fcn.0046cb20
test al, al
jne 0x469f7a
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
push esi
call fcn.004ef820
add esp, 4
mov ebx, eax
push ebx
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.00413c20
push eax
call fcn.00423e50
test eax, eax
je 0x46a010
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x52a1a0
push ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46a010
cmp dword [ebp - 0x1c], 0
je 0x46a010
mov edi, dword [ebp - 0x20]
call fcn.0046cbe0
test al, al
jne 0x469fe3
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp dword [edi], 0xfeef04bd
jne 0x46a010
movzx eax, word [edi + 0xc]
movzx ecx, word [edi + 0xe]
movzx edx, word [edi + 8]
movzx esi, word [edi + 0xa]
push eax
push ecx
push edx
push esi
lea eax, [ebp - 0x14]
push 0x532b28
push eax
call fcn.004059e0
add esp, 0x18
push ebx
call fcn.004f0683
add esp, 4
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.004056f0
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 8]
add eax, 0x10
add edx, 0xfffffff0
or edi, 0xffffffff
mov dword [ebx], eax
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x46a053
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x46a074
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
xor esi, esi
jmp 0x469f48