Function at 0x140002d50
Capabilities:
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
sub rsp, 0x6d8
mov rax, qword [0x140045270]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov esi, r8d
mov r14, rdx
mov rdi, rcx
mov r9, rdx
lea rcx, [rsp + 0x4a0]
lea r8, str._s.
mov edx, 0x104
and esi, 0x10
jne 0x140002d9b
lea r8, str._s.dll
call fcn.140003fb0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x140002e00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x10]
lea r9d, [rbp + 4]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x4a0]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov qword [rsp + 0x28], rax
lea rax, str.Unable_to_enumerate_items__S__result__lu_
mov r8d, 0xe3
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov al, 1
jmp 0x1400030b3
mov qword [rsp + 0x710], rbx
mov qword [rsp + 0x6d0], r12
mov qword [rsp + 0x6c8], r13
mov qword [rsp + 0x6c0], r15
lea r12, str.Ignore__S
lea r13, str.Ignore_directory__S
mov r15b, 1
lea rbx, str.Process_plugin__S
test esi, esi
je 0x140002eff
test byte [rsp + 0x40], 0x10
je 0x140002ecf
cmp word [rsp + 0x6c], 0x2e
je 0x140002ecf
lea rax, [rsp + 0x6c]
lea r8, str._s_s_
lea rcx, [rsp + 0x290]
mov r9, r14
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140003fb0
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
lea rax, str.Process_plugin_folder__S
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov r9d, 3
mov r8d, 0xf8
mov qword [rsp + 0x20], rax
call fcn.140006d00
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140002d10
movzx r15d, al
test al, al
je 0x140003086
jmp 0x140002fc1
lea rax, [rsp + 0x6c]
mov r8d, 0xf2
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov rcx, qword [rdi + 0x10]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov r9d, 5
call fcn.140006d00
jmp 0x140002fc1
test byte [rsp + 0x40], 0x10
lea rax, [rsp + 0x6c]
je 0x140002f1d
mov qword [rsp + 0x28], rax
mov r8d, 0x106
mov qword [rsp + 0x20], r13
jmp 0x140002ee4
lea r8, [0x1400360a8]
lea rcx, [rsp + 0x290]
mov r9, r14
mov edx, 0x104
mov qword [rsp + 0x20], rax
call fcn.140003fb0
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x290]
mov qword [rsp + 0x28], rax
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov r9d, 3
mov r8d, 0x10b
mov qword [rsp + 0x20], rbx
call fcn.140006d00
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140002fa1
nop word [rax + rax]
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x290]
call fcn.1400082f8
test eax, eax
je 0x140002fdc
mov rbx, qword [rbx + 0x2c0]
test rbx, rbx
jne 0x140002f80
lea rdx, [rsp + 0x290]
mov rcx, rdi
call fcn.140001910
cmp eax, 1
je 0x140003083
lea rbx, str.Process_plugin__S
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002e38
jmp 0x140003086
test rbx, rbx
je 0x140002fa1
mov eax, dword [rbx + 0x2b4]
cmp eax, 5
jne 0x140003037
lea rdx, [rsp + 0x290]
mov rcx, rbx
call fcn.1400043d0
test al, al
jne 0x140002fba
mov rcx, qword [rdi + 0x10]
lea rax, [rsp + 0x290]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov qword [rsp + 0x28], rax
lea rax, str.Failed_to_load_library__S
mov r9d, 2
mov r8d, 0x118
mov qword [rsp + 0x20], rax
call fcn.140006d00
jmp 0x140002fba
cmp eax, 2
jne 0x140002fba
mov rcx, qword [rdi + 0x10]
lea rax, [rbx + 0x270]
lea rdx, str.C:dvsp4_build_swgcomp_relgs_03_40_srcNvContainercontainerNvcHost.cpp
mov qword [rsp + 0x28], rax
lea rax, str.Mark_plugin__s_as_verified
mov r9d, 3
mov r8d, 0x11d
mov qword [rsp + 0x20], rax
call fcn.140006d00
mov dword [rbx + 0x2b4], 1
jmp 0x140002fba
xor r15b, r15b
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x6c8]
mov r12, qword [rsp + 0x6d0]
mov rbx, qword [rsp + 0x710]
movzx eax, r15b
mov r15, qword [rsp + 0x6c0]
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.1400097f0
add rsp, 0x6d8
pop r14
pop rdi
pop rsi
pop rbp
ret