Function at 0x140043460
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, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov qword [rsp + 0x38], rdx
mov rdi, rcx
mov rax, qword [0x1401b46a8]
xor rax, rsp
mov qword [rsp + 0xf8], rax
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
lea rdx, str.Next
lea r8, str..._.._base_files_file_enumerator_win.cc
lea r12, [rsp + 0x80]
mov rcx, r12
mov r9d, 0x82
call fcn.14002d9e0
lea rcx, [rsp + 0xa0]
mov rdx, r12
xor r8d, r8d
call fcn.14003abb0
lea r13, [rdi + 4]
lea r15, [rdi + 0x2a8]
lea rax, [rdi + 0x260]
mov qword [rsp + 0x30], rax
lea rax, [rdi + 0x280]
mov qword [rsp + 0x48], rax
lea rax, [rdi + 0x282]
mov qword [rsp + 0x40], rax
lea r14, [rdi + 0x30]
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140043562
call qword [sym.imp.SHLWAPI.dll_PathMatchSpecW]
cmp eax, 1
je 0x1400438ec
lea rcx, [rsp + 0x50]
call fcn.14002a9e0
mov rcx, r12
call fcn.14002a9e0
cmp byte [rdi], 0
je 0x1400435a0
mov rcx, qword [rdi + 0x258]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400436f5
mov rcx, qword [rdi + 0x258]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rdi + 0x258], 0xffffffffffffffff
jmp 0x1400436f5
mov rdx, qword [rdi + 0x2c0]
cmp qword [rdi + 0x2b8], rdx
je 0x140043925
test rdx, rdx
jne 0x1400435c0
mov rdx, qword [rdi + 0x2b0]
add rdx, 0xffffffffffffffff
mov rcx, r15
call fcn.140043e60
mov rcx, qword [rsp + 0x30]
mov rdx, rax
call fcn.14002a9f0
mov rdx, qword [rdi + 0x2c0]
test rdx, rdx
jne 0x1400435ec
mov rdx, qword [rdi + 0x2b0]
lea rax, [rdx - 1]
mov qword [rdi + 0x2c0], rax
mov rcx, r15
call fcn.140043ae0
mov rbp, rax
mov rdx, qword [rdi + 0x2c0]
mov rcx, r15
call fcn.140043ae0
mov rcx, r15
mov rdx, rax
mov r8, rbp
call fcn.1400439f0
mov rcx, r15
call fcn.140043f20
mov qword [rsp + 0x90], rbx
movaps xmmword [rsp + 0x80], xmm6
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x140043676
test eax, eax
jne 0x14004369f
movzx eax, byte [rdi + 0x280]
mov rcx, rax
shr rcx, 1
test al, 1
mov rax, qword [rdi + 0x290]
cmove rax, qword [rsp + 0x40]
mov qword [rsp + 0x50], rax
cmovne rcx, qword [rdi + 0x288]
mov qword [rsp + 0x58], rcx
jmp 0x14004368b
lea rax, [0x14016bf76]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 1
mov rcx, qword [rsp + 0x30]
mov rdx, r12
lea r8, [rsp + 0x50]
call fcn.14002b980
jmp 0x1400436a7
mov rcx, r12
call fcn.14002a8b0
test byte [rsp + 0x80], 1
lea rcx, [rsp + 0x82]
je 0x1400436c1
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x28], 2
mov qword [rsp + 0x20], 0
mov edx, 1
mov r8, r13
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rdi + 0x258], rax
mov byte [rdi], 1
mov rcx, r12
call fcn.14002a9e0
call rsi
cmp qword [rdi + 0x258], 0xffffffffffffffff
je 0x140043740
mov qword [rsp + 0x90], rbx
movaps xmmword [rsp + 0x80], xmm6
mov qword [rsp + 0x70], r14
cmp word [r14], 0
je 0x140043760
xor ecx, ecx
nop
lea rax, [rcx + 1]
cmp word [rdi + rcx*2 + 0x32], 0
mov rcx, rax
jne 0x140043720
jmp 0x140043762
mov ebp, eax
mov byte [rdi], 0
cmp dword [rdi + 0x298], 0
je 0x140043830
cmp ebp, 0x12
je 0x140043562
jmp 0x14004384a
xor eax, eax
mov qword [rsp + 0x78], rax
mov rcx, r12
lea rdx, [rsp + 0x70]
call fcn.14002a900
mov rcx, rdi
mov rdx, r12
call fcn.140057bb0
test al, al
jne 0x14004355a
mov rbp, r13
mov r13d, dword [rdi + 4]
mov qword [rsp + 0x60], rbx
movaps xmmword [rsp + 0x50], xmm6
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8, r12
call fcn.14002c3f0
test r13b, 0x10
je 0x140043880
cmp byte [rdi + 0x278], 0
je 0x140043880
test byte [rsp + 0x50], 1
lea rcx, [rsp + 0x52]
je 0x1400437d2
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
jne 0x140043880
mov edx, 1
mov rcx, r15
call fcn.140043ba0
mov rdx, qword [rdi + 0x2c0]
mov rcx, r15
call fcn.140043ae0
mov rcx, rax
lea rdx, [rsp + 0x50]
call fcn.14002a8d0
mov rax, qword [rdi + 0x2b0]
mov rdx, qword [rdi + 0x2c0]
add rax, 0xffffffffffffffff
cmp rdx, rax
jne 0x14004385c
mov qword [rdi + 0x2c0], 0
jmp 0x14004386b
mov rcx, qword [rsp + 0x48]
lea rdx, [0x14016bf76]
call fcn.140023712
cmp ebp, 0x12
je 0x140043562
cmp dword [rdi + 0x29c], 0
je 0x140043562
jmp 0x140043918
mov rcx, rdx
inc rcx
mov qword [rdi + 0x2c0], rcx
jne 0x14004386e
mov rdx, rax
mov rcx, r15
call fcn.140043e60
nop word cs:[rax + rax]
and r13d, 0x10
shr r13d, 4
mov rcx, rdi
mov edx, r13d
call fcn.140057cf0
test al, al
mov r13, rbp
je 0x140043550
mov eax, dword [rdi + 0x298]
cmp eax, 1
je 0x1400438b3
test eax, eax
jne 0x140043550
jmp 0x1400438ec
mov rax, qword [rsp + 0x48]
test byte [rax], 1
mov rdx, qword [rsp + 0x40]
je 0x1400438c9
mov rdx, qword [rdi + 0x290]
test byte [rsp + 0x80], 1
lea rcx, [rsp + 0x82]
je 0x140043541
mov rcx, qword [rsp + 0x90]
jmp 0x140043541
lea rsi, [rsp + 0x50]
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
mov rdx, rsi
call fcn.14002a8d0
mov rcx, rsi
call fcn.14002a9e0
lea rcx, [rsp + 0x80]
call fcn.14002a9e0
jmp 0x140043932
mov ecx, ebp
call fcn.140040d80
mov dword [rdi + 0x2a0], eax
mov rdi, qword [rsp + 0x38]
mov rcx, rdi
call fcn.14002a8b0
lea rcx, [rsp + 0xa0]
call fcn.14003acf0
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.140132550
mov rax, rdi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret