Function at 0x54fc10
Capabilities:
Get common file path

Disassembly:
push rbp
sub rsp, 0x270
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x280], rcx
nop
mov dword [rbp + 0x58], 0
mov eax, dword [rbp + 0x38]
sub eax, 0x28f
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x40]
sub eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4c], eax
jne 0x54fc59
mov eax, 0x176
sub eax, dword [rbp + 0x48]
mov dword [rbp + 0x4c], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
mov ecx, dword [rbp + 0x50]
sub ecx, dword [rbp + 0x48]
cmp eax, ecx
jle 0x54fc72
mov eax, dword [rbp + 0x50]
add eax, 0x7e
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
imul eax, dword [rbp + 0x54]
mov dword [rbp + 0x64], eax
add dword [rbp + 0x58], 1
cmp dword [rbp + 0x58], 3
jne 0x54fc36
nop
mov dword [rbp + 0x60], 0
cmp dword [rbp + 0x60], 1
jge 0x54fcf0
add dword [rbp + 0x60], 1
mov eax, dword [rbp + 0x48]
add eax, dword [rbp + 0x3c]
cmp eax, dword [rbp + 0x38]
jle 0x54fcb5
mov eax, dword [rbp + 0x44]
imul eax, eax, 0x1b0
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x54]
mov ecx, dword [rbp + 0x4c]
sub ecx, dword [rbp + 0x48]
cmp eax, ecx
jle 0x54fccb
mov eax, dword [rbp + 0x54]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x54]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
sub eax, dword [rbp + 0x58]
mov dword [rbp + 0x38], eax
mov eax, dword [rbp + 0x64]
sub eax, 0x2c2
mov dword [rbp + 0x3c], eax
cmp dword [rbp + 0x60], 1
jl 0x54fc9a
nop
mov eax, dword [rbp + 0x4c]
add eax, 0xf1
mov dword [rbp + 0x54], eax
mov dword [rbp + 0x54], 0
mov eax, dword [rbp + 0x38]
sub eax, 0x297
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x40]
sub eax, dword [rbp + 0x3c]
cmp dword [rbp + 0x4c], eax
jne 0x54fd27
mov eax, 0x13e
sub eax, dword [rbp + 0x48]
mov dword [rbp + 0x50], eax
mov eax, dword [rbp + 0x60]
add eax, dword [rbp + 0x58]
mov ecx, dword [rbp + 0x54]
add ecx, dword [rbp + 0x50]
cmp eax, ecx
jge 0x54fd3d
mov eax, dword [rbp + 0x58]
mov dword [rbp + 0x60], eax
mov eax, dword [rbp + 0x60]
add eax, dword [rbp + 0x5c]
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x2ad
mov dword [rbp + 0x3c], eax
add dword [rbp + 0x54], 1
cmp dword [rbp + 0x54], 4
jne 0x54fd04
nop
nop
mov eax, dword [rbp + 0x38]
sub eax, 0x275
mov dword [rbp + 0x40], eax
mov dword [rbp + 0x60], 0
cmp dword [rbp + 0x60], 1
jge 0x54fdc2
add dword [rbp + 0x60], 1
mov eax, dword [rbp + 0x48]
add eax, dword [rbp + 0x3c]
cmp eax, dword [rbp + 0x38]
jle 0x54fd92
mov eax, dword [rbp + 0x44]
imul eax, eax, 0x1ef
mov dword [rbp + 0x48], eax
mov eax, dword [rbp + 0x48]
add eax, dword [rbp + 0x44]
cmp dword [rbp + 0x54], eax
jne 0x54fda9
mov eax, dword [rbp + 0x50]
add eax, 0xf6
mov dword [rbp + 0x54], eax
mov eax, dword [rbp + 0x58]
imul eax, dword [rbp + 0x50]
mov dword [rbp + 0x5c], eax
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x58]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x60], 1
jl 0x54fd77
nop
mov eax, dword [rbp + 0x60]
cmp eax, dword [rbp + 0x58]
jle 0x54fddc
lea rcx, [rbp + 0x64]
lea rdx, [rbp + 0x5c]
lea r8, [rbp + 0x58]
call fcn.0054f360
mov eax, 0x55
sub eax, dword [rbp + 0x5c]
cmp eax, 0xe6
jge 0x54fdfe
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x64]
lea r8, [rbp + 0x60]
call fcn.0054c400
lea rcx, [rbp + 0x68]
mov edx, 0x104
call sub.kernel32.dll_GetWindowsDirectoryW
mov rcx, qword [rbp + 0x280]
lea rdx, [rbp + 0x68]
mov r8d, eax
call fcn.0040e890
mov eax, dword [rbp + 0x60]
cmp eax, dword [rbp + 0x5c]
jle 0x54fe39
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0x58]
lea r8, [rbp + 0x54]
call fcn.005360e0
mov eax, 0x56
sub eax, dword [rbp + 0x5c]
cmp eax, 0xf8
jge 0x54fe5b
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x64]
lea r8, [rbp + 0x5c]
call fcn.0054c400
lea rcx, [0x0054ff64]
lea rdx, [0x0054ff80]
mov r8d, 1
call fcn.004102c0
cmp eax, 0x5b
jge 0x54fe83
mov eax, dword [rbp + 0x5c]
sub eax, dword [rbp + 0x58]
mov dword [rbp + 0x60], eax
mov rax, qword [rbp + 0x280]
cmp qword [rax], 0
je 0x54feba
lea rcx, [rbp + 0x20]
mov rax, qword [rbp + 0x280]
mov rdx, qword [rax]
call fcn.0054f5e0
mov rcx, qword [rbp + 0x280]
mov rdx, qword [rbp + 0x20]
lea r8, [0x0054ffac]
call fcn.0040ff10
mov eax, 0x51
sub eax, dword [rbp + 0x5c]
cmp eax, 0xe5
jge 0x54fedc
lea rcx, [rbp + 0x3c]
lea rdx, [rbp + 0x64]
lea r8, [rbp + 0x60]
call fcn.00549ae0
mov eax, dword [rbp + 0x38]
imul eax, eax, 0x2af
mov dword [rbp + 0x3c], eax
mov eax, dword [rbp + 0x64]
imul eax, eax, 0x2d3
mov dword [rbp + 0x38], eax
jmp 0x54fefe
mov eax, dword [rbp + 0x64]
imul eax, eax, 0x2ae
mov dword [rbp + 0x3c], eax
nop
lea rcx, [rbp + 0x20]
call fcn.0040e5d0
mov rax, qword [rbp + 0x280]
lea rsp, [rbp + 0x270]
pop rbp
ret