Function at 0x140001fa0
Capabilities:
Copy file
Create directory
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x24d0]
mov eax, 0x25d0
call fcn.14000e830
sub rsp, rax
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rbp + 0x24c0], rax
mov r15, rcx
mov qword [rsp + 0x78], rcx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
xor edx, edx
lea rcx, str.C:OneDriveTemp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempOneDriveTemp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindows
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindows_system32
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindows_system32DriverStore
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindows_system32DriverStoreFileRepository
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindowsWinSxS
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
lea rcx, str.C:OneDriveTempWindowsWinSxSManifests
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x140002073
mov rcx, qword [r15]
xor r8d, r8d
lea rdx, str.C:OneDriveTemp11rifier.dll
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000209b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CopyFileW_Error__d_n
call fcn.140001230
xor r8d, r8d
lea rdx, str.C:OneDriveTempprntvpt.dll
lea rcx, str.._prntvpt.dll
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400020ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CopyFileW_Error__d_n
call fcn.140001230
xor r8d, r8d
lea rdx, str.C:OneDriveTempOneDriveTempprntvpt.dll
lea rcx, str.._prntvpt.dll
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400020f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CopyFileW_Error__d_n
call fcn.140001230
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea r13, [0x140000000]
lea rax, [r13 + 0x10aa0]
mov qword [rbp + 0x20], rax
lea rcx, [rbp + 0xc8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 0x20
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x1c], edx
lea rax, [rbp + 0x28]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rsi, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x28], rsi
mov byte [rbp + 0xa4], 0
mov byte [rbp + 0x99], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0xa8], r12
mov rax, qword [0x140016d00]
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0x90], r12
lea edx, [r14 - 0x1e]
lea r8d, [r14 + 0x20]
lea rcx, str.C:OneDriveTempOneDriveTempOneDriveTemp.MANIFEST
call qword [sym.imp.MSVCP140.dll_struct__iobuf____ptr64___cdecl_std::_Fiopen_char_const____ptr64__int__int_]
mov rbx, rax
test rax, rax
jne 0x140002200
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [rbx + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
jmp 0x140002301
mov byte [rbp + 0xa4], 1
mov byte [rbp + 0x99], 0
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x40], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__get_stream_buffer_pointers]
mov r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], r9
mov r8, qword [rsp + 0x58]
mov qword [rsp + 0x28], r8
mov rdx, qword [rsp + 0x48]
mov qword [rsp + 0x20], rdx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64__char____ptr64____ptr64__char____ptr64____ptr64__int____ptr64____ptr64]
mov qword [rbp + 0xa8], rbx
mov rax, qword [0x140016d00]
mov qword [rbp + 0x9c], rax
mov qword [rbp + 0x90], r12
lea rdx, [rbp]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::getloc_void____ptr64]
nop
mov rcx, rax
call fcn.140005730
mov rbx, rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::codecvt_base::always_noconv_void_const___ptr64]
test al, al
je 0x1400022b3
mov qword [rbp + 0x90], r12
jmp 0x1400022c5
mov qword [rbp + 0x90], rbx
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x1400022e7
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400022e7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
lea rdx, [0x140016058]
cmp qword [0x140016070], 0x10
cmovae rdx, qword [0x140016058]
mov r8, qword [0x140016068]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x28]
call fcn.1400050f0
test rax, rax
jne 0x140002353
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
lea rdx, [rbp + 0x270]
lea rcx, str.C:WindowsSystem32DriverStoreFileRepositoryprnms003.inf_amd64_
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000295b
lea rdx, str.C:WindowsSystem32DriverStoreFileRepository_
lea rcx, [rbp - 0x40]
call fcn.140004b20
nop
lea rcx, [rbp + 0x29c]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rcx + r8*2], 0
jne 0x1400023c0
lea rdx, [rbp + 0x29c]
mov rcx, rax
call fcn.1400054c0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or r14d, 8
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140002447
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002439
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002923
call fcn.14000dc5c
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm1
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14000248f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000248a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000292a
call fcn.14000dc5c
lea rdx, str.C:OneDriveTempWindows_system32DriverStoreFileRepository_
lea rcx, [rbp - 0x40]
call fcn.140004b20
nop
lea rcx, [rbp + 0x29c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rcx + r8*2], 0
jne 0x1400024b0
lea rdx, [rbp + 0x29c]
mov rcx, rax
call fcn.1400054c0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or r14d, 0x10
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002537
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002529
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002931
call fcn.14000dc5c
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14000257f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000257a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002938
call fcn.14000dc5c
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.Amd64
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400055a0
mov rbx, rax
lea rax, [rbp - 0x60]
cmp rax, rbx
je 0x140002625
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400025f5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400025f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000293f
call fcn.14000dc5c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002665
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002660
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000293f
call fcn.14000dc5c
lea r8, str.Amd64
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400055a0
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x1400026f5
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400026c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400026c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002946
call fcn.14000dc5c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002735
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002730
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002946
call fcn.14000dc5c
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rcx, qword [rbp - 0x80]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.PrintConfig.dll
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400055a0
mov rbx, rax
lea rax, [rbp - 0x60]
cmp rax, rbx
je 0x1400027db
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x1400027ab
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400027a6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000294d
call fcn.14000dc5c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x60], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x50], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14000281b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002816
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000294d
call fcn.14000dc5c
lea r8, str.PrintConfig.dll
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x40]
call fcn.1400055a0
mov rbx, rax
lea rax, [rbp - 0x80]
cmp rax, rbx
je 0x1400028ab
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x14000287b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002876
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002954
call fcn.14000dc5c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x70], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], 7
mov word [rbx], r12w
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1400028e7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002954
call fcn.14000dc5c
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
lea rdx, [rbp + 0x270]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x140002398
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x160]
call sub.VCRUNTIME140.dll_memset
lea rax, [r13 + 0x10be0]
mov qword [rbp + 0x160], rax
lea rcx, [rbp + 0x210]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 0x40
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x170]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x160], rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x15c], edx
lea rax, [rbp + 0x170]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp + 0x170], rsi
mov byte [rbp + 0x1ec], 0
mov byte [rbp + 0x1e1], 0
lea rcx, [rbp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x1f0], r12
mov rax, qword [0x140016d00]
mov qword [rbp + 0x1e4], rax
mov qword [rbp + 0x1d8], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
mov qword [rbp + 0x150], rax
lea rcx, [rbp + 0x130]
call fcn.140003b30
nop
lea rdx, [rbp + 0x270]
lea rcx, str.C:WindowsWinSxSManifests_amd64_microsoft.windows.common_controls_.manifest
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140002fb0
lea r13, [0x140016078]
xor edx, edx
mov r8d, 0x2000
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
lea rdx, str.C:WindowsWinSxSManifests_
lea rcx, [rbp - 0x40]
call fcn.140004b20
nop
lea rcx, [rbp + 0x29c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x140002ae3
lea rdx, [rbp + 0x29c]
mov rcx, rax
call fcn.1400054c0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or r14d, 1
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140002b6a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000301b
call fcn.14000dc5c
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm1
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002bb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003022
call fcn.14000dc5c
lea rdx, str.C:OneDriveTempWindowsWinSxSManifests_
lea rcx, [rbp - 0x40]
call fcn.140004b20
nop
lea rcx, [rbp + 0x29c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x140002bd1
lea rdx, [rbp + 0x29c]
mov rcx, rax
call fcn.1400054c0
movups xmm0, xmmword [rax]
movups xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
or r14d, 2
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140002c58
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003029
call fcn.14000dc5c
movups xmm0, xmmword [rbp]
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm1
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140002ca0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003030
call fcn.14000dc5c
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8d, 1
lea rcx, [rbp + 0x170]
call fcn.1400051a0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
je 0x140002ce7
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140002cf5
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov r8d, 0x2000
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x170]
call fcn.1400050f0
test rax, rax
jne 0x140002d42
mov rax, qword [rbp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x160]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rax, [rbp + 0x4c0]
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rax + rdi], 0
jne 0x140002d50
mov rax, qword [rbp - 8]
cmp rdi, rax
ja 0x140002d8b
lea rbx, [rbp - 0x20]
cmp rax, 0x10
cmovae rbx, qword [rbp - 0x20]
mov qword [rbp - 0x10], rdi
mov r8, rdi
lea rdx, [rbp + 0x4c0]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + rdi], 0
jmp 0x140002d9e
lea r9, [rbp + 0x4c0]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.140005b30
mov rbx, r13
cmp qword [0x140016090], 0x10
cmovae rbx, qword [0x140016078]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
or r14d, 4
mov dword [rsp + 0x40], r14d
lea rcx, [rbp]
call fcn.140004cd0
nop
mov rdx, rbx
lea rcx, [rbp - 0x40]
call fcn.140004cd0
nop
lea r9, [rbp]
cmp qword [rbp + 0x18], 0x10
setae r10b
cmovae r9, qword [rbp]
add r9, qword [rbp + 0x10]
lea r8, [rbp]
test r10b, r10b
cmovne r8, qword [rbp]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x130]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x48]
call fcn.1400069c0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 0x10
jb 0x140002e7a
inc rdx
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002e74
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003037
call fcn.14000dc5c
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 0x10
jb 0x140002eb5
inc rdx
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eb0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000303e
call fcn.14000dc5c
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140002ef0
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002eeb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003045
call fcn.14000dc5c
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbp - 0x10], xmm1
and r14d, 0xfffffffb
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rdx, qword [rbp - 0x80]
mov r8d, 2
lea rcx, [rbp + 0x28]
call fcn.1400051a0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
je 0x140002f44
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x140002f52
add rcx, rax
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x10]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp + 0x28]
call fcn.1400050f0
test rax, rax
jne 0x140002f98
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
lea rdx, [rbp + 0x270]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140002ab0
lea rcx, [rbp + 0x130]
call fcn.140004f80
mov rcx, qword [rbp + 0x150]
test rcx, rcx
je 0x140002fe2
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x140002fe2
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140003051
inc rdx
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000304c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000304c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000dc5c
mov qword [rbp - 0x10], r12
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], 0
lea rcx, [rbp + 0x160]
call fcn.140003270
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x1400030b1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400030ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400030ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dc5c
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], 7
mov word [rbp - 0x80], r12w
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x140003105
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003100
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003100
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000dc5c
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r12w
lea rcx, [rbp + 0x20]
call fcn.1400031b0
nop
mov rdx, qword [r15 + 0x18]
cmp rdx, 8
jb 0x14000315b
lea rdx, [rdx*2 + 2]
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140003156
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000319b
mov rcx, r8
call fcn.14000dc5c
mov qword [r15 + 0x10], r12
mov qword [r15 + 0x18], 7
mov word [r15], r12w
mov rcx, qword [rbp + 0x24c0]
xor rcx, rsp
call fcn.14000d9b0
lea r11, [rsp + 0x25d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3