Function at 0x1400018d0
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 [0x14001d008]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rbp - 0x21], ebx
cmp dword [0x14001e7c8], ebx
je 0x140001bb5
mov dword [0x14001e7c8], r14d
mov dword [rbp - 0x29], r14d
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rdi, rax
test rax, rax
je 0x140001bb5
lea rdx, str.IsWow64Process
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140001965
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rbp - 0x29]
call rsi
mov qword [rbp - 0x21], r14
lea rdx, [0x140019530]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140001990
lea r8, [rbp - 0x21]
lea rdx, [0x140001880]
mov ecx, 4
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140001bb5
mov r8d, 0x104
lea rdi, [0x14001ff90]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edx, 0x5c
mov rcx, rdi
call fcn.1400039fc
test rax, rax
je 0x1400019d2
mov word [rax], r14w
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r14
mov word [rbp + 0xf], r14w
cmp word [0x14001ff90], bx
jne 0x1400019f1
mov r8, r14
jmp 0x1400019ff
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bx
jne 0x1400019f5
lea rcx, [rbp + 0xf]
call fcn.140002700
nop
cmp dword [rbp - 0x29], 0
je 0x140001a7a
lea r8, str.SynCom32.dll
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.140002c40
nop
mov ebx, 1
mov dword [rbp - 0x21], ebx
cmp qword [rax + 0x18], 8
jb 0x140001a36
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001a7a
lea r8, str.SynCom32.dll.manifest
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140002c40
mov ebx, 3
cmp qword [rax + 0x18], 8
jb 0x140001a67
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001a7a
mov sil, 1
jmp 0x140001a7d
xor sil, sil
test bl, 2
je 0x140001aa6
and ebx, 0xfffffffd
cmp qword [rbp + 7], 8
jb 0x140001a95
mov rcx, qword [rbp - 0x11]
call fcn.14000392c
mov qword [rbp + 7], 7
mov qword [rbp - 1], r14
mov word [rbp - 0x11], r14w
test bl, 1
je 0x140001abe
and ebx, 0xfffffffe
cmp qword [rbp + 0x47], 8
jb 0x140001abe
mov rcx, qword [rbp + 0x2f]
call fcn.14000392c
test sil, sil
je 0x140001acf
lea r8, str.SynCom32.dll.manifest
jmp 0x140001b89
cmp dword [rbp - 0x29], 0
jne 0x140001b3c
lea r8, str.SynCom.dll
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0x2f]
call fcn.140002c40
nop
or ebx, 4
mov dword [rbp - 0x21], ebx
cmp qword [rax + 0x18], 8
jb 0x140001afa
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001b3c
lea r8, str.SynCom.dll.manifest
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140002c40
or ebx, 8
cmp qword [rax + 0x18], 8
jb 0x140001b29
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140001b3c
mov sil, 1
jmp 0x140001b3f
xor sil, sil
test bl, 8
je 0x140001b68
and ebx, 0xfffffff7
cmp qword [rbp + 7], 8
jb 0x140001b57
mov rcx, qword [rbp - 0x11]
call fcn.14000392c
mov qword [rbp + 7], 7
mov qword [rbp - 1], r14
mov word [rbp - 0x11], r14w
test bl, 4
je 0x140001b7d
cmp qword [rbp + 0x47], 8
jb 0x140001b7d
mov rcx, qword [rbp + 0x2f]
call fcn.14000392c
test sil, sil
je 0x140001b98
lea r8, str.SynCom.dll.manifest
mov edx, 0x104
mov rcx, rdi
call fcn.140003c90
jmp 0x140001ba0
mov word [0x14001ff90], r14w
cmp qword [rbp + 0x27], 8
jb 0x140001bb0
mov rcx, qword [rbp + 0xf]
call fcn.14000392c
mov rax, rdi
jmp 0x140001bbc
lea rax, [0x14001ff90]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140003200
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