Function at 0x140002cd0
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.1400079a0
mov r15, 0xffffffffffffffff
mov r14, rax
mov rbp, r15
nop dword [rax + rax]
inc rbp
cmp word [rax + rbp*2], si
jne 0x140002d20
lea rax, [rax + rbp*2]
nop dword [rax]
movzx ecx, word [rax - 2]
cmp cx, 0x2f
je 0x140002d40
cmp cx, 0x5c
jne 0x140002d4d
dec rbp
lea rax, [r14 + rbp*2]
mov word [rax], r13w
jmp 0x140002d30
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14000acc8
test eax, eax
je 0x140002d6d
mov rcx, r14
call fcn.140007bd4
xor eax, eax
jmp 0x14000304c
mov qword [rsp + 0x320], rbx
mov rax, r15
mov qword [0x1400361a0], rdi
nop
inc rax
cmp word [rdi + rax*2], si
jne 0x140002d80
mov qword [0x1400361a8], rax
mov rcx, r15
inc rcx
cmp word [rdi + rcx*2], si
jne 0x140002d93
mov rax, r15
nop
inc rax
cmp word [r14 + rax*2], si
jne 0x140002da0
add rcx, rax
lea rcx, [rcx*2 + 8]
call fcn.140007be8
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 0x140003039
lea rdx, [rsp + 0x9c]
mov rcx, r14
call fcn.1400032c0
mov edx, eax
lea rcx, [rsp + 0x9c]
call fcn.1400035c0
test eax, eax
je 0x140002e2b
lea rcx, [rsp + 0x9c]
call fcn.1400079a0
mov rsi, rax
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140002f9c
mov r15, qword [rsp + 0x30]
nop dword [rax + rax]
lea rdx, [rsp + 0x9c]
mov rcx, r14
call fcn.1400032c0
mov edx, eax
lea rcx, [rsp + 0x9c]
call fcn.1400035c0
test eax, eax
je 0x140002f7a
test rsi, rsi
jne 0x140002e91
lea rcx, [rsp + 0x9c]
call fcn.1400079a0
mov rsi, rax
jmp 0x140002f7a
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.1400033c0
mov rcx, rbx
mov r13, rax
call fcn.1400033c0
mov rdx, rax
mov r12, rax
sub rdx, r13
mov rcx, r13
nop word [rax + rax]
cmp rdi, 3
jge 0x140002eec
mov ebx, dword [rcx]
inc rdi
sub ebx, dword [rdx + rcx]
add rcx, 4
test ebx, ebx
je 0x140002ed0
mov r8, qword [r13 + 0x10]
jmp 0x140002f2f
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 0x140002f2a
add rax, 2
test cx, cx
jne 0x140002f14
xor ebx, ebx
jmp 0x140002f2f
sbb ebx, ebx
or ebx, 1
test r8, r8
je 0x140002f3c
mov rcx, r8
call fcn.140007bd4
mov rcx, r13
call fcn.140007bd4
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x140002f53
call fcn.140007bd4
mov rcx, r12
call fcn.140007bd4
test ebx, ebx
jns 0x140002f77
mov rcx, rsi
call fcn.140007bd4
lea rcx, [rsp + 0x9c]
call fcn.1400079a0
mov rsi, rax
xor r13d, r13d
lea rdx, [rsp + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002e50
mov r12, qword [rsp + 0x38]
mov r15, 0xffffffffffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindClose]
test rsi, rsi
je 0x140003039
inc r15
cmp word [rsi + r15*2], 0
jne 0x140002fb0
add r15, rbp
lea rcx, [r15*2 + 4]
call fcn.140007be8
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 0x140002fe0
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 0x140003010
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 0x140003020
mov rcx, rsi
call fcn.140007bd4
mov rcx, r14
call fcn.140007bd4
mov rbx, qword [rsp + 0x320]
mov rax, r12
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140003cf0
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret