Function at 0x482225
Capabilities:
Check if file exists
Get disk information

Disassembly:
push 0x38
mov eax, 0x5cfc31
call fcn.00506dc7
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], ebx
call fcn.0042ca82
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.RmDownloads
mov dword [ebp - 4], ebx
call fcn.00413f09
push ecx
mov esi, esp
mov byte [ebp - 4], 1
push ecx
push esp
lea ecx, [ebp - 0x44]
call fcn.004ed062
push esi
lea ecx, [ebp - 0x44]
call fcn.0042fedd
lea eax, [ebp - 0x10]
mov byte [ebp - 4], bl
push eax
lea ecx, [ebp - 0x44]
call fcn.00434114
push dword [ebp - 0x10]
mov byte [ebp - 4], 2
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4822c8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov dword [esi], eax
call fcn.00412ac4
lea ecx, [ebp - 0x44]
call fcn.0042e60b
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, esi
jmp 0x48244c
xorps xmm0, xmm0
movsd qword [ebp - 0x2c], xmm0
call fcn.0041279d
push eax
lea ecx, [ebp - 0x18]
call fcn.00411d94
push ebx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov byte [ebp - 4], 3
call ebx
mov edi, eax
add edi, edi
je 0x4823a4
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
mov esi, eax
push 8
push esi
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_HeapSize]
push eax
call ebx
xor eax, eax
cmp word [edi], ax
je 0x4823a4
mov ebx, dword [ebp - 0x1c]
push edi
lea ecx, [ebp - 0x14]
call fcn.00413f09
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x482380
push ecx
mov esi, esp
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
push eax
call fcn.00412393
pop ecx
add eax, 0x10
mov ecx, ebx
mov dword [esi], eax
call fcn.00482566
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
comisd xmm0, xmmword [ebp - 0x2c]
jbe 0x482380
lea eax, [ebp - 0x14]
movsd qword [ebp - 0x2c], xmm0
push eax
lea ecx, [ebp - 0x18]
call fcn.00411f3a
xor eax, eax
push eax
push edi
call fcn.0056bbc5
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
lea edi, [eax + 2]
call fcn.00412ac4
xor eax, eax
cmp word [edi], ax
jne 0x482326
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x48240f
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.RmDownloads
call fcn.00413f09
push ecx
mov edi, esp
mov byte [ebp - 4], 5
add esi, 0xfffffff0
mov dword [ebp - 0x14], edi
push esi
call fcn.00412393
pop ecx
push dword [ebp + 8]
add eax, 0x10
lea ecx, [ebp - 0x44]
mov dword [edi], eax
mov byte [ebp - 4], 3
call fcn.00434114
mov ecx, esi
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00412ac4
lea ecx, [ebp - 0x44]
call fcn.0042e60b
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, dword [ebp + 8]
jmp 0x48244c
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00412393
mov edi, dword [ebp + 8]
add eax, 0x10
pop ecx
lea ecx, [esi - 0x10]
mov dword [edi], eax
call fcn.00412ac4
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00412ac4
lea ecx, [ebp - 0x44]
call fcn.0042e60b
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00412ac4
mov eax, edi
call fcn.00506d90
ret 4