Function at 0x18000da70
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x670]
sub rsp, 0x770
mov rax, qword [0x180107738]
xor rax, rsp
mov qword [rbp + 0x660], rax
movzx ebx, cl
test cl, cl
jne 0x18000dabe
mov rcx, qword [0x1801087a0]
lea r9, str.Default
xor r8d, r8d
mov edx, 0x180
call qword [sym.imp.USER32.dll_SendMessageA]
xor ecx, ecx
lea rdx, [0x180109460]
nop word [rax + rax]
movzx eax, byte [rcx + rdx]
mov byte [rbp + rcx + 0x260], al
lea rcx, [rcx + 1]
test al, al
jne 0x18000dad0
lea rcx, [rbp + 0x260]
mov qword [rsp + 0x780], rsi
dec rcx
cmp bl, 1
je 0x18000db40
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000db00
mov eax, dword [str.Basic_]
lea rbx, [0x1801087d0]
mov rsi, qword [0x1801087a0]
mov dword [rcx], eax
movzx eax, word [0x1800e0374]
mov word [rcx + 4], ax
movzx eax, byte [0x1800e0376]
mov byte [rcx + 6], al
jmp 0x18000db6b
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000db40
mov eax, dword [str.User_]
lea rbx, [0x1801088d0]
mov rsi, qword [0x1801087c0]
mov dword [rcx], eax
movzx eax, word [0x1800e037c]
mov word [rcx + 4], ax
cmp byte [rbx], 0
je 0x18000dbd8
lea rcx, [rbp + 0x260]
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000db80
xor edx, edx
nop dword [rax]
movzx eax, byte [rbx + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x18000db90
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], 0
jne 0x18000dba6
cdqe
movzx ecx, byte [rax + rbx - 1]
cmp cl, 0x5c
je 0x18000dbd8
cmp cl, 0x2f
je 0x18000dbd8
lea rcx, [rbx - 1]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000dbc4
movzx eax, word [0x1800dfebc]
mov word [rcx], ax
lea rcx, [rbp + 0x260]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000dbe2
movzx eax, word [0x1800e0354]
lea rdx, [rsp + 0x20]
mov word [rcx], ax
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ddeb
test byte [rsp + 0x20], 0x10
je 0x18000dcb8
xor edx, edx
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rsp + rdx + 0x4c]
mov byte [rbp + rdx + 0x60], cl
lea rdx, [rdx + 1]
test cl, cl
jne 0x18000dc30
movzx eax, byte [rbp + 0x60]
test al, al
je 0x18000dcb8
cmp al, 0x2e
jne 0x18000dc5f
cmp byte [rbx], cl
je 0x18000dcb8
cmp al, al
jne 0x18000dcb8
cmp byte [rbp + 0x61], al
jne 0x18000dcb8
cmp byte [rbp + 0x62], cl
jne 0x18000dcb8
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 9
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000dc72
lea r8, [rbp + 0x60]
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 0x18000dc90
lea r9, [rbp + 0x160]
xor r8d, r8d
mov edx, 0x180
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18000dc15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rcx, [rbp + 0x260]
dec rcx
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000dce1
movzx eax, word [0x1800e03b0]
mov word [rcx], ax
movzx eax, byte [0x1800e03b2]
mov byte [rcx + 2], al
lea rcx, [rbp + 0x260]
dec rcx
nop dword [rax]
cmp byte [rcx + 1], 0
lea rcx, [rcx + 1]
jne 0x18000dd10
mov eax, dword [str.dgtpst]
lea rdx, [rsp + 0x20]
mov dword [rcx], eax
movzx eax, word [0x1800e036c]
mov word [rcx + 4], ax
movzx eax, byte [0x1800e036e]
mov byte [rcx + 6], al
lea rcx, [rbp + 0x260]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18000ddeb
test byte [rsp + 0x20], 0x20
je 0x18000ddcc
xor ecx, ecx
nop
movzx eax, byte [rsp + rcx + 0x4c]
mov byte [rbp + rcx + 0x60], al
lea rcx, [rcx + 1]
test al, al
jne 0x18000dd60
lea rcx, [rbp + 0x60]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x18000dd80
cmp eax, 7
jle 0x18000ddb7
movsxd rbx, eax
lea rdx, str.dgtpst
lea rcx, [rbp + rbx + 0x5a]
call fcn.1800a5f7c
test eax, eax
jne 0x18000ddb7
lea rax, [rbx - 7]
cmp rax, 0x100
jae 0x18000de17
mov byte [rbp + rax + 0x60], 0
lea r9, [rbp + 0x60]
xor r8d, r8d
mov edx, 0x180
mov rcx, rsi
call qword [sym.imp.USER32.dll_SendMessageA]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18000dd56
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rsi, qword [rsp + 0x780]
mov rcx, qword [rbp + 0x660]
xor rcx, rsp
call fcn.18007b2f0
lea r11, [rsp + 0x770]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.18007b8a8
int3