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

Disassembly:
sub rsp, 0x158
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rax, qword [0x1400eab80]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov dword [rsp + 0x20], 0
cmp dword [0x1400ec468], 0
jne 0x140007222
lea rax, [0x1400f4760]
jmp 0x1400075a4
mov dword [0x1400ec468], 0
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x28], 0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rsp + 0x38], rax
cmp qword [rsp + 0x38], 0
je 0x1400072ab
mov qword [rsp + 0x40], 0
lea rdx, str.IsWow64Process
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x140007291
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.140007170
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp qword [rsp + 0x48], 0
jne 0x1400072bf
lea rax, [0x1400f4760]
jmp 0x1400075a4
mov r8d, 0x104
lea rdx, [0x1400f4760]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dx, 0x5c
lea rcx, [0x1400f4760]
call fcn.1400052d0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400072fe
xor eax, eax
mov rcx, qword [rsp + 0x50]
mov word [rcx], ax
lea rdx, [0x1400f4760]
lea rcx, [rsp + 0xa0]
call fcn.140008700
nop
cmp dword [rsp + 0x28], 0
je 0x1400073c0
lea r8, str.SynCom32.dll
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xc0]
call fcn.14000ef50
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x90]
call fcn.1400087d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400073c0
lea r8, str.SynCom32.dll.manifest
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x100]
call fcn.14000ef50
mov qword [rsp + 0x78], rax
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x78]
call fcn.1400087d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400073c0
mov dword [rsp + 0x30], 1
jmp 0x1400073c8
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x25], al
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400073ef
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x100]
call fcn.1400087b0
nop
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x14000740c
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0xc0]
call fcn.1400087b0
movzx eax, byte [rsp + 0x25]
test eax, eax
je 0x140007432
lea r8, str.SynCom32.dll.manifest
mov edx, 0x104
lea rcx, [0x1400f4760]
call fcn.1400566d0
jmp 0x140007586
cmp dword [rsp + 0x28], 0
jne 0x1400074e5
lea r8, str.SynCom.dll
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x120]
call fcn.14000ef50
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x70]
call fcn.1400087d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400074e5
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xe0]
call fcn.14000ef50
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x20]
or eax, 8
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x80]
call fcn.1400087d0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400074e5
mov dword [rsp + 0x2c], 1
jmp 0x1400074ed
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
and eax, 8
test eax, eax
je 0x140007514
and dword [rsp + 0x20], 0xfffffff7
lea rcx, [rsp + 0xe0]
call fcn.1400087b0
nop
mov eax, dword [rsp + 0x20]
and eax, 4
test eax, eax
je 0x140007531
and dword [rsp + 0x20], 0xfffffffb
lea rcx, [rsp + 0x120]
call fcn.1400087b0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140007554
lea r8, str.SynCom.dll.manifest
mov edx, 0x104
lea rcx, [0x1400f4760]
call fcn.1400566d0
jmp 0x140007586
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x208
jae 0x14000756f
jmp 0x140007574
call fcn.140056620
lea rax, [0x1400f4760]
xor ecx, ecx
mov rdx, qword [rsp + 0x58]
mov word [rax + rdx], cx
lea rax, [0x1400f4760]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0xa0]
call fcn.1400087b0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140054f80
add rsp, 0x158
ret