Function at 0x14009098c
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 - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rax, qword [rbp + 0x240]
mov rdi, rcx
mov r14, qword [rbp + 0x248]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x60], r8
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140090a10
test byte [rcx + 0x1c], 1
je 0x140090a10
cmp byte [rcx + 0x19], 5
jb 0x140090a10
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x1b
call fcn.140006b98
or qword [rsp + 0x50], 0xffffffffffffffff
lea rcx, [rbp - 0x80]
xor eax, eax
xor edx, edx
mov r8d, 0x250
mov qword [rsp + 0x58], rax
mov ebx, eax
mov qword [rsp + 0x38], rax
mov r15d, eax
mov qword [rsp + 0x48], rax
mov r12d, eax
mov qword [rsp + 0x40], rax
mov r13d, eax
mov dword [rsp + 0x34], eax
mov esi, eax
call sub.msvcrt.dll_memset
mov byte [r14], bl
cmp dword [rdi + 0x10], 0x64
jbe 0x140090a61
mov ebx, 0x80070057
jmp 0x140090f11
test dword [rdi], 0x400
mov byte [rdi + 0x14], 1
je 0x140090ab6
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140090f11
test byte [rcx + 0x1c], 1
je 0x140090f11
cmp byte [rcx + 0x19], 5
jb 0x140090f11
mov r9, qword [rdi + 8]
lea r8, [0x14015e3d8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1c
call fcn.1400112c8
jmp 0x140090f11
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x58]
xor r8d, r8d
mov rcx, qword [rcx]
call fcn.14008c1cc
mov ebx, eax
test eax, eax
jns 0x140090b19
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140090f18
test byte [rcx + 0x1c], 1
je 0x140090f18
cmp byte [rcx + 0x19], 2
jb 0x140090f18
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x1d
mov r9d, eax
call fcn.140006bc4
jmp 0x140090f18
mov rdx, qword [rdi + 8]
lea r8, [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
call fcn.140091d74
xor ecx, ecx
mov ebx, eax
test eax, eax
jns 0x140090b75
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140090b6b
test byte [rcx + 0x1c], 1
je 0x140090b6b
cmp byte [rcx + 0x19], 2
jb 0x140090b6b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x1e
mov r9d, eax
call fcn.140006bc4
mov r12, qword [rsp + 0x38]
jmp 0x140090f18
mov r12, qword [rsp + 0x38]
or rax, 0xffffffffffffffff
inc rax
cmp word [r12 + rax*2], cx
jne 0x140090b7e
add eax, 0x106
mov ecx, 0xffffffff
mov qword [rsp + 0x38], rax
add rax, rax
cmp rax, rcx
ja 0x140090f0c
mov ecx, eax
mov ebx, eax
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
nop dword [rax + rax]
mov r15, rax
test rax, rax
jne 0x140090bc5
mov ebx, 0x8007000e
jmp 0x140090f11
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.msvcrt.dll_memset
mov rdx, qword [rsp + 0x38]
mov r8, r12
mov rcx, r15
call fcn.140038040
xor r8d, r8d
mov ebx, eax
test eax, eax
js 0x140090f11
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r15 + rcx*2], r8w
jne 0x140090bf3
mov eax, ecx
mov edx, 0x5c
mov word [r15 + rax*2], dx
lea eax, [rcx + 1]
mov word [r15 + rax*2], r8w
lea rdx, [0x14015e21c]
lea r8, [rsp + 0x48]
mov qword [rsp + 0x68], rax
mov rcx, r12
call fcn.14008bdcc
mov r13, qword [rsp + 0x48]
mov ebx, eax
test eax, eax
js 0x140090f11
lea rdx, [rbp - 0x80]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x140090cc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
je 0x140090cbb
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140090ca5
test byte [rcx + 0x1c], 1
je 0x140090ca5
cmp byte [rcx + 0x19], 2
jb 0x140090ca5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x1f
mov dword [rsp + 0x20], eax
mov r9, r13
call fcn.14003d060
test ebx, ebx
jle 0x140090f18
movzx ebx, bx
or ebx, 0x80070000
jmp 0x140090f18
xor eax, eax
mov ebx, eax
jmp 0x140090f11
xor ecx, ecx
cmp word [rbp - 0x54], 0x2e
movzx eax, word [rbp - 0x52]
jne 0x140090cf1
test ax, ax
je 0x140090e3f
cmp word [rbp - 0x54], 0x2e
jne 0x140090cf1
cmp ax, 0x2e
jne 0x140090cf1
cmp word [rbp - 0x50], cx
je 0x140090e3f
mov rax, qword [rsp + 0x68]
lea r8, [rbp - 0x54]
mov rdx, qword [rsp + 0x38]
mov word [r15 + rax*2], cx
mov rcx, r15
call fcn.14005485c
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x140090eb8
mov edx, dword [rbp - 0x80]
mov eax, edx
and eax, 0x410
cmp eax, 0x10
jne 0x140090e17
mov r8d, dword [rdi + 0x10]
lea r9d, [rax + 0x54]
cmp r8d, r9d
jne 0x140090d85
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140090e3f
test byte [rcx + 0x1c], 1
je 0x140090e3f
cmp byte [rcx + 0x19], 3
jb 0x140090e3f
mov rcx, qword [rcx + 0x10]
lea edx, [r9 - 0x44]
mov dword [rsp + 0x20], r9d
lea r8, [0x14015e3d8]
lea r9, [rbp - 0x54]
call fcn.14003d5bc
jmp 0x140090e3f
cmp dword [rsp + 0x34], r9d
jb 0x140090dcf
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140090dc5
test byte [rcx + 0x1c], 1
je 0x140090dc5
cmp byte [rcx + 0x19], 4
jb 0x140090dc5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x21
mov qword [rsp + 0x20], r12
call fcn.14005ff7c
mov rax, qword [rsp + 0x70]
mov byte [rax], 1
jmp 0x140090e3f
inc r8d
lea r9, [rsp + 0x40]
lea rcx, [rbp - 0x54]
call fcn.14008fca0
mov rsi, qword [rsp + 0x40]
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x140090eb8
mov rcx, qword [rsp + 0x60]
mov rdx, rsi
call fcn.140092ad8
mov ebx, eax
xor eax, eax
test ebx, ebx
js 0x140090eb8
inc dword [rsp + 0x34]
mov esi, eax
mov qword [rsp + 0x40], rax
jmp 0x140090e3f
lea r8, [rsp + 0x30]
mov byte [rsp + 0x30], 1
lea rdx, [rbp - 0x80]
mov rcx, r15
call fcn.140090640
mov ebx, eax
test eax, eax
js 0x140090ec8
mov rax, qword [rsp + 0x78]
inc qword [rax]
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
xor ecx, ecx
test eax, eax
jne 0x140090cc6
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0x12
je 0x140090f11
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x140090eb0
test byte [rcx + 0x1c], 1
je 0x140090eb0
cmp byte [rcx + 0x19], 2
jb 0x140090eb0
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x24
mov dword [rsp + 0x20], edi
mov r9, r13
call fcn.14003d060
xor eax, eax
test edi, edi
jg 0x140090ebd
mov ebx, edi
mov byte [r14], al
jmp 0x140090f11
movzx ebx, di
or ebx, 0x80070000
jmp 0x140090eb8
mov al, byte [rsp + 0x30]
mov byte [r14], al
mov rcx, qword [0x14017a048]
lea rdi, [0x14017a048]
cmp rcx, rdi
je 0x140090f18
test byte [rcx + 0x1c], 1
je 0x140090f18
cmp byte [rcx + 0x19], 2
jb 0x140090f18
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x23
mov dword [rsp + 0x20], ebx
mov r9, r15
call fcn.140011330
jmp 0x140090f18
mov ebx, 0x80070216
lea rdi, [0x14017a048]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop dword [rax + rax]
test r13, r13
je 0x140090f3d
mov rcx, r13
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
xor r13d, r13d
test r15, r15
je 0x140090f54
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140090f6d
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test r12, r12
je 0x140090f81
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
test rsi, rsi
je 0x140090fab
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140090f9f
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsi + 8], r13
mov rcx, rsi
mov qword [rsi + 8], r13
call fcn.140001944
mov rcx, qword [0x14017a048]
cmp rcx, rdi
je 0x140090fd8
test byte [rcx + 0x1c], 1
je 0x140090fd8
cmp byte [rcx + 0x19], 5
jb 0x140090fd8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e3d8]
mov edx, 0x25
call fcn.140006b98
mov eax, ebx
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.140001d90
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret