Function at 0x550f70
Capabilities:
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffb84
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x70], eax
mov eax, 0x5d9e68
call fcn.005ae2c8
mov dword [ebp - 0x50], 1
lea edx, [ebp - 4]
lea eax, [ebp - 4]
call fcn.005bbcf4
inc dword [ebp - 0x50]
mov word [ebp - 0x5c], 0xc
mov eax, dword [ebp - 0x70]
call sym.default.exe__TWMAction_rActionManager_qqrv
cmp dword [eax + 0x88], 0x15
jne 0x5513f0
mov esi, 0x5d8ea4
lea edi, [ebp - 0x47c]
mov ecx, 0x100
rep movsd dword es:[edi], dword [esi]
mov word [ebp - 0x5c], 0x30
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
inc dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.00469330
mov word [ebp - 0x5c], 0x24
push 1
push 0x1c
lea edx, [ebp - 0x47c]
push edx
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderPathA
mov word [ebp - 0x5c], 0x3c
mov edx, str.Fallout4plugins.txt
lea eax, [ebp - 0x14]
call fcn.005bbcb4
inc dword [ebp - 0x50]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x47c]
lea eax, [ebp - 0x10]
call fcn.005bbcb4
inc dword [ebp - 0x50]
xor ecx, ecx
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
inc dword [ebp - 0x50]
pop edx
call fcn.005bbe94
dec dword [ebp - 0x50]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.005bbe44
mov word [ebp - 0x5c], 0x24
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00468c4c
test al, al
jne 0x5510ae
dec dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
jmp 0x55140a
mov dl, 1
mov eax, dword [0x428764]
call fcn.004350c0
mov dword [ebp - 0x74], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov word [ebp - 0x5c], 0x48
xor eax, eax
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0x18]
inc dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004692f0
lea edx, [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x54]
inc eax
setg al
and eax, 1
push eax
dec dword [ebp - 0x50]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x551177
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x551138
mov edx, dword [ebp - 0x20]
mov ecx, dword [edx]
mov dword [ebp - 0x1c], ecx
mov word [ebp - 0x5c], 0x6c
mov edx, 3
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x5c], 0x54
dec dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
jmp 0x55140a
mov word [ebp - 0x5c], 0x78
mov edx, 0x5d93df
lea eax, [ebp - 0x24]
call fcn.005bbcb4
inc dword [ebp - 0x50]
lea edx, [ebp - 0x24]
lea eax, [ebp - 8]
call fcn.005bbf18
push eax
dec dword [ebp - 0x50]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x5511e9
mov word [ebp - 0x5c], 0x84
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x28]
inc dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004692f0
lea edx, [ebp - 0x28]
mov edx, dword [edx]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.005bbe44
jmp 0x55135f
mov word [ebp - 0x5c], 0x90
mov edx, str..esm
lea eax, [ebp - 0x2c]
call fcn.005bbcb4
inc dword [ebp - 0x50]
lea edx, [ebp - 0x2c]
lea eax, [ebp - 8]
call fcn.005bbf18
push eax
dec dword [ebp - 0x50]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x55135f
xor eax, eax
mov dword [ebp - 0x78], eax
mov word [ebp - 0x5c], 0x24
xor edx, edx
mov dword [ebp - 0x7c], edx
mov word [ebp - 0x5c], 0x24
jmp 0x5512d1
mov word [ebp - 0x5c], 0x9c
xor ecx, ecx
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
inc dword [ebp - 0x50]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0x30]
mov eax, dword [eax]
xor edx, edx
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x34]
inc dword [ebp - 0x50]
call fcn.00469330
lea eax, [ebp - 0x34]
push eax
mov edx, str..esp
lea eax, [ebp - 0x38]
call fcn.005bbcb4
inc dword [ebp - 0x50]
lea edx, [ebp - 0x38]
pop eax
call fcn.005bbf18
push eax
dec dword [ebp - 0x50]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.005bbe44
pop ecx
test cl, cl
je 0x5512c8
inc dword [ebp - 0x78]
jmp 0x5512e2
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
inc dword [ebp - 0x7c]
mov eax, dword [ebp - 0x74]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, dword [ebp - 0x7c]
jg 0x55123f
cmp dword [ebp - 0x78], 0
jle 0x551323
mov word [ebp - 0x5c], 0xa8
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
lea edx, [ebp - 0x3c]
inc dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004692f0
lea ecx, [ebp - 0x3c]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 0x74]
mov ebx, dword [eax]
call dword [ebx + 0x60]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.005bbe44
jmp 0x55135f
cmp dword [ebp - 0x78], 0
jne 0x55135f
mov word [ebp - 0x5c], 0xb4
xor ecx, ecx
mov dword [ebp - 0x40], ecx
lea edx, [ebp - 0x40]
inc dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.004692f0
lea edx, [ebp - 0x40]
mov edx, dword [edx]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x38]
dec dword [ebp - 0x50]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.005bbe44
push 0x80
cmp dword [ebp - 0xc], 0
je 0x55136f
mov ecx, dword [ebp - 0xc]
jmp 0x551374
mov ecx, 0x5d93ee
push ecx
call sub.KERNEL32.DLL_SetFileAttributesW
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax]
call dword [ecx + 0x7c]
push 1
cmp dword [ebp - 0xc], 0
je 0x551392
mov eax, dword [ebp - 0xc]
jmp 0x551397
mov eax, 0x5d93f0
push eax
call sub.KERNEL32.DLL_SetFileAttributesW
mov edx, dword [ebp - 0x74]
mov dword [ebp - 0x48], edx
cmp dword [ebp - 0x48], 0
je 0x5513ca
mov ecx, dword [ebp - 0x48]
mov eax, dword [ecx]
mov dword [ebp - 0x44], eax
mov word [ebp - 0x5c], 0xd8
mov edx, 3
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x5c], 0xc0
dec dword [ebp - 0x50]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.005bbe44
dec dword [ebp - 0x50]
lea eax, [ebp - 8]
mov edx, 2
call fcn.005bbe44
mov word [ebp - 0x5c], 0xc
dec dword [ebp - 0x50]
lea eax, [ebp - 4]
mov edx, 2
call fcn.005bbe44
mov ecx, dword [ebp - 0x6c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret