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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
xor r14d, r14d
mov ebx, r14d
mov dword [rbp + 0x1e8], ebx
mov ecx, r14d
lea rdi, str._N_A_
lea rdx, [0x140024dd0]
movzx eax, word [rdi + rcx*2]
inc rcx
cmp ax, word [rdx + rcx*2 - 2]
jne 0x14000cb70
cmp rcx, 6
jne 0x14000c682
mov word [str._N_A_], r14w
mov word [rbp - 0x50], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x4e]
call fcn.140011610
mov qword [rbp + 0x1e8], r14
lea r8, [rbp + 0x1e8]
lea rdx, [0x14000d1c0]
mov ecx, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov r8d, 0x104
lea rdx, [rbp - 0x50]
mov rcx, qword [rbp + 0x1e8]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000c70a
mov edx, 0x5c
lea rcx, [rbp - 0x50]
call fcn.140010604
test rax, rax
je 0x14000c70a
mov word [rax], r14w
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
cmp word [rbp - 0x50], bx
jne 0x14000c726
mov r8, r14
jmp 0x14000c73a
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x14000c730
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x80]
call fcn.140006df0
nop
lea r8, [0x14002c6e8]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400075b0
nop
cmp qword [rbp - 0x68], 8
jb 0x14000c76e
mov rcx, qword [rbp - 0x80]
call fcn.14000eb40
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
mov dword [rbp + 0x1e0], r14d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp + 0x1e0]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [0x140036008], 1
jne 0x14000c954
cmp dword [rbp + 0x1e0], 0
je 0x14000c824
lea r8, str.SynComTT32.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
mov ebx, 1
mov dword [rbp + 0x1e8], ebx
cmp qword [rax + 0x18], 8
jb 0x14000c7de
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c824
lea r8, str.SynComTT32.dll.manifest
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140007750
mov ebx, 3
cmp qword [rax + 0x18], 8
jb 0x14000c811
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c824
mov sil, 1
jmp 0x14000c827
xor sil, sil
test bl, 2
je 0x14000c855
and ebx, 0xfffffffd
cmp qword [rsp + 0x38], 8
jb 0x14000c841
mov rcx, qword [rsp + 0x20]
call fcn.14000eb40
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test bl, 1
je 0x14000c86f
and ebx, 0xfffffffe
cmp qword [rsp + 0x58], 8
jb 0x14000c86f
mov rcx, qword [rsp + 0x40]
call fcn.14000eb40
test sil, sil
je 0x14000c880
lea r8, str.SynComTT32.dll.manifest
jmp 0x14000caf7
cmp dword [rbp + 0x1e0], 0
jne 0x14000c8f7
lea r8, str.SynComTT.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
or ebx, 4
mov dword [rbp + 0x1e8], ebx
cmp qword [rax + 0x18], 8
jb 0x14000c8b3
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c8f7
lea r8, str.SynComTT.dll.manifest
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140007750
or ebx, 8
cmp qword [rax + 0x18], 8
jb 0x14000c8e4
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c8f7
mov sil, 1
jmp 0x14000c8fa
xor sil, sil
test bl, 8
je 0x14000c928
and ebx, 0xfffffff7
cmp qword [rsp + 0x38], 8
jb 0x14000c914
mov rcx, qword [rsp + 0x20]
call fcn.14000eb40
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test bl, 4
je 0x14000c93f
cmp qword [rsp + 0x58], 8
jb 0x14000c93f
mov rcx, qword [rsp + 0x40]
call fcn.14000eb40
test sil, sil
je 0x14000cb39
lea r8, str.SynComTT.dll.manifest
jmp 0x14000caf7
cmp dword [rbp + 0x1e0], 0
je 0x14000c9cf
lea r8, str.SynCom32.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
mov ebx, 0x10
mov dword [rbp + 0x1e8], ebx
cmp qword [rax + 0x18], 8
jb 0x14000c989
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c9cf
lea r8, str.SynCom32.dll.manifest
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140007750
mov ebx, 0x30
cmp qword [rax + 0x18], 8
jb 0x14000c9bc
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000c9cf
mov sil, 1
jmp 0x14000c9d2
xor sil, sil
test bl, 0x20
je 0x14000ca00
and ebx, 0xffffffdf
cmp qword [rsp + 0x38], 8
jb 0x14000c9ec
mov rcx, qword [rsp + 0x20]
call fcn.14000eb40
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test bl, 0x10
je 0x14000ca1a
and ebx, 0xffffffef
cmp qword [rsp + 0x58], 8
jb 0x14000ca1a
mov rcx, qword [rsp + 0x40]
call fcn.14000eb40
test sil, sil
je 0x14000ca2b
lea r8, str.SynCom32.dll.manifest
jmp 0x14000caf7
cmp dword [rbp + 0x1e0], 0
jne 0x14000caa3
lea r8, str.SynCom.dll
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007750
nop
or ebx, 0x40
mov dword [rbp + 0x1e8], ebx
cmp qword [rax + 0x18], 8
jb 0x14000ca5e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000caa3
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140007750
bts ebx, 7
cmp qword [rax + 0x18], 8
jb 0x14000ca90
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000caa3
mov sil, 1
jmp 0x14000caa6
xor sil, sil
test bl, bl
jns 0x14000cad4
btr ebx, 7
cmp qword [rsp + 0x38], 8
jb 0x14000cac0
mov rcx, qword [rsp + 0x20]
call fcn.14000eb40
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r14
mov word [rsp + 0x20], r14w
test bl, 0x40
je 0x14000caeb
cmp qword [rsp + 0x58], 8
jb 0x14000caeb
mov rcx, qword [rsp + 0x40]
call fcn.14000eb40
test sil, sil
je 0x14000cb39
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140007750
cmp qword [rax + 0x18], 8
jb 0x14000cb10
mov rax, qword [rax]
mov r9, rax
lea r8, [0x14002cac4]
mov edx, 0x104
mov rcx, rdi
call fcn.140010c10
cmp qword [rsp + 0x58], 8
jb 0x14000cb39
mov rcx, qword [rsp + 0x40]
call fcn.14000eb40
test byte [0x1400342a8], 2
je 0x14000cb5e
mov r9, rdi
lea r8, str.ManifestFile___s_n
mov edx, 2
lea rcx, str.GetSynComLocalManifestFilename
call fcn.14000db50
nop
cmp qword [rsp + 0x78], 8
jb 0x14000cb70
mov rcx, qword [rsp + 0x60]
call fcn.14000eb40
mov rax, rdi
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret