Function at 0x140017030
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 [0x1400425e0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x28], ebx
lea rdx, [0x140034fa8]
lea rdi, str._N_A_
mov rcx, rdi
call fcn.14001b1bc
test eax, eax
jne 0x140017517
mov byte [str._N_A_], bl
mov byte [rbp - 0x40], bl
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp - 0x3f]
call fcn.140019790
mov qword [rsp + 0x28], r14
lea r8, [rsp + 0x28]
lea rdx, [0x140017f90]
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 0x1400170f6
lea edx, [r14 + 0x5c]
lea rcx, [rbp - 0x40]
call fcn.14001cff8
test rax, rax
je 0x1400170f6
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 0x14001710f
mov r8, r14
jmp 0x140017120
lea rax, [rbp - 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], bl
jne 0x140017117
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x68]
call fcn.14000e9b0
nop
lea r8, [0x1400332e0]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.1400014a0
nop
cmp qword [rbp - 0x50], 0x10
jb 0x140017154
mov rcx, qword [rbp - 0x68]
call fcn.140018d84
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 [0x140044448], 1
jne 0x14001732b
cmp dword [rsp + 0x20], 0
je 0x140017201
lea r8, str.SynComTT32.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015e0
nop
mov ebx, 1
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x1400171bb
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140017201
lea r8, str.SynComTT32.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015e0
mov ebx, 3
cmp qword [rax + 0x18], 0x10
jb 0x1400171ee
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140017201
mov sil, 1
jmp 0x140017204
xor sil, sil
test bl, 2
je 0x140017231
and ebx, 0xfffffffd
cmp qword [rsp + 0x70], 0x10
jb 0x14001721e
mov rcx, qword [rsp + 0x58]
call fcn.140018d84
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 1
je 0x14001724b
and ebx, 0xfffffffe
cmp qword [rsp + 0x50], 0x10
jb 0x14001724b
mov rcx, qword [rsp + 0x38]
call fcn.140018d84
test sil, sil
je 0x14001725c
lea r8, str.SynComTT32.dll.manifest
jmp 0x1400174c3
cmp dword [rsp + 0x20], 0
jne 0x1400172cf
lea r8, str.SynComTT.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015e0
nop
or ebx, 4
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14001728b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400172cf
lea r8, str.SynComTT.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015e0
or ebx, 8
cmp qword [rax + 0x18], 0x10
jb 0x1400172bc
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400172cf
mov sil, 1
jmp 0x1400172d2
xor sil, sil
test bl, 8
je 0x1400172ff
and ebx, 0xfffffff7
cmp qword [rsp + 0x70], 0x10
jb 0x1400172ec
mov rcx, qword [rsp + 0x58]
call fcn.140018d84
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 4
je 0x140017316
cmp qword [rsp + 0x50], 0x10
jb 0x140017316
mov rcx, qword [rsp + 0x38]
call fcn.140018d84
test sil, sil
je 0x140017506
lea r8, str.SynComTT.dll.manifest
jmp 0x1400174c3
cmp dword [rsp + 0x20], 0
je 0x1400173a1
lea r8, str.SynCom32.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015e0
nop
mov ebx, 0x10
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], rbx
jb 0x14001735b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400173a1
lea r8, str.SynCom32.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015e0
mov ebx, 0x30
cmp qword [rax + 0x18], 0x10
jb 0x14001738e
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x1400173a1
mov sil, 1
jmp 0x1400173a4
xor sil, sil
test bl, 0x20
je 0x1400173d1
and ebx, 0xffffffdf
cmp qword [rsp + 0x70], 0x10
jb 0x1400173be
mov rcx, qword [rsp + 0x58]
call fcn.140018d84
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x10
je 0x1400173eb
and ebx, 0xffffffef
cmp qword [rsp + 0x50], 0x10
jb 0x1400173eb
mov rcx, qword [rsp + 0x38]
call fcn.140018d84
test sil, sil
je 0x1400173fc
lea r8, str.SynCom32.dll.manifest
jmp 0x1400174c3
cmp dword [rsp + 0x20], 0
jne 0x140017470
lea r8, str.SynCom.dll
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015e0
nop
or ebx, 0x40
mov dword [rsp + 0x28], ebx
cmp qword [rax + 0x18], 0x10
jb 0x14001742b
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140017470
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400015e0
bts ebx, 7
cmp qword [rax + 0x18], 0x10
jb 0x14001745d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x140017470
mov sil, 1
jmp 0x140017473
xor sil, sil
test bl, bl
jns 0x1400174a0
btr ebx, 7
cmp qword [rsp + 0x70], 0x10
jb 0x14001748d
mov rcx, qword [rsp + 0x58]
call fcn.140018d84
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
test bl, 0x40
je 0x1400174b7
cmp qword [rsp + 0x50], 0x10
jb 0x1400174b7
mov rcx, qword [rsp + 0x38]
call fcn.140018d84
test sil, sil
je 0x140017506
lea r8, str.SynCom.dll.manifest
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x38]
call fcn.1400015e0
cmp qword [rax + 0x18], 0x10
jb 0x1400174dc
mov rax, qword [rax]
mov r9, rax
lea r8, [0x1400335e0]
mov edx, 0x104
mov rcx, rdi
call fcn.14001aef0
cmp qword [rsp + 0x50], 0x10
jb 0x140017506
mov rcx, qword [rsp + 0x38]
call fcn.140018d84
nop
cmp qword [rbp - 0x70], 0x10
jb 0x140017517
mov rcx, qword [rsp + 0x78]
call fcn.140018d84
mov rax, rdi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14001c4b0
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