Function at 0x14008b8d0
Capabilities:
Get file attributes

Disassembly:
push rbx
push rdi
sub rsp, 0x98
mov rbx, rcx
call fcn.14008b610
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0xc0]
mov dword [rsp + 0x30], 0x60
xor r9d, r9d
mov dword [rsp + 0x28], 1
mov r8d, 0x120089
mov rdx, rbx
mov dword [rsp + 0x20], 5
call sym.KuramaCHEAT01.exe_PhCreateFileWin32Ex
mov edi, eax
test eax, eax
js 0x14008bc20
mov rbx, qword [rsp + 0xc0]
lea r8, [rsp + 0x50]
mov rcx, rbx
mov dword [rsp + 0x20], 5
mov r9d, 0x18
lea rdx, [rsp + 0x40]
call qword [sym.imp.ntdll.dll_NtQueryInformationFile]
test eax, eax
js 0x14008b970
cmp qword [rsp + 0x58], 0
jne 0x14008b970
mov rcx, rbx
call qword [sym.imp.ntdll.dll_NtClose]
mov eax, edi
add rsp, 0x98
pop rdi
pop rbx
ret
lea r8, [0x14008b8c0]
mov qword [rsp + 0x88], r12
mov rdx, rbx
xor ecx, ecx
call sym.KuramaCHEAT01.exe_mxmlLoadFd
mov rcx, rbx
mov r12, rax
call qword [sym.imp.ntdll.dll_NtClose]
test r12, r12
je 0x14008b9a9
cmp dword [r12], 0
je 0x14008b9c0
mov rcx, r12
call sym.KuramaCHEAT01.exe_mxmlDelete
mov eax, 0xc0000102
mov r12, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rbx
ret
mov qword [rsp + 0xb0], rbp
mov rbp, qword [r12 + 0x20]
test rbp, rbp
je 0x14008bc01
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x80], r13
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r15
cmp dword [rbp], 0
jne 0x14008bbda
cmp dword [rbp + 0x38], 1
jl 0x14008bbda
mov rcx, qword [rbp + 0x40]
lea rdx, str.name
mov rcx, qword [rcx]
call fcn.1400ea474
test eax, eax
jne 0x14008bbda
mov rax, qword [rbp + 0x40]
or rdx, 0xffffffffffffffff
mov rcx, qword [rax + 8]
nop dword [rax + rax]
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14008ba30
call sym.KuramaCHEAT01.exe_PhConvertUtf8ToUtf16Ex
mov r15, rax
test rax, rax
je 0x14008bbda
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14008ba75
cmp dword [rcx], 2
jne 0x14008ba75
mov rcx, qword [rcx + 0x30]
test rcx, rcx
je 0x14008ba75
or rdx, 0xffffffffffffffff
inc rdx
cmp byte [rcx + rdx], 0
jne 0x14008ba65
call sym.KuramaCHEAT01.exe_PhConvertUtf8ToUtf16Ex
jmp 0x14008ba7a
call sym.KuramaCHEAT01.exe_PhReferenceEmptyString
lock bts qword [0x14015b108], 0
mov r14, rax
jae 0x14008ba95
lea rcx, [0x14015b108]
call sym.KuramaCHEAT01.exe_PhfAcquireQueuedLockExclusive
mov rcx, r15
call fcn.14008a8f0
mov rbx, rax
test rax, rax
je 0x14008badd
mov ecx, dword [rax]
mov rdx, rax
call fcn.14008a880
mov ecx, dword [rbx]
mov r9, rbx
mov r8, r14
mov rdx, r14
call fcn.14008a3a0
test al, al
jne 0x14008bb79
mov ecx, dword [rbx]
lea rdx, [rbx + 0x18]
mov r9, rbx
xor r8d, r8d
call fcn.14008a3a0
jmp 0x14008bb79
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov edx, 4
lea r8d, [rdx + 0x2c]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rsi, qword [r15]
mov edx, 4
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
mov r13, rax
mov rdi, qword [r15 + 8]
lea r8, [rsi + 2]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
lea r8, [rsi + 2]
mov rdx, rdi
mov rcx, rax
mov rbx, rax
call fcn.1400e3970
mov qword [r13 + 0x10], rbx
mov rax, qword [r15]
mov qword [r13 + 8], rax
lock inc dword [r14 - 8]
mov rbx, qword [0x14015ea40]
mov qword [r13 + 0x28], r14
mov eax, dword [rbx + 4]
cmp dword [rbx], eax
jne 0x14008bb6d
mov r8, qword [rbx + 8]
add eax, eax
mov r9d, eax
mov edx, 4
mov dword [rbx + 4], eax
mov rcx, qword [sym.KuramaCHEAT01.exe_PhHeapHandle]
shl r9, 3
call qword [sym.imp.ntdll.dll_RtlReAllocateHeap]
mov qword [rbx + 8], rax
mov ecx, dword [rbx]
mov rax, qword [rbx + 8]
mov qword [rax + rcx*8], r13
inc dword [rbx]
or rcx, 0xffffffffffffffff
lock xadd qword [0x14015b108], rcx
movzx eax, cl
and al, 6
cmp al, 2
jne 0x14008bbae
lea rax, [rcx - 1]
lea rdx, [rax + 4]
lock cmpxchg qword [0x14015b108], rdx
jne 0x14008bbae
lea rcx, [0x14015b108]
call fcn.1400c1510
lea rcx, [r14 - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008bbc4
call fcn.1400ae900
lea rcx, [r15 - 0x10]
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14008bbda
call fcn.1400ae900
mov rbp, qword [rbp + 8]
test rbp, rbp
jne 0x14008b9f0
mov r15, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
mov r13, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x90]
mov rcx, r12
call sym.KuramaCHEAT01.exe_mxmlDelete
call fcn.140089e70
mov rbp, qword [rsp + 0xb0]
xor eax, eax
mov r12, qword [rsp + 0x88]
add rsp, 0x98
pop rdi
pop rbx
ret