Function at 0x140083890
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0x238]
sub rsp, 0x338
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x14028e6b0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rsi, r9
mov rbx, r8
mov qword [rsp + 0x30], rbx
mov rdi, rdx
mov qword [rsp + 0x40], rcx
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
cmp word [rdx], ax
jne 0x1400838f5
mov r8d, eax
jmp 0x14008390a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], ax
jne 0x140083900
lea rcx, [rbp - 0x50]
call fcn.140006f10
nop
mov r8d, 3
lea rdx, [0x1401d3670]
lea rcx, [rbp - 0x50]
call fcn.140006a00
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rcx, qword [rbp - 0x50]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x140083be9
mov ecx, dword [rbp - 0x30]
test cl, 0x10
je 0x140083aaa
cmp byte [rbp + 0x288], 0
jne 0x14008396f
test cl, 2
jne 0x140083be9
movzx ebx, byte [rbp + 0x280]
test bl, bl
je 0x140083bf0
lea rdx, [0x1401d30a0]
lea rcx, [rbp - 4]
call fcn.1400282d0
test eax, eax
je 0x140083bf0
lea rdx, [0x1401d3678]
lea rcx, [rbp - 4]
call fcn.1400282d0
test eax, eax
je 0x140083bf0
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rax
mov word [rsp + 0x50], ax
cmp word [rdi], ax
jne 0x1400839d7
mov r8d, eax
jmp 0x1400839ea
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rdi + r8*2], ax
jne 0x1400839e0
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140006f10
nop
cmp word [rbp - 4], 0
jne 0x140083a04
xor r8d, r8d
jmp 0x140083a1b
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140083a10
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x50]
call fcn.140006a00
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rsp + 0x50]
call fcn.140006a00
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
movzx eax, byte [rbp + 0x288]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
mov r9, rsi
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140083890
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140083a90
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140007680
mov qword [rsp + 0x68], 7
xor eax, eax
mov qword [rsp + 0x60], rax
mov word [rsp + 0x50], ax
jmp 0x140083bf0
mov rdx, rbx
lea rcx, [rbp - 4]
call fcn.14002b480
test al, al
je 0x140083be9
xor ebx, ebx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
cmp word [rdi], bx
jne 0x140083ae3
mov r8d, ebx
jmp 0x140083afa
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x140083af0
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140006f10
nop
cmp word [rbp - 4], 0
jne 0x140083b14
mov r8, rbx
jmp 0x140083b2b
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140083b20
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x70]
call fcn.140006a00
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
cmp word [rdx], 0
jne 0x140083b6c
mov r8, rbx
jmp 0x140083b7b
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140083b70
lea rcx, [rbp - 0x70]
call fcn.140006f10
nop
lea rdx, [rbp - 0x70]
mov rcx, rsi
call fcn.140009520
nop
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x140083bac
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140007680
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x140083bd8
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140007680
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rbx
mov word [rsp + 0x70], bx
movzx ebx, byte [rbp + 0x280]
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140083f95
nop word [rax + rax]
mov eax, dword [rbp - 0x30]
test al, 0x10
je 0x140083d56
cmp byte [rbp + 0x288], 0
jne 0x140083c2c
test al, 2
jne 0x140083f77
test bl, bl
je 0x140083f77
lea rdx, [0x1401d30a0]
lea rcx, [rbp - 4]
call fcn.1400282d0
test eax, eax
je 0x140083f77
lea rdx, [0x1401d3678]
lea rcx, [rbp - 4]
call fcn.1400282d0
test eax, eax
je 0x140083f77
xor eax, eax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], rax
mov word [rsp + 0x70], ax
cmp word [rdi], ax
jne 0x140083c89
mov r8d, eax
jmp 0x140083c9a
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], ax
jne 0x140083c90
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140006f10
nop
cmp word [rbp - 4], 0
jne 0x140083cb4
xor r8d, r8d
jmp 0x140083ccb
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140083cc0
lea rdx, [rbp - 4]
lea rcx, [rsp + 0x70]
call fcn.140006a00
mov r8d, 1
lea rdx, [0x1401d3668]
lea rcx, [rsp + 0x70]
call fcn.140006a00
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rdx, qword [rsp + 0x70]
movzx eax, byte [rbp + 0x288]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
mov r9, rsi
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call fcn.140083890
nop
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x140083d3e
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.140007680
mov qword [rbp - 0x78], 7
xor eax, eax
mov qword [rbp - 0x80], rax
mov word [rsp + 0x70], ax
jmp 0x140083f77
mov rdx, qword [rsp + 0x30]
lea rcx, [rbp - 4]
call fcn.14002b480
test al, al
je 0x140083f77
xor ebx, ebx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
cmp word [rdi], bx
jne 0x140083d90
mov r8d, ebx
jmp 0x140083d9e
or r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], bx
jne 0x140083d94
mov rdx, rdi
lea rcx, [rbp - 0x70]
call fcn.140006f10
nop
cmp word [rbp - 4], 0
jne 0x140083db7
mov r8, rbx
jmp 0x140083dcb
lea rax, [rbp - 4]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140083dc0
lea rdx, [rbp - 4]
lea rcx, [rbp - 0x70]
call fcn.140006a00
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rdx, qword [rbp - 0x70]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp word [rdx], 0
jne 0x140083e0e
mov r8, rbx
jmp 0x140083e1d
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140083e12
lea rcx, [rsp + 0x50]
call fcn.140006f10
nop
mov rax, qword [rsi + 8]
lea rcx, [rsp + 0x50]
cmp rcx, rax
jae 0x140083e90
mov rcx, qword [rsi]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
ja 0x140083e90
lea rbx, [rsp + 0x50]
sub rbx, rcx
cmp rax, qword [rsi + 0x10]
jne 0x140083e5e
mov edx, 1
mov rcx, rsi
call fcn.140006290
mov rcx, qword [rsi + 8]
and rbx, 0xffffffffffffffe0
add rbx, qword [rsi]
test rcx, rcx
je 0x140083f16
mov qword [rcx + 0x18], 7
xor eax, eax
mov qword [rcx + 0x10], rax
mov word [rcx], ax
mov rdx, rbx
call fcn.140004900
jmp 0x140083f16
cmp rax, qword [rsi + 0x10]
jne 0x140083ea3
mov edx, 1
mov rcx, rsi
call fcn.140006290
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x140083f16
mov qword [rbx + 0x18], 7
xor ecx, ecx
mov qword [rbx + 0x10], rcx
mov word [rbx], cx
cmp qword [rsp + 0x68], 8
jae 0x140083ee4
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x140083ef1
add r8, r8
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140187210
xor ecx, ecx
jmp 0x140083ef1
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], rcx
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x68]
mov qword [rbx + 0x18], rax
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rcx
mov word [rsp + 0x50], cx
add qword [rsi + 8], 0x20
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140083f38
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140007680
mov qword [rsp + 0x68], 7
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x140083f67
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.140007680
mov qword [rbp - 0x58], 7
mov qword [rbp - 0x60], rbx
mov word [rbp - 0x70], bx
lea rdx, [rbp - 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
movzx ebx, byte [rbp + 0x280]
jne 0x140083c10
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x140083fbb
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.140007680
mov qword [rbp - 0x38], 7
xor eax, eax
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.140168660
add rsp, 0x338
pop rdi
pop rsi
pop rbx
pop rbp
ret