Function at 0x1402a66b0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x8b0
mov qword [rsp + 0x200], 0xfffffffffffffffe
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x8a0], rax
mov r12, r8
mov qword [rsp + 0x98], r8
mov r14, rdx
mov qword [rsp + 0x1e0], rdx
mov r15, rcx
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x108], rdx
mov qword [rsp + 0x70], r8
lea rdx, [rcx + 8]
mov r8, r14
lea rcx, [rsp + 0x50]
call fcn.1401e790c
nop
mov rcx, qword [r15 + 0x30]
sub rcx, qword [r15 + 0x28]
movabs rax, 0xe38e38e38e38e39
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
jne 0x1402a68b6
mov dword [rsp + 0x30], 0x64a
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1402a6855
lea rax, [rsp + 0x30]
mov qword [rsp + 0x5f0], rax
mov qword [rsp + 0x5f8], 4
xor edi, edi
lea rax, str.DataCollection_adapter_failed_due_to_empty_list_of_collection_command
mov qword [rsp + 0x600], rax
mov qword [rsp + 0x608], 0x8c
cmp qword [r14 + 0x18], 8
jb 0x1402a67a5
mov r14, qword [r14]
lea rcx, [0x1403cb630]
mov rdx, rcx
mov rax, rdi
or rsi, 0xffffffffffffffff
test r14, r14
je 0x1402a67cb
mov rdx, r14
mov rax, rsi
inc rax
cmp word [r14 + rax*2], di
jne 0x1402a67c1
mov qword [rsp + 0x610], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x618], eax
mov dword [rsp + 0x61c], edi
cmp qword [r12 + 0x18], 8
jb 0x1402a67f4
mov r12, qword [r12]
mov rax, rdi
test r12, r12
je 0x1402a680c
mov rcx, r12
mov rax, rsi
inc rax
cmp word [r12 + rax*2], di
jne 0x1402a6802
mov qword [rsp + 0x620], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x628], eax
mov dword [rsp + 0x62c], edi
lea rax, [rsp + 0x5d0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488a8d]
mov rcx, r10
call fcn.140001208
jmp 0x1402a6859
or rsi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x90], eax
lea rcx, [rbx + 0x70]
lea rdx, [0x140544270]
call fcn.14006fe84
mov byte [rbx + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x110], xmm0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1402a689b
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x110], xmm0
lea rdx, [rsp + 0x110]
jmp 0x1402a7dfa
xor edi, edi
cmp qword [0x14055fc48], rdi
je 0x1402a7cd9
cmp qword [0x14055fc68], rdi
je 0x1402a7cd9
call fcn.1400550c0
mov r10, qword [rax + 8]
lea r13d, [rdi + 4]
cmp dword [r10], r13d
jbe 0x1402a69c4
lea rax, str.DataCollection_adapter_started
mov qword [rsp + 0x7b0], rax
mov qword [rsp + 0x7b8], 0x3e
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x1402a6910
mov rcx, qword [r14]
lea rbx, [0x1403cb630]
mov rdx, rbx
mov rax, rdi
or rsi, 0xffffffffffffffff
test rcx, rcx
je 0x1402a6935
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402a692c
mov qword [rsp + 0x7c0], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x7c8], eax
mov dword [rsp + 0x7cc], edi
mov rcx, r12
cmp qword [r12 + 0x18], 8
jb 0x1402a6961
mov rcx, qword [r12]
mov rdx, rbx
mov rax, rdi
test rcx, rcx
je 0x1402a697b
mov rdx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402a6972
mov qword [rsp + 0x7d0], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x7d8], eax
mov dword [rsp + 0x7dc], edi
lea rax, [rsp + 0x790]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488b03]
mov rcx, r10
call fcn.140001208
jmp 0x1402a69cf
lea rbx, [0x1403cb630]
or rsi, 0xffffffffffffffff
mov word [rsp + 0x78], di
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x258], xmm0
mov word [rsp + 0x248], di
lea r9, [rsp + 0x248]
lea r8, [rsp + 0x78]
mov rdx, r12
call fcn.1402a7fe4
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402a6a7a
mov rbx, qword [rsp + 0x50]
mov dword [rbx + 0x90], eax
lea rcx, [rbx + 0x70]
lea rdx, [0x1405442b0]
call fcn.14006fe84
mov byte [rbx + 0x68], 0xfc
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x120], xmm0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1402a6a48
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x120], xmm0
lea rdx, [rsp + 0x120]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x248]
call fcn.140055f70
jmp 0x1402a7e04
mov rax, qword [rsp + 0x50]
mov byte [rax + 0x68], 2
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x130], xmm0
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1402a6a9d
lock inc dword [rcx + 8]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x130], xmm0
lea rdx, [rsp + 0x130]
call fcn.1402a85e0
mov r8, r14
lea rdx, [r15 + 8]
lea rcx, [rsp + 0x40]
call fcn.1401e790c
nop
call fcn.1402840b4
test al, al
je 0x1402a6ba8
mov eax, 0x80070142
mov dword [rsp + 0x30], eax
mov rbx, qword [rsp + 0x40]
mov dword [rbx + 0x90], eax
lea rcx, [rbx + 0x70]
lea rdx, [0x140544310]
call fcn.14006fe84
mov byte [rbx + 0x68], 0xfb
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x140], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a6b1e
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x140], xmm0
lea rdx, [rsp + 0x140]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
test rbx, rbx
je 0x1402a6b80
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402a6b80
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 0x1402a6b80
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x248]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1402a7e45
mov eax, esi
lock xadd dword [rcx + 8], eax
jmp 0x1402a7e10
lea rcx, [rsp + 0x530]
call fcn.14023e64c
nop
mov r8d, SafeArrayGetDim
lea rdx, str.CollectedData_
mov rcx, rax
call fcn.140068814
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x298], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x288], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x298], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x530]
call fcn.140055f70
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x218], xmm0
mov word [rsp + 0x208], di
movdqu xmmword [rsp + 0x238], xmm0
mov word [rsp + 0x228], di
lea r9, [rsp + 0x228]
lea r8, [rsp + 0x208]
lea rdx, [rsp + 0x288]
call fcn.1402a8cf0
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402a6ce9
mov rbx, qword [rsp + 0x40]
mov dword [rbx + 0x90], eax
lea rcx, [rbx + 0x70]
lea rdx, [0x140544330]
call fcn.14006fe84
mov byte [rbx + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x150], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a6c9b
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x150], xmm0
lea rdx, [rsp + 0x150]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x228]
call fcn.140055f70
nop
lea rcx, [rsp + 0x208]
call fcn.140055f70
nop
lea rcx, [rsp + 0x288]
call fcn.140055f70
jmp 0x1402a6b3e
mov rcx, r15
call fcn.1402a9350
mov r15, qword [rsp + 0x40]
mov byte [r15 + 0x68], 3
mov dword [rsp + 0x64], edi
mov dword [rsp + 0x68], edi
lea r9, [r15 + 0xe8]
mov qword [rsp + 0xe8], r9
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 0x30]
sub rcx, qword [rax + 0x28]
movabs r10, 0xe38e38e38e38e39
mov rax, r10
imul rcx
mov r8, rdx
sar r8, 3
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
mov rcx, qword [r9 + 0x10]
sub rcx, qword [r9]
mov rax, r10
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jbe 0x1402a6d81
movabs rax, 0x1c71c71c71c71c7
cmp r8, rax
ja 0x1402a7e6b
mov rdx, r8
mov rcx, r9
call fcn.1402abc14
lea rcx, [rsp + 0x310]
call fcn.1402a984c
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb8], xmm0
mov qword [rsp + 0xc8], rdi
movdqu xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], rdi
mov qword [rsp + 0xa8], rdi
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x310]
call fcn.1402a99e0
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x278], xmm0
mov word [rsp + 0x268], di
lea rdx, [rsp + 0x268]
call fcn.1402aae10
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0xb0], rcx
cmp rax, rcx
je 0x1402a713c
mov r13, rax
lea r15, [rax + 0x20]
mov qword [rsp + 0x80], r15
mov r14, qword [rsp + 0x88]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], rdi
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xd0]
lea r8, [rsp + 0xb8]
mov rdx, r13
mov rcx, r14
call fcn.1402a9d6c
mov r12, qword [rsp + 0xf8]
cmp byte [r15 + 0x68], 1
mov r15, qword [rsp + 0xf0]
jne 0x1402a6faf
mov rax, r12
sub rax, r15
cmp rax, 0x40
jae 0x1402a6faf
mov rdx, r13
lea rcx, [rsp + 0x4a0]
call fcn.14008cc40
nop
mov r15, qword [rsp + 0x80]
mov rdx, r15
lea rcx, [rsp + 0x4c0]
call fcn.14008cc40
nop
mov byte [rsp + 0x4e0], 0xfe
lea rdx, [0x1405442f0]
lea rcx, [rsp + 0x4e8]
call fcn.14005da24
mov dword [rsp + 0x508], 0x8007000d
mov qword [rsp + 0x520], rdi
mov qword [rsp + 0x528], 7
mov word [rsp + 0x510], di
lea r8, [rsp + 0x4a0]
mov rdx, qword [rsp + 0xe8]
call fcn.1402a7eb0
inc dword [rsp + 0x68]
inc dword [rsp + 0x64]
mov qword [rsp + 0x20], r15
mov r9, r13
lea r8, [rsp + 0x4a0]
lea rdx, [rsp + 0x268]
call fcn.1402aabb0
nop
lea rcx, [rsp + 0x510]
call fcn.140055f70
lea rcx, [rsp + 0x4e8]
call fcn.140055f70
lea rcx, [rsp + 0x4c0]
call fcn.14007269c
lea rcx, [rsp + 0x4a0]
call fcn.14007269c
nop
lea rcx, [rsp + 0xf0]
call fcn.140065fa8
jmp 0x1402a7100
cmp r15, r12
je 0x1402a70eb
mov r14, qword [rsp + 0xe8]
mov qword [rsp + 0x3e0], rdi
mov eax, SafeArrayGetDim
mov qword [rsp + 0x3e8], rax
mov byte [rsp + 0x3d0], dil
mov qword [rsp + 0x400], rdi
mov qword [rsp + 0x408], rax
mov byte [rsp + 0x3f0], dil
mov byte [rsp + 0x410], sil
mov qword [rsp + 0x428], rdi
mov eax, 7
mov qword [rsp + 0x430], rax
mov word [rsp + 0x418], di
mov dword [rsp + 0x438], edi
mov qword [rsp + 0x450], rdi
mov qword [rsp + 0x458], rax
mov word [rsp + 0x440], di
lea r9, [r15 + 0x20]
lea rax, [rsp + 0x3d0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x208]
mov qword [rsp + 0x20], rax
mov r8, r15
mov rdx, r13
call fcn.1402aa030
inc dword [rsp + 0x68]
cmp byte [rsp + 0x410], 3
je 0x1402a7084
inc dword [rsp + 0x64]
lea r8, [rsp + 0x3d0]
mov rdx, r14
call fcn.1402a7eb0
mov qword [rsp + 0x20], r15
mov r9, r13
lea r8, [rsp + 0x3d0]
lea rdx, [rsp + 0x268]
call fcn.1402aabb0
nop
lea rcx, [rsp + 0x440]
call fcn.140055f70
lea rcx, [rsp + 0x418]
call fcn.140055f70
lea rcx, [rsp + 0x3f0]
call fcn.14007269c
lea rcx, [rsp + 0x3d0]
call fcn.14007269c
add r15, 0x40
cmp r15, r12
jne 0x1402a6fc0
mov r14, qword [rsp + 0x88]
lea rcx, [rsp + 0xf0]
call fcn.140065fa8
mov r15, qword [rsp + 0x80]
mov ecx, 0x90
add r13, rcx
add r15, rcx
mov qword [rsp + 0x80], r15
cmp r13, qword [rsp + 0xb0]
jne 0x1402a6e4c
mov r14, qword [rsp + 0x1e0]
mov r15, qword [rsp + 0x40]
mov r12, qword [rsp + 0x98]
mov r13d, 4
mov eax, dword [rsp + 0x64]
test eax, eax
je 0x1402a7331
cmp eax, dword [rsp + 0x68]
jne 0x1402a72ab
mov eax, 0x80004005
mov dword [rsp + 0x30], eax
mov dword [r15 + 0x90], eax
lea rcx, [r15 + 0x70]
lea rdx, [0x1405442f0]
call fcn.14006fe84
mov byte [r15 + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x160], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a7196
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x160], xmm0
lea rdx, [rsp + 0x160]
call fcn.1402a85e0
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402a7250
lea rax, [rsp + 0x30]
mov qword [rsp + 0x650], rax
mov qword [rsp + 0x658], 4
lea rax, str.all_commands_failed_____return
mov qword [rsp + 0x660], rax
mov qword [rsp + 0x668], 0x1f
lea rax, [rsp + 0x64]
mov qword [rsp + 0x670], rax
mov qword [rsp + 0x678], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x680], rax
mov qword [rsp + 0x688], 4
lea rax, [rsp + 0x630]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488950]
call fcn.140001208
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x268]
call fcn.140055f70
nop
lea rcx, [rsp + 0xd0]
call fcn.14005e188
nop
lea rcx, [rsp + 0xb8]
call fcn.14005e188
nop
lea rcx, [rsp + 0x350]
call fcn.140055f70
lea rcx, [rsp + 0x330]
call fcn.140055f70
lea rcx, [rsp + 0x310]
call fcn.140055f70
jmp 0x1402a6cbb
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x1402a732d
lea rax, str.part_of_commands_failed_____continue
mov qword [rsp + 0x710], rax
mov qword [rsp + 0x718], 0x25
lea rax, [rsp + 0x64]
mov qword [rsp + 0x720], rax
mov qword [rsp + 0x728], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x730], rax
mov qword [rsp + 0x738], 4
lea rax, [rsp + 0x6f0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404889b8]
call fcn.140001208
mov byte [r15 + 0x68], r13b
lea r8, [0x1403ce9d8]
lea rdx, [rsp + 0x208]
lea rcx, [rsp + 0x5b0]
call fcn.140067914
nop
lea rdx, [0x140544250]
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
cmovae rdx, qword [0x140544250]
mov r8, qword [0x140544260]
mov rcx, rax
call fcn.140068814
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x3c0], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x3b0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3c0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x5b0]
call fcn.140055f70
mov qword [rsp + 0x90], rdi
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x3b0]
call fcn.1402b6640
mov rcx, qword [rsp + 0x90]
cmp rcx, rsi
je 0x1402a75a1
lea rdx, [0x140403eb0]
lea rcx, [rsp + 0x370]
call fcn.140072838
nop
lea rdx, [rsp + 0x268]
lea rcx, [rsp + 0x550]
call fcn.14008cc40
nop
lea r8, [rsp + 0x370]
cmp qword [rsp + 0x388], 0x10
cmovae r8, qword [rsp + 0x370]
mov r9, qword [rsp + 0x380]
mov rcx, rax
call fcn.1400966c4
mov qword [rsp + 0x2b8], rdi
mov qword [rsp + 0x2c0], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x2a8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x2b8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], SafeArrayLock
mov byte [rax], dil
lea rcx, [rsp + 0x550]
call fcn.14007269c
mov dword [rsp + 0x7c], edi
mov rax, qword [rsp + 0x2b8]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x2a8]
cmp qword [rsp + 0x2c0], 0x10
cmovae rdx, qword [rsp + 0x2a8]
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x7c]
mov r8d, eax
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
je 0x1402a74de
mov rax, qword [rsp + 0x98]
cmp dword [rsp + 0x7c], eax
je 0x1402a757e
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x1402a757e
lea rax, str.Failed_to_write_content_to_file
mov qword [rsp + 0x800], rax
mov qword [rsp + 0x808], 0x20
cmp qword [reloc.OLEAUT32.dll_VariantInit], 8
lea rcx, [0x140544250]
cmovae rcx, qword [0x140544250]
mov rax, rdi
test rcx, rcx
je 0x1402a753a
mov rbx, rcx
mov rax, rsi
inc rax
cmp word [rcx + rax*2], di
jne 0x1402a7531
mov qword [rsp + 0x810], rbx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x818], eax
mov dword [rsp + 0x81c], edi
lea rax, [rsp + 0x7e0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488a14]
mov rcx, r10
call fcn.140001208
lea rcx, [rsp + 0x2a8]
call fcn.14007269c
nop
lea rcx, [rsp + 0x370]
call fcn.14007269c
mov rcx, qword [rsp + 0x90]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1402a75b8
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x3b0]
call fcn.140055f70
lea rdx, [rsp + 0x228]
lea rcx, [rsp + 0x208]
call fcn.14022ee38
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402a763d
mov dword [r15 + 0x90], eax
lea rcx, [r15 + 0x70]
lea rdx, [0x1405443d0]
call fcn.14006fe84
mov byte [r15 + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x170], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a761d
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x170], xmm0
lea rdx, [rsp + 0x170]
call fcn.1402a85e0
jmp 0x1402a7250
lea rcx, [rsp + 0x570]
call fcn.14023e64c
nop
mov r8d, DispGetParam
lea rdx, str.CompressedCollectedData_
mov rcx, rax
call fcn.140068814
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x2f8], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x2e8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x2f8], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
lea rcx, [rsp + 0x570]
call fcn.140055f70
mov dl, 1
lea rcx, [rsp + 0x2e8]
call fcn.1402b5c9c
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402a7723
mov dword [r15 + 0x90], eax
lea rcx, [r15 + 0x70]
lea rdx, [0x1405443f0]
call fcn.14006fe84
mov byte [r15 + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x180], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a76f1
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x180], xmm0
lea rdx, [rsp + 0x180]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x2e8]
call fcn.140055f70
jmp 0x1402a7255
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rsp + 0x2d8], xmm0
mov word [rsp + 0x2c8], di
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x190], xmm0
mov rbx, qword [rsp + 0x48]
test rbx, rbx
je 0x1402a7760
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x190], xmm0
lea rax, [rsp + 0x2c8]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x190]
lea r8, [rsp + 0x2e8]
lea rdx, [rsp + 0x228]
call fcn.1402aa6b4
mov dword [rsp + 0x30], eax
test eax, eax
jns 0x1402a7885
lea rcx, [rsp + 0x2c8]
call fcn.14022cf84
test eax, eax
je 0x1402a7839
call fcn.1400550c0
mov r14, qword [rax + 8]
cmp dword [r14], 2
jbe 0x1402a7839
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0xa0], eax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x840], rax
mov qword [rsp + 0x848], 4
lea rax, str.Failed_to_delete_data_collection_zip_after_AdjustPackageSize_has_failed
mov qword [rsp + 0x850], rax
mov qword [rsp + 0x858], 0x90
lea rax, [rsp + 0x820]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140481c8f]
mov rcx, r14
call fcn.140001208
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1a0], xmm0
test rbx, rbx
je 0x1402a7853
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x1a0], xmm0
lea rdx, [rsp + 0x1a0]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x2c8]
call fcn.140055f70
jmp 0x1402a7711
lea rdx, [rsp + 0x208]
call fcn.1402a91ec
lea rdx, [rsp + 0x228]
call fcn.1402a91ec
lea rcx, [rsp + 0x460]
call fcn.140282bf8
nop
lea rcx, [rsp + 0x590]
call fcn.1403490a8
nop
mov r9, rax
lea r8, [rsp + 0x248]
lea rdx, [rsp + 0x2c8]
lea rcx, [rsp + 0x460]
call fcn.140282dc0
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x590]
call fcn.140055f70
nop
jmp 0x1402a7910
mov eax, dword [rsp + 0x30]
test eax, eax
jns 0x1402a799e
mov dword [r15 + 0x90], eax
lea rcx, [r15 + 0x70]
lea rdx, [0x140544410]
call fcn.14006fe84
mov byte [r15 + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1b0], xmm0
test rbx, rbx
je 0x1402a7952
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x1b0], xmm0
lea rdx, [rsp + 0x1b0]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
lea rcx, [rsp + 0x460]
call fcn.1402845dc
lea rcx, [rsp + 0x480]
call fcn.1401fee5c
lea rcx, [rsp + 0x460]
call fcn.140055f70
jmp 0x1402a7873
lea rcx, [rsp + 0x2c8]
call fcn.14022cf84
test eax, eax
je 0x1402a7a39
call fcn.1400550c0
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
cmp dword [rax], 2
jbe 0x1402a7a39
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0xa4], eax
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x880], rax
mov qword [rsp + 0x888], 4
lea rax, str.Failed_to_delete_data_collection_zip_after_successful_uploading
mov qword [rsp + 0x890], rax
mov qword [rsp + 0x898], 0x80
lea rax, [rsp + 0x860]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140481c8f]
mov rcx, qword [rsp + 0x70]
call fcn.140001208
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1c0], xmm0
test rbx, rbx
je 0x1402a7a58
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x48]
mov r15, qword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x1c0], xmm0
lea rdx, [rsp + 0x1c0]
call fcn.1402a85e0
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], r13d
jbe 0x1402a7b7c
lea rax, str.DataCollection_adapter_finished
mov qword [rsp + 0x6b0], rax
mov qword [rsp + 0x6b8], 0x40
cmp qword [r14 + 0x18], 8
jb 0x1402a7aaa
mov r14, qword [r14]
lea rcx, [0x1403cb630]
mov rax, rdi
test r14, r14
je 0x1402a7ac9
mov rcx, r14
mov rax, rsi
inc rax
cmp word [r14 + rax*2], di
jne 0x1402a7abf
mov qword [rsp + 0x6c0], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x6c8], eax
mov dword [rsp + 0x6cc], edi
cmp qword [r12 + 0x18], 8
jb 0x1402a7af2
mov r12, qword [r12]
mov rcx, rdi
test r12, r12
je 0x1402a7b0c
mov rax, r12
mov rcx, rsi
inc rcx
cmp word [r12 + rcx*2], di
jne 0x1402a7b00
jmp 0x1402a7b13
lea rax, [0x1403cb630]
mov qword [rsp + 0x6d0], rax
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x6d8], eax
mov dword [rsp + 0x6dc], edi
mov al, byte [r15 + 0x68]
mov byte [rsp + 0x60], al
lea rax, [rsp + 0x60]
mov qword [rsp + 0x6e0], rax
mov qword [rsp + 0x6e8], 1
lea rax, [rsp + 0x690]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488912]
mov rcx, r10
call fcn.140001208
nop
lea rcx, [rsp + 0x460]
call fcn.1402845dc
lea rcx, [rsp + 0x480]
call fcn.1401fee5c
lea rcx, [rsp + 0x460]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2c8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x2e8]
call fcn.140055f70
nop
lea rcx, [rsp + 0x268]
call fcn.140055f70
nop
lea rcx, [rsp + 0xd0]
call fcn.14005e188
nop
lea rcx, [rsp + 0xb8]
call fcn.14005e188
nop
lea rcx, [rsp + 0x350]
call fcn.140055f70
lea rcx, [rsp + 0x330]
call fcn.140055f70
lea rcx, [rsp + 0x310]
call fcn.140055f70
nop
lea rcx, [rsp + 0x228]
call fcn.140055f70
nop
lea rcx, [rsp + 0x208]
call fcn.140055f70
nop
lea rcx, [rsp + 0x288]
call fcn.140055f70
nop
test rbx, rbx
je 0x1402a7c7e
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402a7c7e
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 0x1402a7c7e
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x248]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1402a7cd2
mov eax, esi
lock xadd dword [rcx + 8], eax
add eax, esi
jne 0x1402a7cd2
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 0x1402a7cd2
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
xor eax, eax
jmp 0x1402a7e48
mov dword [rsp + 0x30], 0x80070490
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1402a7d9e
lea rax, [rsp + 0x30]
mov qword [rsp + 0x760], rax
mov qword [rsp + 0x768], 4
lea rax, str.DataCollection_adapter_failed_due_to_emptiness_of_windows_or_and_profiles_folder_values
mov qword [rsp + 0x770], rax
mov qword [rsp + 0x778], 0xb0
cmp qword [r14 + 0x18], 8
jb 0x1402a7d32
mov r14, qword [r14]
lea rax, [0x1403cb630]
mov rcx, rdi
or rsi, 0xffffffffffffffff
test r14, r14
je 0x1402a7d55
mov rax, r14
mov rcx, rsi
inc rcx
cmp word [r14 + rcx*2], di
jne 0x1402a7d4b
mov qword [rsp + 0x780], rax
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x788], eax
mov dword [rsp + 0x78c], edi
lea rax, [rsp + 0x740]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140488ace]
mov rcx, r10
call fcn.140001208
jmp 0x1402a7da2
or rsi, 0xffffffffffffffff
mov rbx, qword [rsp + 0x50]
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x90], eax
lea rcx, [rbx + 0x70]
lea rdx, [0x140544290]
call fcn.14006fe84
mov byte [rbx + 0x68], 0xfe
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x1d0], xmm0
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1402a7de4
lock inc dword [rbx + 8]
mov rbx, qword [rsp + 0x58]
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x1d0], xmm0
lea rdx, [rsp + 0x1d0]
call fcn.1402a85e0
mov r14d, dword [rsp + 0x30]
test rbx, rbx
je 0x1402a7e45
mov eax, esi
lock xadd dword [rbx + 8], eax
add eax, esi
jne 0x1402a7e45
mov rbx, qword [rsp + 0x58]
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 0x1402a7e45
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
call qword [str.p76_]
mov eax, r14d
mov rcx, qword [rsp + 0x8a0]
xor rcx, rsp
call fcn.140356560
add rsp, 0x8b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.14005f030
nop
int3