Function at 0x14031a084
Capabilities:
Encode data using xor
Hash data using fnv
Move file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x6b0
mov qword [rax - 0x5c8], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rsp + 0x6a0], rax
mov rbx, rdx
mov qword [rsp + 0xc8], rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0xd0], rdx
xor r12d, r12d
mov r13d, r12d
mov dword [rsp + 0x40], r12d
mov r8, qword [rcx + 0x60]
mov rdx, qword [rcx + 0x58]
call fcn.14005e494
mov rax, qword [r15 + 0x58]
mov qword [r15 + 0x60], rax
lea rdx, [rbx + 0xd0]
lea rcx, [rsp + 0x68]
call fcn.14019ba14
nop
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [0x140546ef0]
mov rax, qword [rax + 8]
call qword [str.p76_]
test al, al
je 0x14031a35a
lea rdx, [0x140546ef0]
lea rcx, [rsp + 0x68]
call fcn.140196c80
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
mov rax, qword [rax]
call qword [str.p76_]
nop
lea r8, [0x140546fd0]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x400]
call fcn.1400ab58c
lea rcx, [r15 + 0x38]
mov rdx, rax
call fcn.140085570
lea rcx, [rsp + 0x400]
call fcn.140055f70
mov r8, r15
lea rdx, [0x140546f90]
lea rcx, [rsp + 0x48]
call fcn.1400ab7c8
mov qword [rsp + 0x370], r12
lea r13d, [r12 + 7]
mov qword [rsp + 0x378], r13
mov word [rsp + 0x360], r12w
lea rdx, str.MaxWaitForNewActionsInMs
lea rcx, [rsp + 0x360]
call fcn.140055574
nop
lea r8, [r15 + 0x20]
lea rdx, [rsp + 0x360]
lea rcx, [rsp + 0x48]
call fcn.1400ab63c
nop
lea rcx, [rsp + 0x360]
call fcn.140055f70
mov qword [rsp + 0x2d0], r12
mov qword [rsp + 0x2d8], r13
mov word [rsp + 0x2c0], r12w
lea rdx, str.PollingIntervalInMs
lea rcx, [rsp + 0x2c0]
call fcn.140055574
nop
lea r8, [r15 + 0x24]
lea rdx, [rsp + 0x2c0]
lea rcx, [rsp + 0x48]
call fcn.1400ab63c
nop
lea rcx, [rsp + 0x2c0]
call fcn.140055f70
mov qword [rsp + 0x2f0], r12
mov qword [rsp + 0x2f8], r13
mov word [rsp + 0x2e0], r12w
lea rdx, str.WaitStopProcessThreadInMs
lea rcx, [rsp + 0x2e0]
call fcn.140055574
nop
lea r8, [r15 + 0x28]
lea rdx, [rsp + 0x2e0]
lea rcx, [rsp + 0x48]
call fcn.1400ab63c
nop
lea rcx, [rsp + 0x2e0]
call fcn.140055f70
mov qword [rsp + 0x310], r12
mov qword [rsp + 0x318], r13
mov word [rsp + 0x300], r12w
lea rdx, str.MaxWaitWithoutConnectionInMs
lea rcx, [rsp + 0x300]
call fcn.140055574
nop
lea r8, [r15 + 0x2c]
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x48]
call fcn.1400ab63c
nop
lea rcx, [rsp + 0x300]
call fcn.140055f70
mov qword [rsp + 0x330], r12
mov qword [rsp + 0x338], r13
mov word [rsp + 0x320], r12w
lea rdx, str.EtwMaxStringLength
lea rcx, [rsp + 0x320]
call fcn.140055574
nop
lea r8, [r15 + 0x30]
lea rdx, [rsp + 0x320]
lea rcx, [rsp + 0x48]
call fcn.1400ab63c
nop
lea rcx, [rsp + 0x320]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14031a355
mov rax, qword [rcx]
lea edx, [r12 + 1]
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
mov r13d, dword [rsp + 0x40]
lea rdx, [0x140546ed0]
lea rcx, [rsp + 0x68]
call fcn.140196c80
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0x98]
call qword [str.p76_]
mov rdx, rax
lea rcx, [rsp + 0xf8]
call fcn.14008af48
nop
mov rbx, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x100]
cmp rbx, rdi
je 0x14031ad7e
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov rax, qword [rax]
call qword [str.p76_]
nop
lea r8, [0x140546f10]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x280]
call fcn.1400ab58c
nop
lea r8, [0x140546f30]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x2a0]
call fcn.1400ab58c
nop
lea r8, [rsp + 0x70]
lea rdx, [0x140546f50]
lea rcx, [rsp + 0x58]
call fcn.14006c548
test al, al
je 0x14031add9
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x44], eax
mov esi, r12d
mov r8b, 1
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x260]
call fcn.14006d604
or r13d, 1
mov dword [rsp + 0x40], r13d
lea rcx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
cmovae rcx, qword [rsp + 0x260]
movabs r8, 0xcbf29ce484222325
mov r9, rcx
mov r14, qword [rsp + 0x270]
lea rdx, [r14 + r14]
lea rax, [rcx + rdx]
cmp rcx, rax
cmova rdx, r12
test rdx, rdx
je 0x14031a4a1
movzx eax, byte [r9]
xor r8, rax
movabs r10, 0x100000001b3
imul r8, r10
inc r9
mov rax, r9
sub rax, rcx
cmp rax, rdx
jne 0x14031a47e
and r8, qword [0x14055fcd0]
mov rax, r8
add rax, rax
mov rdx, qword [0x14055fcb8]
mov rcx, qword [rdx + rax*8]
mov qword [rsp + 0xc0], rcx
mov rax, rcx
shl r8, 4
add r8, 8
mov r12, qword [0x14055fca8]
cmp rcx, r12
jne 0x14031a4dd
mov rcx, r12
jmp 0x14031a4e4
mov rcx, qword [rdx + r8]
mov rcx, qword [rcx]
mov qword [rsp + 0xb8], rcx
cmp rax, rcx
je 0x14031a5e2
lea rcx, [rax + 0x10]
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
cmovae rdx, qword [rsp + 0x260]
mov r10, rcx
mov r13, qword [rcx + 0x18]
cmp r13, 8
jb 0x14031a523
mov r10, qword [rcx]
mov r15, qword [rcx + 0x10]
cmp r15, r14
jne 0x14031a567
mov r11, r15
test r15, r15
je 0x14031a57e
movzx ecx, word [r10]
movzx r9d, word [rdx]
cmp cx, r9w
jb 0x14031a567
sub r10, rdx
cmp cx, r9w
ja 0x14031a567
cmp r11, 1
je 0x14031a57e
dec r11
add rdx, 2
movzx ecx, word [rdx + r10]
movzx r9d, word [rdx]
cmp cx, r9w
jae 0x14031a549
mov rax, qword [rax]
mov rcx, qword [rsp + 0xc0]
mov rdx, qword [0x14055fcb8]
jmp 0x14031a4d3
lea rcx, [rax + 0x10]
cmp r13, 8
jb 0x14031a58b
mov rcx, qword [rcx]
lea rdx, [rsp + 0x260]
cmp qword [rsp + 0x278], 8
cmovae rdx, qword [rsp + 0x260]
cmp r14, r15
jne 0x14031a5e2
test r14, r14
je 0x14031a5e5
movzx r8d, word [rdx]
movzx r9d, word [rcx]
cmp r8w, r9w
jb 0x14031a5e2
sub rdx, rcx
cmp r8w, r9w
ja 0x14031a5e2
cmp r14, 1
je 0x14031a5e5
dec r14
add rcx, 2
movzx r8d, word [rcx + rdx]
movzx r9d, word [rcx]
cmp r8w, r9w
jae 0x14031a5c4
mov rax, r12
cmp rax, r12
je 0x14031a5ed
mov esi, dword [rax + 0x30]
lea rcx, [rsp + 0x260]
call fcn.140055f70
lea rcx, [rsp + 0x50]
call fcn.1401962c0
nop
lea r8, [rsp + 0x50]
lea rdx, [0x140546fb0]
lea rcx, [rsp + 0x58]
call fcn.140316144
call fcn.1400550c0
mov r14, qword [rax + 8]
xor r12d, r12d
cmp dword [r14], 5
jbe 0x14031a7c4
lea rax, str.New_data_collection_command_received
mov qword [rsp + 0x4c0], rax
mov qword [rsp + 0x4c8], 0x4a
lea rax, [rsp + 0x280]
cmp qword [rsp + 0x298], 8
cmovae rax, qword [rsp + 0x280]
lea r13, [0x1403cb630]
mov rdx, r13
mov ecx, r12d
or r15, 0xffffffffffffffff
test rax, rax
je 0x14031a68c
mov rdx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14031a682
mov qword [rsp + 0x4d0], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x4d8], eax
mov dword [rsp + 0x4dc], r12d
lea rax, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 8
cmovae rax, qword [rsp + 0x2a0]
mov rdx, r13
mov rcx, r12
test rax, rax
je 0x14031a6df
mov rdx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14031a6d5
mov qword [rsp + 0x4e0], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x4e8], eax
mov dword [rsp + 0x4ec], r12d
lea rax, [rsp + 0x44]
mov qword [rsp + 0x4f0], rax
mov qword [rsp + 0x4f8], 4
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x3a0]
mov rax, qword [rax + 0x50]
call qword [str.p76_]
or dword [rsp + 0x40], 2
lea rax, [rsp + 0x3a0]
cmp qword [rsp + 0x3b8], 8
cmovae rax, qword [rsp + 0x3a0]
mov rdx, r13
mov rcx, r12
test rax, rax
je 0x14031a76a
mov rdx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14031a760
mov qword [rsp + 0x500], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x508], eax
mov dword [rsp + 0x50c], r12d
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x28], rax
mov r13d, 7
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048d2b9]
mov rcx, r14
call fcn.140001208
lea rcx, [rsp + 0x3a0]
call fcn.140055f70
jmp 0x14031a7ce
mov r13d, 7
or r15, 0xffffffffffffffff
sub esi, 1
je 0x14031ab37
sub esi, 1
je 0x14031aa90
sub esi, 1
je 0x14031a9e9
cmp esi, 1
je 0x14031a90a
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 4
jbe 0x14031a8a1
lea rax, str.Action_is_currently_unsupported
mov qword [rsp + 0x680], rax
mov qword [rsp + 0x688], 0x40
lea rax, [rsp + 0x2a0]
cmp qword [rsp + 0x2b8], 8
cmovae rax, qword [rsp + 0x2a0]
lea rdx, [0x1403cb630]
mov rcx, r12
test rax, rax
je 0x14031a859
mov rdx, rax
mov rcx, r15
inc rcx
cmp word [rax + rcx*2], r12w
jne 0x14031a84f
mov qword [rsp + 0x690], rdx
lea eax, [rcx*2 + 2]
mov dword [rsp + 0x698], eax
mov dword [rsp + 0x69c], r12d
lea rax, [rsp + 0x660]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14048d312]
mov rcx, r10
call fcn.140001208
mov r13d, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14031a8c6
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x2a0]
call fcn.140055f70
nop
lea rcx, [rsp + 0x280]
call fcn.140055f70
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14031a901
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
add rbx, 8
jmp 0x14031a39f
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x74], 4
mov dword [rsp + 0x78], r12d
imul eax, dword [rsp + 0x44], 0x3c
mov dword [rsp + 0x7c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x120]
call fcn.14031b0c4
mov r8, rax
mov rdx, qword [rsi + 0x60]
cmp qword [rsi + 0x68], rdx
je 0x14031a988
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rax, qword [rax]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8], r12
mov qword [r8 + 8], r12
add qword [rsi + 0x60], 0x10
jmp 0x14031a992
lea rcx, [rsi + 0x58]
call fcn.1402cbc24
nop
mov rsi, qword [rsp + 0x128]
test rsi, rsi
je 0x14031a8a1
mov eax, r15d
lock xadd dword [rsi + 8], eax
add eax, r15d
jne 0x14031a8a1
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [str.p76_]
mov eax, r15d
lock xadd dword [rsi + 0xc], eax
add eax, r15d
jne 0x14031a8a1
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [str.p76_]
jmp 0x14031a8a1
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x80], 3
mov dword [rsp + 0x84], r12d
imul eax, dword [rsp + 0x44], 0x3c
mov dword [rsp + 0x88], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x84]
lea rdx, [rsp + 0x88]
lea rcx, [rsp + 0x130]
call fcn.14031b0c4
mov r8, rax
mov rdx, qword [rsi + 0x60]
cmp qword [rsi + 0x68], rdx
je 0x14031aa79
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rax, qword [rax]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8], r12
mov qword [r8 + 8], r12
add qword [rsi + 0x60], 0x10
jmp 0x14031aa83
lea rcx, [rsi + 0x58]
call fcn.1402cbc24
nop
mov rsi, qword [rsp + 0x138]
jmp 0x14031a99a
mov rsi, qword [rsp + 0x60]
mov dword [rsp + 0x8c], 2
mov dword [rsp + 0x90], r12d
imul eax, dword [rsp + 0x44], 0x3c
mov dword [rsp + 0x94], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x8c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0x94]
lea rcx, [rsp + 0x140]
call fcn.14031b0c4
mov r8, rax
mov rdx, qword [rsi + 0x60]
cmp qword [rsi + 0x68], rdx
je 0x14031ab20
mov qword [rdx], r12
mov qword [rdx + 8], r12
mov rax, qword [rax]
mov qword [rdx], rax
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
mov qword [r8], r12
mov qword [r8 + 8], r12
add qword [rsi + 0x60], 0x10
jmp 0x14031ab2a
lea rcx, [rsi + 0x58]
call fcn.1402cbc24
nop
mov rsi, qword [rsp + 0x148]
jmp 0x14031a99a
lea r8, [0x140546f70]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x3e0]
call fcn.1400ab58c
nop
lea rcx, [rsp + 0x420]
call fcn.14023e46c
mov r8d, SafeArrayLock
lea rdx, str.DataCollection_
mov rcx, rax
call fcn.140068814
mov qword [rsp + 0x350], r12
mov qword [rsp + 0x358], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x340], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x350], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], r13
mov word [rax], r12w
lea rcx, [rsp + 0x420]
call fcn.140055f70
nop
mov r8, qword [rsp + 0xc8]
add r8, 0xb0
lea rdx, [rsp + 0x340]
lea rcx, [rsp + 0x380]
call fcn.14023f10c
nop
lea rcx, [rsp + 0x340]
call fcn.140055f70
lea r9, [rsp + 0x3e0]
lea r8, [rsp + 0x280]
lea rdx, [rsp + 0x380]
lea rcx, [rsp + 0x3c0]
call fcn.14031ae1c
nop
lea rcx, [rsp + 0x380]
cmp qword [rsp + 0x398], 8
cmovae rcx, qword [rsp + 0x380]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
nop dword [rax + rax]
mov r14, qword [rsp + 0x60]
imul r12d, dword [rsp + 0x44], 0x3c
mov ecx, 0x80
call fcn.140356b9c
mov rsi, rax
mov qword [rsp + 0x118], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_class_sense::DataCollection::CollectionThresholdExpiration_.0
mov qword [rsi], rax
lea r15, [rsi + 0x10]
mov edx, r12d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x3c0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x280]
xor r8d, r8d
mov rcx, r15
call fcn.14031b290
nop
mov r13d, dword [rsp + 0x40]
or r13d, 0xc
mov qword [rsp + 0xa8], r15
mov qword [rsp + 0xb0], rsi
mov rdx, qword [r14 + 0x60]
cmp qword [r14 + 0x68], rdx
je 0x14031ace7
mov qword [rdx], r15
mov qword [rdx + 8], rsi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xa8], xmm0
add qword [r14 + 0x60], 0x10
jmp 0x14031acf9
lea r8, [rsp + 0xa8]
lea rcx, [r14 + 0x58]
call fcn.1402cbc24
nop
mov rcx, qword [rsp + 0xb0]
xor r12d, r12d
test rcx, rcx
je 0x14031ad50
or eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14031ad50
mov rsi, qword [rsp + 0xb0]
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [str.p76_]
or eax, 0xffffffff
lock xadd dword [rsi + 0xc], eax
cmp eax, 1
jne 0x14031ad50
mov rcx, qword [rsp + 0xb0]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x3c0]
call fcn.140055f70
nop
lea rcx, [rsp + 0x380]
call fcn.140055f70
nop
lea rcx, [rsp + 0x3e0]
call fcn.140055f70
jmp 0x14031a8a6
lea rcx, [rsp + 0xf8]
call fcn.14008b020
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14031adac
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [str.p76_]
nop
mov rcx, qword [rsp + 0x6a0]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x6b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x140546f50]
lea rcx, [rsp + 0x478]
call fcn.14008cc40
nop
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.1400990f4
lea rdx, [0x140513908]
lea rcx, [rsp + 0x150]
call sub.api_ms_win_crt_private_l1_1_0.dll__CxxThrowException
int3