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

Disassembly:
mov rax, rsp
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x1d0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rbp, rdx
mov rbx, rcx
lea rcx, [rax + 0x18]
call fcn.10001e06c
nop
lea rcx, [rsp + 0x70]
call fcn.10003845c
nop
lea rcx, [rsp + 0x28]
call fcn.10003df74
nop
lea rcx, [rsp + 0x200]
call fcn.10001e06c
nop
xor r12d, r12d
cmp rbx, r12
jne 0x100034471
lea rdx, [0x10000bbf0]
lea ecx, [r12 + 3]
call fcn.100037e18
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea edi, [r12 + 0x57]
jmp 0x100034702
mov eax, 0x7fff
mov rcx, rbx
cmp word [rcx], r12w
je 0x100034489
add rcx, 2
sub rax, 1
jne 0x100034479
cmp rax, r12
jne 0x1000344ce
lea rdx, [0x10000bc50]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 0xce
jmp 0x100034702
lea rax, [rsp + 0x218]
mov qword [rsp + 0x20], rax
mov rdx, rbx
lea rcx, [rsp + 0x218]
call fcn.10001e134
nop
xor r8d, r8d
lea rdx, [rsp + 0x210]
mov rcx, rax
call fcn.10003171c
mov edi, eax
cmp eax, r12d
je 0x100034546
mov r9, rbx
lea r8, [0x10000bca0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
jmp 0x100034702
mov rbx, qword [rsp + 0x210]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x100034568
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10003456e
shr edi, 3
and edi, 2
cmp edi, r12d
je 0x1000345b3
mov r9, rbx
lea r8, [0x10000bce8]
mov edx, edi
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
jmp 0x100034702
call fcn.1000305b8
cmp eax, r12d
jne 0x1000345fd
lea rdx, [0x10000c170]
mov ecx, 3
call fcn.100037e18
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
mov edi, 5
jmp 0x100034702
lea rax, [rsp + 0x218]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x218]
call fcn.10001e09c
nop
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.100037414
cmp eax, r12d
je 0x1000346ae
cmp eax, 0x34
jne 0x100034673
mov r9, qword [rsp + 0x200]
mov r8, rbx
lea rdx, [0x10000be20]
lea ecx, [rax - 0x33]
call fcn.100037e18
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0x210]
call fcn.10001e1c8
mov rbx, qword [rsp + 0x210]
jmp 0x1000346ae
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
mov eax, 0xe0000302
jmp 0x1000347f4
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0x70]
call fcn.1000386e0
mov edi, eax
cmp eax, r12d
je 0x100034716
mov r9, rbx
lea r8, [0x10000b9e0]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
mov eax, edi
jmp 0x1000347f4
lea r9, [rsp + 0x28]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x70]
call fcn.1000406c4
mov esi, eax
cmp eax, 0xb7
jne 0x100034776
cmp rbp, r12
jne 0x100034745
lea ecx, [rax - 0x60]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003476f
mov r8, rbp
mov edx, 2
lea rcx, [rsp + 0x28]
call fcn.10003e3c8
cmp eax, r12d
je 0x10003476f
mov edi, r12d
lea rdx, [0x10000c1d8]
xor ecx, ecx
call fcn.100037e18
jmp 0x1000347af
mov edi, 0x6e
jmp 0x1000347af
mov edi, 0xe0000302
cmp eax, edi
jne 0x100034797
mov r9, rbx
lea r8, [0x10000c210]
mov edx, edi
mov ecx, 1
call fcn.100037ee8
jmp 0x1000347af
mov r9, rbx
lea r8, [0x10000ba10]
mov edx, eax
mov ecx, 3
call fcn.100037ee8
mov edi, esi
cmp dword [rsp + 0x50], r12d
je 0x1000347c1
lea rcx, [rsp + 0x28]
call fcn.10003e29c
nop
lea rcx, [rsp + 0x200]
call fcn.10001f3ec
nop
lea rcx, [rsp + 0x28]
call fcn.10003dfc8
nop
lea rcx, [rsp + 0x70]
call fcn.10003861c
nop
lea rcx, [rsp + 0x210]
call fcn.10001f3ec
mov eax, edi
add rsp, 0x1d0
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret