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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1401f7280]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
mov rcx, qword [0x1401fbb00]
mov ebx, r8d
mov edi, edx
call qword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x14005a4f2
mov rcx, qword [0x1401fbb00]
lea edx, [rax + 9]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1401fbb00]
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov eax, dword [0x1401fbc58]
xor ebp, ebp
test ebx, ebx
lea rcx, [0x140209940]
cmovne eax, ebp
mov dword [0x1401fbc58], eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14005a553
mov rcx, qword [0x1401fbba0]
lea r9, [0x140209940]
xor r8d, r8d
mov edx, 0x511
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rbp
call fcn.1400f11b0
xor eax, eax
jmp 0x14005a7ba
lea rcx, [0x140209940]
test al, 0x10
je 0x14005a5c8
call fcn.1400fbb0c
mov edx, 1
xor r8d, r8d
mov ecx, edx
mov dword [0x1401fbc58], ebp
call fcn.1400589f0
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x43e
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [0x1401fbb48]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14005a7b5
mov rcx, qword [0x1401fbb00]
xor r9d, r9d
mov edx, 0x111
mov r8d, 0x49a
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x14005a7b5
lea rdx, [rsp + 0xb0]
mov r8d, 3
call fcn.1400ed200
movzx ecx, word [rsp + 0xb0]
call fcn.1400feca0
lea ecx, [rax - 0x40]
lea eax, [rcx - 1]
cmp eax, 0x19
ja 0x14005a5f8
call fcn.1400fb99c
lea rcx, [rsp + 0xb0]
call fcn.1400fbb0c
lea rdx, [0x140208ca0]
lea rcx, [rsp + 0xb0]
call fcn.1400f92fc
test eax, eax
jne 0x14005a636
mov rcx, qword [0x1401fbab8]
lea rdx, [0x140209940]
call fcn.1400c1630
mov dword [0x1401fbc74], eax
mov dword [rsp + 0x80], ebp
mov dword [rsp + 0x78], 1
mov dword [rsp + 0x70], ebp
lea rax, [0x1401fbbdc]
xor r9d, r9d
lea rcx, [0x140209940]
mov qword [rsp + 0x68], rax
lea rax, [0x1401fbbec]
lea edx, [r9 + 1]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rbp
lea rax, [0x1401f7120]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 1
xor r8d, r8d
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], 1
call fcn.1400a0d70
mov qword [0x1401fbae0], rax
test rax, rax
jne 0x14005a6ce
cmp qword [0x1401fbb80], rbp
jne 0x14005a6ce
xor edx, edx
xor ecx, ecx
call fcn.14005b3c0
jmp 0x14005a7b0
mov dword [rsi], ebp
test edi, edi
je 0x14005a70f
mov rdx, qword [0x1401fbae0]
lea rcx, [rsp + 0xa0]
call fcn.1400ed3d0
mov rcx, qword [0x1401fbae0]
lea r8, [rsp + 0x90]
movaps xmm0, xmmword [rsp + 0xa0]
movdqa xmmword [rsp + 0x90], xmm0
xor edx, edx
call fcn.14003f290
mov rcx, qword [0x1401fbb10]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x14005a731
mov rcx, qword [0x1401fbb18]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x14005a761
mov rcx, qword [0x1401fbb10]
call qword [sym.imp.USER32.dll_IsWindow]
mov rcx, qword [0x1401fbb18]
mov edx, 0x406
test eax, eax
cmovne rcx, qword [0x1401fbb10]
xor r9d, r9d
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_SendMessageW]
mov ecx, 1
call fcn.14005d3c0
call fcn.140056fd0
mov rcx, qword [0x1401fbb08]
xor edx, edx
lea r8d, [rdx + 1]
call qword [sym.imp.USER32.dll_InvalidateRect]
mov rcx, qword [0x1401fbb08]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, 1
call fcn.1400d8990
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorW]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetCursor]
call fcn.14005aa60
mov eax, 1
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400f9a80
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret