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

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1d8
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov r13, r9
mov rbp, r8
mov r12d, edx
mov rbx, rcx
lea rcx, [rsp + 0x30]
call fcn.10001fee0
nop
lea rcx, [rsp + 0x70]
call fcn.10003cea0
nop
xor esi, esi
lea r14d, [rsi + 1]
mov dword [rsp + 0x38], esi
mov r15d, esi
lea rcx, [rsp + 0x20]
call fcn.10001fee0
nop
cmp rbx, rsi
je 0x10003b4e9
cmp r13, rsi
je 0x10003b4e9
mov dword [r13], esi
mov ecx, 0x7fff
mov rax, rbx
cmp word [rax], si
je 0x10003aecc
add rax, 2
sub rcx, 1
jne 0x10003aebd
cmp rcx, rsi
jne 0x10003af03
lea rdx, [0x10000c0b0]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
mov edi, 0xce
jmp 0x10003b165
lea rax, [rsp + 0x220]
mov qword [rsp + 0x28], rax
mov rdx, rbx
lea rcx, [rsp + 0x220]
call fcn.10001ff98
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1000349f8
mov edi, eax
cmp eax, esi
je 0x10003af69
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 + 0x70]
call fcn.10003d21c
nop
jmp 0x10003b165
mov rbx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x10003af88
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10003af8e
shr edi, 3
and edi, 2
cmp edi, esi
je 0x10003afc4
mov r9, rbx
lea r8, [0x10000c148]
mov edx, edi
mov ecx, 3
call fcn.10003c494
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
jmp 0x10003b165
test r12d, 0xffffffd9
je 0x10003afff
lea rdx, [0x10000c178]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
mov edi, 0x57
jmp 0x10003b165
cmp rbp, rsi
je 0x10003b09c
mov rcx, qword [rbp]
cmp rcx, rsi
je 0x10003b06a
cmp qword [rbp + 0x10], rsi
je 0x10003b06a
cmp qword [rbp + 0x18], rsi
je 0x10003b06a
cmp qword [rbp + 8], rsi
je 0x10003b06a
lea rdi, [0x100005b10]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b06a
mov rdx, rdi
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b06a
mov rdx, rdi
mov rcx, qword [rbp + 0x18]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
je 0x10003b06a
mov rdx, rdi
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, esi
jne 0x10003b09c
lea rdx, [0x10000c610]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
mov edi, 0x57
jmp 0x10003b165
call fcn.100033614
cmp eax, esi
jne 0x10003b0d7
lea rdx, [0x10000c1a0]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
mov edi, 5
jmp 0x10003b165
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.10003d47c
mov edi, eax
cmp eax, esi
je 0x10003b11b
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 + 0x70]
call fcn.10003d21c
nop
jmp 0x10003b165
mov edi, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
cmp qword [rsp + 0x78], rsi
cmovne edi, dword [rsp + 0x1c8]
lea rcx, [rsp + 0x70]
call fcn.10003d1d8
cmp edi, 6
je 0x10003b176
mov r9, r13
mov r8, rbp
mov edx, r12d
mov rcx, rbx
call fcn.10003a284
mov edi, eax
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
mov eax, edi
jmp 0x10003b520
lea rax, [rsp + 0x220]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x220]
call fcn.10001ff10
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.10004eaa8
mov esi, eax
test eax, eax
jne 0x10003b3b7
test r12b, 2
je 0x10003b1bf
xor ecx, ecx
call fcn.10004e368
mov r14d, eax
jmp 0x10003b1cc
mov ecx, 1
call fcn.10004e368
mov r14d, eax
mov eax, r12d
shr eax, 2
shr r12d, 5
and r12d, 1
and eax, 1
jne 0x10003b2f9
test rbp, rbp
je 0x10003b278
lea rax, [rsp + 0x220]
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 + 0x220]
call fcn.10001ff98
mov rsi, rax
mov rdx, qword [rbp]
lea rcx, [rsp + 0x40]
call fcn.10001ff98
mov rdi, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.10001ff10
nop
lea r9, [rsp + 0x38]
mov r8, rsi
mov rdx, rdi
mov rcx, rax
call fcn.100047ae0
mov esi, eax
test eax, eax
je 0x10003b278
mov r9, rbx
mov r8, qword [rbp]
lea rdx, [0x10000d650]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003b3d9
mov r15d, 1
mov dword [rsp + 0x220], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.10001ff10
nop
lea rdx, [rsp + 0x220]
mov rcx, rax
call fcn.100048020
mov esi, eax
test eax, eax
je 0x10003b2d1
mov r8, rbx
lea rdx, [0x10000d6e0]
lea ecx, [r15 + 2]
call fcn.10003c3c0
jmp 0x10003b3d9
cmp dword [rsp + 0x220], 0
je 0x10003b2f9
mov r8, rbx
lea rdx, [0x10000d290]
mov ecx, 1
call fcn.10003c3c0
mov esi, 0xe0000300
jmp 0x10003b4bc
mov r8, rbx
lea rdx, [0x10000d320]
mov ecx, 1
call fcn.10003c3c0
mov r8, r13
mov edx, r12d
lea rcx, [rsp + 0x20]
call fcn.10004f860
mov esi, eax
test eax, eax
je 0x10003b35b
cmp eax, 0xe000023c
jne 0x10003b343
mov r8, rbx
lea rdx, [0x10000d790]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003b3fc
mov r9, rbx
lea r8, [0x10000d7f0]
mov edx, eax
mov ecx, 3
call fcn.10003c494
jmp 0x10003b3d9
lea rax, [rsp + 0x220]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x220]
call fcn.10001ff10
nop
mov rcx, rax
call fcn.1000482a0
test eax, eax
je 0x10003b39f
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000cfc0]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003b3dd
mov r8, qword [rsp + 0x20]
lea rdx, [0x10000d040]
mov ecx, 1
call fcn.10003c3c0
jmp 0x10003b3dd
mov edx, 0x490
cmp eax, edx
jne 0x10003b3d9
mov r9, rbx
lea r8, [0x10000d600]
mov ecx, 1
call fcn.10003c494
mov esi, 0xe0000302
test esi, esi
jne 0x10003b3f0
lea rdx, [0x10000d4a8]
xor ecx, ecx
call fcn.10003c3c0
jmp 0x10003b4bc
cmp esi, 0xe0000300
je 0x10003b4bc
test r15d, r15d
je 0x10003b4bc
test rbp, rbp
je 0x10003b4bc
cmp dword [rsp + 0x38], 0
jne 0x10003b4bc
lea rax, [rsp + 0x28]
mov qword [rsp + 0x220], 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.10001ff98
mov rdi, rax
mov rdx, qword [rbp]
lea rcx, [rsp + 0x40]
call fcn.10001ff98
mov rbx, rax
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.10001ff10
nop
lea r9, [rsp + 0x220]
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.1000475b0
test eax, eax
je 0x10003b4a2
mov r9, qword [rsp + 0x20]
mov r8, qword [rbp]
lea rdx, [0x10000d4e0]
mov ecx, 3
call fcn.10003c3c0
jmp 0x10003b4bc
mov r9, qword [rsp + 0x20]
mov r8, qword [rbp]
lea rdx, [0x10000d570]
mov ecx, 1
call fcn.10003c3c0
mov ecx, r14d
call fcn.10004e368
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
mov eax, esi
jmp 0x10003b520
lea rdx, [0x10000bdc0]
mov ecx, 3
call fcn.10003c3c0
nop
lea rcx, [rsp + 0x20]
call fcn.10001fba0
nop
lea rcx, [rsp + 0x70]
call fcn.10003d21c
nop
lea rcx, [rsp + 0x30]
call fcn.10001fba0
mov eax, 0x57
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret