Function at 0x14008f360
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2c8]
sub rsp, 0x3a0
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov r15, rcx
xor r12d, r12d
mov edi, r12d
mov dword [rsp + 0x30], r12d
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r12
mov word [rbp + 0x20], r12w
xor r9d, r9d
xor r8d, r8d
mov edx, 0x7d8
mov rcx, qword [rcx + 8]
call fcn.14000f5d0
lea r9, [rax - 0x104]
mov qword [rsp + 0x20], rax
mov r8d, 0x105
lea rdx, [rbp + 0x40]
mov rcx, qword [r15 + 8]
call fcn.1400fc020
or r13, 0xffffffffffffffff
cmp word [rbp + 0x40], r12w
jne 0x140013eba
mov r8d, r12d
jmp 0x140013ecc
lea rax, [rbp + 0x40]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x140013ec1
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.140006f10
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], r12
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
lea r8, [rbp - 0x20]
lea rdx, [rbp]
lea rcx, [rbp + 0x20]
call fcn.140011d80
test al, al
je 0x140014351
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140011930
nop
lea r8, [0x1401d3670]
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140001cf0
nop
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
cmp rax, 0xffffffffffffffff
je 0x1400142ca
mov esi, r12d
nop dword [rax]
inc esi
cmp esi, 0x7d0
ja 0x140014220
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
cmp word [rbp + 0x6c], 0
jne 0x140013fc3
mov r8, r12
jmp 0x140013fdb
lea rax, [rbp + 0x6c]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140013fd0
lea rdx, [rbp + 0x6c]
lea rcx, [rbp - 0x80]
call fcn.140006f10
nop
or edi, 1
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
mov r8d, 1
mov r9, qword [rbp - 0x70]
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x140014047
lea rdx, [0x1401d30a0]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x140014038
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x140014020
jmp 0x140014047
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, r13d
jmp 0x14001404a
mov r8d, r12d
test r8d, r8d
jne 0x140014059
cmp r9, 1
je 0x140014115
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
cmp word [rbp + 0x6c], 0
jne 0x140014083
mov r8, r12
jmp 0x14001409b
lea rax, [rbp + 0x6c]
mov r8, r13
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140014090
lea rdx, [rbp + 0x6c]
lea rcx, [rsp + 0x60]
call fcn.140006f10
nop
or edi, 2
mov dword [rsp + 0x30], edi
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
mov r8d, 2
mov r9, qword [rsp + 0x70]
cmp r9, r8
cmovb r8, r9
test r8, r8
je 0x140014107
lea rdx, [0x1401d3678]
movzx eax, word [rdx]
cmp word [rcx], ax
jne 0x1400140f8
add rcx, 2
add rdx, 2
sub r8, 1
jne 0x1400140e0
jmp 0x140014107
mov r8d, 1
cmp word [rcx], ax
cmovb r8d, r13d
jmp 0x14001410a
mov r8d, r12d
test r8d, r8d
jne 0x140014119
cmp r9, 2
jne 0x140014119
mov bl, 1
jmp 0x14001411b
xor bl, bl
test dil, 2
je 0x140014159
and edi, 0xfffffffd
mov dword [rsp + 0x30], edi
mov r8, qword [rsp + 0x78]
cmp r8, 8
jb 0x140014145
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x60]
call fcn.140007680
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
and edi, 0xfffffffe
mov dword [rsp + 0x30], edi
mov r8, qword [rbp - 0x68]
cmp r8, 8
jb 0x14001417a
inc r8
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x80]
call fcn.140007680
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r12
mov word [rbp - 0x80], r12w
test bl, bl
jne 0x14001420b
cmp qword [rsp + 0x50], 0
je 0x1400141ae
mov r8d, 1
lea rdx, [0x1401d1ab8]
lea rcx, [rsp + 0x40]
call fcn.140006a00
mov r9, r13
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.1400068d0
cmp word [rbp + 0x6c], 0
jne 0x1400141ce
mov r8, r12
jmp 0x1400141e0
lea rax, [rbp + 0x6c]
mov r8, r13
inc r8
cmp word [rax + r8*2], 0
jne 0x1400141d5
lea rdx, [rbp + 0x6c]
lea rcx, [rsp + 0x40]
call fcn.140006a00
test byte [rbp + 0x40], 0x10
je 0x14001420b
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rsp + 0x40]
call fcn.140006a00
lea rdx, [rbp + 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140013f90
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x140014244
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140007680
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14001426f
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140007680
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
xor r9d, r9d
mov edx, 0x83a
lea r8d, [r9 + 0xa]
mov rcx, qword [r15 + 8]
call fcn.14000f5d0
xor r9d, r9d
mov edx, 0x843
lea r8d, [r9 + 1]
mov rcx, qword [r15 + 8]
call fcn.14000f5d0
lea r8, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r8, qword [rsp + 0x40]
mov rdx, qword [rbp + 0x10]
mov rcx, qword [r15 + 8]
call fcn.140103930
jmp 0x140014320
mov r8, qword [rbp - 0x48]
cmp r8, 8
jb 0x1400142e4
inc r8
mov rdx, qword [rbp - 0x60]
lea rcx, [rbp - 0x60]
call fcn.140007680
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r12
mov word [rbp - 0x60], r12w
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x14001430f
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140007680
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r12
mov word [rbp - 0x40], r12w
mov r8, qword [rsp + 0x58]
cmp r8, 8
jb 0x14001433d
inc r8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x40]
call fcn.140007680
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
mov r8, qword [rbp - 8]
cmp r8, 8
jb 0x14001436b
inc r8
mov rdx, qword [rbp - 0x20]
lea rcx, [rbp - 0x20]
call fcn.140007680
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r12
mov word [rbp - 0x20], r12w
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x140014396
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140007680
mov qword [rbp + 0x18], 7
mov qword [rbp + 0x10], r12
mov word [rbp], r12w
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x1400143c1
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140007680
mov qword [rbp + 0x38], 7
mov qword [rbp + 0x30], r12
mov word [rbp + 0x20], r12w
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140168660
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea rax, [rcx + 0x6b0]
mov r8d, 0x1e0
cmp qword [rcx + 0x890], rax
mov edx, 0x328
cmove edx, r8d
add rcx, rdx
jmp 0x140013e10