Function at 0x14025bab0
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 [0x14044e770]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rbx, r8
mov qword [rsp + 0x68], rbx
mov r15, rdx
mov qword [rsp + 0x88], rdx
mov r13, rcx
mov qword [rsp + 0x78], rcx
mov qword [rsp + 0xb0], rcx
mov qword [rsp + 0xa8], rdx
call fcn.14004acb4
mov r10, qword [rax + 8]
xor edi, edi
cmp dword [r10], 4
jbe 0x14025bc40
lea rax, str.started_execution
mov qword [rsp + 0x330], rax
mov qword [rsp + 0x338], 0x24
lea rax, [r13 + 8]
cmp qword [rax + 0x18], 8
jb 0x14025bb4a
mov rax, qword [rax]
lea r12, [0x14030cae0]
mov rdx, r12
mov rcx, rdi
or rsi, 0xffffffffffffffff
test rax, rax
je 0x14025bb6f
mov rdx, rax
mov rcx, rsi
inc rcx
cmp word [rax + rcx*2], di
jne 0x14025bb66
mov qword [rsp + 0x340], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x348], eax
mov dword [rsp + 0x34c], edi
mov rcx, r15
cmp qword [r15 + 0x18], 8
jb 0x14025bb99
mov rcx, qword [r15]
mov rdx, r12
mov rax, rdi
test rcx, rcx
je 0x14025bbb3
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x14025bbaa
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 0x14025bbdd
mov rcx, qword [rbx]
mov rdx, r12
mov rax, rdi
test rcx, rcx
je 0x14025bbf7
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x14025bbee
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, [0x1403a1e59]
mov rcx, r10
call fcn.140001158
jmp 0x14025bc44
or rsi, 0xffffffffffffffff
call fcn.140053d18
mov rcx, rax
lea rdx, [rsp + 0x40]
call fcn.1401c5354
nop
mov r14, qword [rsp + 0x40]
test r14, r14
jne 0x14025bcd5
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.1400449f8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14025bccd
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x14025bccd
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025bccd
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rdx]
mov rax, qword [rcx + 8]
mov rcx, rdx
call qword [str.PM_]
mov eax, r14d
jmp 0x14025cc93
add r13, 8
mov r8, r15
mov rdx, r13
lea rcx, [rsp + 0x50]
call fcn.1401af600
nop
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x58], 2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xc0], xmm0
mov rbx, qword [rsp + 0x58]
mov r12d, 1
test rbx, rbx
je 0x14025bd1e
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
mov rax, qword [r14]
lea rdx, [rsp + 0xc0]
mov rcx, r14
mov rax, qword [rax + 0x30]
call qword [str.PM_]
nop
mov dword [rsp + 0xd0], edi
lea r14, [0x14044f520]
mov r8, r14
lea rdx, [0x140063f20]
lea rcx, [0x14044f530]
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 0x14025bd75
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o_terminate]
int3
mov qword [rsp + 0xd8], r14
lea r8, [rsp + 0xd0]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x60]
call fcn.14017269c
nop
cmp dword [rsp + 0xd0], edi
jle 0x14025bedf
mov dword [rsp + 0x30], 0x80070057
lea rdx, str.Parsing_the_JSON_configuration_parameters_string_has_failed_since_the_JSON_string_is_not_valid
lea rcx, [rsp + 0x1e8]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xe0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025bde4
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, r15
lea rdx, [rsp + 0xe0]
mov rcx, qword [rsp + 0x78]
call fcn.14025ccb8
nop
lea rcx, [rsp + 0x1e8]
call fcn.14004b500
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025be4f
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025be95
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14025be90
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14025be90
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025bed7
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14025bed7
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025bed7
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.PM_]
mov eax, r15d
jmp 0x14025cc93
lea rdx, [0x140466838]
lea rcx, [rsp + 0x60]
call fcn.14016d744
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [str.PM_]
mov rdx, rax
lea rcx, [rsp + 0x1a8]
call fcn.14004a36c
nop
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0x90]
call fcn.1402a276c
nop
lea rdx, [0x140466878]
lea rcx, [rsp + 0x168]
call fcn.14004a36c
nop
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [0x140466858]
mov rax, qword [rax + 8]
call qword [str.PM_]
test al, al
je 0x14025bf90
lea rdx, [0x140466858]
lea rcx, [rsp + 0x60]
call fcn.14016d744
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0xb0]
call qword [str.PM_]
mov rdx, rax
lea rcx, [rsp + 0x168]
call fcn.140061d90
movdqa xmm0, xmmword [0x14034f9a0]
movdqu xmmword [rsp + 0x198], xmm0
mov word [rsp + 0x188], di
lea rax, [0x14046c1e0]
cmp qword [0x14046c1f8], 8
cmovae rax, qword [0x14046c1e0]
mov rdx, r13
cmp qword [r13 + 0x18], 8
jb 0x14025bfce
mov rdx, qword [r13]
mov rcx, qword [r13 + 0x10]
cmp rcx, qword [0x14046c1f0]
jne 0x14025c01a
test rcx, rcx
je 0x14025bffb
sub rdx, rax
movzx r8d, word [rax + rdx]
movzx r9d, word [rax]
cmp r8w, r9w
jne 0x14025c010
add rax, 2
sub rcx, r12
jne 0x14025bfe3
mov eax, edi
test eax, eax
jne 0x14025c01a
lea rcx, [rsp + 0x188]
call fcn.1402ab3e0
jmp 0x14025c027
sbb eax, eax
and eax, 0xfffffffe
add eax, r12d
jmp 0x14025bffd
lea rcx, [rsp + 0x188]
call fcn.1402ab170
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14025c1f5
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
lea rdx, str.Failed_to_get_policy_path
lea rcx, [rsp + 0x208]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xf0], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c085
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, r15
lea rdx, [rsp + 0xf0]
mov rcx, qword [rsp + 0x78]
call fcn.14025ccb8
nop
lea rcx, [rsp + 0x208]
call fcn.14004b500
mov r15d, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14025c139
mov rax, qword [rsp + 0xa0]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x14025c133
test dl, 0x1f
jne 0x14025c12c
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x14025c12c
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x14025c133
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025c165
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025c1ab
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14025c1a6
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14025c1a6
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c1ed
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14025c1ed
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025c1ed
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.PM_]
mov eax, r15d
jmp 0x14025cc93
mov dl, r12b
lea rcx, [rsp + 0x188]
call fcn.14025e170
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x14025c3bb
lea rdx, str.Failed_to_create_policy_path
lea rcx, [rsp + 0x228]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x100], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c24b
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, r15
lea rdx, [rsp + 0x100]
mov rcx, qword [rsp + 0x78]
call fcn.14025ccb8
nop
lea rcx, [rsp + 0x228]
call fcn.14004b500
mov r15d, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14025c2ff
mov rax, qword [rsp + 0xa0]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x14025c2f9
test dl, 0x1f
jne 0x14025c2f2
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x14025c2f2
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x14025c2f9
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025c32b
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025c371
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14025c36c
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14025c36c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c3b3
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14025c3b3
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025c3b3
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.PM_]
mov eax, r15d
jmp 0x14025cc93
mov qword [rsp + 0x80], rdi
lea r8, [0x14030f790]
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0x2e8]
call fcn.14005a2a0
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.14005b1c8
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x1d8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1c8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1d8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x1c8]
call fcn.14025eac4
nop
lea rcx, [rsp + 0x1c8]
call fcn.14004b500
nop
lea rcx, [rsp + 0x2e8]
call fcn.14004b500
mov rcx, qword [rsp + 0x80]
cmp rcx, rsi
jne 0x14025c659
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
lea rdx, str.Failed_to_create_policy_file
lea rcx, [rsp + 0x248]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x110], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c4d0
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 + 0x248]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0xfe
mov r9d, dword [rsp + 0x30]
mov r8, r15
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x78]
call fcn.14025ccb8
nop
lea rcx, [rsp + 0x248]
call fcn.14004b500
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14025c536
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x14025c59d
mov rax, qword [rsp + 0xa0]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x14025c597
test dl, 0x1f
jne 0x14025c590
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x14025c590
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x14025c597
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025c5c9
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025c60f
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14025c60a
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14025c60a
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025c651
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14025c651
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025c651
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.PM_]
mov eax, r15d
jmp 0x14025cc93
mov dword [rsp + 0x70], edi
mov r14, qword [rsp + 0x98]
mov r15, qword [rsp + 0x90]
sub r14, r15
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x14025ca9a
cmp dword [rsp + 0x70], r14d
jne 0x14025ca9a
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14025c6b1
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
lea rdx, [0x14046c1e0]
mov rcx, r13
call fcn.14005e398
lea rcx, [rsp + 0x168]
test al, al
je 0x14025c853
call fcn.1402aaaf4
mov dword [rsp + 0x30], eax
test eax, eax
js 0x14025c85c
mov ecx, 0x66
call fcn.1402ab650
mov dword [rsp + 0x30], eax
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 4
jbe 0x14025c758
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, [0x1403a1e2e]
call fcn.140001158
cmp dword [rsp + 0x30], edi
jge 0x14025c85c
lea rdx, [0x14030cae0]
lea rcx, [rsp + 0x268]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x120], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14025c792
lock add dword [rax + 8], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x120], xmm0
lea rax, [rsp + 0x268]
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.14025ccb8
nop
lea rcx, [rsp + 0x268]
call fcn.14004b500
nop
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
lea rcx, [rsp + 0x90]
call fcn.140064294
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025c837
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
lea rcx, [rsp + 0x50]
call fcn.140049a10
nop
lea rcx, [rsp + 0x40]
call fcn.140049a10
xor eax, eax
jmp 0x14025cc93
call fcn.1402aac08
mov dword [rsp + 0x30], eax
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14025c994
lea rax, str.finished_execution
mov qword [rsp + 0x390], rax
mov qword [rsp + 0x398], reloc.OLEAUT32.dll_SafeArrayGetLBound
cmp qword [r13 + 0x18], 8
jb 0x14025c895
mov r13, qword [r13]
lea r8, [0x14030cae0]
mov rcx, r8
mov rax, rdi
test r13, r13
je 0x14025c8b8
mov rcx, r13
mov rax, rsi
inc rax
cmp word [r13 + rax*2], di
jne 0x14025c8ad
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 0x14025c8eb
mov rcx, qword [r13]
mov rdx, r8
mov rax, rdi
test rcx, rcx
je 0x14025c905
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x14025c8fc
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 0x14025c931
mov rdx, qword [rdx]
mov rcx, r8
mov rax, rdi
test rdx, rdx
je 0x14025c94b
mov rcx, rdx
mov rax, rsi
inc rax
cmp word [rdx + rax*2], di
jne 0x14025c942
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, [0x1403a194f]
mov rcx, r10
call fcn.140001158
jmp 0x14025c99c
mov r13, qword [rsp + 0x88]
mov ebx, 0xfffffffe
mov eax, 3
cmp dword [rsp + 0x30], edi
cmovge ebx, eax
lea rdx, [0x14030cae0]
lea rcx, [rsp + 0x288]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14025c9dd
lock add dword [rax + 8], r12d
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x130], xmm0
lea rax, [rsp + 0x288]
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.14025ccb8
nop
lea rcx, [rsp + 0x288]
call fcn.14004b500
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
lea rcx, [rsp + 0x90]
call fcn.140064294
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025ca7e
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
lea rcx, [rsp + 0x50]
call fcn.140049a10
nop
lea rcx, [rsp + 0x40]
call fcn.140049a10
mov eax, ebx
jmp 0x14025cc93
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
lea rdx, str.Failed_to_write_policy_content_to_file
lea rcx, [rsp + 0x2a8]
call fcn.14004a9e4
nop
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x140], xmm0
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025caf4
lock add dword [r14 + 8], r12d
mov r14, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov r15, qword [rsp + 0x90]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x140], xmm0
lea rax, [rsp + 0x2a8]
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.14025ccb8
nop
lea rcx, [rsp + 0x2a8]
call fcn.14004b500
mov r13d, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14025cb5f
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
lea rcx, [rsp + 0x188]
call fcn.14004b500
nop
lea rcx, [rsp + 0x168]
call fcn.14004b500
nop
test r15, r15
je 0x14025cbc1
mov rax, qword [rsp + 0xa0]
sub rax, r15
mov rcx, r15
cmp rax, 0x1000
jb 0x14025cbb8
test cl, 0x1f
jne 0x14025cbb1
mov r15, qword [r15 - 8]
cmp r15, rcx
jae 0x14025cbb1
sub rcx, r15
sub rcx, 8
cmp rcx, 0x1f
jbe 0x14025cbb8
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r15
call fcn.1402aed28
nop
lea rcx, [rsp + 0x1a8]
call fcn.14004b500
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14025cbed
mov rax, qword [rcx]
mov edx, r12d
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
test rbx, rbx
je 0x14025cc33
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x14025cc2e
mov rbx, qword [rsp + 0x58]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
add eax, esi
jne 0x14025cc2e
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PM_]
mov r14, qword [rsp + 0x48]
test r14, r14
je 0x14025cc75
mov eax, esi
lock xadd dword [r14 + 8], eax
add eax, esi
jne 0x14025cc75
mov rbx, qword [rsp + 0x48]
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax]
call qword [str.PM_]
mov ecx, esi
lock xadd dword [rbx + 0xc], ecx
add ecx, esi
jne 0x14025cc75
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.PM_]
mov eax, r13d
jmp 0x14025cc93
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1402ae860
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret