Function at 0x140007780
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, 0x188
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm6
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov rax, qword [0x14016e028]
xor rax, rsp
mov qword [rsp + 0x158], rax
movaps xmm6, xmmword [0x140147b90]
lea rsi, [rsp + 0xb0]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea r13, [rsp + 0x130]
mov rcx, r13
mov r9d, 0x83
call fcn.140038cd0
mov rcx, rsi
mov rdx, r13
xor r8d, r8d
call fcn.140043760
lea r12, [rdi + 4]
lea rax, [rdi + 0x2a8]
mov qword [rsp + 0x50], rax
lea rax, [rdi + 0x260]
mov qword [rsp + 0x38], rax
lea r14, [rdi + 0x280]
lea rbx, [rdi + 0x30]
movabs rsi, 0xaaaaaaaaaaaaaaaa
xorps xmm7, xmm7
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], r12
cmp byte [rdi], 0
je 0x140007890
mov rcx, qword [rdi + 0x258]
mov rdx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140007a42
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x140007a42
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rax
je 0x140007d94
test rax, rax
mov rcx, qword [rdi + 0x2b0]
cmove rax, rcx
dec rax
cmp rcx, rax
jb 0x140007df4
lea rdx, [rax + rax*2]
shl rdx, 3
add rdx, qword [rdi + 0x2a8]
mov rcx, qword [rsp + 0x38]
call fcn.14006d640
mov rcx, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x1400078fa
lea rax, [rcx - 1]
mov qword [rdi + 0x2c0], rax
mov rdx, rcx
jmp 0x14000790e
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
cmp rcx, rdx
jb 0x140007deb
cmp rcx, rax
jb 0x140007df7
movabs rcx, 0x8000000000000000
cmp rdx, rcx
je 0x140007dfa
mov rbx, qword [rsp + 0x50]
mov rcx, qword [rbx]
lea rax, [rax + rax*2]
lea rcx, [rcx + rax*8]
call fcn.14004f070
mov rcx, rbx
call fcn.1400f8570
mov qword [rsp + 0x140], rsi
movaps xmmword [rsp + 0x130], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x1400079ae
test eax, eax
mov rbx, qword [rsp + 0x48]
jne 0x1400079e5
movzx eax, byte [rdi + 0x297]
test al, al
mov rcx, qword [rdi + 0x280]
cmovns rcx, r14
mov qword [rsp + 0x118], rcx
cmovs rax, qword [rdi + 0x288]
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x38]
mov rdx, r13
lea r8, [rsp + 0x118]
call fcn.1400089e0
jmp 0x1400079f9
lea rax, [0x14014e6e8]
mov qword [rsp + 0x118], rax
mov qword [rsp + 0x120], 1
mov rcx, qword [rsp + 0x38]
mov rdx, r13
lea r8, [rsp + 0x118]
call fcn.1400089e0
mov rbx, qword [rsp + 0x48]
jmp 0x1400079f9
movaps xmmword [rsp + 0x130], xmm7
mov qword [rsp + 0x140], 0
cmp byte [rsp + 0x147], 0
mov rcx, r13
jns 0x140007a0e
mov rcx, qword [rsp + 0x130]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r12
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r13
call fcn.14004f070
call rbp
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140007a75
mov qword [rsp + 0xa0], rsi
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0x80], rbx
test rbx, rbx
je 0x140007a9d
mov rcx, rbx
call fcn.14007adcc
jmp 0x140007a9f
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
jne 0x140007c71
cmp byte [r14 + 0x17], 0
js 0x140007c59
mov byte [r14 + 0x17], 1
mov rcx, r14
jmp 0x140007c6b
xor eax, eax
mov qword [rsp + 0x88], rax
lea r15, [rsp + 0x90]
mov rcx, r15
lea rdx, [rsp + 0x80]
call fcn.14006d500
mov rcx, rdi
mov rdx, r15
call fcn.14004fc20
test al, al
je 0x140007adb
mov rcx, r15
call fcn.14004f070
jmp 0x140007856
mov r12, r14
mov rbp, r13
mov r14d, dword [rdi + 4]
mov qword [rsp + 0x70], rsi
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
mov r8, r15
call fcn.14005d210
test r14b, 0x10
je 0x140007b31
cmp byte [rdi + 0x278], 0
je 0x140007b31
cmp byte [rsp + 0x77], 0
lea rcx, [rsp + 0x60]
jns 0x140007b21
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
bt eax, 0xa
jae 0x140007c96
and r14d, 0x10
shr r14d, 4
mov rcx, rdi
mov edx, r14d
call fcn.14007a290
test al, al
mov r13, rbp
je 0x140007c29
mov eax, dword [rdi + 0x298]
cmp eax, 1
jne 0x140007c8c
movaps xmmword [rsp + 0x140], xmm6
movaps xmmword [rsp + 0x130], xmm6
lea rax, str.api_ms_win_downlevel_shlwapi_l1_1_0.dll
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x110], 0x27
lea rsi, [rsp + 0x118]
mov rcx, rsi
lea rdx, [rsp + 0x108]
call fcn.14006d500
mov rcx, r13
mov rdx, rsi
call fcn.140076680
mov rcx, rsi
call fcn.14004f070
cmp qword [rsp + 0x138], 0
je 0x140007d16
mov rcx, r13
lea rdx, [0x14014e76a]
call fcn.14005db70
test rax, rax
je 0x140007d16
cmp byte [r12 + 0x17], 0
mov rdx, r12
lea rbp, [rsp + 0x90]
js 0x140007d4f
cmp byte [rsp + 0xa7], 0
mov rcx, rbp
jns 0x140007c07
mov rcx, qword [rsp + 0x90]
call rax
mov esi, eax
mov rcx, r13
call fcn.1400090d0
cmp esi, 1
lea r15, [rsp + 0x90]
mov rbx, qword [rsp + 0x48]
je 0x140007d5b
lea rcx, [rsp + 0x60]
call fcn.14004f070
mov rcx, r15
call fcn.14004f070
mov r14, r12
mov r12, qword [rsp + 0x58]
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140007856
mov qword [rdi + 0x288], 1
mov rcx, qword [rdi + 0x280]
mov dword [rcx], 0x2a
cmp eax, 0x12
je 0x140007856
cmp dword [rdi + 0x29c], 0
je 0x140007856
jmp 0x140007d87
test eax, eax
je 0x140007d5b
jmp 0x140007c29
mov rcx, qword [rsp + 0x50]
call fcn.1400b0180
mov rax, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b0], rax
jb 0x140007dee
lea rcx, [rax + rax*2]
shl rcx, 3
add rcx, qword [rdi + 0x2a8]
lea rdx, [rsp + 0x60]
call fcn.14004eb30
mov rax, qword [rdi + 0x2b0]
mov rcx, qword [rdi + 0x2c0]
lea rdx, [rax - 1]
lea r8, [rcx + 1]
cmp rcx, rdx
mov ecx, 0
cmovne rcx, r8
mov qword [rdi + 0x2c0], rcx
test rcx, rcx
cmove rcx, rax
dec rcx
cmp rax, rcx
lea r15, [rsp + 0x90]
jae 0x140007b31
jmp 0x140007df1
mov rdx, r12
cmp byte [r12 + 0x17], 0
jns 0x140007d25
mov rdx, qword [r12]
cmp byte [rsp + 0xa7], 0
lea rcx, [rsp + 0x90]
jns 0x140007d3f
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
mov esi, eax
mov r13, rbp
jmp 0x140007c0b
mov rcx, r12
mov rdx, qword [r12]
jmp 0x140007bf2
lea rsi, [rsp + 0x60]
mov rdi, qword [rsp + 0x40]
mov rcx, rdi
mov rdx, rsi
call fcn.14004eb30
mov rcx, rsi
call fcn.14004f070
lea rcx, [rsp + 0x90]
call fcn.14004f070
jmp 0x140007da7
mov ecx, eax
call fcn.1400aab30
mov dword [rdi + 0x2a0], eax
xorps xmm0, xmm0
mov rdi, qword [rsp + 0x40]
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
lea rcx, [rsp + 0xb0]
call fcn.14003cd60
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.14007d5a0
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
int3
int3
int3
int3
int3
int3