Function at 0x180002b80
Capabilities:
Get common file path

Disassembly:
jmp 0x1800075b0
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 [0x1801020d8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
lea rcx, [0x18011100a]
call fcn.180003d19
movzx eax, word [rsp + 0x2e0]
test eax, eax
jne 0x18000760c
xor eax, eax
jmp 0x1800078cd
movzx eax, word [rsp + 0x2e0]
mov rcx, qword [0x1801032d8]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov rax, qword [0x1801032d8]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x28], eax
jb 0x180007639
xor eax, eax
jmp 0x1800078cd
xor eax, eax
mov qword [rsp + 0x2a0], rax
lea rcx, [0x1801032e0]
xor eax, eax
mov rdx, qword [rsp + 0x2a0]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x180007759
mov rax, qword [0x1801032d8]
mov eax, dword [rax + 0xc]
mov rcx, qword [0x1801032d0]
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 0x1800076dd
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.180001a73
test eax, eax
jge 0x1800076e4
xor eax, eax
jmp 0x1800078cd
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 0x18000770b
xor eax, eax
jmp 0x1800078cd
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x2a8], rax
lea rcx, [0x1801032e0]
xor eax, eax
mov rdx, qword [rsp + 0x2a8]
lock cmpxchg qword [rcx], rdx
mov qword [rsp + 0x268], rax
cmp qword [rsp + 0x268], 0
je 0x180007759
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 0x1800078c5
mov rax, qword [0x1801032d8]
mov eax, dword [rax + 0x24]
mov rcx, qword [0x1801032d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x280], rax
mov rax, qword [0x1801032d8]
mov eax, dword [rax + 0x20]
mov rcx, qword [0x1801032d0]
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 0x1800077fc
mov eax, dword [rsp + 0x290]
inc eax
mov dword [rsp + 0x290], eax
mov rax, qword [0x1801032d8]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x290], eax
jae 0x180007855
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x280]
movzx eax, word [rcx + rax*2]
cmp dword [rsp + 0x28], eax
je 0x18000782a
jmp 0x1800077ec
mov eax, dword [rsp + 0x290]
mov rcx, qword [rsp + 0x278]
mov eax, dword [rcx + rax*4]
mov rcx, qword [0x1801032d0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x288], rax
jmp 0x180007855
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 0x1800078c5
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 0x1800078c5
mov rax, qword [rsp + 0x268]
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x270]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1800d1cb0]
call fcn.180003521
mov rax, rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.180002626
add rsp, 0x2d0
pop rdi
ret