Function at 0x1400315c0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov qword [rsp + 0x50], r8
mov r15, rdx
mov r12, rcx
xor edi, edi
mov dword [rsp + 0x30], edi
mov rbx, qword [rcx]
cmp dword [rbx - 0x10], edi
je 0x14003183a
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x60]
call fcn.140241ba0
lea rcx, [rbx - 0x18]
call fcn.14000de80
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, [0x1402ee760]
mov r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp word [rdx + rax*2], 0
jne 0x140031642
mov r8d, eax
lea rcx, [rsp + 0x40]
call fcn.1400157c0
lea rdx, [rsp + 0x60]
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, r14
je 0x140031817
nop dword [rax + rax]
mov ecx, dword [rsp + 0x60]
and ecx, 0x410
cmp ecx, 0x10
jne 0x1400317fc
movzx ecx, word [rbp - 0x74]
movzx eax, word [rbp - 0x72]
cmp cx, 0x2e
jne 0x1400316bf
test ax, ax
je 0x1400317fc
cmp cx, cx
jne 0x1400316bf
cmp ax, cx
jne 0x1400316bf
cmp word [rbp - 0x70], 0
je 0x1400317fc
inc dword [r15]
mov rax, qword [r12]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x1400316da
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x1400316ea
call fcn.1400a2364
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
nop
test rax, rax
je 0x14003186f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
or edi, 1
mov dword [rsp + 0x30], edi
mov rdx, qword [r12]
mov dword [rsp + 0x20], 1
lea r9, [0x1402ed690]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.1400220f0
nop
mov rbx, qword [rsp + 0x48]
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x140031747
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140031757
call fcn.1400a2364
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
nop
test rax, rax
je 0x140031864
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x74]
mov rax, r14
inc rax
cmp word [rcx + rax*2], 0
jne 0x140031780
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x74]
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.1400220f0
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
call fcn.14000d7c0
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, r14d
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400317d8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
and dword [rsp + 0x30], 0xfffffffe
mov eax, r14d
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x1400317f8
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, dword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140031680
mov rbx, qword [rsp + 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r14d
sub r14d, 1
jg 0x14003183a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1402155d0
mov rbx, qword [rsp + 0x318]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400080b0
nop
mov ecx, 0x80004005
call fcn.1400080b0
int3