Function at 0x1401626b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x170]
sub rsp, 0x270
movzx edi, dl
mov r14, rcx
mov dword [rbp + 0x1a8], 0
lea rax, [0x140484e18]
mov qword [rbp + 0x1b8], rax
test dl, dl
jne 0x1401627ac
lea rcx, [rsp + 0x30]
call fcn.140183fe0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14012f460
nop
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call fcn.1401309e0
nop
mov rdx, rax
lea rcx, [rbp + 0x1b8]
call fcn.1400018b0
nop
mov rax, qword [rbp + 0x1b0]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162751
cmp ecx, 0xffffffff
je 0x140162769
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162769
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
nop
lea rcx, [rsp + 0x40]
call fcn.14012f720
nop
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162797
cmp ecx, 0xffffffff
je 0x1401627ac
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401627ac
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1400affb0
mov qword [rsp + 0x50], 0x104
lea rax, [rsp + 0x60]
mov qword [rsp + 0x58], rax
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
cmp eax, 0x104
jbe 0x140162800
mov r8d, eax
cmp eax, dword [rsp + 0x50]
cmovl r8d, dword [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.140162d00
mov edx, ebx
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ebx, eax
mov r8d, ebx
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.1400ba830
nop
mov rcx, qword [rax]
mov qword [rbp + 0x1b0], rcx
lea r15, [0x140484d90]
mov qword [rax], r15
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x14016284a
cmp ecx, 0xffffffff
je 0x140162860
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162860
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1400affb0
nop
lea rax, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
cmp rcx, rax
je 0x140162875
call fcn.14023c0f0
nop
lea rdx, [rbp + 0x1b0]
lea rcx, [rbp + 0x1b8]
call fcn.1400018b0
nop
mov rax, qword [rbp + 0x1b0]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401628b0
cmp ecx, 0xffffffff
je 0x1401628c7
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x1401628c7
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
test dil, dil
jne 0x140162a41
lea rdx, str.PATH
lea rcx, [rsp + 0x30]
call fcn.1400abd20
nop
mov rcx, qword [rax]
add rcx, qword [rcx + 0x10]
je 0x1401628fd
mov rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x1401628f2
jmp 0x1401628ff
xor edx, edx
call fcn.1400ba5a0
mov qword [rbp + 0x1b0], rax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rax]
test ecx, ecx
je 0x14016292e
cmp ecx, 0xffffffff
je 0x140162943
mov rax, qword [rsp + 0x30]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162943
mov edx, 1
mov r8d, 8
mov rcx, qword [rsp + 0x30]
call fcn.1400affb0
mov r8d, 0x3b
mov dword [rsp + 0x20], 1
mov r9d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x1b0]
call fcn.1400be560
nop
mov rdx, rax
lea rcx, [rbp + 0x1b8]
call fcn.140025940
nop
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax]
test ecx, ecx
je 0x1401629a0
cmp ecx, 0xffffffff
je 0x140162a03
mov rax, qword [rsp + 0x40]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162a03
mov rsi, qword [rsp + 0x40]
movsxd rbx, dword [rsi + 0xc]
add rbx, 2
lea rbx, [rsi + rbx*8]
movsxd rdi, dword [rsi + 8]
add rdi, 2
lea rdi, [rsi + rdi*8]
cmp rdi, rbx
je 0x1401629fa
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x1401629e2
cmp eax, 0xffffffff
je 0x1401629f5
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x1401629f5
mov edx, 2
mov r8d, 8
mov rcx, qword [rbx]
call fcn.1400affb0
cmp rbx, rdi
jne 0x1401629c2
mov rcx, rsi
call fcn.1400c6df0
nop
mov rax, qword [rbp + 0x1b0]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162a2a
cmp ecx, 0xffffffff
je 0x140162a41
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162a41
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
mov r8d, 0xffffffff
mov rdx, r14
lea rcx, [rbp + 0x1b0]
call fcn.1400ba830
nop
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
mov qword [rax], r15
mov rax, qword [rbp + 0x1b0]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162a89
cmp ecx, 0xffffffff
je 0x140162aa1
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162aa1
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
nop
mov dword [rsp + 0x40], 4
lea rax, str..dll
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.1400b7300
xor ebx, ebx
mov rax, qword [rbp + 0x1b8]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
test ecx, ecx
jle 0x140162bca
xor esi, esi
mov r14d, 0x5c
nop
movsxd rcx, dword [rax + 8]
add rcx, rsi
mov rax, qword [rax + rcx*8 + 0x10]
mov qword [rbp + 0x1b0], rax
mov ecx, dword [rax]
inc ecx
cmp ecx, 1
jbe 0x140162b16
mov rax, qword [rbp + 0x1b0]
lock inc dword [rax]
mov r8d, 1
movzx edx, r14w
lea rcx, [rbp + 0x1b0]
call fcn.1400b9b20
test al, al
jne 0x140162b40
movzx edx, r14w
lea rcx, [rbp + 0x1b0]
call fcn.14005c930
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x1b0]
call fcn.1400b7020
lea rcx, [rbp + 0x1b0]
call fcn.1400c02d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
mov rax, qword [rbp + 0x1b0]
mov ecx, dword [rax]
jne 0x140162cbb
test ecx, ecx
je 0x140162b99
cmp ecx, 0xffffffff
je 0x140162bb0
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162bb0
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
inc ebx
inc rsi
mov rax, qword [rbp + 0x1b8]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp ebx, ecx
jl 0x140162af0
xor edi, edi
mov rax, qword [rsp + 0x38]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162bef
cmp ecx, 0xffffffff
je 0x140162c05
mov rax, qword [rsp + 0x38]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162c05
mov edx, 2
mov r8d, 8
mov rcx, qword [rsp + 0x38]
call fcn.1400affb0
nop
mov rax, qword [rbp + 0x1b8]
mov ecx, dword [rax]
test ecx, ecx
je 0x140162c30
cmp ecx, 0xffffffff
je 0x140162ca1
mov rcx, qword [rbp + 0x1b8]
mov edx, 0xffffffff
lock xadd dword [rcx], edx
cmp edx, 1
jne 0x140162ca1
mov r14, qword [rbp + 0x1b8]
movsxd rbx, dword [r14 + 0xc]
add rbx, 2
lea rbx, [r14 + rbx*8]
movsxd rsi, dword [r14 + 8]
add rsi, 2
lea rsi, [r14 + rsi*8]
cmp rsi, rbx
je 0x140162c98
nop dword [rax]
nop dword [rax + rax]
sub rbx, 8
mov rcx, qword [rbx]
mov eax, dword [rcx]
test eax, eax
je 0x140162c80
cmp eax, 0xffffffff
je 0x140162c93
mov eax, 0xffffffff
lock xadd dword [rcx], eax
cmp eax, 1
jne 0x140162c93
mov edx, 2
mov r8d, 8
mov rcx, qword [rbx]
call fcn.1400affb0
cmp rbx, rsi
jne 0x140162c60
mov rcx, r14
call fcn.1400c6df0
nop
mov rax, rdi
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
test ecx, ecx
je 0x140162ce1
cmp ecx, 0xffffffff
je 0x140162bcc
mov rax, qword [rbp + 0x1b0]
mov ecx, 0xffffffff
lock xadd dword [rax], ecx
cmp ecx, 1
jne 0x140162bcc
mov edx, 2
mov r8d, 8
mov rcx, qword [rbp + 0x1b0]
call fcn.1400affb0
jmp 0x140162bcc