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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x88]
sub rsp, 0x188
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov rdi, r8
mov r14, rdx
mov rbx, rcx
mov dword [rsp + 0x34], 0
mov rax, qword [r8]
mov qword [rbp - 0x78], rax
lea r10, [rax - 0x10]
lea rsi, [0x1802bccb0]
cmp r10, rsi
je 0x1800e4fc4
mov eax, 1
lock xadd dword [r10], eax
mov r8, r9
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x60]
call fcn.1800eb420
nop
mov rax, qword [rax]
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x38]
mov rdx, r14
mov rcx, rbx
call fcn.1800e6340
mov dword [rsp + 0x34], 1
mov rcx, qword [rsp + 0x60]
add rcx, 0xfffffffffffffff0
or r12, 0xffffffffffffffff
cmp rcx, rsi
je 0x1800e5019
mov eax, r12d
lock xadd dword [rcx], eax
dec eax
cmp eax, r12d
jne 0x1800e5019
call fcn.1800a0c6c
mov rax, qword [r14]
cmp byte [rax], 0
je 0x1800e566f
mov rdx, r14
lea rcx, [rbp]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1800e566f
mov r13d, 1
mov rdi, qword [rdi]
mov qword [rsp + 0x20], rdi
lea rcx, [rdi - 0x10]
cmp rcx, rsi
je 0x1800e5066
mov eax, r13d
lock xadd dword [rcx], eax
mov rdi, qword [rsp + 0x20]
lea rdx, [rbp - 0x28]
lea rcx, [rsp + 0x20]
call fcn.1800e9ff0
mov edx, 0x29
mov rcx, rax
call fcn.1800d7440
movzx ebx, al
mov rcx, qword [rbp - 0x28]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800e50a9
mov edx, r12d
lock xadd dword [rcx], edx
dec edx
cmp edx, 0xffffffff
jne 0x1800e50a4
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
test bl, bl
je 0x1800e51ff
mov r15b, 1
mov byte [rbp + 0xe0], r15b
mov edx, 0x28
lea rcx, [rsp + 0x20]
call fcn.1800d89b0
mov ebx, eax
mov edx, 0x29
lea rcx, [rsp + 0x20]
call fcn.1800d89b0
mov r14d, eax
test ebx, ebx
jle 0x1800e5126
cmp eax, ebx
jle 0x1800e5126
lea r8d, [rbx + 1]
mov r9d, eax
lea rdx, [rbp - 0x18]
lea rcx, [rsp + 0x20]
call fcn.1800d69f0
mov dword [rsp + 0x34], 3
lea rcx, str.0123456789
mov qword [rsp + 0x70], rcx
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1800d5910
test al, al
je 0x1800e5126
movzx esi, r15b
jmp 0x1800e5129
xor sil, sil
test byte [rsp + 0x34], 2
je 0x1800e5161
and dword [rsp + 0x34], 0xfffffffd
mov rcx, qword [rbp - 0x18]
add rcx, 0xfffffffffffffff0
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x1800e5161
mov eax, r12d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e515c
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
test sil, sil
je 0x1800e520e
lea r8d, [rbx + 1]
mov r9d, r14d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x20]
call fcn.1800d69f0
mov rcx, qword [rax]
call fcn.1800a1b44
mov r13d, eax
mov rcx, qword [rbp - 0x80]
add rcx, 0xfffffffffffffff0
lea rsi, [0x1802bccb0]
cmp rcx, rsi
je 0x1800e51b6
mov edx, r12d
lock xadd dword [rcx], edx
dec edx
cmp edx, 0xffffffff
jne 0x1800e51b1
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call fcn.1800d69f0
mov rcx, rdi
mov rdi, qword [rax]
mov qword [rsp + 0x20], rdi
mov qword [rax], rcx
mov rcx, qword [rbp - 0x30]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800e520e
mov eax, r12d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e51f8
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
jmp 0x1800e520e
movzx r15d, byte [rbp + 0xf0]
mov byte [rbp + 0xe0], r15b
lea rcx, [rdi - 0x10]
mov qword [rsp + 0x40], rcx
nop word [rax + rax]
mov rbx, rdi
mov qword [rsp + 0x38], rbx
lea rax, [0x1802bccb0]
cmp rcx, rax
je 0x1800e5247
mov eax, 1
lock xadd dword [rcx], eax
mov rdi, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x38]
test r15b, r15b
je 0x1800e53a0
inc r13d
mov word [rsp + 0x30], 0x28
lea rcx, [rsp + 0x30]
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x1800e5262
lea rcx, [rsp + 0x30]
add rcx, rax
mov qword [rbp + 0x50], rcx
lea rax, [rsp + 0x30]
mov qword [rbp + 0x10], rax
sub ecx, eax
test ecx, ecx
jle 0x1800e52d7
mov rsi, r12
nop dword [rax]
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1800e5290
mov qword [rbp - 0x70], rdi
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x70]
lea rcx, [rbp + 0x40]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rsp + 0x38], rbx
movsxd rsi, esi
add rsi, rbx
mov r8, r14
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.1800a0460
mov byte [rsi + r14], 0
mov edx, r13d
lea rcx, [rbp + 0x68]
call fcn.1800da020
mov r15, rax
lea rcx, [rbp + 0x68]
sub ecx, eax
test ecx, ecx
jle 0x1800e5338
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1800e52f3
mov qword [rbp - 0x40], rbx
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x40]
lea rcx, [rbp + 0x20]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rsp + 0x38], rbx
movsxd rsi, esi
add rsi, rbx
mov r8, r14
mov rdx, r15
mov rcx, rsi
call fcn.1800a0460
mov byte [rsi + r14], 0
mov word [rsp + 0x28], 0x29
lea rcx, [rsp + 0x28]
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x1800e5347
lea rcx, [rsp + 0x28]
add rcx, rax
mov qword [rbp + 0x68], rcx
lea rax, [rsp + 0x28]
mov qword [rbp + 0x30], rax
sub ecx, eax
test ecx, ecx
jle 0x1800e54e8
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1800e5372
mov qword [rbp - 0x60], rbx
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 8]
call fcn.180012500
lea rdx, [rsp + 0x28]
jmp 0x1800e54ca
cmp byte [rdi], 0
jne 0x1800e53a9
xor eax, eax
jmp 0x1800e53f5
mov rax, rdi
xor edx, edx
nop
movzx ecx, byte [rax]
inc rax
test cl, cl
jns 0x1800e53e0
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x1800e53e4
nop word [rax + rax]
inc rax
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
je 0x1800e53d0
jmp 0x1800e53e4
test ecx, ecx
je 0x1800e53e9
inc rdx
jmp 0x1800e53b0
dec edx
lea rcx, [rsp + 0x20]
call fcn.18000b8b0
movzx ecx, ax
call fcn.1800a1bf4
test eax, eax
je 0x1800e547e
mov word [rsp + 0x2c], 0x5f
lea rcx, [rsp + 0x2c]
mov rax, r12
inc rax
cmp byte [rcx + rax], 0
jne 0x1800e5410
lea rcx, [rsp + 0x2c]
add rcx, rax
mov qword [rbp + 8], rcx
lea rax, [rsp + 0x2c]
mov qword [rbp + 0x18], rax
sub ecx, eax
test ecx, ecx
jle 0x1800e547e
mov rsi, r12
inc rsi
cmp byte [rdi + rsi], 0
jne 0x1800e5437
mov qword [rbp - 0x20], rdi
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x28]
call fcn.180012500
mov rbx, qword [rax]
mov qword [rsp + 0x38], rbx
movsxd rsi, esi
add rsi, rbx
mov r8, r14
lea rdx, [rsp + 0x2c]
mov rcx, rsi
call fcn.1800a0460
mov byte [rsi + r14], 0
inc r13d
mov edx, r13d
lea rcx, [rbp + 0x80]
call fcn.1800da020
mov r15, rax
lea rcx, [rbp + 0x80]
sub ecx, eax
test ecx, ecx
jle 0x1800e54e8
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1800e54a3
mov qword [rbp - 0x50], rbx
movsxd r14, ecx
lea r8, [r14 + 1]
add r8, rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0x38]
call fcn.180012500
mov rdx, r15
mov rbx, qword [rax]
movsxd rsi, esi
add rsi, rbx
mov qword [rsp + 0x38], rbx
mov r8, r14
mov rcx, rsi
call fcn.1800a0460
mov byte [rsi + r14], 0
mov qword [rsp + 0x78], rbx
add rbx, 0xfffffffffffffff0
lea rsi, [0x1802bccb0]
cmp rbx, rsi
je 0x1800e550b
mov eax, 1
lock xadd dword [rbx], eax
mov rdi, qword [rsp + 0x20]
mov r8, qword [rbp + 0xe8]
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x58]
call fcn.1800eb420
nop
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rdx, [rbp - 0x68]
mov rcx, qword [rbp + 0xd0]
call fcn.1800e6340
mov r14, qword [rbp + 0xd8]
mov rcx, qword [r14]
mov rdx, qword [rax]
mov qword [r14], rdx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x68]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800e5576
mov eax, r12d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e5571
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
mov rcx, qword [rbp - 0x58]
add rcx, 0xfffffffffffffff0
cmp rcx, rsi
je 0x1800e559b
mov eax, r12d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e5596
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
cmp rbx, rsi
je 0x1800e55bb
mov eax, r12d
lock xadd dword [rbx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e55b6
mov rcx, rbx
call fcn.1800a0c6c
mov rdi, qword [rsp + 0x20]
mov rbx, qword [r14]
cmp byte [rbx], 0
je 0x1800e5651
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x48]
call fcn.18001b380
mov rsi, r12
inc rsi
cmp byte [rbx + rsi], 0
jne 0x1800e55d7
add rsi, 4
mov ecx, 0xfffffffc
and rsi, rcx
mov qword [rsp + 0x50], rbx
lea r8, [rax + 3]
add r8, rsi
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x48]
call fcn.180012500
mov rax, qword [rax]
mov qword [r14], rax
movsxd rbx, esi
add rbx, rax
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.18001c460
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
movzx r15d, byte [rbp + 0xe0]
jne 0x1800e5220
lea rsi, [0x1802bccb0]
mov rcx, qword [rsp + 0x40]
cmp rcx, rsi
je 0x1800e566f
lock xadd dword [rcx], r12d
lea eax, [r12 - 1]
cmp eax, 0xffffffff
jne 0x1800e566f
call fcn.1800a0c6c
mov rax, r14
add rsp, 0x188
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret