Function at 0x1401f9c30
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2208]
mov eax, 0x2308
call fcn.1402cec90
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x21f0], rax
movzx r13d, r9b
mov r12, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
mov rsi, rcx
mov qword [rsp + 0x78], rcx
mov rdi, qword [rbp + 0x2270]
mov qword [rsp + 0x60], rdi
mov r15, qword [rbp + 0x2278]
mov r8, qword [rdx]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402bcbb8
lea r8, [0x14036e380]
mov edx, 0x800
lea rcx, [rbp + 0x11f0]
call fcn.1402bf098
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x11f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov qword [rsp + 0x30], rax
cmp rax, 0xffffffffffffffff
je 0x1401f9fc4
test byte [rbp - 0x60], 0x10
je 0x1401f9e12
test r13b, r13b
je 0x1401f9fa1
movzx ecx, word [rbp - 0x34]
movzx eax, word [rbp - 0x32]
cmp cx, word [0x14034bd50]
jne 0x1401f9d15
cmp ax, word [0x14034bd52]
je 0x1401f9fa1
cmp cx, word [0x1403526fc]
jne 0x1401f9d38
cmp ax, word [0x1403526fe]
jne 0x1401f9d38
movzx eax, word [rbp - 0x30]
cmp ax, word [0x140352700]
je 0x1401f9fa1
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bcbb8
lea r8, [0x14034c088]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bf098
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bf098
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f9d84
xor eax, eax
mov qword [rsp + 0x50], rax
test ebx, ebx
jne 0x1401f9da7
lea rax, [0x14034d1a0]
mov qword [rsp + 0x48], rax
jmp 0x1401f9dd0
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x50]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x48]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x48]
call fcn.140203bb0
nop
mov rax, qword [rsi]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rdi
movzx r9d, r13b
mov r8, r12
lea rdx, [rsp + 0x48]
mov rcx, rsi
call qword [rax + 0x18]
nop
cmp dword [rsp + 0x50], 0
jle 0x1401f9f9c
mov rcx, qword [rsp + 0x48]
jmp 0x1401f9f97
mov edx, 0x2e
lea rcx, [rbp - 0x34]
call fcn.1402c00ac
mov r14, rax
test rax, rax
je 0x1401f9f83
mov rbx, qword [r12]
mov rdi, qword [rbx + 8]
mov rsi, rbx
cmp byte [rdi + 0x19], 0
jne 0x1401f9e62
nop dword [rax]
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call fcn.1402bcf6c
test eax, eax
jns 0x1401f9e56
mov rdi, qword [rdi + 0x10]
jmp 0x1401f9e5c
mov rsi, rdi
mov rdi, qword [rdi]
cmp byte [rdi + 0x19], 0
je 0x1401f9e40
cmp rsi, qword [r12]
je 0x1401f9e84
mov rdx, qword [rsi + 0x20]
mov rcx, r14
call fcn.1402bcf6c
test eax, eax
js 0x1401f9e84
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x68]
jmp 0x1401f9e92
mov rax, qword [r12]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0x70]
cmp qword [rax], rbx
je 0x1401f9f79
mov r14, qword [rsp + 0x58]
mov r8, qword [r14]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bcbb8
lea r8, [0x14034c088]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bf098
lea r8, [rbp - 0x34]
mov edx, 0x800
lea rcx, [rbp + 0x1f0]
call fcn.1402bf098
lea rax, [rbp + 0x1f0]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f9ef0
xor eax, eax
mov qword [rsp + 0x40], rax
test ebx, ebx
jne 0x1401f9f13
lea rax, [0x14034d1a0]
mov qword [rsp + 0x38], rax
jmp 0x1401f9f3c
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x40]
inc eax
movsxd rdx, eax
lea r8, [rbp + 0x1f0]
mov rcx, qword [rsp + 0x38]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.140203bb0
nop
movzx eax, byte [0x14043124a]
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea rdx, [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
mov rcx, rdi
call fcn.1400eac70
nop
cmp dword [rsp + 0x40], 0
jle 0x1401f9f9c
mov rcx, qword [rsp + 0x38]
jmp 0x1401f9f97
mov rdi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x30]
mov r14, qword [rsp + 0x58]
test r15, r15
je 0x1401f9fa1
lock inc dword [r15 + 0x730]
jmp 0x1401f9fa1
call fcn.1402bd0e0
mov rbx, qword [rsp + 0x30]
lea rdx, [rbp - 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
mov rsi, qword [rsp + 0x78]
jne 0x1401f9ce4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
mov rcx, qword [rbp + 0x21f0]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x2308
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret