Function at 0x1402726d0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x410
mov qword [rsp + 0x150], 0xfffffffffffffffe
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov rbx, r8
mov qword [rsp + 0x58], rbx
mov r13, rdx
mov r15, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xa8], rcx
mov qword [rsp + 0xa0], rdx
call fcn.14004d8a4
mov r10, qword [rax + 8]
xor edi, edi
cmp dword [r10], 4
jbe 0x14027285e
lea rax, str.started_execution
mov qword [rsp + 0x320], rax
mov qword [rsp + 0x328], MsiGetActiveDatabase
lea rax, [r15 + 8]
cmp qword [rax + 0x18], 8
jb 0x140272762
mov rax, qword [rax]
lea r15, [0x140344690]
mov rdx, r15
mov rcx, rdi
or rsi, 0xffffffffffffffff
test rax, rax
je 0x140272787
mov rdx, rax
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], di
jne 0x14027277e
mov qword [rsp + 0x330], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x338], eax
mov dword [rsp + 0x33c], edi
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x1402727b2
mov rcx, qword [r13]
mov rdx, r15
mov rax, rdi
test rcx, rcx
je 0x1402727cc
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402727c3
mov qword [rsp + 0x340], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x348], eax
mov dword [rsp + 0x34c], edi
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1402727f6
mov rcx, qword [rbx]
mov rdx, r15
mov rax, rdi
test rcx, rcx
je 0x140272810
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x140272807
mov qword [rsp + 0x350], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x358], eax
mov dword [rsp + 0x35c], edi
lea rax, [rsp + 0x300]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e4516]
mov rcx, r10
call fcn.140001158
mov r15, qword [rsp + 0x78]
jmp 0x140272862
or rsi, 0xffffffffffffffff
call fcn.1400569d8
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1401d55b4
nop
mov r14, qword [rsp + 0x40]
test r14, r14
jne 0x1402728f3
mov rcx, qword [rsp + 0x448]
mov r14d, 0x80004003
mov r9d, r14d
lea r8, str.amcorewcd_sourcecommands_adapters_src_restrictexecutionadapter.cpp
mov edx, 0x28
call fcn.140047668
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1402728eb
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1402728eb
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402728eb
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx + 8]
mov rcx, rdx
call qword [case.0x140245398.0]
mov eax, r14d
jmp 0x1402738c7
lea r12, [r15 + 8]
mov r8, r13
mov rdx, r12
lea rcx, [rsp + 0x60]
call fcn.1401bf110
nop
mov rax, qword [rsp + 0x60]
mov byte [rax + 0x58], 2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
mov rbx, qword [rsp + 0x68]
mov r15d, 1
test rbx, rbx
je 0x14027293c
lock add dword [rbx + 8], r15d
mov r14, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0xb0], xmm0
mov rax, qword [r14]
lea rdx, [rsp + 0xb0]
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [case.0x140245398.0]
nop
mov dword [rsp + 0xc0], edi
lea r14, [0x1404a3b60]
mov r8, r14
lea rdx, [0x140067120]
lea rcx, [0x1404a3b70]
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_]
test eax, eax
jne 0x140272993
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_terminate]
int3
mov qword [rsp + 0xc8], r14
lea r8, [rsp + 0xc0]
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.14017e73c
nop
cmp dword [rsp + 0xc0], edi
jle 0x140272b16
mov dword [rsp + 0x30], 0x80070057
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x1e8], xmm0
mov word [rsp + 0x1d8], di
lea rdx, str.Parsing_the_JSON_configuration_parameters_string_has_failed_since_the_JSON_string_is_not_valid
lea rcx, [rsp + 0x1d8]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xd0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140272a1b
lock add dword [r14 + 8], r15d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xd0], xmm0
lea rax, [rsp + 0x1d8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfc
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x78]
call fcn.1402738ec
nop
lea rcx, [rsp + 0x1d8]
call fcn.14004e0f0
mov r12d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140272a86
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
test rbx, rbx
je 0x140272acc
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140272ac7
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140272ac7
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140272b0e
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x140272b0e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x140272b0e
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140245398.0]
mov eax, r12d
jmp 0x1402738c7
lea rdx, [0x1404a0640]
lea rcx, [rsp + 0x50]
call fcn.140179774
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [case.0x140245398.0]
mov rdx, rax
lea rcx, [rsp + 0x198]
call fcn.14004cf4c
nop
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x88]
call fcn.1402d35b8
nop
lea rdx, [0x1404a0680]
lea rcx, [rsp + 0x158]
call fcn.14004cf4c
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [0x1404a0660]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
test al, al
je 0x140272bc7
lea rdx, [0x1404a0660]
lea rcx, [rsp + 0x50]
call fcn.140179774
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [case.0x140245398.0]
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.140064f70
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x188], xmm0
mov word [rsp + 0x178], di
lea rax, [0x1404a2240]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rax, qword [0x1404a2240]
mov rdx, r12
cmp qword [r12 + 0x18], 8
jb 0x140272c06
mov rdx, qword [r12]
mov rcx, qword [r12 + 0x10]
cmp rcx, qword [0x1404a2250]
jne 0x140272c53
test rcx, rcx
je 0x140272c34
sub rdx, rax
movzx r8d, word [rdx + rax]
movzx r9d, word [rax]
cmp r8w, r9w
jne 0x140272c49
add rax, 2
sub rcx, r15
jne 0x140272c1c
mov eax, edi
test eax, eax
jne 0x140272c53
lea rcx, [rsp + 0x178]
call fcn.1402dc1e0
jmp 0x140272c60
sbb eax, eax
and eax, 0xfffffffe
add eax, r15d
jmp 0x140272c36
lea rcx, [rsp + 0x178]
call fcn.1402dbf54
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140272e47
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x208], xmm0
mov word [rsp + 0x1f8], di
lea rdx, str.Failed_to_get_policy_path
lea rcx, [rsp + 0x1f8]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xe0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140272cd7
lock add dword [r14 + 8], r15d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xe0], xmm0
lea rax, [rsp + 0x1f8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x78]
call fcn.1402738ec
nop
lea rcx, [rsp + 0x1f8]
call fcn.14004e0f0
mov r12d, dword [rsp + 0x30]
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140272d8b
mov rax, qword [rsp + 0x98]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x140272d85
test dl, 0x1f
jne 0x140272d7e
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140272d7e
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x140272d85
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402e0278
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140272db7
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
test rbx, rbx
je 0x140272dfd
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140272df8
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140272df8
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140272e3f
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x140272e3f
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x140272e3f
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140245398.0]
mov eax, r12d
jmp 0x1402738c7
mov dl, r15b
lea rcx, [rsp + 0x178]
call fcn.140274e38
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x140273026
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x228], xmm0
mov word [rsp + 0x218], di
lea rdx, str.Failed_to_create_policy_path
lea rcx, [rsp + 0x218]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140272eb6
lock add dword [r14 + 8], r15d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0xf0], xmm0
lea rax, [rsp + 0x218]
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.1402738ec
nop
lea rcx, [rsp + 0x218]
call fcn.14004e0f0
mov r12d, dword [rsp + 0x30]
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140272f6a
mov rax, qword [rsp + 0x98]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x140272f64
test dl, 0x1f
jne 0x140272f5d
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140272f5d
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x140272f64
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402e0278
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140272f96
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
test rbx, rbx
je 0x140272fdc
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x140272fd7
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x140272fd7
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14027301e
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14027301e
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14027301e
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140245398.0]
mov eax, r12d
jmp 0x1402738c7
mov qword [rsp + 0x80], rdi
lea r8, [0x140347380]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x2d8]
call fcn.14005d2c0
nop
lea rdx, [rsp + 0x158]
cmp qword [rsp + 0x170], 8
cmovae rdx, qword [rsp + 0x158]
mov r8, qword [rsp + 0x168]
mov rcx, rax
call fcn.14005e1e8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x248], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x238], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x248], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x238]
call fcn.14027578c
nop
lea rcx, [rsp + 0x238]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x2d8]
call fcn.14004e0f0
mov rcx, qword [rsp + 0x80]
cmp rcx, rsi
jne 0x1402732dd
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x268], xmm0
mov word [rsp + 0x258], di
lea rdx, str.Failed_to_create_policy_file
lea rcx, [rsp + 0x258]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x140273154
lock add dword [r14 + 8], r15d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x68]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x100], xmm0
lea rax, [rsp + 0x258]
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.1402738ec
nop
lea rcx, [rsp + 0x258]
call fcn.14004e0f0
mov r12d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402731ba
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x140273221
mov rax, qword [rsp + 0x98]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x14027321b
test dl, 0x1f
jne 0x140273214
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x140273214
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x14027321b
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402e0278
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14027324d
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
test rbx, rbx
je 0x140273293
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14027328e
mov rbx, qword [rsp + 0x68]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14027328e
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140245398.0]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x1402732d5
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x1402732d5
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [case.0x140245398.0]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x1402732d5
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [case.0x140245398.0]
mov eax, r12d
jmp 0x1402738c7
mov dword [rsp + 0x70], edi
mov r14, qword [rsp + 0x90]
mov rbx, qword [rsp + 0x88]
sub r14, rbx
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x140273739
cmp dword [rsp + 0x70], r14d
jne 0x140273739
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140273335
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, [0x1404a2240]
mov rcx, r12
call fcn.140061488
lea rcx, [rsp + 0x158]
test al, al
je 0x1402734eb
call fcn.1402db8d8
mov dword [rsp + 0x30], eax
test eax, eax
js 0x1402734f4
mov ecx, 0x66
call fcn.1402dc46c
mov dword [rsp + 0x30], eax
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x1402733dc
lea rax, str.SendToastNotification_returned
mov qword [rsp + 0x3e0], rax
mov qword [rsp + 0x3e8], reloc.Cabinet.dll_SetCompressorInformation
lea rax, [rsp + 0x30]
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], 4
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e4832]
call fcn.140001158
cmp dword [rsp + 0x30], edi
jge 0x1402734f4
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x288], xmm0
mov word [rsp + 0x278], di
lea rdx, [0x140344690]
lea rcx, [rsp + 0x278]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x110], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14027342f
lock add dword [rax + 8], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x110], xmm0
lea rax, [rsp + 0x278]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, 0x802a0001
mov r8, r13
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x78]
call fcn.1402738ec
nop
lea rcx, [rsp + 0x278]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x88]
call fcn.14006749c
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1402734cf
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
lea rcx, [rsp + 0x60]
call fcn.14004c5f0
nop
lea rcx, [rsp + 0x40]
call fcn.14004c5f0
xor eax, eax
jmp 0x1402738c7
call fcn.1402db9ec
mov dword [rsp + 0x30], eax
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x140273622
lea rax, str.finished_execution
mov qword [rsp + 0x380], rax
mov qword [rsp + 0x388], reloc.OLEAUT32.dll_SafeArrayGetLBound
cmp qword [r12 + 0x18], 8
jb 0x14027352e
mov r12, qword [r12]
lea r8, [0x140344690]
mov rcx, r8
mov rax, rdi
test r12, r12
je 0x140273550
mov rcx, r12
mov rax, rsi
inc rax
cmp word [r12 + rax*2], di
jne 0x140273546
mov qword [rsp + 0x390], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x398], eax
mov dword [rsp + 0x39c], edi
mov rcx, r13
cmp qword [r13 + 0x18], 8
jb 0x14027357b
mov rcx, qword [r13]
mov rdx, r8
mov rax, rdi
test rcx, rcx
je 0x140273595
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x14027358c
mov qword [rsp + 0x3a0], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x3a8], eax
mov dword [rsp + 0x3ac], edi
mov rdx, qword [rsp + 0x58]
cmp qword [rdx + 0x18], 8
jb 0x1402735c1
mov rdx, qword [rdx]
mov rcx, r8
mov rax, rdi
test rdx, rdx
je 0x1402735db
mov rcx, rdx
mov rax, rsi
inc rax
cmp word [rdx + rax*2], di
jne 0x1402735d2
mov qword [rsp + 0x3b0], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x3b8], eax
mov dword [rsp + 0x3bc], edi
lea rax, [rsp + 0x360]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e485d]
mov rcx, r10
call fcn.140001158
mov ebx, 0xfffffffe
mov eax, 3
cmp dword [rsp + 0x30], edi
cmovge ebx, eax
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x2a8], xmm0
mov word [rsp + 0x298], di
lea rdx, [0x140344690]
lea rcx, [rsp + 0x298]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x120], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14027367c
lock add dword [rax + 8], r15d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x120], xmm0
lea rax, [rsp + 0x298]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], bl
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x78]
call fcn.1402738ec
nop
lea rcx, [rsp + 0x298]
call fcn.14004e0f0
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x88]
call fcn.14006749c
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14027371d
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
lea rcx, [rsp + 0x60]
call fcn.14004c5f0
nop
lea rcx, [rsp + 0x40]
call fcn.14004c5f0
mov eax, ebx
jmp 0x1402738c7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x30], ecx
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rsp + 0x2c8], xmm0
mov word [rsp + 0x2b8], di
lea rdx, str.Failed_to_write_policy_content_to_file
lea rcx, [rsp + 0x2b8]
call fcn.14004d5c4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1402737a2
lock add dword [rax + 8], r15d
mov rbx, qword [rsp + 0x88]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x130], xmm0
lea rax, [rsp + 0x2b8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r13
lea rdx, [rsp + 0x130]
mov rcx, qword [rsp + 0x78]
call fcn.1402738ec
nop
lea rcx, [rsp + 0x2b8]
call fcn.14004e0f0
mov esi, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140273807
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rsp + 0x178]
call fcn.14004e0f0
nop
lea rcx, [rsp + 0x158]
call fcn.14004e0f0
nop
test rbx, rbx
je 0x140273869
mov rax, qword [rsp + 0x98]
sub rax, rbx
mov rcx, rbx
cmp rax, 0x1000
jb 0x140273860
test cl, 0x1f
jne 0x140273859
mov rbx, qword [rbx - 8]
cmp rbx, rcx
jae 0x140273859
sub rcx, rbx
sub rcx, 8
cmp rcx, 0x1f
jbe 0x140273860
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1402e0278
nop
lea rcx, [rsp + 0x198]
call fcn.14004e0f0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140273895
mov rax, qword [rcx]
mov edx, r15d
mov rax, qword [rax + 0xc0]
call qword [case.0x140245398.0]
nop
lea rcx, [rsp + 0x60]
call fcn.14004c5f0
nop
lea rcx, [rsp + 0x40]
call fcn.14004c5f0
mov eax, esi
jmp 0x1402738c7
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.1402dfdb0
add rsp, 0x410
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret