Function at 0x140048c00
Capabilities:
Enumerate files on windows
Get file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd8
mov r12, rdx
mov rdi, rcx
mov rax, qword [0x1400e05d8]
xor rax, rsp
mov qword [rsp + 0xd0], rax
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x82
call fcn.140047eb0
lea rcx, [rsp + 0x80]
mov rdx, rbx
xor r8d, r8d
call fcn.140047ee0
lea r14, [rdi + 4]
lea r15, [rdi + 0x260]
lea rsi, [rdi + 0x280]
lea r13, [rdi + 0x30]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x30], rax
cmp byte [rdi], 0
je 0x140048da7
mov rcx, qword [rdi + 0x258]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140048e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140048e6e
mov qword [rsp + 0x50], r13
cmp word [r13], 0
je 0x140048eab
cmp word [rdi + 0x32], 0
je 0x140048f13
cmp word [rdi + 0x34], 0
je 0x140048f1d
cmp word [rdi + 0x36], 0
je 0x140048ef5
cmp word [rdi + 0x38], 0
je 0x140048f09
cmp word [rdi + 0x3a], 0
je 0x140048eff
mov eax, 6
cmp word [rdi + 0x3c], 0
jne 0x140048eb2
mov qword [rsp + 0x58], rax
mov rcx, rbx
lea rdx, [rsp + 0x50]
call fcn.14002d470
mov rcx, rdi
mov rdx, rbx
call fcn.140049660
test al, al
jne 0x140048e0a
mov ebp, dword [rdi + 4]
mov rcx, r15
lea rdx, [rsp + 0x38]
mov r8, rbx
call fcn.14002f0c0
test bpl, 0x10
jne 0x140048ffa
and ebp, 0x10
shr ebp, 4
mov rcx, rdi
mov edx, ebp
call fcn.140049770
test al, al
je 0x14004903c
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x140048f78
cmp byte [rsi + 0x17], 0
mov rdx, rsi
js 0x14004904e
cmp byte [rsp + 0x77], 0
mov rcx, rbx
jns 0x140048d93
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x140048f80
jmp 0x14004903c
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x140048ff0
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x14004904b
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, r15
call fcn.14002d570
mov rcx, qword [rsp + 0x30]
call fcn.140049510
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140048edb
jmp 0x140048f31
mov rcx, rbx
call fcn.14002d560
jmp 0x140048c81
mov rcx, r15
mov rdx, rbx
lea r8, [rsp + 0x38]
call fcn.14002e7c0
cmp byte [rsp + 0x77], 0
mov rcx, rbx
js 0x140048f27
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, rbx
call fcn.14002d560
jmp 0x140048ca2
mov ebp, eax
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140048f64
cmp ebp, 0x12
je 0x140048c81
jmp 0x140048fd6
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140048ca2
xor eax, eax
jmp 0x140048d0e
mov eax, 7
cmp word [rdi + 0x3e], 0
je 0x140048d0e
mov eax, 0x20
cmp word [rdi + rax*2], 0
lea rax, [rax + 1]
jne 0x140048ec7
add rax, 0xffffffffffffffe7
jmp 0x140048d0e
lea rax, [0x1400bb4a8]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
jmp 0x140048e17
mov eax, 3
jmp 0x140048d0e
mov eax, 5
jmp 0x140048d0e
mov eax, 4
jmp 0x140048d0e
mov eax, 1
jmp 0x140048d0e
mov eax, 2
jmp 0x140048d0e
mov rcx, qword [rsp + 0x60]
jmp 0x140048e35
test eax, eax
jne 0x140049056
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, rsi
mov qword [rsp + 0x38], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x40], rax
jmp 0x140048e17
mov rcx, rsi
lea rdx, [0x1400bb4a8]
call fcn.1400289c0
jmp 0x140048e80
test eax, eax
jne 0x14004903c
lea rsi, [rsp + 0x38]
mov rcx, r12
mov rdx, rsi
call fcn.14002d440
mov rcx, rsi
call fcn.14002d560
lea rcx, [rsp + 0x60]
call fcn.14002d560
lea rcx, [rsp + 0x80]
call fcn.140048000
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.14008a0f0
mov rax, r12
add rsp, 0xd8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp dword [rdi + 0x29c], 0
je 0x140048c81
mov ecx, ebp
call fcn.140048500
mov dword [rdi + 0x2a0], eax
mov rcx, r12
call fcn.14002d420
jmp 0x140048fa2
cmp byte [rdi + 0x278], 0
je 0x140048d50
cmp byte [rsp + 0x4f], 0
lea rcx, [rsp + 0x38]
jns 0x140049018
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jb 0x140048d50
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x38]
call fcn.140049160
jmp 0x140048d50
lea rcx, [rsp + 0x38]
call fcn.14002d560
jmp 0x140048e0a
int3
mov rdx, qword [rsi]
jmp 0x140048d84
mov rcx, rbx
call fcn.14002d420
jmp 0x140048e27