Function at 0x1800e3dd0
Capabilities:
Get file attributes

Disassembly:
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 - 0x1f]
sub rsp, 0xc8
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rbp + 0x77], r8
mov rbx, rdx
mov rdi, rcx
mov dword [rbp - 0x79], 0
mov rax, qword [rcx]
mov qword [rbp - 1], rax
mov r8, qword [r8]
cmp r8, rax
je 0x1800e4284
mov qword [rbp - 0x41], rax
mov qword [rbp - 0x51], r8
lea rdx, [rbp - 0x41]
lea rcx, [rbp - 0x51]
call fcn.180019ca0
test eax, eax
je 0x1800e4284
mov rbx, qword [rdi]
mov qword [rsp + 0x20], rbx
lea rcx, [rbx - 0x10]
lea r15, [0x1802bccb0]
mov edi, 1
cmp rcx, r15
je 0x1800e3e63
mov eax, edi
lock xadd dword [rcx], eax
mov rbx, qword [rsp + 0x20]
or r14, 0xffffffffffffffff
lea esi, [r14 + 2]
nop dword [rax + rax]
cmp byte [rbx], 0
je 0x1800e3f62
mov rax, r14
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x1800e3e80
add rax, rbx
xor edx, edx
nop
lea rax, [rax - 1]
movzx ecx, byte [rax]
and cl, 0xc0
cmp cl, 0x80
jne 0x1800e3ea6
inc edx
cmp edx, 4
jl 0x1800e3e90
movzx ecx, byte [rax]
movzx edx, cl
test cl, cl
jns 0x1800e3f06
mov ecx, 0x40
lea r8d, [rcx + 0x3f]
xor r10d, r10d
test cl, dl
je 0x1800e3ed1
cmp ecx, 8
jbe 0x1800e3ed1
shr r8d, 1
inc r10d
shr ecx, 1
test edx, ecx
jne 0x1800e3ec0
and edx, r8d
mov r9, rsi
movsxd r11, r10d
cmp rsi, r11
jg 0x1800e3f06
nop
movzx r8d, byte [r9 + rax]
mov ecx, r8d
and cl, 0xc0
cmp cl, 0x80
jne 0x1800e3f06
and r8d, 0x3f
mov ecx, edx
shl ecx, 6
mov edx, r8d
or edx, ecx
inc r9
cmp r9, r11
jle 0x1800e3ee0
cmp edx, 0x5c
jne 0x1800e3f62
mov r8d, esi
lea rdx, [rbp - 0x31]
lea rcx, [rsp + 0x20]
call fcn.1800d6960
mov rcx, rbx
mov rbx, qword [rax]
mov qword [rsp + 0x20], rbx
mov qword [rax], rcx
mov rcx, qword [rbp - 0x31]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1800e3e70
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
je 0x1800e3f53
mov rbx, qword [rsp + 0x20]
jmp 0x1800e3e70
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x20]
jmp 0x1800e3e70
mov rsi, qword [rbp + 0x77]
mov rax, qword [rsi]
cmp byte [rax], 0
je 0x1800e3fa0
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.180016d90
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x1800e3fa0
lea rdx, [rbp - 0x61]
mov rcx, rsi
call fcn.1800e6c30
mov rsi, rax
mov edi, 2
mov dword [rbp - 0x79], edi
jmp 0x1800e3fa3
mov edi, dword [rbp - 0x79]
mov rdx, rsi
lea rcx, [rbp - 0x69]
call fcn.1800e7320
nop
test dil, 2
je 0x1800e3fdb
mov rcx, qword [rbp - 0x61]
add rcx, 0xfffffffffffffff0
cmp rcx, r15
je 0x1800e3fdb
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e3fd6
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x20]
xor eax, eax
mov dword [rsp + 0x28], eax
mov r14, rbx
mov r15, qword [rbp - 0x69]
mov r12, r15
mov rdi, rbx
mov rsi, r15
xor r10d, r10d
mov dword [rbp - 0x7d], r10d
nop dword [rax + rax]
movzx eax, byte [rdi]
inc rdi
movzx r8d, al
test al, al
jns 0x1800e4061
mov ecx, 0x7f
mov eax, 0x40
xor edx, edx
test al, r8b
je 0x1800e4030
nop
cmp eax, 8
jbe 0x1800e4030
shr ecx, 1
inc edx
shr eax, 1
test r8d, eax
jne 0x1800e4020
and r8d, ecx
mov dword [rbp + 0x7f], r8d
dec edx
js 0x1800e4065
nop dword [rax + rax]
movzx ecx, byte [rdi]
mov eax, ecx
and al, 0xc0
cmp al, 0x80
jne 0x1800e4061
inc rdi
and ecx, 0x3f
mov eax, r8d
shl eax, 6
mov r8d, ecx
or r8d, eax
dec edx
jns 0x1800e4040
mov dword [rbp + 0x7f], r8d
movzx eax, byte [rsi]
inc rsi
movzx ecx, al
test al, al
jns 0x1800e40bf
mov edx, 0x7f
mov eax, 0x40
xor r9d, r9d
test al, cl
je 0x1800e4093
cmp eax, 8
jbe 0x1800e4093
shr edx, 1
inc r9d
shr eax, 1
test ecx, eax
jne 0x1800e4083
and ecx, edx
mov dword [rbp + 0x77], ecx
dec r9d
js 0x1800e40c2
nop dword [rax]
movzx edx, byte [rsi]
mov eax, edx
and al, 0xc0
cmp al, 0x80
jne 0x1800e40bf
inc rsi
and edx, 0x3f
mov eax, ecx
shl eax, 6
mov ecx, edx
or ecx, eax
dec r9d
jns 0x1800e40a0
mov dword [rbp + 0x77], ecx
cmp r8d, ecx
je 0x1800e40ed
movzx ecx, r8w
call fcn.1800a14dc
movzx r13d, ax
movzx ecx, word [rbp + 0x77]
call fcn.1800a14dc
movzx eax, ax
cmp r13d, eax
jne 0x1800e4113
mov r8d, dword [rbp + 0x7f]
mov r10d, dword [rbp - 0x7d]
test r8d, r8d
je 0x1800e4113
inc r10d
mov dword [rbp - 0x7d], r10d
cmp r8d, 0x5c
jne 0x1800e4000
mov r14, rdi
mov r12, rsi
mov dword [rsp + 0x28], r10d
jmp 0x1800e4000
mov eax, dword [rsp + 0x28]
test eax, eax
je 0x1800e424a
cmp eax, 1
jne 0x1800e413e
mov edi, 1
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.18000b8b0
cmp eax, 0x5c
je 0x1800e424f
mov qword [rbp - 0x21], r12
lea rcx, [rbp - 0x21]
call fcn.1800e42c0
test eax, eax
jne 0x1800e416d
mov qword [rbp - 0x29], r14
lea rdx, [rbp - 0x29]
mov rsi, qword [rbp + 0x6f]
mov rcx, rsi
call fcn.18001a6d0
nop
or r13, 0xffffffffffffffff
jmp 0x1800e4201
lea rcx, [0x1802bfc18]
mov qword [rbp - 0x39], rcx
mov r8d, eax
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x71]
call fcn.1800d8120
nop
or r13, 0xffffffffffffffff
mov rax, r13
lea rax, [rax + 1]
cmp byte [r14 + rax], 0
jne 0x1800e4190
lea rcx, [rax + r14]
sub ecx, r14d
test ecx, ecx
jle 0x1800e41f6
mov rax, qword [rbp - 0x71]
mov rsi, r13
nop dword [rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x1800e41b0
mov qword [rbp - 0x59], rax
movsxd r12, ecx
lea r8, [rsi + 1]
add r8, r12
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 9]
call fcn.180012500
mov rdi, qword [rax]
mov qword [rbp - 0x71], rdi
movsxd rsi, esi
add rsi, rdi
mov r8, r12
mov rdx, r14
mov rcx, rsi
call fcn.1800a0460
mov byte [r12 + rsi], 0
jmp 0x1800e41fa
mov rdi, qword [rbp - 0x71]
mov rsi, qword [rbp + 0x6f]
mov qword [rsi], rdi
lea r14, [0x1802bccb0]
lea rcx, [r15 - 0x10]
cmp rcx, r14
je 0x1800e4229
mov eax, r13d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x1800e4224
call fcn.1800a0c6c
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x10]
cmp rcx, r14
je 0x1800e4245
lock xadd dword [rcx], r13d
lea eax, [r13 - 1]
cmp eax, 0xffffffff
jne 0x1800e4245
call fcn.1800a0c6c
mov rax, rsi
jmp 0x1800e429e
mov edi, 1
mov rax, qword [rbp + 0x67]
mov rax, qword [rax]
mov rsi, qword [rbp + 0x6f]
mov qword [rsi], rax
mov qword [rbp + 7], rax
add rax, 0xfffffffffffffff0
lea r14, [0x1802bccb0]
cmp rax, r14
je 0x1800e427e
lock xadd dword [rax], edi
mov rbx, qword [rsp + 0x20]
mov r15, qword [rbp - 0x69]
or r13, 0xffffffffffffffff
jmp 0x1800e4208
lea rax, [0x1802bfbf4]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x49]
mov rcx, rbx
call fcn.18001a440
mov rax, rbx
add rsp, 0xc8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret