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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov rax, qword [0x1400a3ac8]
xor rax, rsp
mov qword [rsp + 0xf0], rax
mov r13, r9
mov qword [rsp + 0x88], r9
mov r14, r8
mov qword [rsp + 0x60], r8
mov r15, rdx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0xa8], r8
mov qword [rsp + 0xb0], r9
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x78], rax
xor ebx, ebx
mov r12d, ebx
mov dword [rsp + 0x68], ebx
mov esi, ebx
lea edi, [rbx + 1]
mov dword [rsp + 0x70], edi
lea rax, str._0_n_
mov rcx, qword [str._0_n_]
cmp rcx, rax
je 0x1400454a5
test byte [rcx + 0x1c], 4
je 0x1400454a5
cmp byte [rcx + 0x19], 5
jb 0x1400454a5
lea edx, [rbx + 0x21]
lea r8, [0x1400940c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
mov qword [r13], rbx
mov rax, qword [rsp + 0x78]
mov dword [rax], ebx
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop dword [rax + rax]
cmp eax, 0xffffffff
jne 0x1400454c8
xor eax, eax
jmp 0x140045533
lea rcx, [0x1400a7498]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov r13, qword [0x1400a74c0]
test r13, r13
je 0x1400454f6
mov eax, dword [0x1400a747c]
cmp eax, 0x2aaaaaa
jbe 0x140045557
mov edi, ebx
lea rcx, [0x1400a7498]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test rsi, rsi
je 0x14004551e
test r12d, r12d
jne 0x14004551e
mov rcx, rsi
call fcn.14006a328
mov rsi, rbx
mov rax, qword [rsp + 0x88]
mov qword [rax], rsi
mov rax, qword [rsp + 0x78]
mov dword [rax], r12d
mov eax, edi
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.140001b10
add rsp, 0x100
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
lea rcx, [rax + rax*2]
shl rcx, 5
call fcn.14006a264
mov rsi, rax
mov qword [rsp + 0x90], rax
test rax, rax
je 0x1400454f4
lea r8, [0x140094230]
mov rdx, r15
mov ecx, dword [r14 + 4]
call fcn.1400459b0
cmp eax, edi
jge 0x140045595
jmp 0x1400454f4
mov r14, qword [rsp + 0x60]
lea rax, [0x1400a74c0]
cmp r13, rax
je 0x1400454f6
lea rax, [r13 - 0x10]
mov qword [rsp + 0x50], rax
mov r13, qword [r13]
mov qword [rsp + 0x98], r13
mov qword [r14 + 0x60], rbx
mov dword [r14 + 0x68], ebx
mov r14, qword [rsp + 0x58]
lea rcx, [r14 + 0x6f0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rax, [r14 + 0x6e0]
mov qword [rsp + 0x80], rax
mov r14, qword [rax]
test r14, r14
je 0x1400456bd
cmp r14, rax
je 0x1400456bd
mov rcx, qword [rsp + 0x50]
lea r15, [r14]
mov r14, qword [r14]
cmp qword [r15 + 0x20], rcx
jne 0x14004564f
mov ecx, dword [r15 + 0x18]
call fcn.14006a264
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 0x60], rax
test rax, rax
je 0x140045656
mov r8d, dword [r15 + 0x18]
mov rdx, qword [r15 + 0x10]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov eax, dword [r15 + 0x18]
mov rcx, qword [rsp + 0x60]
mov dword [rcx + 0x68], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
cmp r14, rax
je 0x1400456bd
jmp 0x140045603
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rax, rcx
je 0x1400456a0
test byte [rax + 0x1c], 4
je 0x1400456a0
cmp byte [rax + 0x19], 2
jb 0x1400456a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x22
mov r9d, eax
lea r8, [0x1400940c0]
mov rcx, qword [str._0_n_]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
mov rcx, qword [rsp + 0x58]
add rcx, 0x6f0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
jmp 0x1400454f4
mov rcx, qword [rsp + 0x58]
add rcx, 0x6f0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, r12d
lea rax, [rax + rax*2]
shl rax, 5
add rax, rsi
mov qword [rsp + 0xc0], rax
lea r14, [rax + 0x50]
mov qword [rsp + 0xb8], r14
mov qword [r14], rbx
lea r15, [rax + 0x58]
mov qword [rsp + 0x80], r15
mov dword [r15], ebx
movabs r10, 0xb34936083a52b070
mov r8, r15
mov rdx, r14
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax + 0x50]
call qword [0x1400913f0]
mov ecx, eax
mov dword [rsp + 0x74], eax
mov rdx, qword [rsp + 0x58]
jmp 0x140045793
test ecx, ecx
jne 0x140045590
mov r9, qword [rdx + 0x10]
lea r8, str.0x_016I64x
lea edx, [rcx + 0x14]
lea rcx, [rsp + 0xc8]
call fcn.140004520
mov r9d, eax
test eax, eax
jns 0x1400457f9
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x1400457f1
test byte [rcx + 0x1c], 4
je 0x1400457f1
cmp byte [rcx + 0x19], 2
jb 0x1400457f1
mov edx, 0x23
lea r8, [0x1400940c0]
mov rcx, qword [rcx + 0x10]
call fcn.1400045c8
mov word [rsp + 0xc8], bx
mov rdx, qword [rsp + 0x58]
mov r8, qword [rdx + 0x718]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x58]
add rcx, 0x34
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rcx
mov rax, qword [rdx + 0x48]
mov qword [rsp + 0x38], rax
mov rax, qword [r8 + 0x28]
mov qword [rsp + 0x30], rax
mov rax, qword [r8 + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov edx, 1
lea ecx, [rdx + 2]
mov r9d, 0xc0007d59
lea r8d, [rdx + 5]
call fcn.14006a378
mov rcx, qword [rsp + 0x50]
add rcx, 0x20
mov r8d, 0x27
mov rdx, qword [rsp + 0xc0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
nop dword [rax + rax]
cmp dword [r15], ebx
je 0x14004598f
mov rax, qword [r14]
mov qword [rsp + 0x68], rax
mov ecx, dword [r15]
call fcn.14006a264
mov qword [r14], rax
test rax, rax
je 0x140045940
mov r8d, dword [r15]
mov rdx, qword [rsp + 0x68]
mov rcx, rax
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x50]
mov rcx, qword [rax + 0x58]
lea r9, [rcx + 0x34]
mov dword [rsp + 0x20], 2
mov r8, qword [rsp + 0x68]
mov rcx, qword [rcx + 0x650]
call fcn.14005424c
test eax, eax
jne 0x140045985
mov rax, qword [str._0_n_]
lea rcx, str._0_n_
cmp rax, rcx
je 0x1400454f4
test byte [rax + 0x1c], 4
je 0x1400454f4
cmp byte [rax + 0x19], 2
jb 0x1400454f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x25
mov r9d, eax
lea r8, [0x1400940c0]
mov rcx, qword [str._0_n_]
mov rcx, qword [rcx + 0x10]
call fcn.140004994
jmp 0x1400454f4
mov rcx, qword [str._0_n_]
lea rax, str._0_n_
cmp rcx, rax
je 0x1400454f4
test byte [rcx + 0x1c], 4
je 0x1400454f4
cmp byte [rcx + 0x19], 2
jb 0x1400454f4
mov edx, 0x24
lea r8, [0x1400940c0]
mov rcx, qword [rcx + 0x10]
call fcn.14000459c
jmp 0x1400454f4
cmp dword [r15], ebx
je 0x14004598f
cmp qword [r14], rbx
jne 0x140045995
mov qword [r14], rbx
mov dword [r15], ebx
inc r12d
mov dword [rsp + 0x68], r12d
jmp 0x140045590