Function at 0x140003330
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x140016010]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rcx, str.RestartService...
call fcn.140001230
xor edx, edx
lea rcx, str.C:OneDriveTemp
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.C:OneDriveTemp
lea rdx, str._s_test.xml
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_wsprintfW]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edi, edi
mov qword [rbp - 0x38], rdi
lea rdx, [rbp - 0x18]
lea rcx, str.D54378CD_91D8_4E10_A00B_819F9A9EFCB1
call qword [sym.imp.ole32.dll_CLSIDFromString]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400033be
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [rbp - 0x38], rdi
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400109a0]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1400035f4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x2c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea r8, [rbp - 0x28]
lea rdx, [rbp - 0x24]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoQueryProxyBlanket]
test eax, eax
jne 0x140003618
mov eax, dword [rbp - 0x30]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 3
mov eax, dword [rbp - 0x2c]
mov dword [rsp + 0x20], eax
mov r9, qword [rbp - 0x70]
mov r8d, dword [rbp - 0x28]
mov edx, dword [rbp - 0x24]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jne 0x1400035c5
mov dword [rbp - 0x40], 8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x140016cb0]
call qword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
test eax, eax
jne 0x14000349f
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Open_Error__d_n
jmp 0x1400034e3
lea rax, [0x1400104f8]
mov qword [rbp - 0x58], rax
lea rax, [rbp]
mov qword [rbp - 0x60], rax
lea rax, [0x140010500]
mov qword [rbp - 0x68], rax
lea r8, [rbp - 0x68]
mov edx, 1
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.WINSPOOL.DRV_StartDocPrinterW]
mov ebx, eax
test eax, eax
jne 0x140003521
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Make_Job_Error__d_n
mov edx, eax
call fcn.140001230
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400034fb
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
xor eax, eax
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.14000d9b0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.AppVTerminator.dll
lea rcx, [rbp]
call fcn.140001ec0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400035e9
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x40], edi
lea rdx, str.xxx1
mov qword [rsp + 0x38], rdx
lea rdx, str.abc1
mov qword [rsp + 0x30], rdx
mov r9, qword [0x140016cb0]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
lea r8, [rbp]
mov edx, ebx
call qword [rax + 0x18]
cmp eax, 0x800706be
jne 0x1400035a0
mov edx, eax
lea rcx, str.Done_n
jmp 0x1400035aa
mov edx, dword [rbp - 0x20]
lea rcx, str.Failed_:_0x_x_n
call fcn.140001230
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400035c0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
jmp 0x1400034fd
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001830
lea rdx, [0x140013cd0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov ecx, 0x80004003
call fcn.14000e630
int3
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001830
lea rdx, [0x140013cd0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001830
lea rdx, [0x140013cd0]
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll__CxxThrowException
int3