Function at 0x140002c70
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2d0
mov rax, qword [0x1400354e8]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
xor r13d, r13d
mov rdi, rdx
mov esi, r13d
mov qword [rsp + 0x38], r13
mov r12d, r13d
call fcn.140007940
mov r15, 0xffffffffffffffff
mov r14, rax
mov rbp, r15
nop dword [rax + rax]
inc rbp
cmp word [rax + rbp*2], si
jne 0x140002cc0
lea rax, [rax + rbp*2]
nop dword [rax]
movzx ecx, word [rax - 2]
cmp cx, 0x2f
je 0x140002ce0
cmp cx, 0x5c
jne 0x140002ced
dec rbp
lea rax, [r14 + rbp*2]
mov word [rax], r13w
jmp 0x140002cd0
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14000ac68
test eax, eax
je 0x140002d0d
mov rcx, r14
call fcn.140007b74
xor eax, eax
jmp 0x140002fec
mov qword [rsp + 0x320], rbx
mov rax, r15
mov qword [0x1400361a0], rdi
nop
inc rax
cmp word [rdi + rax*2], si
jne 0x140002d20
mov qword [0x1400361a8], rax
mov rcx, r15
inc rcx
cmp word [rdi + rcx*2], si
jne 0x140002d33
mov rax, r15
nop
inc rax
cmp word [r14 + rax*2], si
jne 0x140002d40
add rcx, rax
lea rcx, [rcx*2 + 8]
call fcn.140007b88
movzx r9d, word [0x1400354c0]
lea rdx, str._s_c_s_
mov r8, r14
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov rbx, rax
call fcn.1400020b0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x30], rax
cmp rax, r15
je 0x140002fd9
lea rdx, [rsp + 0x9c]
mov rcx, r14
call fcn.140003260
mov edx, eax
lea rcx, [rsp + 0x9c]
call fcn.140003560
test eax, eax
je 0x140002dcb
lea rcx, [rsp + 0x9c]
call fcn.140007940
mov rsi, rax
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140002f3c
mov r15, qword [rsp + 0x30]
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
mov rcx, r14
call fcn.140003260
mov edx, eax
lea rcx, [rsp + 0x9c]
call fcn.140003560
test eax, eax
je 0x140002f1a
test rsi, rsi
jne 0x140002e31
lea rcx, [rsp + 0x9c]
call fcn.140007940
mov rsi, rax
jmp 0x140002f1a
mov rax, qword [0x1400361a8]
lea rbx, [rsp + 0x9e]
mov rdi, r13
lea rbx, [rbx + rax*2]
inc rax
lea rcx, [rsi + rax*2]
call fcn.140003360
mov rcx, rbx
mov r13, rax
call fcn.140003360
mov rdx, rax
mov r12, rax
sub rdx, r13
mov rcx, r13
nop word [rax + rax]
cmp rdi, 3
jge 0x140002e8c
mov ebx, dword [rcx]
inc rdi
sub ebx, dword [rdx + rcx]
add rcx, 4
test ebx, ebx
je 0x140002e70
mov r8, qword [r13 + 0x10]
jmp 0x140002ecf
mov r8, qword [r13 + 0x10]
lea rax, [0x1400361b0]
mov rcx, qword [r12 + 0x10]
lea rdx, [0x1400361b4]
test r8, r8
cmovne rax, r8
test rcx, rcx
cmovne rdx, rcx
sub rdx, rax
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x140002eca
add rax, 2
test cx, cx
jne 0x140002eb4
xor ebx, ebx
jmp 0x140002ecf
sbb ebx, ebx
or ebx, 1
test r8, r8
je 0x140002edc
mov rcx, r8
call fcn.140007b74
mov rcx, r13
call fcn.140007b74
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x140002ef3
call fcn.140007b74
mov rcx, r12
call fcn.140007b74
test ebx, ebx
jns 0x140002f17
mov rcx, rsi
call fcn.140007b74
lea rcx, [rsp + 0x9c]
call fcn.140007940
mov rsi, rax
xor r13d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002df0
mov r12, qword [rsp + 0x38]
mov r15, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
test rsi, rsi
je 0x140002fd9
inc r15
cmp word [rsi + r15*2], 0
jne 0x140002f50
add r15, rbp
lea rcx, [r15*2 + 4]
call fcn.140007b88
mov r8, rax
mov r12, rax
sub r8, r14
mov rdx, r14
nop word [rax + rax]
movzx ecx, word [rdx]
mov word [r8 + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140002f80
movzx eax, word [0x1400354c0]
lea rcx, [r12 - 2]
mov word [r12 + rbp*2], ax
mov word [r12 + rbp*2 + 2], r13w
nop dword [rax + rax]
cmp word [rcx + 2], 0
lea rcx, [rcx + 2]
jne 0x140002fb0
xor edx, edx
nop dword [rax]
movzx eax, word [rsi + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x140002fc0
mov rcx, rsi
call fcn.140007b74
mov rcx, r14
call fcn.140007b74
mov rbx, qword [rsp + 0x320]
mov rax, r12
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140003c90
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret