Function at 0x1400156d0
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 [0x1400405b0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x28], ebx
lea rdx, [0x140032d88]
lea rdi, str._N_A_
mov rcx, rdi
call fcn.1400195a4
test eax, eax
jne 0x140015bb7
mov byte [str._N_A_], bl
mov byte [rbp - 0x40], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x3f]
call fcn.140017a40
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x28]
lea rdx, [0x140016640]
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 0x140015796
lea edx, [r14 + 0x5c]
lea rcx, [rbp - 0x40]
call fcn.14001b370
test rax, rax
je 0x140015796
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 0x1400157af
mov r8, r14
jmp 0x1400157c0
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x1400157b7
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000e4a0
nop
lea r8, [0x140031280]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.140001460
nop
cmp qword [rbp - 0x50], 0x10
jb 0x1400157f4
mov rcx, qword [rbp - 0x68]
call fcn.140017034
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 [0x140042428], 1
jne 0x1400159cb
cmp dword [rsp + 0x20], 0
je 0x1400158a1
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 0x14001585b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400158a1
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 0x14001588e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400158a1
mov sil, 1
jmp 0x1400158a4
xor sil, sil
test bl, 2
je 0x1400158d1
and ebx, 0xfffffffd
cmp qword [rsp + 0x70], 0x10
jb 0x1400158be
mov rcx, qword [rsp + 0x58]
call fcn.140017034
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 1
je 0x1400158eb
and ebx, 0xfffffffe
cmp qword [rsp + 0x50], 0x10
jb 0x1400158eb
mov rcx, qword [rsp + 0x38]
call fcn.140017034
test sil, sil
je 0x1400158fc
lea r8, str.SynComTT32.dll.manifest
jmp 0x140015b63
cmp dword [rsp + 0x20], 0
jne 0x14001596f
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 0x14001592b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001596f
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 0x14001595c
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001596f
mov sil, 1
jmp 0x140015972
xor sil, sil
test bl, 8
je 0x14001599f
and ebx, 0xfffffff7
cmp qword [rsp + 0x70], 0x10
jb 0x14001598c
mov rcx, qword [rsp + 0x58]
call fcn.140017034
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 4
je 0x1400159b6
cmp qword [rsp + 0x50], 0x10
jb 0x1400159b6
mov rcx, qword [rsp + 0x38]
call fcn.140017034
test sil, sil
je 0x140015ba6
lea r8, str.SynComTT.dll.manifest
jmp 0x140015b63
cmp dword [rsp + 0x20], 0
je 0x140015a41
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 0x1400159fb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015a41
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 0x140015a2e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015a41
mov sil, 1
jmp 0x140015a44
xor sil, sil
test bl, 0x20
je 0x140015a71
and ebx, 0xffffffdf
cmp qword [rsp + 0x70], 0x10
jb 0x140015a5e
mov rcx, qword [rsp + 0x58]
call fcn.140017034
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x10
je 0x140015a8b
and ebx, 0xffffffef
cmp qword [rsp + 0x50], 0x10
jb 0x140015a8b
mov rcx, qword [rsp + 0x38]
call fcn.140017034
test sil, sil
je 0x140015a9c
lea r8, str.SynCom32.dll.manifest
jmp 0x140015b63
cmp dword [rsp + 0x20], 0
jne 0x140015b10
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 0x140015acb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015b10
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 0x140015afd
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140015b10
mov sil, 1
jmp 0x140015b13
xor sil, sil
test bl, bl
jns 0x140015b40
btr ebx, 7
cmp qword [rsp + 0x70], 0x10
jb 0x140015b2d
mov rcx, qword [rsp + 0x58]
call fcn.140017034
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x40
je 0x140015b57
cmp qword [rsp + 0x50], 0x10
jb 0x140015b57
mov rcx, qword [rsp + 0x38]
call fcn.140017034
test sil, sil
je 0x140015ba6
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015a0
cmp qword [rax + 0x18], 0x10
jb 0x140015b7c
mov rax, qword [rax]
mov r9, rax
lea r8, [0x140031580]
mov edx, 0x104
mov rcx, rdi
call fcn.1400192d8
cmp qword [rsp + 0x50], 0x10
jb 0x140015ba6
mov rcx, qword [rsp + 0x38]
call fcn.140017034
nop
cmp qword [rbp - 0x70], 0x10
jb 0x140015bb7
mov rcx, qword [rsp + 0x78]
call fcn.140017034
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14001a850
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