Function at 0x45fa1d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x6b4198
call fcn.0066bd6c
sub esp, 0x64
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
push 7
pop edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], ebx
cmp byte [0x7c5376], al
je 0x45fa5e
push 0x6e000c
push dword [ebp + 8]
call fcn.00473644
jmp 0x45fc44
push 0x6e0020
push 0x6dbb04
call fcn.00462eb0
mov dword [ebp - 0x28], 0x374de290
mov dword [ebp - 0x24], 0x4565123f
mov dword [ebp - 0x20], 0xc4396491
mov dword [ebp - 0x1c], 0x7b465e92
test eax, eax
je 0x45fb4b
lea ecx, [ebp - 0x18]
push ecx
push ebx
push 0x8000
lea ecx, [ebp - 0x28]
push ecx
call eax
test eax, eax
js 0x45fb4b
push dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x58], ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
call fcn.00427613
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x70]
push eax
call int.0043b689
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x45fae7
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
push eax
call fcn.00427543
lea ecx, [ebp - 0x70]
call fcn.0042756c
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x45fb2a
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x45fb21
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x45fb40
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x45fbfd
push 2
push 0x118
call fcn.0045e27c
push 1
push 5
mov esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45fbfd
xor eax, eax
mov dword [ebp - 0x58], ebx
push 0x6e0038
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
mov word [ebp - 0x58], ax
call fcn.00427613
push 1
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00428f20
lea eax, [ebp - 0x70]
push eax
call fcn.0045e5a4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x45fbba
mov byte [ebp - 0x14], bl
push dword [ebp - 0x14]
push eax
call fcn.00427543
lea ecx, [ebp - 0x70]
call fcn.0042756c
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x45fbfd
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x45fbf4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x40]
push eax
call fcn.00427263
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x45fc44
mov ecx, dword [ebp - 0x40]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
cmp eax, 0x1000
jb 0x45fc3b
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042741e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.0066bb0a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4