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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rbp, r9
mov rsi, r8
mov r12, rdx
mov r13d, ecx
mov rcx, r9
call fcn.1000202e8
mov r15d, 1
mov ebx, r15d
cmp r13d, r15d
jle 0x10001cb0e
or r14, 0xffffffffffffffff
movsxd rax, ebx
mov rdi, qword [r12 + rax*8]
cmp word [rdi], 0x2f
je 0x10001c136
cmp word [rdi], 0x2d
jne 0x10001c8d5
add rdi, 2
mov dword [rsp + 0x28], r14d
lea rax, [0x100004148]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c1f3
cmp dword [rsi], 0
je 0x10001c19e
cmp dword [rsi], 4
jne 0x10001c17a
add ebx, r15d
jmp 0x10001c8c4
movsxd r9, dword [rsi]
lea rax, [0x100083790]
mov r9, qword [rax + r9*8]
mov r8, qword [0x1000837a0]
lea rdx, [0x100004150]
mov rcx, rbp
call fcn.100020218
add ebx, r15d
cmp ebx, r13d
je 0x10001c90c
mov dword [rsi], 2
movsxd rax, ebx
mov rdx, qword [r12 + rax*8]
test rdx, rdx
jne 0x10001c1c0
xor ecx, ecx
jmp 0x10001c1d1
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rcx, [rsi + 8]
call fcn.10001ff98
lea rcx, [rsi + 8]
call fcn.100032d64
test al, al
je 0x10001c8f2
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004284]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c2ac
cmp dword [rsi], 0
je 0x10001c257
cmp dword [rsi], 4
jne 0x10001c233
add ebx, r15d
jmp 0x10001c8c4
movsxd r9, dword [rsi]
lea rax, [0x100083790]
mov r9, qword [rax + r9*8]
mov r8, qword [0x1000837a8]
lea rdx, [0x100004150]
mov rcx, rbp
call fcn.100020218
add ebx, r15d
cmp ebx, r13d
je 0x10001c950
mov dword [rsi], 3
movsxd rax, ebx
mov rdx, qword [r12 + rax*8]
test rdx, rdx
jne 0x10001c279
xor ecx, ecx
jmp 0x10001c28a
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rcx, [rsi + 8]
call fcn.10001ff98
lea rcx, [rsi + 8]
call fcn.100032d64
test al, al
je 0x10001c936
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x1000042f8]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c2df
mov dword [rsi + 0x20], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004300]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8c0
mov dword [rsp + 0x28], r14d
lea rax, [0x100004304]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8c0
mov dword [rsp + 0x28], r14d
lea rax, [0x100004308]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c36e
mov dword [rsi + 0x14], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004310]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c3a1
mov dword [rsi + 0x1c], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004318]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c3d4
mov dword [rsi + 0x24], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x10000431c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c407
mov dword [rsi + 0x28], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004320]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c532
add ebx, r15d
cmp ebx, r13d
je 0x10001ca3b
movsxd rax, ebx
mov rdx, qword [r12 + rax*8]
test rdx, rdx
jne 0x10001c451
xor ecx, ecx
jmp 0x10001c462
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rcx, [rsi + 0x30]
call fcn.10001ff98
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rcx, [0x100083100]
mov rax, qword [0x100083100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x30]
lea rcx, [rsi + 0x30]
call fcn.1000328c4
lea rcx, [rsi + 0x30]
call fcn.100032d64
test al, al
jne 0x10001c9dd
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001c97a
shr eax, 4
and al, r15b
je 0x10001c97a
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001c508
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001c8c4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004464]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c565
mov dword [rsi + 0x38], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x10000446c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c598
mov dword [rsi + 0x3c], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004474]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8ba
mov dword [rsp + 0x28], r14d
lea rax, [0x100004478]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8ba
mov dword [rsp + 0x28], r14d
lea rax, [0x100004480]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c67b
add ebx, r15d
cmp ebx, r13d
je 0x10001ca7f
movsxd rax, ebx
mov rdx, qword [r12 + rax*8]
test rdx, rdx
jne 0x10001c63a
xor ecx, ecx
jmp 0x10001c64b
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
lea rcx, [rsi + 0x48]
call fcn.10001ff98
mov rcx, qword [rsi + 0x48]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10001ca65
shr eax, 4
and al, r15b
je 0x10001ca65
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004504]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c6c6
add ebx, r15d
cmp ebx, r13d
je 0x10001caa6
movsxd rcx, ebx
mov rcx, qword [r12 + rcx*8]
call fcn.1000327b4
mov word [rsi + 0x10], ax
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x10000456c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c6f9
and dword [rsi + 0x54], 0
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004570]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c72c
mov dword [rsi + 0x50], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004578]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c75f
mov dword [rsi + 0x58], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x10000457c]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c792
mov dword [rsi + 0x5c], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x100004580]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c7fd
add ebx, r15d
cmp ebx, r13d
je 0x10001cacd
movsxd rax, ebx
mov rdx, qword [r12 + rax*8]
test rdx, rdx
jne 0x10001c7d8
xor eax, eax
jmp 0x10001c7ec
xor eax, eax
mov rcx, r14
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov rax, rcx
lea rcx, [rsi + 0x60]
mov r8d, eax
call fcn.10001ff98
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x1000045b8]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001c830
mov dword [rsi + 0x68], r15d
jmp 0x10001c8c4
mov dword [rsp + 0x28], r14d
lea rax, [0x1000045c0]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8b2
mov dword [rsp + 0x28], r14d
lea rax, [0x1000045c4]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
je 0x10001c8b2
mov dword [rsp + 0x28], r14d
lea rax, [0x1000045c8]
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov r8, rdi
mov edx, r15d
mov ecx, 0x409
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, 2
jne 0x10001caf4
mov dword [rsi], 4
jmp 0x10001c8c4
mov dword [rsi + 0x40], r15d
jmp 0x10001c8c4
mov dword [rsi + 0x18], r15d
add ebx, r15d
cmp ebx, r13d
jge 0x10001cb0e
jmp 0x10001c11f
movsxd r8, ebx
mov r8, qword [r12 + r8*8]
lea rdx, [0x1000045e0]
mov rcx, rbp
call fcn.100020218
xor eax, eax
jmp 0x10001cb11
mov r8, qword [rsi + 8]
lea rdx, [0x100004258]
mov rcx, rbp
call fcn.100020218
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x1000041f0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
mov r8, qword [rsi + 8]
lea rdx, [0x100003b10]
mov rcx, rbp
call fcn.100020218
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x100004290]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
mov r9, qword [rsi + 0x30]
mov r8, qword [rsp + 0x30]
lea rdx, [0x100004420]
mov rcx, rbp
call fcn.100020218
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001c9b5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001c9d6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x10001cb11
mov r8, qword [rsi + 0x30]
lea rdx, [0x100004380]
mov rcx, rbp
call fcn.100020218
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001ca13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
add eax, r14d
test eax, eax
jg 0x10001ca34
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x100004330]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
mov r8, qword [rsi + 0x48]
lea rdx, [0x1000044d8]
mov rcx, rbp
call fcn.100020218
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x100004490]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x100004510]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
xor eax, eax
mov rcx, r14
lea rdx, [0x100004598]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov r8d, ecx
mov rcx, rbp
call fcn.10001ff98
xor eax, eax
jmp 0x10001cb11
movsxd r8, ebx
mov r8, qword [r12 + r8*8]
lea rdx, [0x1000045e0]
mov rcx, rbp
call fcn.100020218
xor eax, eax
jmp 0x10001cb11
mov eax, r15d
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret