Function at 0x1800606f0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, rdx
mov rdi, rcx
call fcn.180057520
mov edx, 0xa
lea r15d, [rdx - 9]
lea rcx, [rsp + 0x60]
call fcn.180014c70
nop
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1800191c0
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call fcn.180018380
nop
lea rcx, [rsp + 0x30]
call fcn.180016820
nop dword [rax + rax]
cmp dword [rsp + 0x70], 0
jle 0x180060a78
mov rdi, qword [rsp + 0x60]
add rdi, 0x10
mov rax, qword [rdi]
movsxd r12, dword [rax - 8]
lea edx, [r12 + 0x10a]
mov rcx, rdi
call fcn.180016b80
mov rsi, rax
lea r8, [0x18007054c]
mov rdx, rdi
cmp qword [0x1800947d0], 0
je 0x1800607f4
lea rcx, [rsp + 0x48]
call fcn.1800194b0
nop
mov dword [rsp + 0x28], 2
mov rcx, qword [rsp + 0x108]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
mov r8, r14
lea edx, [r9 + 1]
mov rcx, qword [rax]
call qword [0x1800947d0]
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x48]
jmp 0x180060817
lea rcx, [rsp + 0x58]
call fcn.1800194b0
mov rdx, r14
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x58]
call fcn.180016820
lea rax, [rsi + r12*2]
mov qword [rsp + 0x38], rax
cmp rdi, 0xffffffffffffffff
je 0x180060a4d
mov ebp, dword [r14]
lea rbx, [r14 + 0x2c]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea r13, [rcx - 1]
lea eax, [rcx + r12 - 1]
cmp eax, 0x104
jb 0x1800608a4
mov r8d, 4
lea rdx, [0x180079ac8]
mov rcx, rsi
call fcn.1800688a8
test eax, eax
je 0x1800608a4
lea eax, [r12 + 1]
mov r8d, eax
add r8, r8
lea rcx, [rsi + 8]
mov rdx, rsi
call fcn.18002aac0
mov r8d, 4
lea rdx, [0x180079ac8]
mov rcx, rsi
call fcn.18002a92c
add r12d, 4
add qword [rsp + 0x38], 8
test bpl, 0x10
je 0x1800609a2
cmp word [rbx], 0x2e
jne 0x1800608d4
movzx eax, word [r14 + 0x2e]
test ax, ax
je 0x180060a2d
cmp ax, 0x2e
jne 0x1800608d4
cmp word [r14 + 0x30], 0
je 0x180060a2d
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, word [rbx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x1800608f0
mov ebx, dword [rsp + 0xf0]
test bl, 0x30
je 0x18006094c
mov rax, qword [rsp + 0x108]
test rax, rax
je 0x18006092f
mov rdx, rax
mov rcx, qword [rsp + 0xe0]
call fcn.18005e120
test eax, eax
je 0x18006094c
lea edx, [r13 + r12]
mov r9, qword [rsp + 0x100]
mov r8d, ebp
mov rcx, rsi
call qword [rsp + pe_nt_image_headers64]
mov r15d, eax
test r15d, r15d
je 0x180060a48
test bl, 0x40
jne 0x180060a23
lea edx, [r13 + r12]
mov eax, 0x5c
mov word [rsi + rdx*2], ax
lea eax, [rdx + 1]
xor ecx, ecx
mov word [rsi + rax*2], cx
mov rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1800191c0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.180018380
nop
lea rcx, [rsp + 0x40]
call fcn.180016820
jmp 0x180060a23
test byte [rsp + 0xf0], 0x80
jne 0x180060a2d
mov rdi, rsi
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
xor ecx, ecx
nop
movzx eax, word [rbx + rcx]
mov word [rdi + rcx - 2], ax
add rcx, 2
test ax, ax
jne 0x1800609c0
mov rdi, qword [rsp + 0x108]
test rdi, rdi
je 0x180060a01
mov dx, 0x5c
mov rcx, rdi
call fcn.18002ba1c
test rax, rax
cmovne rbx, rsi
mov rdx, rdi
mov rcx, rbx
call fcn.18005e120
test eax, eax
je 0x180060a1e
lea edx, [r13 + r12]
mov r9, qword [rsp + 0x100]
mov r8d, ebp
mov rcx, rsi
call qword [rsp + pe_nt_image_headers64]
mov r15d, eax
test r15d, r15d
je 0x180060a48
mov rax, qword [rsp + 0x38]
xor ecx, ecx
mov word [rax], cx
mov rdx, r14
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180060825
jmp 0x180060a4d
mov rdi, qword [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.18001abd0
lea rcx, [rsp + 0x50]
call fcn.180016820
test r15d, r15d
jne 0x180060770
lea rcx, [rsp + 0x60]
call fcn.1800182c0
mov eax, r15d
mov rbx, qword [rsp + 0xe8]
add rsp, 0xa0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret