Function at 0x451360
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64d7b6
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x6dc0b8]
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
mov eax, edx
mov dword [ebp - 0x230], eax
mov edi, ecx
mov dword [ebp - 0x234], edi
cmp byte [eax + 0x10], 0
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, dword [eax]
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x238], 0
je 0x451418
push 3
lea eax, [ebp - 0x228]
mov ecx, ebx
push eax
mov esi, 1
call fcn.00426300
mov eax, dword [ebp - 0x228]
cmp word [eax + 2], 0x3a
jne 0x45140f
cmp word [eax + 4], 0x5c
jne 0x45140f
call dword [sym.imp.KERNEL32.dll_AreFileApisANSI]
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x451401
cmp eax, 2
jne 0x451409
mov esi, dword [ebp - 0x230]
mov esi, dword [esi]
mov eax, dword [ebp - 0x228]
push eax
call fcn.00545b61
add esp, 4
mov eax, dword [ebx + 4]
test eax, eax
jne 0x451424
or eax, 0xffffffff
jmp 0x45144d
mov edx, dword [ebx]
dec eax
movzx ecx, word [edx + eax*2]
lea eax, [edx + eax*2]
cmp ecx, 0x5c
je 0x451449
cmp cx, 0x2f
je 0x451449
cmp eax, edx
je 0x45141f
movzx ecx, word [eax - 2]
sub eax, 2
cmp ecx, 0x5c
jne 0x451433
sub eax, edx
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [ebx]
mov dword [ebp - 0x234], ecx
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.0049f520
sub esi, 1
je 0x4515c5
sub esi, 1
je 0x45151e
push 8
call fcn.00545b74
add esp, 4
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x220], 3
mov dword [ebp - 4], 1
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21c]
push eax
push 0x105
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [ebp - 0x228]
lea eax, [ebp - 0x21c]
push eax
call fcn.0049f520
lea eax, [esi - 1]
cmp eax, 0x103
jbe 0x4514fd
push 0x6d8180
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0x22995
push eax
call fcn.005e0fac
lea eax, [ebp - 0x228]
mov ecx, edi
push eax
call fcn.0049f470
push dword [ebp - 0x228]
call fcn.00545b61
add esp, 4
jmp 0x4515d3
mov ebx, dword [ebp - 0x230]
xor ecx, ecx
mov edx, 2
mov esi, dword [ebx + 8]
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
lea ecx, [ecx*2 + 2]
push ecx
push dword [ebx + 4]
push eax
call fcn.005e0850
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.004a5e00
mov esi, dword [ebp - 0x224]
xor ecx, ecx
mov edx, 2
mov dword [edi], 0
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00545b74
lea ecx, [esi*2 + 2]
mov dword [edi + 4], esi
push ecx
mov dword [edi + 8], esi
mov esi, dword [ebp - 0x228]
push esi
push eax
mov dword [edi], eax
call fcn.005e0850
push esi
call fcn.00545b61
add esp, 0x24
jmp 0x4515d3
push dword [ebp - 0x234]
mov ecx, ebx
push edi
call fcn.00426300
mov eax, edi
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.00545b50
mov esp, ebp
pop ebp
ret