Function at 0x1402b32a0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x420
mov qword [rsp + 0x160], 0xfffffffffffffffe
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, r8
mov qword [rsp + 0x68], rbx
mov r13, rdx
mov qword [rsp + 0x88], rdx
mov r15, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rdx
call fcn.1400550c0
mov r10, qword [rax + 8]
xor edi, edi
cmp dword [r10], 4
jbe 0x1402b3436
lea rax, str.started_execution
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x338], MsiGetActiveDatabase
lea rax, [r15 + 8]
cmp qword [rax + 0x18], 8
jb 0x1402b333a
mov rax, qword [rax]
lea r15, [0x1403cb630]
mov rdx, r15
mov rcx, rdi
or rsi, 0xffffffffffffffff
test rax, rax
je 0x1402b335f
mov rdx, rax
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], di
jne 0x1402b3356
mov qword [rsp + 0x340], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x348], eax
mov dword [rsp + 0x34c], edi
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x1402b338a
mov rcx, qword [r13]
mov rdx, r15
mov rax, rdi
test rcx, rcx
je 0x1402b33a4
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402b339b
mov qword [rsp + 0x350], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x358], eax
mov dword [rsp + 0x35c], edi
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402b33ce
mov rcx, qword [rbx]
mov rdx, r15
mov rax, rdi
test rcx, rcx
je 0x1402b33e8
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402b33df
mov qword [rsp + 0x360], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x368], eax
mov dword [rsp + 0x36c], edi
lea rax, [rsp + 0x310]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048924d]
mov rcx, r10
call fcn.140001208
mov r15, qword [rsp + 0x78]
jmp 0x1402b343a
or rsi, 0xffffffffffffffff
call fcn.140061d0c
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.1401f3e34
nop
mov r14, qword [rsp + 0x40]
test r14, r14
jne 0x1402b34cb
mov rcx, qword [rsp + 0x458]
mov r14d, 0x80004003
mov r9d, r14d
lea r8, str.amcorewcd_sourcecommands_adapters_src_restrictexecutionadapter.cpp
mov edx, 0x28
call fcn.14004e0b4
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402b34c3
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1402b34c3
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b34c3
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx + 8]
mov rcx, rdx
call qword [str.p76_]
mov eax, r14d
jmp 0x1402b46e3
add r15, 8
mov r8, r13
mov rdx, r15
lea rcx, [rsp + 0x50]
call fcn.1401e790c
nop
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x68], 2
mov rax, qword [r14]
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov rbx, qword [rsp + 0x58]
mov r12d, 1
test rbx, rbx
je 0x1402b3517
lock add dword [rbx + 8], r12d
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0xc0], xmm0
lea rdx, [rsp + 0xc0]
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [str.p76_]
nop
mov dword [rsp + 0xd0], edi
lea r14, [0x140548da0]
mov r8, r14
lea rdx, [0x1400723a0]
lea rcx, [0x140548db0]
call qword [sym.imp.msvcp_win.dll_int___cdecl_std::_Execute_once_struct_std::once_flag____ptr64__int____cdecl___void____ptr64__void____ptr64__void____ptr64____ptr64___void____ptr64_]
nop dword [rax + rax]
test eax, eax
jne 0x1402b3577
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_terminate]
nop dword [rax + rax]
int3
mov qword [rsp + 0xd8], r14
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14019bba4
nop
cmp dword [rsp + 0xd0], edi
jle 0x1402b36fa
mov dword [rsp + 0x30], 0x80070057
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x1f8], xmm0
mov word [rsp + 0x1e8], di
lea rdx, str.Parsing_the_JSON_configuration_parameters_string_has_failed_since_the_JSON_string_is_not_valid
lea rcx, [rsp + 0x1e8]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xe0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b35ff
lock add dword [r14 + 8], r12d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0x1e8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x1e8]
call fcn.140055f70
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b366a
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b36b0
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b36ab
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b36ab
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b36f2
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x1402b36f2
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b36f2
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r15d
jmp 0x1402b46e3
lea rdx, [0x1405446f0]
lea rcx, [rsp + 0x60]
call fcn.140196c80
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [str.p76_]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14005da24
nop
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x90]
call fcn.140347dd4
nop
lea rdx, [0x140544730]
lea rcx, [rsp + 0x168]
call fcn.14005da24
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [0x140544710]
mov rax, qword [rax + 8]
call qword [str.p76_]
test al, al
je 0x1402b37ab
lea rdx, [0x140544710]
lea rcx, [rsp + 0x60]
call fcn.140196c80
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [str.p76_]
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.14006fe84
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x198], xmm0
mov word [rsp + 0x188], di
lea rax, [0x1405472f0]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rax, qword [0x1405472f0]
mov r9, r15
cmp qword [r15 + 0x18], 8
jb 0x1402b37e8
mov r9, qword [r15]
mov rcx, qword [r15 + 0x10]
cmp rcx, qword [0x140547300]
jne 0x1402b3834
test rcx, rcx
je 0x1402b3969
movzx edx, word [r9]
movzx r8d, word [rax]
cmp dx, r8w
jb 0x1402b3834
sub r9, rax
cmp dx, r8w
ja 0x1402b3834
cmp rcx, r12
je 0x1402b3969
sub rcx, r12
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x1402b3813
lea rcx, [rsp + 0x188]
call fcn.140351324
test eax, eax
jns 0x1402b3a3d
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x218], xmm0
mov word [rsp + 0x208], di
lea rdx, str.Failed_to_get_policy_path
lea rcx, [rsp + 0x208]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b38ba
lock add dword [r14 + 8], r12d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0x208]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x208]
call fcn.140055f70
mov r15d, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1402b3981
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402b397b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b397b
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x188]
call fcn.14035155c
jmp 0x1402b3841
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b39ad
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b39f3
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b39ee
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b39ee
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b3a35
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x1402b3a35
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b3a35
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r15d
jmp 0x1402b46e3
mov dl, r12b
lea rcx, [rsp + 0x188]
call fcn.1402b5c9c
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402b3c1d
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x238], xmm0
mov word [rsp + 0x228], di
lea rdx, str.Failed_to_create_policy_path
lea rcx, [rsp + 0x228]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b3aac
lock add dword [r14 + 8], r12d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x100], xmm0
lea rax, [rsp + 0x228]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x228]
call fcn.140055f70
mov r15d, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1402b3b61
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402b3b5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b3b5b
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b3b8d
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b3bd3
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b3bce
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b3bce
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b3c15
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x1402b3c15
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b3c15
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r15d
jmp 0x1402b46e3
mov qword [rsp + 0x80], rdi
lea r8, [0x1403ce9d8]
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x2e8]
call fcn.140067914
nop
lea rdx, [rsp + 0x168]
cmp qword [rsp + 0x180], 8
cmovae rdx, qword [rsp + 0x168]
mov r8, qword [rsp + 0x178]
mov rcx, rax
call fcn.140068814
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x258], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x248], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x258], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x248]
call fcn.1402b6640
nop
lea rcx, [rsp + 0x248]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2e8]
call fcn.140055f70
mov rcx, qword [rsp + 0x80]
cmp rcx, rsi
jne 0x1402b3ee1
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x278], xmm0
mov word [rsp + 0x268], di
lea rdx, str.Failed_to_create_policy_file
lea rcx, [rsp + 0x268]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x110], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b3d51
lock add dword [r14 + 8], r12d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x110], xmm0
lea rax, [rsp + 0x268]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x268]
call fcn.140055f70
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402b3dbd
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x1402b3e25
mov rdx, qword [rsp + 0xa0]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1402b3e1f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b3e1f
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b3e51
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b3e97
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b3e92
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b3e92
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402b3ed9
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x1402b3ed9
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b3ed9
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r15d
jmp 0x1402b46e3
mov dword [rsp + 0x70], edi
mov r13, qword [rsp + 0x98]
mov r14, qword [rsp + 0x90]
sub r13, r14
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, r13d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x1402b44c4
cmp dword [rsp + 0x70], r13d
jne 0x1402b44c4
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402b3f45
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
lea r9, [0x1405472f0]
cmovae r9, qword [0x1405472f0]
mov r8, r15
cmp qword [r15 + 0x18], 8
jb 0x1402b3f69
mov r8, qword [r15]
mov rax, qword [r15 + 0x10]
cmp rax, qword [0x140547300]
jne 0x1402b421d
test rax, rax
je 0x1402b3fbb
movzx ecx, word [r8]
movzx edx, word [r9]
cmp cx, dx
jb 0x1402b421d
sub r8, r9
cmp cx, dx
ja 0x1402b421d
cmp rax, r12
je 0x1402b3fbb
sub rax, r12
add r9, 2
movzx ecx, word [r9 + r8]
movzx edx, word [r9]
cmp cx, dx
jae 0x1402b3f96
jmp 0x1402b421d
lea rcx, [rsp + 0x168]
call fcn.140350c58
mov dword [rsp + 0x30], eax
test eax, eax
js 0x1402b422e
mov ecx, 0x66
call fcn.140351794
mov dword [rsp + 0x30], eax
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x1402b404b
lea rax, str.SendToastNotification_returned
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], 0x1f
lea rax, [rsp + 0x30]
mov qword [rsp + 0x400], rax
mov qword [rsp + 0x408], 4
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404896c3]
call fcn.140001208
cmp dword [rsp + 0x30], edi
jge 0x1402b422e
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x298], xmm0
mov word [rsp + 0x288], di
lea rdx, [0x1403cb630]
lea rcx, [rsp + 0x288]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x120], xmm0
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1402b40b0
lock add dword [r15 + 8], r12d
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x90]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x120], xmm0
lea rax, [rsp + 0x288]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, 0x802a0001
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x288]
call fcn.140055f70
nop
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
test r14, r14
je 0x1402b4162
mov rdx, qword [rsp + 0xa0]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x1402b4159
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b4159
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rcx, r14
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b418e
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b41d4
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b41cf
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b41cf
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1402b4216
mov eax, esi
lock xadd dword [r15 + 8], eax
add eax, esi
jne 0x1402b4216
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b4216
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
xor eax, eax
jmp 0x1402b46e3
lea rcx, [rsp + 0x168]
call fcn.140350d70
mov dword [rsp + 0x30], eax
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x1402b4364
lea rax, str.finished_execution
mov qword [rsp + 0x390], rax
mov qword [rsp + 0x398], reloc.OLEAUT32.dll_SafeArrayGetLBound
cmp qword [r15 + 0x18], 8
jb 0x1402b4266
mov r15, qword [r15]
lea r8, [0x1403cb630]
mov rcx, r8
mov rax, rdi
test r15, r15
je 0x1402b4288
mov rcx, r15
mov rax, rsi
inc rax
cmp word [r15 + rax*2], di
jne 0x1402b427e
mov qword [rsp + 0x3a0], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x3a8], eax
mov dword [rsp + 0x3ac], edi
mov r13, qword [rsp + 0x88]
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x1402b42bb
mov rcx, qword [r13]
mov rdx, r8
mov rax, rdi
test rcx, rcx
je 0x1402b42d5
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402b42cc
mov qword [rsp + 0x3b0], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x3b8], eax
mov dword [rsp + 0x3bc], edi
mov rdx, qword [rsp + 0x68]
cmp qword [rdx + 0x18], 8
jb 0x1402b4301
mov rdx, qword [rdx]
mov rcx, r8
mov rax, rdi
test rdx, rdx
je 0x1402b431b
mov rcx, rdx
mov rax, rsi
inc rax
cmp word [rdx + rax*2], di
jne 0x1402b4312
mov qword [rsp + 0x3c0], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x3c8], eax
mov dword [rsp + 0x3cc], edi
lea rax, [rsp + 0x370]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048917f]
mov rcx, r10
call fcn.140001208
jmp 0x1402b436c
mov r13, qword [rsp + 0x88]
mov ebx, 0xfffffffe
mov eax, 3
cmp dword [rsp + 0x30], edi
cmovge ebx, eax
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x2b8], xmm0
mov word [rsp + 0x2a8], di
lea rdx, [0x1403cb630]
lea rcx, [rsp + 0x2a8]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1402b43ce
lock add dword [rax + 8], r12d
mov r14, qword [rsp + 0x90]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x130], xmm0
lea rax, [rsp + 0x2a8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], bl
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x2a8]
call fcn.140055f70
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
test r14, r14
je 0x1402b447c
mov rdx, qword [rsp + 0xa0]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x1402b4473
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b4473
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rcx, r14
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b44a8
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x50]
call fcn.1400538d0
nop
lea rcx, [rsp + 0x40]
call fcn.1400538d0
mov eax, ebx
jmp 0x1402b46e3
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x2d8], xmm0
mov word [rsp + 0x2c8], di
lea rdx, str.Failed_to_write_policy_content_to_file
lea rcx, [rsp + 0x2c8]
call fcn.140055574
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x140], xmm0
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1402b453d
lock add dword [r15 + 8], r12d
mov r15, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r14, qword [rsp + 0x90]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x140], xmm0
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, qword [rsp + 0x88]
lea rdx, [rsp + 0x140]
mov rcx, qword [rsp + 0x78]
call fcn.1402b470c
nop
lea rcx, [rsp + 0x2c8]
call fcn.140055f70
mov r13d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402b45ae
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x188]
call fcn.140055f70
nop
lea rcx, [rsp + 0x168]
call fcn.140055f70
nop
test r14, r14
je 0x1402b4611
mov rdx, qword [rsp + 0xa0]
sub rdx, r14
mov rax, r14
cmp rdx, 0x1000
jb 0x1402b4608
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1402b4608
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rcx, r14
call fcn.140356b5c
nop
lea rcx, [rsp + 0x1a8]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1402b463d
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
test rbx, rbx
je 0x1402b4683
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402b467e
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x1402b467e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
mov r15, qword [rsp + 0x48]
test r15, r15
je 0x1402b46c5
mov eax, esi
lock xadd dword [r15 + 8], eax
add eax, esi
jne 0x1402b46c5
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.p76_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402b46c5
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r13d
jmp 0x1402b46e3
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140356560
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret