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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov r14, r9
mov r13, r8
mov r15d, edx
mov rbx, rcx
mov r12d, 0x643
lea rcx, [rsp + 0x38]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x110]
call fcn.10003cea0
nop
lea rcx, [rsp + 0x60]
call fcn.100044f88
nop
lea rcx, [rsp + 0x30]
call fcn.10001fee0
nop
xor edi, edi
mov dword [rsp + 0x2b0], edi
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x28]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fee0
nop
cmp rbx, rdi
je 0x10003abf4
cmp r14, rdi
je 0x10003abf4
mov dword [r14], edi
mov ecx, 0x7fff
mov rax, rbx
cmp word [rax], di
je 0x10003a337
add rax, 2
sub rcx, 1
jne 0x10003a328
cmp rcx, rdi
jne 0x10003a392
lea rdx, [0x10000c0b0]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
mov esi, 0xce
jmp 0x10003a71b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.10001ff98
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rax
call fcn.1000349f8
mov esi, eax
cmp eax, edi
je 0x10003a416
mov r9, rbx
lea r8, [0x10000c100]
mov edx, eax
mov ecx, 3
call fcn.10003c494
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
jmp 0x10003a71b
mov rbx, qword [rsp + 0x38]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
jne 0x10003a435
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x10003a43b
shr esi, 3
and esi, 2
cmp esi, edi
je 0x10003a495
mov r9, rbx
lea r8, [0x10000c148]
mov edx, esi
mov ecx, 3
call fcn.10003c494
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
jmp 0x10003a71b
test r15d, 0xffffffd9
je 0x10003a4f4
lea rdx, [0x10000c178]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
mov esi, 0x57
jmp 0x10003a71b
cmp r13, rdi
je 0x10003a5b5
mov rcx, qword [r13]
cmp rcx, rdi
je 0x10003a55f
cmp qword [r13 + 0x10], rdi
je 0x10003a55f
cmp qword [r13 + 0x18], rdi
je 0x10003a55f
cmp qword [r13 + 8], rdi
je 0x10003a55f
lea rsi, [0x100005b10]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x10003a55f
mov rdx, rsi
mov rcx, qword [r13 + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x10003a55f
mov rdx, rsi
mov rcx, qword [r13 + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x10003a55f
mov rdx, rsi
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
jne 0x10003a5b5
lea rdx, [0x10000c610]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
mov esi, 0x57
jmp 0x10003a71b
call fcn.100033614
cmp eax, edi
jne 0x10003a614
lea rdx, [0x10000c520]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
mov esi, 5
jmp 0x10003a71b
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x48]
call fcn.10001ff10
nop
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.10003ba88
cmp eax, edi
je 0x10003a6b2
cmp eax, 0x34
jne 0x10003a671
mov r9, qword [rsp + 0x28]
mov r8, rbx
lea rdx, [0x10000c280]
lea ecx, [rax - 0x33]
call fcn.10003c3c0
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x38]
call fcn.10001ecdc
mov rbx, qword [rsp + 0x38]
jmp 0x10003a6b2
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
mov esi, 0xe0000302
jmp 0x10003a71b
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x110]
call fcn.10003d47c
mov esi, eax
cmp eax, edi
je 0x10003a72c
mov r9, rbx
lea r8, [0x10000be40]
mov edx, eax
mov ecx, 3
call fcn.10003c494
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x38]
call fcn.10001fba0
mov eax, esi
jmp 0x10003ac4f
test r15b, 2
je 0x10003a73f
xor ecx, ecx
call fcn.10004e368
mov dword [rsp + 0x48], eax
jmp 0x10003a74d
mov ecx, 1
call fcn.10004e368
mov dword [rsp + 0x48], eax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea edx, [r8 + 3]
lea rcx, [rsp + 0x110]
call fcn.1000484c0
mov edi, eax
cmp eax, 0xb7
jne 0x10003aaa8
lea rax, [rsp + 0x20]
test rax, rax
jne 0x10003a788
lea ecx, [rdi - 0x60]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003a7a0
lea r8, [rsp + 0x20]
mov edx, 2
lea rcx, [rsp + 0x60]
call fcn.1000454bc
test eax, eax
jne 0x10003a7b9
mov r8, rbx
lea rdx, [0x10000d120]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003ab0b
mov edi, r15d
shr edi, 2
and edi, 1
lea rdx, [rsp + 0x2b0]
lea rcx, [rsp + 0x60]
call fcn.10004545c
test eax, eax
jne 0x10003a7ef
mov r8, rbx
lea rdx, [0x10000d1a0]
lea ecx, [rax + 3]
call fcn.10003c3c0
jmp 0x10003ab0b
test edi, edi
jne 0x10003a982
lea rcx, [rsp + 0xa8]
call fcn.100019218
nop
lea rax, [rsp + 0xa8]
lea esi, [rdi + 0x57]
test rax, rax
jne 0x10003a81f
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003a836
lea r8, [rsp + 0xa8]
mov edx, 9
lea rcx, [rsp + 0x60]
call fcn.10004584c
test r13, r13
je 0x10003a8e6
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov rdx, qword [r13]
lea rcx, [rsp + 0x50]
call fcn.10001ff98
nop
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.100036084
test eax, eax
jne 0x10003a872
mov dword [rsp + 0x58], eax
jmp 0x10003a8e6
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0xa0], rax
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x50]
call fcn.10001ff98
mov rdi, rax
mov rdx, qword [r13]
lea rcx, [rsp + 0x40]
call fcn.10001ff98
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.10004691c
test eax, eax
jne 0x10003a8e6
mov r8, qword [r13]
lea rdx, [0x10000d210]
lea ecx, [rax + 3]
call fcn.10003c3c0
nop
lea rcx, [rsp + 0xa8]
call fcn.10001f53c
jmp 0x10003ab0b
lea rcx, [rsp + 0xd8]
call fcn.100019218
nop
lea rax, [rsp + 0xd8]
test rax, rax
jne 0x10003a90b
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x10003a922
lea r8, [rsp + 0xd8]
mov edx, 9
lea rcx, [rsp + 0x60]
call fcn.10004584c
cmp qword [rsp + 0xe8], 0
je 0x10003a967
mov r8, rbx
lea rdx, [0x10000d290]
mov ecx, 1
call fcn.10003c3c0
mov r12d, 0xe0000300
lea rcx, [rsp + 0xd8]
call fcn.10001f53c
nop
lea rcx, [rsp + 0xa8]
call fcn.10001f53c
jmp 0x10003aba1
lea rcx, [rsp + 0xd8]
call fcn.10001f53c
nop
lea rcx, [rsp + 0xa8]
call fcn.10001f53c
mov r8, rbx
lea rdx, [0x10000d320]
mov ecx, 1
call fcn.10003c3c0
mov edx, dword [rsp + 0x2b0]
cmp edx, 1
je 0x10003aa1d
cmp edx, 2
je 0x10003aa1d
cmp edx, 3
je 0x10003aa1d
cmp edx, 4
je 0x10003aa1d
mov esi, 5
cmp edx, esi
je 0x10003aa0b
cmp edx, 9
je 0x10003aa0b
cmp edx, 0xb
jne 0x10003a9d6
mov rdx, r14
lea rcx, [rsp + 0x60]
call fcn.10005f404
mov r12d, eax
jmp 0x10003aa2d
cmp edx, 6
jne 0x10003a9ef
mov r8, r14
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.10004f860
mov r12d, eax
jmp 0x10003aa2d
cmp edx, 7
je 0x10003a9f9
cmp edx, 8
jne 0x10003aa32
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.10006349c
mov r12d, eax
jmp 0x10003aa2d
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.10005ecc0
mov r12d, eax
jmp 0x10003aa2d
mov r8, r14
lea rcx, [rsp + 0x60]
call fcn.100057358
mov r12d, eax
test r12d, r12d
je 0x10003aa4b
mov r8, rbx
lea rdx, [0x10000d370]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003aae6
test r15b, 0x20
je 0x10003aa6c
lea rdx, [0x10000d3e0]
mov ecx, 1
call fcn.10003c3c0
lea rcx, [rsp + 0x20]
call fcn.10003bc5c
lea rcx, [rsp + 0x60]
call fcn.1000453ec
test eax, eax
jne 0x10003aa90
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000d460]
lea ecx, [rax + 1]
call fcn.10003c3c0
jmp 0x10003aaeb
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000ccc0]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003aaeb
mov esi, 0xe0000302
cmp eax, esi
jne 0x10003aacc
mov r9, rbx
lea r8, [0x10000c5c0]
mov edx, esi
mov ecx, 1
call fcn.10003c494
mov r12d, esi
jmp 0x10003ab0b
mov r9, rbx
lea r8, [0x10000d0c0]
mov edx, r12d
mov ecx, 3
call fcn.10003c494
mov r12d, edi
test r12d, r12d
jne 0x10003aafe
lea rdx, [0x10000d4a8]
xor ecx, ecx
call fcn.10003c3c0
jmp 0x10003aba1
cmp r12d, 0xe0000300
je 0x10003aba1
test r13, r13
je 0x10003aba1
cmp dword [rsp + 0x58], 0
je 0x10003aba1
lea rax, [rsp + 0x40]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x98], rax
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x40]
call fcn.10001ff98
mov rbx, rax
mov rdx, qword [r13]
lea rcx, [rsp + 0x50]
call fcn.10001ff98
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.10004665c
test eax, eax
jne 0x10003ab87
mov r9, qword [rsp + 0x30]
mov r8, qword [r13]
lea rdx, [0x10000d4e0]
lea ecx, [rax + 3]
call fcn.10003c3c0
jmp 0x10003aba1
mov r9, qword [rsp + 0x30]
mov r8, qword [r13]
lea rdx, [0x10000d570]
mov ecx, 1
call fcn.10003c3c0
mov ecx, dword [rsp + 0x48]
call fcn.10004e368
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x38]
call fcn.10001fba0
mov eax, r12d
jmp 0x10003ac4f
lea rdx, [0x10000bdc0]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x28]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x60]
call fcn.10004504c
nop
lea rcx, [rsp + 0x110]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x38]
call fcn.10001fba0
mov eax, 0x57
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret