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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x2a0
mov rax, qword [0x140007100]
xor rax, rsp
mov qword [rsp + 0x298], rax
movzx eax, byte [0x140001a84]
mov byte [rsp + 0x180], al
lea rax, [rsp + 0x181]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
movzx eax, byte [0x140001a84]
mov byte [rsp + 0x70], al
lea rax, [rsp + 0x71]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x2c0]
mov byte [rax], 0
mov rax, qword [rsp + 0x2c8]
mov byte [rax], 0
mov rdi, qword [rsp + 0x2d0]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov dword [rsp + 0x54], 0
jmp 0x14000268a
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x2b8]
add rax, 8
mov qword [rsp + 0x2b8], rax
mov eax, dword [rsp + 0x2b0]
cmp dword [rsp + 0x54], eax
jge 0x140002aed
cmp dword [rsp + 0x54], 0
jne 0x1400026a4
jmp 0x14000266c
mov rax, qword [rsp + 0x2b8]
mov rax, qword [rax]
mov qword [rsp + 0x290], rax
mov rax, qword [rsp + 0x290]
movsx eax, byte [rax]
cmp eax, 0x2d
je 0x1400027f6
mov rax, qword [rsp + 0x290]
movsx eax, byte [rax]
cmp eax, 0x2f
je 0x1400027f6
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xffffffff
je 0x140002708
mov eax, dword [rsp + 0x58]
and eax, 0x10
cmp eax, 0x10
je 0x140002790
mov qword [rsp + 0x40], 0x105
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0x105
mov rax, qword [rsp + 0x2c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x105
lea r9, [rsp + 0x180]
mov r8d, 0x105
mov rdx, qword [rsp + 0x2c0]
mov rcx, qword [rsp + 0x290]
call fcn.140004830
lea r8, [rsp + 0x180]
mov edx, 0x105
mov rcx, qword [rsp + 0x2c0]
call fcn.140004b90
lea r8, [rsp + 0x70]
mov edx, 0x105
mov rcx, qword [rsp + 0x2c8]
call fcn.140004b90
jmp 0x1400027aa
mov r8, qword [rsp + 0x290]
mov edx, 0x105
mov rcx, qword [rsp + 0x2c0]
call fcn.140004c20
xor eax, eax
mov rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x2c0]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, rcx
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x2c0]
movsx eax, byte [rcx + rax - 1]
cmp eax, 0x5c
jne 0x1400027f1
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x2c0]
mov byte [rcx + rax - 1], 0
jmp 0x14000266c
mov rax, qword [rsp + 0x290]
inc rax
mov qword [rsp + 0x290], rax
mov r8d, 5
lea rdx, [0x140001a88]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x14000288a
movzx eax, byte [0x1400079d1]
test eax, eax
jne 0x140002851
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
jne 0x140002851
cmp qword [0x140007b00], 0
je 0x14000285b
call fcn.1400024b0
jmp 0x140002ba3
mov rax, qword [rsp + 0x290]
add rax, 5
mov rdx, qword [rsp + 0x2d0]
mov rcx, rax
call fcn.140001fb0
movzx eax, al
test eax, eax
jne 0x140002885
xor al, al
jmp 0x140002ba3
jmp 0x140002ae8
mov r8d, 5
lea rdx, [0x140001a90]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x14000290b
movzx eax, byte [0x1400079d1]
test eax, eax
jne 0x1400028d2
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
jne 0x1400028d2
cmp qword [0x140007b00], 0
je 0x1400028dc
call fcn.1400024b0
jmp 0x140002ba3
mov rax, qword [rsp + 0x290]
add rax, 5
mov rdx, qword [rsp + 0x2d0]
mov rcx, rax
call fcn.140002250
movzx eax, al
test eax, eax
jne 0x140002906
xor al, al
jmp 0x140002ba3
jmp 0x140002ae8
mov r8d, 5
lea rdx, [0x140001a98]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__strnicmp]
test eax, eax
jne 0x140002981
movzx eax, byte [0x1400079d1]
test eax, eax
jne 0x140002949
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
je 0x140002953
call fcn.1400024b0
jmp 0x140002ba3
mov rax, qword [rsp + 0x290]
add rax, 5
lea rdx, [0x140007b00]
mov rcx, rax
call fcn.1400022d0
movzx eax, al
test eax, eax
jne 0x14000297c
xor al, al
jmp 0x140002ba3
jmp 0x140002ae8
lea rdx, [0x140001aa0]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400029ce
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
jne 0x1400029b8
cmp qword [0x140007b00], 0
je 0x1400029c2
call fcn.1400024b0
jmp 0x140002ba3
mov byte [0x1400079d1], 1
jmp 0x140002ae8
lea rdx, [0x140001aa8]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x1400029f3
mov byte [0x1400079d0], 1
jmp 0x140002ae8
lea rdx, [0x140001aac]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002a18
mov byte [0x14000741c], 0
jmp 0x140002ae8
lea rdx, [0x140001ab0]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002a3d
mov byte [0x1400079d6], 1
jmp 0x140002ae8
lea rdx, [0x140001ab4]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002a62
mov byte [0x1400079d3], 1
jmp 0x140002ae8
lea rdx, [0x140001ab8]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002a84
mov byte [0x1400079d4], 1
jmp 0x140002ae8
lea rdx, [0x140001abc]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002aa6
mov byte [0x1400079d5], 1
jmp 0x140002ae8
lea rdx, [0x140001ac0]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
je 0x140002ad8
lea rdx, [0x140001ac4]
mov rcx, qword [rsp + 0x290]
call qword [sym.imp.msvcrt.dll__stricmp]
test eax, eax
jne 0x140002ae1
xor al, al
jmp 0x140002ba3
xor al, al
jmp 0x140002ba3
jmp 0x14000266c
movzx eax, byte [0x1400079d0]
test eax, eax
jne 0x140002b28
movzx eax, byte [0x1400079d1]
test eax, eax
jne 0x140002b28
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
jne 0x140002b28
cmp qword [0x140007b00], 0
jne 0x140002b28
call fcn.1400024b0
jmp 0x140002ba3
mov rcx, qword [rsp + 0x2d0]
call fcn.140001f60
movzx eax, al
test eax, eax
jne 0x140002b79
movzx eax, byte [0x1400079d0]
test eax, eax
je 0x140002b79
mov eax, 1
mov rcx, qword [rsp + 0x2d0]
mov word [rcx + 6], ax
mov eax, 1
mov rcx, qword [rsp + 0x2d0]
mov word [rcx + 2], ax
mov eax, 0xfa0
mov rcx, qword [rsp + 0x2d0]
mov word [rcx], ax
mov rax, qword [rsp + 0x2c8]
movsx eax, byte [rax]
test eax, eax
jne 0x140002ba1
lea r8, [0x140001ac8]
mov edx, 0x105
mov rcx, qword [rsp + 0x2c8]
call fcn.140004c20
mov al, 1
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.140004680
add rsp, 0x2a0
pop rdi
ret