Function at 0x4b4bc0
Capabilities:
Get common file path
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x3e
xor edi, edi
lea edx, [ebp - 0x4a]
xor ecx, ecx
push edi
push edx
mov dword [ebp - 0x68], eax
mov word [ebp - 0x4c], cx
call fcn.004e8ba0
add esp, 0xc
push 0x20
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x4c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4b4c05
sub eax, edx
sar eax, 1
je 0x4b4e38
lea ecx, [ebp - 0x4c]
push 0x5c
push ecx
call fcn.004e53f9
add esp, 8
test eax, eax
je 0x4b4e38
lea edx, [ebp - 0x4c]
push 0x5c
push edx
call fcn.004e53f9
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x4c]
push edx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], edi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x5c]
cmp eax, edi
jne 0x4b4c74
cmp ecx, edi
je 0x4b4c95
mov esi, dword [ebp - 0x50]
shl eax, 0x16
shr ecx, 0xa
add eax, ecx
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
shl esi, 0x16
shr eax, 0xa
mov dword [ebp - 0x60], edi
add esi, eax
mov dword [ebp - 0x70], edi
jmp 0x4b4c98
mov esi, dword [ebp - 0x74]
push 0x200
call fcn.004e5420
push 0x200
mov ebx, eax
push edi
push ebx
call fcn.004e8ba0
lea eax, [ebp - 0x4c]
mov edx, ebx
mov ecx, eax
add esp, 0x10
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, di
jne 0x4b4cc0
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b4cd2
mov edx, dword [0x51ccdc]
mov eax, ebx
mov dword [edi], edx
lea edx, [eax + 2]
jmp 0x4b4cf0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4cf0
sub eax, edx
sar eax, 1
lea eax, [ebx + eax*2]
push 0xa
push eax
mov eax, dword [ebp - 0x64]
shr eax, 0xa
push eax
call fcn.004e534f
add esp, 0xc
lea edi, [ebx - 2]
jmp 0x4b4d20
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b4d20
mov ecx, dword [0x51ccdc]
mov eax, ebx
mov dword [edi], ecx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4d40
sub eax, edx
sar eax, 1
push 0xa
lea edx, [ebx + eax*2]
push edx
shr esi, 0xa
push esi
call fcn.004e534f
add esp, 0xc
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4b4d64
mov eax, dword [0x51ccdc]
mov dword [edi], eax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4d80
sub eax, edx
sar eax, 1
mov ecx, 1
mov word [ebx + eax*2], cx
mov eax, ebx
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4da0
mov edi, dword [ebp - 0x68]
sub eax, edx
mov ecx, edi
sar eax, 1
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4b4db7
sub ecx, esi
sar ecx, 1
add ecx, eax
cmp ecx, 0x1800
jae 0x4b4e2f
mov eax, edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4dd5
sub eax, edx
sar eax, 1
mov eax, ebx
jne 0x4b4e01
mov edx, edi
sub edx, ebx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4b4df0
jmp 0x4b4e2f
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4b4e03
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4b4e13
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call fcn.004e577a
add esp, 4
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret