Function at 0x1400606f0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
test rdx, rdx
je 0x140060b4d
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e8
mov rax, qword [0x14033e810]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov r14, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov r13d, dword [rsp + 0x368]
mov rbp, qword [rsp + 0x350]
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x140060746
test rax, rax
je 0x140060b2a
mov r15d, dword [rsp + 0x358]
test r15d, r15d
jne 0x14006076f
test r13d, r13d
je 0x140060b2a
cmp qword [r9 + 0x10], 1
je 0x140060b2a
mov ecx, 0x2000
call fcn.1400164e0
mov qword [rsp + 0x60], rax
mov ecx, 0x2000
call fcn.1400164e0
mov qword [rsp + 0x70], rax
mov ecx, 0x2000
call fcn.1400164e0
mov r12, rax
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x80]
call fcn.140241ba0
mov r9, rbx
lea r8, [0x1402f38c4]
mov edx, 0x1000
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call fcn.140055b60
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov edx, 0x1000
mov r9, qword [rsp + 0x70]
mov rcx, r9
mov r8, rbx
sub r8, r9
lea rax, [rdx + 0x7fffeffe]
test rax, rax
je 0x140060815
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140060815
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x1400607f2
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
xor r10d, r10d
mov word [rax], r10w
mov ecx, 0x1000
mov rax, r9
nop
cmp word [rax], r10w
je 0x140060840
add rax, 2
sub rcx, 1
jne 0x140060830
mov eax, 0x1000
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x1400608a5
mov edx, 0x1000
sub rdx, rax
lea rcx, [r9 + rax*2]
je 0x140060896
mov eax, 0x7ffffffe
lea r9, [0x1402ee760]
sub r9, rcx
nop
test rax, rax
je 0x140060891
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x140060891
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x140060870
mov r9, qword [rsp + 0x70]
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
lea rdx, [rsp + 0x80]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x78], rax
cmp rax, 0xffffffffffffffff
je 0x140060b10
nop word [rax + rax]
mov rcx, qword [rdi + 8]
xor edx, edx
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140060b10
cmp qword [r14 + 0x10], 1
je 0x140060b05
lea rax, [rsp + 0xac]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, str._s_s
mov edx, 0x1000
mov rcx, r12
call fcn.140055b60
mov eax, dword [rsp + 0x80]
bt eax, 0xa
jb 0x140060aea
test al, 0x10
je 0x140060aea
movzx ecx, word [rsp + 0xac]
movzx eax, word [rsp + 0xae]
cmp cx, 0x2e
jne 0x140060968
test ax, ax
je 0x140060aea
cmp cx, cx
jne 0x140060968
cmp ax, cx
jne 0x140060968
cmp word [rsp + 0xb0], 0
je 0x140060aea
test r13d, r13d
jne 0x140060a28
xor eax, eax
test rbp, rbp
je 0x1400609c8
mov edi, eax
mov ebx, eax
mov rcx, qword [rbp + 0x10]
test rcx, rcx
jle 0x1400609c8
test rbx, rbx
js 0x140060b4e
cmp rbx, rcx
jge 0x140060b4e
mov rax, qword [rbp + 8]
mov rdx, qword [rax + rbx*8]
lea rcx, [rsp + 0xac]
call qword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x140060ae0
inc edi
inc rbx
mov rcx, qword [rbp + 0x10]
movsxd rax, edi
cmp rax, rcx
jl 0x140060985
xor eax, eax
test rsi, rsi
jne 0x1400609d2
mov ecx, r13d
jmp 0x140060a47
mov edi, eax
mov rbx, rax
mov rcx, qword [rsi + 0x10]
test rcx, rcx
jle 0x140060a1e
test rbx, rbx
js 0x140060b4e
cmp rbx, rcx
jge 0x140060b4e
mov rax, qword [rsi + 8]
lea rdx, [rsp + 0xac]
mov rcx, qword [rax + rbx*8]
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x140060a23
inc edi
inc rbx
mov rcx, qword [rsi + 0x10]
movsxd rax, edi
cmp rax, rcx
jl 0x1400609e0
mov ecx, r13d
jmp 0x140060a47
mov rbx, qword [rsp + 0x60]
mov r8, r12
mov rdx, qword [r14 + 0x10]
mov rcx, r14
call fcn.1400a6854
cmp qword [r14 + 0x10], 1
je 0x140060b05
mov ecx, 1
test r15d, r15d
jg 0x140060a99
test ecx, ecx
jne 0x140060a99
mov rdi, qword [rsp + 0x68]
test r15d, r15d
jns 0x140060ae5
xor eax, eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbp
mov r9, r14
mov r8, rsi
mov rdx, r12
mov rcx, rdi
call fcn.1400606f0
jmp 0x140060ae5
lea eax, [r15 - 1]
xor edx, edx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], 1
mov dword [rsp + 0x40], edx
mov dword [rsp + 0x38], ecx
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbp
mov r9, r14
mov r8, rsi
mov rdx, r12
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call fcn.1400606f0
jmp 0x140060ae5
mov rdi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400608d0
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, rbx
call fcn.140095d64
mov rcx, qword [rsp + 0x70]
call fcn.140095d64
mov rcx, r12
call fcn.140095d64
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.1402155d0
add rsp, 0x2e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1400a2cd8
int3