Function at 0x14003a30c
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x458]
sub rsp, 0x540
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rdi, rcx
xor r12d, r12d
mov dword [rbp - 0x50], r12d
lea rax, [rbp + 0x230]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r12 + 0x1a]
xor ecx, ecx
call qword [0x140070f58]
lea ebx, [r12 + 7]
test eax, eax
js 0x14003a657
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
cmp word [rbp + 0x230], r12w
jne 0x14003a38f
mov r8d, r12d
jmp 0x14003a3a4
lea rax, [rbp + 0x230]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14003a39a
lea rdx, [rbp + 0x230]
lea rcx, [rsp + 0x30]
call fcn.140001b58
nop
lea r8, [0x140059058]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400064b0
mov rsi, rax
lea rax, [rsp + 0x30]
cmp rax, rsi
je 0x14003a407
cmp qword [rsp + 0x48], 8
jb 0x14003a3ea
mov rcx, qword [rsp + 0x30]
call fcn.1400208dc
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], r12
mov word [rsp + 0x30], r12w
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.1400054f0
cmp qword [rbp - 0x58], 8
jb 0x14003a417
mov rcx, qword [rbp - 0x70]
call fcn.1400208dc
lea r8, [0x140058ca4]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.1400064b0
cmp qword [rax + 0x18], 8
jb 0x14003a436
mov rax, qword [rax]
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp qword [rbp - 0x58], 8
jb 0x14003a456
mov rcx, qword [rbp - 0x70]
call fcn.1400208dc
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x60], r12
mov word [rbp - 0x70], r12w
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
xor r8d, r8d
lea rdx, [0x140058d84]
lea rcx, [rsp + 0x50]
call fcn.140001b58
nop
test byte [rbp - 0x20], 0x10
je 0x14003a5c4
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x80], r12
mov word [rsp + 0x70], r12w
cmp word [rbp + 0xc], r12w
jne 0x14003a4ac
mov r8, r12
jmp 0x14003a4be
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14003a4b4
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x70]
call fcn.140001b58
nop
mov rsi, qword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
mov rax, qword [rbp - 0x80]
cmp rax, rbx
jb 0x14003a577
lea r10, [rax - 6]
lea r11, [rsp + 0x70]
cmp rsi, 8
cmovae r11, r14
test r10, r10
je 0x14003a50e
mov rax, r10
mov rdx, r11
cmp word [rdx], 0x72
je 0x14003a511
add rdx, 2
dec rax
jne 0x14003a4ff
mov rdx, r12
test rdx, rdx
je 0x14003a577
mov r9, rbx
lea rcx, str.release
mov r8, rdx
movzx eax, word [rcx]
cmp word [r8], ax
jne 0x14003a53e
add r8, 2
add rcx, 2
dec r9
jne 0x14003a523
mov eax, r12d
jmp 0x14003a545
sbb eax, eax
and eax, 0xfffffffe
inc eax
test eax, eax
je 0x14003a562
mov rcx, rdx
sub rcx, r11
sar rcx, 1
or rax, 0xffffffffffffffff
sub rax, rcx
add r10, rax
lea r11, [rdx + 2]
jmp 0x14003a4f4
lea rax, [rsp + 0x70]
cmp rsi, 8
cmovae rax, r14
sub rdx, rax
sar rdx, 1
jmp 0x14003a57b
or rdx, 0xffffffffffffffff
cmp rdx, 0xffffffffffffffff
je 0x14003a5b6
cmp word [rbp + 0xc], r12w
jne 0x14003a58d
mov r8, r12
jmp 0x14003a59f
lea rax, [rbp + 0xc]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r12w
jne 0x14003a595
lea rdx, [rbp + 0xc]
lea rcx, [rsp + 0x50]
call fcn.140001b58
mov rsi, qword [rbp - 0x78]
mov r14, qword [rsp + 0x70]
cmp rsi, 8
jb 0x14003a5c4
mov rcx, r14
call fcn.1400208dc
lea rdx, [rbp - 0x20]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003a488
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.140006874
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.1400054f0
cmp qword [rbp - 0x30], 8
jb 0x14003a614
mov rcx, qword [rbp - 0x48]
call fcn.1400208dc
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
cmp qword [rsp + 0x68], 8
jb 0x14003a633
mov rcx, qword [rsp + 0x50]
call fcn.1400208dc
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x60], r12
mov word [rsp + 0x50], r12w
cmp qword [rsp + 0x48], 8
jb 0x14003a675
mov rcx, qword [rsp + 0x30]
call fcn.1400208dc
jmp 0x14003a675
mov qword [rdi + 0x18], rbx
mov qword [rdi + 0x10], r12
mov word [rdi], r12w
xor r8d, r8d
lea rdx, [0x140058dac]
mov rcx, rdi
call fcn.140001b58
mov rax, rdi
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret