Function at 0x1800078a0
Capabilities:
Get common file path

Disassembly:
jmp 0x1800078a0
mov qword [rsp + 0x10], rdx
mov word [rsp + 8], cx
push rdi
sub rsp, 0x2d0
lea rdi, [rsp + 0x20]
mov ecx, 0xac
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
movzx ecx, word [rsp + 0x2e0]
mov rax, qword [0x18011d400]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [0x18012d00a]
call fcn.180003e77
movzx eax, word [rsp + 0x2e0]
test eax, eax
jne 0x1800078fc
xor eax, eax
jmp 0x180007bbd
movzx eax, word [rsp + 0x2e0]
mov rcx, qword [0x18011e648]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [0x18011e648]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jb 0x180007929
xor eax, eax
jmp 0x180007bbd
xor eax, eax
mov qword [rsp + 0x2a0], rax
lea rcx, [0x18011e650]
xor eax, eax
mov rdx, qword [rsp + 0x2a0]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180007a49
mov rax, qword [0x18011e648]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x18011e640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov edx, 0x104
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [rsp + 0x264], eax
cmp dword [rsp + 0x264], 0
je 0x1800079cd
mov eax, dword [rsp + 0x264]
mov ecx, 0x104
sub rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x264]
lea rcx, [rsp + rcx*2 + 0x50]
mov r9, qword [rsp + 0x30]
lea r8, str._hs
mov rdx, rax
call fcn.180001aaf
test eax, eax
jge 0x1800079d4
xor eax, eax
jmp 0x180007bbd
mov r8d, 8
xor edx, edx
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1800079fb
xor eax, eax
jmp 0x180007bbd
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x2a8], rax
lea rcx, [0x18011e650]
xor eax, eax
mov rdx, qword [rsp + 0x2a8]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
je 0x180007a49
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x20], rax
xor eax, eax
mov qword [rsp + 0x2b0], rax
mov rcx, qword [rsp + 0x2e8]
xor eax, eax
mov rdx, qword [rsp + 0x2b0]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
jne 0x180007bb5
mov rax, qword [0x18011e648]
mov eax, dword [rax + 0x24]
mov rcx, qword [0x18011e640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x280], rax
mov rax, qword [0x18011e648]
mov eax, dword [rax + 0x20]
mov rcx, qword [0x18011e640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x278], rax
movzx eax, word [rsp + 0x2e0]
mov qword [rsp + 0x288], rax
mov dword [rsp + 0x290], 0
jmp 0x180007aec
mov eax, dword [rsp + 0x290]
inc eax
mov dword [rsp + 0x290], eax
mov rax, qword [0x18011e648]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x290], eax
jae 0x180007b45
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp dword [rsp + 0x28], eax
je 0x180007b1a
jmp 0x180007adc
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
mov eax, dword [rcx + rax*4]
mov rcx, qword [0x18011e640]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x288], rax
jmp 0x180007b45
mov rdx, qword [rsp + 0x288]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x270], rax
cmp qword [rsp + 0x270], 0
je 0x180007bb5
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x2b8], rax
mov rcx, qword [rsp + 0x2e8]
xor eax, eax
mov rdx, qword [rsp + 0x2b8]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
je 0x180007bb5
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1800eacb0]
call fcn.18000362f
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.180002685
add rsp, 0x2d0
pop rdi
ret