Function at 0x14001bce0
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x360
xor ebp, ebp
lea rbx, [0x1400d312c]
cmp dword [0x1400d3128], ebp
mov r15, rdx
mov r14, rcx
lea rsi, [rbp - 1]
jle 0x14001be05
nop word [rax + rax]
movzx edi, byte [rbx]
mov rax, rsi
inc rbx
nop dword [rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14001bd30
mov r8, qword [0x1400d7eb0]
cmp rax, r8
jne 0x14001bdae
mov rdx, qword [0x1400d7ea8]
mov rcx, rbx
call fcn.140050b68
test eax, eax
jne 0x14001bdae
mov rax, rsi
nop dword [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14001bd60
inc rbx
add rbx, rax
cmp dil, 2
je 0x14001bf31
mov rcx, qword [0x1400d7ed8]
mov r9, rbx
movzx r8d, dil
mov rdx, r15
call fcn.140054b30
test eax, eax
jne 0x14001bf31
mov rax, rsi
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], 0
jne 0x14001bda0
add rax, rbx
jmp 0x14001bdd2
mov rax, rsi
cmp byte [rbx + rax + 1], 0
lea rax, [rax + 1]
jne 0x14001bdb1
lea rcx, [rax + 1]
mov rax, rsi
add rcx, rbx
inc rax
cmp byte [rcx + rax], 0
jne 0x14001bdc6
add rax, rcx
cmp byte [rax + 1], 6
lea rbx, [rax + 2]
jne 0x14001bdef
mov rcx, rbx
call fcn.140028140
add eax, dword [0x1400ef778]
movsxd rcx, eax
jmp 0x14001bdf4
mov ecx, 8
inc ebp
add rbx, rcx
cmp ebp, dword [0x1400d3128]
jl 0x14001bd20
cmp byte [r15], 0
jne 0x14001c0e0
cmp qword [0x1400d7ee0], 0
jne 0x14001c05c
xor ecx, ecx
lea rdx, [0x1400d3025]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rsp + rcx + 0x160], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001be30
lea rax, [rsp + 0x160]
dec rax
nop
cmp byte [rax + 1], 0
lea rax, [rax + 1]
jne 0x14001be50
movups xmm0, xmmword [str.Residents.res]
mov rbx, rsi
movups xmmword [rax], xmm0
lea rax, [rsp + 0x160]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x14001be70
lea rax, [rsp + 0x160]
sub rax, 5
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x160]
add rbx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, rsi
je 0x14001c05c
nop word [rax + rax]
test byte [rsp + 0x20], 0x10
jne 0x14001c03d
cmp dword [reloc.WS2_32.dll_accept], 0
je 0x14001c010
movsd xmm0, qword [str.Unicode_]
lea rcx, [rbx - 1]
movsd qword [rbx], xmm0
movzx eax, byte [0x1400c1a60]
mov byte [rbx + 8], al
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001bee2
lea r8, [rsp + 0x4c]
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14001bf00
lea rcx, [rsp + 0x160]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14001bff0
mov edx, 1
jmp 0x14001c030
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14001bf31
add rbx, rsi
movsx ecx, byte [rbx + 1]
sub ecx, 3
je 0x14001bfd7
sub ecx, 2
je 0x14001bfbe
cmp ecx, 1
jne 0x14001c1f3
lea rcx, [rbx + 2]
mov dword [r14], 0x25
call fcn.140028140
add eax, dword [0x1400ef778]
xor edx, edx
mov rcx, qword [0x1400d6d88]
movsxd r8, eax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [r14 + 8], rax
test rax, rax
je 0x14001bf9f
lea rdx, [rbx + 2]
mov rcx, rax
call fcn.1400281b0
mov byte [r14 + 0x1a], 0
jmp 0x14001c1f3
lea rdx, str.NoMemory
lea rcx, str.Parser
call fcn.140026570
mov qword [0x1400d7cf8], rax
jmp 0x14001c1e9
mov dword [r14], 0x24
mov rax, qword [rbx + 2]
mov qword [r14 + 8], rax
mov byte [r14 + 0x1a], 0
jmp 0x14001c1f3
mov dword [r14], 0x23
mov rax, qword [rbx + 2]
mov qword [r14 + 8], rax
mov byte [r14 + 0x1a], 0
jmp 0x14001c1f3
lea rax, [rsp + 0x4c]
mov rdx, rbx
sub rdx, rax
lea rcx, [rsp + 0x4c]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001c000
jmp 0x14001c02e
lea rax, [rsp + 0x4c]
mov rdx, rbx
sub rdx, rax
lea rcx, [rsp + 0x4c]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x14001c020
xor edx, edx
lea rcx, [rsp + 0x160]
call fcn.14001bad0
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14001beb0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rdi, qword [0x1400d7ee0]
test rdi, rdi
je 0x14001c0e0
nop dword [rax]
mov rbx, qword [rdi + 8]
movsxd rax, dword [rdi + 0x10]
add rax, rbx
cmp rbx, rax
jae 0x14001c0d8
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x14001c083
mov r8, qword [0x1400d7eb0]
cmp rax, r8
jne 0x14001c0af
mov rdx, qword [0x1400d7ea8]
mov rcx, rbx
call fcn.140050b68
test eax, eax
je 0x14001c210
mov rax, rsi
inc rax
cmp byte [rbx + rax], 0
jne 0x14001c0b2
mov edx, dword [rdi + 0x14]
lea rcx, [rbx + 1]
add rcx, rax
call qword [rdi + 0x20]
movsxd rcx, dword [rdi + 0x10]
mov rbx, rax
add rcx, qword [rdi + 8]
cmp rax, rcx
jb 0x14001c080
mov rdi, qword [rdi]
test rdi, rdi
jne 0x14001c070
cmp dword [0x1400d7cf0], 0
jne 0x14001c1f3
lea rdx, str.ConstantNotFound
lea rcx, str.Parser
call fcn.140026570
lea rbx, [0x1400d7d00]
mov rdx, rbx
sub rdx, rax
nop dword [rax]
movzx ecx, byte [rax]
mov byte [rdx + rax], cl
lea rax, [rax + 1]
test cl, cl
jne 0x14001c110
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001c122
movzx eax, word [0x1400be5cc]
mov word [rcx], ax
movzx eax, byte [0x1400be5ce]
mov byte [rcx + 2], al
cmp byte [r15], 0
je 0x14001c192
lea rcx, [rbx - 1]
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001c150
xor edx, edx
nop dword [rax]
movzx eax, byte [r15 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x14001c160
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001c174
movzx eax, word [0x1400be3bc]
mov word [rcx], ax
movzx eax, byte [0x1400be3be]
mov byte [rcx + 2], al
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001c196
movzx eax, word [0x1400be5e8]
mov r8, qword [0x1400d7eb0]
mov rdx, qword [0x1400d7ea8]
mov word [rcx], ax
mov rcx, rbx
call fcn.1400509d0
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x14001c1c4
movzx eax, word [0x1400be550]
mov word [rcx], ax
movzx eax, byte [0x1400be552]
mov byte [rcx + 2], al
mov qword [0x1400d7cf8], rbx
mov dword [0x1400d7cf0], 1
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
inc rsi
cmp byte [rbx + rsi], 0
jne 0x14001c210
mov r8d, dword [rdi + 0x14]
lea rcx, [rbx + 1]
add rcx, rsi
mov rdx, r14
call qword [rdi + 0x18]
mov byte [r14 + 0x1a], 0
jmp 0x14001c1f3