Function at 0x140003fe0
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 [0x140052010]
xor rax, rsp
mov qword [rbp + 0x210], rax
lea rcx, str.RestartService...
call fcn.1400011e0
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 ebx, ebx
mov qword [rbp - 0x38], rbx
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 0x14000406e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov qword [rbp - 0x38], rbx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x14004ade0]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rbp - 0x18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x140004297
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 0x1400042bb
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 0x140004268
mov dword [rbp - 0x40], 8
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x50], xmm0
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x80]
mov rcx, qword [0x140054cd0]
call qword [sym.imp.WINSPOOL.DRV_OpenPrinterW]
test eax, eax
jne 0x140004149
lea rdi, str.____Open_Error__d_n
jmp 0x140004187
lea rax, [0x14004a8e8]
mov qword [rbp - 0x58], rax
lea rax, [rbp]
mov qword [rbp - 0x60], rax
lea rax, [0x14004a8f0]
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 edi, eax
test eax, eax
jne 0x14000419c
lea rdi, str.____Make_Job_Error__d_n
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rdi
call fcn.1400011e0
jmp 0x140004232
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str.AppVTerminator.dll
lea rcx, [rbp]
call fcn.1400029d0
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000428c
mov rax, qword [rcx]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x50], rdx
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
lea rdx, str.xxx1
mov qword [rsp + 0x38], rdx
lea rdx, str.abc1
mov qword [rsp + 0x30], rdx
mov r9, qword [0x140054cd0]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r9
lea r8, [rbp]
mov edx, edi
call qword [rax + 0x18]
cmp eax, 0x800706be
jne 0x14000421e
lea rcx, str.Done_n
call fcn.1400011e0
jmp 0x14000422d
mov edx, dword [rbp - 0x20]
lea rcx, str.Failed_:_0x_x_n
call fcn.1400011e0
mov ebx, 1
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140004242
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
mov eax, ebx
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140011d30
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001840
lea rdx, [0x140050df8]
lea rcx, [rsp + 0x60]
call fcn.1400156ac
int3
mov ecx, 0x80004003
call fcn.140012ab0
int3
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001840
lea rdx, [0x140050df8]
lea rcx, [rsp + 0x60]
call fcn.1400156ac
int3
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, [rsp + 0x60]
call fcn.140001840
lea rdx, [0x140050df8]
lea rcx, [rsp + 0x60]
call fcn.1400156ac
int3