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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov r13, r9
mov rbp, r8
mov r12d, edx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.100020360
nop
lea rcx, [rsp + 0x70]
call fcn.100055970
nop
xor esi, esi
lea r14d, [rsi + 1]
mov dword [rsp + 0x38], esi
mov r15d, esi
lea rcx, [rsp + 0x20]
call fcn.100020360
nop
cmp rbx, rsi
je 0x10003b681
cmp r13, rsi
je 0x10003b681
mov dword [r13], esi
mov ecx, 0x7fff
mov rax, rbx
cmp word [rax], si
je 0x10003b067
add rax, 2
sub rcx, 1
jne 0x10003b058
cmp rcx, rsi
jne 0x10003b09e
lea rdx, [0x10000c3c0]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 0xce
jmp 0x10003b300
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rsp + 0x200]
call fcn.100020428
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.100034be4
mov edi, eax
cmp eax, esi
je 0x10003b104
mov r9, rbx
lea r8, [0x10000c410]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
jmp 0x10003b300
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x10003b123
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10003b129
shr edi, 3
and edi, 2
cmp edi, esi
je 0x10003b15f
mov r9, rbx
lea r8, [0x10000c458]
mov edx, edi
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
jmp 0x10003b300
test r12d, 0xffffffd9
je 0x10003b19a
lea rdx, [0x10000c488]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 0x57
jmp 0x10003b300
cmp rbp, rsi
je 0x10003b237
mov rcx, qword [rbp]
cmp rcx, rsi
je 0x10003b205
cmp qword [rbp + 0x10], rsi
je 0x10003b205
cmp qword [rbp + 0x18], rsi
je 0x10003b205
cmp qword [rbp + 8], rsi
je 0x10003b205
lea rdi, [0x100005b90]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b205
mov rdx, rdi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b205
mov rdx, rdi
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b205
mov rdx, rdi
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x10003b237
lea rdx, [0x10000c9d0]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 0x57
jmp 0x10003b300
call fcn.1000338d4
cmp eax, esi
jne 0x10003b272
lea rdx, [0x10000c4b0]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
mov edi, 5
jmp 0x10003b300
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.100055f34
mov edi, eax
cmp eax, esi
je 0x10003b2b6
mov r9, rbx
lea r8, [0x10000c150]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
jmp 0x10003b300
mov edi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp qword [rsp + 0x78], rsi
cmovne edi, dword [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.100055c98
cmp edi, 6
je 0x10003b311
mov r9, r13
mov r8, rbp
mov edx, r12d
mov rcx, rbx
call fcn.10003a404
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x30]
call fcn.10002006c
mov eax, edi
jmp 0x10003b6b8
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x200]
call fcn.100020390
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.100063bf8
mov esi, eax
test eax, eax
jne 0x10003b54f
test r12b, 2
je 0x10003b35a
xor ecx, ecx
call fcn.1000634e0
mov r14d, eax
jmp 0x10003b367
mov ecx, 1
call fcn.1000634e0
mov r14d, eax
mov eax, r12d
shr eax, 2
shr r12d, 5
and r12d, 1
and eax, 1
jne 0x10003b491
test rbp, rbp
je 0x10003b413
lea rax, [rsp + 0x200]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x200]
call fcn.100020428
mov rsi, rax
mov rdx, qword [rbp]
lea rcx, [rsp + 0x40]
call fcn.100020428
mov rdi, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.100020390
nop
lea r9, [rsp + 0x38]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.10003f918
mov esi, eax
test eax, eax
je 0x10003b413
mov r9, rbx
mov r8, qword [rbp]
lea rdx, [0x10000d800]
mov ecx, 3
call fcn.100054fd8
jmp 0x10003b571
mov r15d, 1
and dword [rsp + 0x200], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.100020390
nop
lea rdx, [rsp + 0x200]
mov rcx, rax
call fcn.10003fe58
mov esi, eax
test eax, eax
je 0x10003b469
mov r8, rbx
lea rdx, [0x10000d890]
lea ecx, [r15 + 2]
call fcn.100054fd8
jmp 0x10003b571
cmp dword [rsp + 0x200], 0
je 0x10003b491
mov r8, rbx
lea rdx, [0x10000d440]
mov ecx, 1
call fcn.100054fd8
mov esi, 0xe0000300
jmp 0x10003b654
mov r8, rbx
lea rdx, [0x10000d4d0]
mov ecx, 1
call fcn.100054fd8
mov r8, r13
mov edx, r12d
lea rcx, [rsp + 0x20]
call fcn.100050bb0
mov esi, eax
test eax, eax
je 0x10003b4f3
cmp eax, 0xe000023c
jne 0x10003b4db
mov r8, rbx
lea rdx, [0x10000d940]
mov ecx, 3
call fcn.100054fd8
jmp 0x10003b594
mov r9, rbx
lea r8, [0x10000d9a0]
mov edx, eax
mov ecx, 3
call fcn.1000550a8
jmp 0x10003b571
lea rax, [rsp + 0x200]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x200]
call fcn.100020390
nop
mov rcx, rax
call fcn.1000400c8
test eax, eax
je 0x10003b537
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000d170]
mov ecx, 3
call fcn.100054fd8
jmp 0x10003b575
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000d1f0]
mov ecx, 1
call fcn.100054fd8
jmp 0x10003b575
mov edx, 0x490
cmp eax, edx
jne 0x10003b571
mov r9, rbx
lea r8, [0x10000d7b0]
mov ecx, 1
call fcn.1000550a8
mov esi, 0xe0000302
test esi, esi
jne 0x10003b588
lea rdx, [0x10000d658]
xor ecx, ecx
call fcn.100054fd8
jmp 0x10003b654
cmp esi, 0xe0000300
je 0x10003b654
test r15d, r15d
je 0x10003b654
test rbp, rbp
je 0x10003b654
cmp dword [rsp + 0x38], 0
jne 0x10003b654
lea rax, [rsp + 0x28]
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x50], rax
mov rdx, qword [rbp + 8]
lea rcx, [rsp + 0x28]
call fcn.100020428
mov rdi, rax
mov rdx, qword [rbp]
lea rcx, [rsp + 0x40]
call fcn.100020428
mov rbx, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.100020390
nop
lea r9, [rsp + 0x200]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.10003f3e8
test eax, eax
je 0x10003b63a
mov r9, qword [rsp + 0x20]
mov r8, qword [rbp]
lea rdx, [0x10000d690]
mov ecx, 3
call fcn.100054fd8
jmp 0x10003b654
mov r9, qword [rsp + 0x20]
mov r8, qword [rbp]
lea rdx, [0x10000d720]
mov ecx, 1
call fcn.100054fd8
mov ecx, r14d
call fcn.1000634e0
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x30]
call fcn.10002006c
mov eax, esi
jmp 0x10003b6b8
lea rdx, [0x10000c0d0]
mov ecx, 3
call fcn.100054fd8
nop
lea rcx, [rsp + 0x20]
call fcn.10002006c
nop
lea rcx, [rsp + 0x70]
call fcn.100055cd4
nop
lea rcx, [rsp + 0x30]
call fcn.10002006c
mov eax, 0x57
lea r11, [rsp + 0x1d0]
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