Function at 0x140015620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14003f5b0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x28], ebx
lea rdx, [0x140031c10]
lea rdi, str._N_A_
mov rcx, rdi
call fcn.140018be8
test eax, eax
jne 0x140015b07
mov byte [str._N_A_], bl
mov byte [rbp - 0x40], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x3f]
call fcn.140017280
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x28]
lea rdx, [0x140015f70]
lea ecx, [r14 + 4]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExA]
mov r8d, 0x104
lea rdx, [rbp - 0x40]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x1400156e6
lea edx, [r14 + 0x5c]
lea rcx, [rbp - 0x40]
call fcn.14001ab70
test rax, rax
je 0x1400156e6
mov byte [rax], bl
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], bl
cmp byte [rbp - 0x40], bl
jne 0x1400156ff
mov r8, r14
jmp 0x140015710
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140015707
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000e6a0
nop
lea r8, [0x140030218]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140001460
nop
cmp qword [rbp - 0x50], 0x10
jb 0x140015744
mov rcx, qword [rbp - 0x68]
call fcn.140016874
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r14
mov byte [rbp - 0x68], 0
mov dword [rsp + 0x20], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x140041428], 1
jne 0x14001591b
cmp dword [rsp + 0x20], 0
je 0x1400157f1
lea r8, str.SynComTT32.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
nop
mov ebx, 1
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x1400157ab
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400157f1
lea r8, str.SynComTT32.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015a0
mov ebx, 3
cmp qword [rax + 0x18], 0x10
jb 0x1400157de
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400157f1
mov sil, 1
jmp 0x1400157f4
xor sil, sil
test bl, 2
je 0x140015821
and ebx, 0xfffffffd
cmp qword [rsp + 0x70], 0x10
jb 0x14001580e
mov rcx, qword [rsp + 0x58]
call fcn.140016874
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 1
je 0x14001583b
and ebx, 0xfffffffe
cmp qword [rsp + 0x50], 0x10
jb 0x14001583b
mov rcx, qword [rsp + 0x38]
call fcn.140016874
test sil, sil
je 0x14001584c
lea r8, str.SynComTT32.dll.manifest
jmp 0x140015ab3
cmp dword [rsp + 0x20], 0
jne 0x1400158bf
lea r8, str.SynComTT.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
nop
or ebx, 4
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14001587b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400158bf
lea r8, str.SynComTT.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015a0
or ebx, 8
cmp qword [rax + 0x18], 0x10
jb 0x1400158ac
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400158bf
mov sil, 1
jmp 0x1400158c2
xor sil, sil
test bl, 8
je 0x1400158ef
and ebx, 0xfffffff7
cmp qword [rsp + 0x70], 0x10
jb 0x1400158dc
mov rcx, qword [rsp + 0x58]
call fcn.140016874
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 4
je 0x140015906
cmp qword [rsp + 0x50], 0x10
jb 0x140015906
mov rcx, qword [rsp + 0x38]
call fcn.140016874
test sil, sil
je 0x140015af6
lea r8, str.SynComTT.dll.manifest
jmp 0x140015ab3
cmp dword [rsp + 0x20], 0
je 0x140015991
lea r8, str.SynCom32.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
nop
mov ebx, 0x10
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], rbx
jb 0x14001594b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015991
lea r8, str.SynCom32.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015a0
mov ebx, 0x30
cmp qword [rax + 0x18], 0x10
jb 0x14001597e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015991
mov sil, 1
jmp 0x140015994
xor sil, sil
test bl, 0x20
je 0x1400159c1
and ebx, 0xffffffdf
cmp qword [rsp + 0x70], 0x10
jb 0x1400159ae
mov rcx, qword [rsp + 0x58]
call fcn.140016874
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x10
je 0x1400159db
and ebx, 0xffffffef
cmp qword [rsp + 0x50], 0x10
jb 0x1400159db
mov rcx, qword [rsp + 0x38]
call fcn.140016874
test sil, sil
je 0x1400159ec
lea r8, str.SynCom32.dll.manifest
jmp 0x140015ab3
cmp dword [rsp + 0x20], 0
jne 0x140015a60
lea r8, str.SynCom.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
nop
or ebx, 0x40
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x140015a1b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015a60
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015a0
bts ebx, 7
cmp qword [rax + 0x18], 0x10
jb 0x140015a4d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015a60
mov sil, 1
jmp 0x140015a63
xor sil, sil
test bl, bl
jns 0x140015a90
btr ebx, 7
cmp qword [rsp + 0x70], 0x10
jb 0x140015a7d
mov rcx, qword [rsp + 0x58]
call fcn.140016874
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x40
je 0x140015aa7
cmp qword [rsp + 0x50], 0x10
jb 0x140015aa7
mov rcx, qword [rsp + 0x38]
call fcn.140016874
test sil, sil
je 0x140015af6
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
cmp qword [rax + 0x18], 0x10
jb 0x140015acc
mov rax, qword [rax]
mov r9, rax
lea r8, [0x140030500]
mov edx, 0x104
mov rcx, rdi
call fcn.14001891c
cmp qword [rsp + 0x50], 0x10
jb 0x140015af6
mov rcx, qword [rsp + 0x38]
call fcn.140016874
nop
cmp qword [rbp - 0x70], 0x10
jb 0x140015b07
mov rcx, qword [rsp + 0x78]
call fcn.140016874
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140019ef0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret