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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1400442d0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rbp - 0x21], ebx
cmp dword [0x140045ba0], ebx
je 0x14000e463
mov dword [0x140045ba0], r14d
mov dword [rbp - 0x29], r14d
lea rcx, [0x14003a2c8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x14000e463
lea rdx, [0x140039438]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x14000e205
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call rsi
mov qword [rbp - 0x21], r14
lea rdx, [0x140039420]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000e230
lea r8, [rbp - 0x21]
lea rdx, [0x14000e120]
mov ecx, 4
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x14000e463
mov r8d, 0x104
lea rdi, [0x140047a20]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x14000e276
mov edx, 0x5c
mov rcx, rdi
call fcn.14001a828
test rax, rax
je 0x14000e276
mov word [rax], r14w
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r14
mov word [rbp + 0xf], r14w
cmp word [0x140047a20], bx
jne 0x14000e295
mov r8, r14
jmp 0x14000e2aa
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x14000e2a0
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.14000c8f0
nop
cmp dword [rbp - 0x29], 0
je 0x14000e328
lea r8, str.SynCom32.dll
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.14000d520
nop
mov ebx, 1
mov dword [rbp - 0x21], ebx
cmp qword [rax + 0x18], 8
jb 0x14000e2e4
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e328
lea r8, str.SynCom32.dll.manifest
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14000d520
mov ebx, 3
cmp qword [rax + 0x18], 8
jb 0x14000e315
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e328
mov sil, 1
jmp 0x14000e32b
xor sil, sil
test bl, 2
je 0x14000e354
and ebx, 0xfffffffd
cmp qword [rbp + 7], 8
jb 0x14000e343
mov rcx, qword [rbp - 0x11]
call fcn.140018e6c
mov qword [rbp + 7], 7
mov qword [rbp - 1], r14
mov word [rbp - 0x11], r14w
test bl, 1
je 0x14000e36c
and ebx, 0xfffffffe
cmp qword [rbp + 0x47], 8
jb 0x14000e36c
mov rcx, qword [rbp + 0x2f]
call fcn.140018e6c
test sil, sil
je 0x14000e37d
lea r8, str.SynCom32.dll.manifest
jmp 0x14000e437
cmp dword [rbp - 0x29], 0
jne 0x14000e3ea
lea r8, str.SynCom.dll
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.14000d520
nop
or ebx, 4
mov dword [rbp - 0x21], ebx
cmp qword [rax + 0x18], 8
jb 0x14000e3a8
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e3ea
lea r8, str.SynCom.dll.manifest
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14000d520
or ebx, 8
cmp qword [rax + 0x18], 8
jb 0x14000e3d7
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000e3ea
mov sil, 1
jmp 0x14000e3ed
xor sil, sil
test bl, 8
je 0x14000e416
and ebx, 0xfffffff7
cmp qword [rbp + 7], 8
jb 0x14000e405
mov rcx, qword [rbp - 0x11]
call fcn.140018e6c
mov qword [rbp + 7], 7
mov qword [rbp - 1], r14
mov word [rbp - 0x11], r14w
test bl, 4
je 0x14000e42b
cmp qword [rbp + 0x47], 8
jb 0x14000e42b
mov rcx, qword [rbp + 0x2f]
call fcn.140018e6c
test sil, sil
je 0x14000e446
lea r8, str.SynCom.dll.manifest
mov edx, 0x104
mov rcx, rdi
call fcn.14001a8d8
jmp 0x14000e44e
mov word [0x140047a20], r14w
cmp qword [rbp + 0x27], 8
jb 0x14000e45e
mov rcx, qword [rbp + 0xf]
call fcn.140018e6c
mov rax, rdi
jmp 0x14000e46a
lea rax, [0x140047a20]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140018e90
lea r11, [rsp + 0xa0]
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