Function at 0x1400312f0
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 0x140031571
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 0x140031372
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 0x14003154e
nop dword [rax + rax]
mov ecx, dword [rsp + 0x60]
and ecx, 0x410
cmp ecx, 0x10
jne 0x140031533
movzx ecx, word [rbp - 0x74]
movzx eax, word [rbp - 0x72]
cmp cx, 0x2e
jne 0x1400313ef
test ax, ax
je 0x140031533
cmp cx, cx
jne 0x1400313ef
cmp ax, cx
jne 0x1400313ef
cmp word [rbp - 0x70], 0
je 0x140031533
inc dword [r15]
mov rax, qword [r12]
mov rcx, qword [rax - 0x18]
test rcx, rcx
je 0x14003140a
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x14003141a
call fcn.1400a2364
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
nop
test rax, rax
je 0x1400315a6
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 0x140031477
mov rax, qword [rcx]
call qword [rax + 0x20]
test rax, rax
jne 0x140031487
call fcn.1400a2364
nop
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
nop
test rax, rax
je 0x14003159b
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 0x1400314b0
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 r8, [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 0x10]
mov rcx, rax
call fcn.1400a67e0
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 0x14003150f
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 0x14003152f
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 0x1400313b0
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 0x140031571
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