Function at 0x1400963f4
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x140173708]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x250]
mov r13, rcx
mov r15, qword [rbp + 0x258]
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], r9
mov qword [rsp + 0x70], r8
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140096477
test byte [rcx + 0x1c], 1
je 0x140096477
cmp byte [rcx + 0x19], 5
jb 0x140096477
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x1b
call fcn.14000c328
or qword [rsp + 0x60], 0xffffffffffffffff
lea rcx, [rbp - 0x70]
xor eax, eax
xor edx, edx
mov r8d, 0x250
mov qword [rsp + 0x50], rax
mov ebx, eax
mov qword [rsp + 0x68], rax
mov esi, eax
mov qword [rsp + 0x48], rax
mov r14d, eax
mov qword [rsp + 0x58], rax
mov r12d, eax
mov qword [rsp + 0x38], rax
mov edi, eax
mov dword [rsp + 0x40], eax
call sub.msvcrt.dll_memset
mov byte [r15], bl
cmp dword [r13 + 0x10], 0x64
jbe 0x1400964cd
mov ebx, 0x80070057
jmp 0x14009670e
test dword [r13], 0x400
mov byte [r13 + 0x14], 1
je 0x140096525
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14009670e
test byte [rcx + 0x1c], 1
je 0x14009670e
cmp byte [rcx + 0x19], 5
jb 0x14009670e
mov r9, qword [r13 + 8]
lea r8, [0x140156cb8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
call fcn.140015150
jmp 0x14009670e
mov rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x68]
xor r8d, r8d
mov rcx, qword [rcx]
call fcn.140091bf0
mov ebx, eax
test eax, eax
jns 0x140096588
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140096715
test byte [rcx + 0x1c], 1
je 0x140096715
cmp byte [rcx + 0x19], 2
jb 0x140096715
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x1d
mov r9d, eax
call fcn.14000c354
jmp 0x140096715
mov rdx, qword [r13 + 8]
lea r8, [rsp + 0x48]
mov rcx, qword [rsp + 0x68]
call fcn.140097774
mov ebx, eax
xor eax, eax
test ebx, ebx
jns 0x1400965e2
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x1400965d8
test byte [rcx + 0x1c], 1
je 0x1400965d8
cmp byte [rcx + 0x19], 2
jb 0x1400965d8
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x1e]
mov r9d, ebx
lea r8, [0x140156cb8]
call fcn.14000c354
mov r14, qword [rsp + 0x48]
jmp 0x140096715
mov r14, qword [rsp + 0x48]
or rdi, 0xffffffffffffffff
inc rdi
cmp word [r14 + rdi*2], ax
jne 0x1400965eb
add edi, 0x106
lea rcx, [rsp + 0x50]
mov edx, edi
mov r8d, 2
call fcn.14000d5bc
mov rsi, qword [rsp + 0x50]
mov ebx, eax
test eax, eax
js 0x140096709
mov eax, edi
mov r8, r14
mov edx, edi
mov rcx, rsi
mov qword [rsp + 0x48], rax
call fcn.140006530
xor edi, edi
mov ebx, eax
test eax, eax
js 0x140096709
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rsi + rcx*2], di
jne 0x140096640
mov eax, ecx
lea r8, [rsp + 0x58]
mov edx, 0x5c
mov word [rsi + rax*2], dx
lea eax, [rcx + 1]
mov rcx, r14
mov qword [rsp + 0x50], rax
lea rdx, [0x140156afc]
mov word [rsi + rax*2], di
call fcn.140091810
mov r12, qword [rsp + 0x58]
mov ebx, eax
test eax, eax
js 0x140096709
lea rdx, [rbp - 0x70]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov qword [rsp + 0x60], rax
cmp rax, 0xffffffffffffffff
jne 0x1400967e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x140096707
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x1400966f3
test byte [rcx + 0x1c], 1
je 0x1400966f3
cmp byte [rcx + 0x19], 2
jb 0x1400966f3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x1f
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.14003fe00
mov rdi, qword [rsp + 0x38]
test ebx, ebx
jle 0x140096715
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140096715
mov ebx, edi
mov rdi, qword [rsp + 0x38]
lea r13, [0x140173048]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r12, r12
je 0x14009673a
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x14009674e
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rsp + 0x68]
test rax, rax
je 0x140096767
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r14, r14
je 0x14009677b
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rdi, rdi
je 0x140096788
mov rcx, rdi
call fcn.140095774
mov rcx, qword [0x140173048]
cmp rcx, r13
je 0x1400967b5
test byte [rcx + 0x1c], 1
je 0x1400967b5
cmp byte [rcx + 0x19], 5
jb 0x1400967b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x25
call fcn.14000c328
mov eax, ebx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140007410
mov rbx, qword [rsp + 0x338]
add rsp, 0x2f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor edx, edx
movzx ecx, word [rbp - 0x44]
mov r8d, 0x2e
movzx eax, r8w
sub ecx, eax
jne 0x1400967ff
movzx ecx, word [rbp - 0x42]
movzx eax, dx
sub ecx, eax
test ecx, ecx
je 0x14009697c
movzx ecx, word [rbp - 0x44]
movzx eax, r8w
sub ecx, eax
jne 0x140096828
movzx ecx, word [rbp - 0x42]
movzx eax, r8w
sub ecx, eax
jne 0x140096828
movzx ecx, word [rbp - 0x40]
movzx eax, dx
sub ecx, eax
test ecx, ecx
je 0x14009697c
mov rax, qword [rsp + 0x50]
lea r8, [rbp - 0x44]
mov rcx, rsi
mov word [rsi + rax*2], dx
mov rdx, qword [rsp + 0x48]
call fcn.14005655c
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x140096a4b
mov edx, dword [rbp - 0x70]
mov eax, edx
and eax, 0x410
cmp eax, 0x10
jne 0x140096955
mov r8d, dword [r13 + 0x10]
lea r9d, [rax + 0x54]
cmp r8d, r9d
jne 0x1400968c3
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x14009697c
test byte [rcx + 0x1c], 1
je 0x14009697c
cmp byte [rcx + 0x19], 3
jb 0x14009697c
mov rcx, qword [rcx + 0x10]
lea edx, [r9 - 0x44]
mov dword [rsp + 0x20], r9d
lea r8, [0x140156cb8]
lea r9, [rbp - 0x44]
call fcn.140040370
jmp 0x14009697c
cmp edi, r9d
jb 0x14009690b
mov rcx, qword [0x140173048]
lea rax, [0x140173048]
cmp rcx, rax
je 0x140096901
test byte [rcx + 0x1c], 1
je 0x140096901
cmp byte [rcx + 0x19], 4
jb 0x140096901
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x21
mov qword [rsp + 0x20], r14
call fcn.140061658
mov rax, qword [rsp + 0x78]
mov byte [rax], 1
jmp 0x14009697c
inc r8d
lea r9, [rsp + 0x38]
lea rcx, [rbp - 0x44]
call fcn.14009579c
mov rdi, qword [rsp + 0x38]
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400969f7
mov rcx, qword [rsp + 0x70]
mov rdx, rdi
call fcn.140098420
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x1400969f7
inc dword [rsp + 0x40]
mov edi, dword [rsp + 0x40]
mov qword [rsp + 0x38], rax
jmp 0x14009697c
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.1400960a8
mov ebx, eax
test eax, eax
js 0x1400969ff
mov rax, qword [rbp - 0x80]
inc qword [rax]
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
xor edx, edx
test eax, eax
jne 0x1400967e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140096709
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x1400969ed
test byte [rcx + 0x1c], 1
je 0x1400969ed
cmp byte [rcx + 0x19], 2
jb 0x1400969ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x24
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.14003fe00
xor eax, eax
test edi, edi
jg 0x140096a53
mov ebx, edi
jmp 0x140096a5c
mov byte [r15], al
jmp 0x14009670e
mov al, byte [rsp + 0x30]
mov byte [r15], al
mov rcx, qword [0x140173048]
lea r13, [0x140173048]
cmp rcx, r13
je 0x140096a41
test byte [rcx + 0x1c], 1
je 0x140096a41
cmp byte [rcx + 0x19], 2
jb 0x140096a41
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156cb8]
mov edx, 0x23
mov dword [rsp + 0x20], ebx
mov r9, rsi
call fcn.1400151b8
mov rdi, qword [rsp + 0x38]
jmp 0x140096715
mov byte [r15], al
jmp 0x140096709
movzx ebx, di
or ebx, 0x80070000
mov byte [r15], al
jmp 0x140096a41