Function at 0x14002f178
Capabilities:
Encode data using xor
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x158]
sub rsp, 0x230
mov ebx, 0x208
mov ecx, ebx
call fcn.14000a090
mov ecx, ebx
mov r13, rax
call fcn.14000a090
mov rdx, qword [0x14004bc38]
xor ecx, ecx
mov rbx, qword [0x14004bc58]
mov rdi, rax
call rdx
mov rcx, rax
mov r8d, 0x104
mov rdx, r13
call rbx
mov rdx, rdi
mov rcx, r13
sub rdx, r13
xor r15d, r15d
movzx eax, word [rcx]
mov word [rdx + rcx], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x14002f1e3
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x5614
call fcn.1400040f8
mov rcx, qword [rax]
movsx edx, byte [rcx]
mov rcx, rdi
call fcn.14000b1e0
or rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
lea r14, [rax + 2]
inc rcx
cmp word [r14 + rcx*2], r15w
jne 0x14002f224
inc rcx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14000a090
mov rdx, r14
sub rax, r14
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x14002f24b
xorps xmm0, xmm0
mov qword [rbp - 8], r15
movups xmmword [rbp - 0x18], xmm0
mov qword [rbp], r15
mov r8, rsi
inc r8
cmp word [r14 + r8*2], r15w
jne 0x14002f26d
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140006780
mov rax, qword [rbp - 8]
mov ecx, 0x18
mov word [rbx + rax*2 - 6], r15w
call fcn.14000a044
mov r8, rax
lea rcx, [0x140049ccc]
mov edx, 5
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
call fcn.140032a90
xorps xmm0, xmm0
mov qword [rbp - 0x48], r15
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x40], r15
mov r8, rsi
inc r8
cmp byte [rax + r8], r15b
jne 0x14002f2c8
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.14000185c
cmp qword [rbp - 0x40], 0x10
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x58]
mov qword [rsp + 0x78], r15
cmovae r8, qword [rbp - 0x58]
xorps xmm0, xmm0
add r8, qword [rbp - 0x48]
mov r12d, 7
cmp qword [rbp - 0x40], 0x10
movups xmmword [rsp + 0x68], xmm0
cmovae rdx, qword [rbp - 0x58]
mov qword [rbp - 0x80], r15
cmp rdx, r8
jne 0x14002f328
mov eax, r12d
mov word [rsp + 0x68], r15w
mov qword [rbp - 0x80], rax
jmp 0x14002f33c
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c78
mov rax, qword [rbp - 0x80]
cmp rax, 8
mov qword [rbp + 0x58], r15
lea rdx, [rsp + 0x68]
mov qword [rbp + 0x60], r15
cmovae rdx, qword [rsp + 0x68]
xorps xmm0, xmm0
movups xmmword [rbp + 0x48], xmm0
mov r8, rsi
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002f35d
lea rcx, [rbp + 0x48]
call fcn.140006780
mov rdx, qword [rbp - 0x80]
mov ebx, 0x27
cmp rdx, 8
jb 0x14002f3b5
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f3b0
mov rcx, qword [rcx - 8]
add rdx, rbx
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd55
call fcn.14000a088
mov rdx, rsi
inc rdx
cmp word [r14 + rdx*2], r15w
jne 0x14002f3b8
cmp rdx, qword [rbp]
ja 0x14002f3f3
cmp qword [rbp], 8
lea rbx, [rdx + rdx]
mov qword [rbp - 8], rdx
lea rdi, [rbp - 0x18]
cmovae rdi, qword [rbp - 0x18]
mov r8, rbx
mov rcx, rdi
mov rdx, r14
call fcn.14000c2f0
mov word [rdi + rbx], r15w
jmp 0x14002f3ff
mov r9, r14
lea rcx, [rbp - 0x18]
call fcn.140006888
cmp qword [rbp + 0x60], 8
lea rdx, [rbp + 0x48]
mov r8, qword [rbp + 0x58]
lea rcx, [rbp - 0x18]
cmovae rdx, qword [rbp + 0x48]
call fcn.140006704
mov ecx, 0x18
call fcn.14000a044
mov r8, rax
lea rcx, [0x140049ce0]
mov edx, 0x1a
mov qword [rax], r15
mov qword [rax + 8], r15
mov qword [rax + 0x10], r15
call fcn.140032a90
xorps xmm0, xmm0
mov qword [rbp - 0x68], r15
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x60], r15
mov r8, rsi
inc r8
cmp byte [rax + r8], r15b
jne 0x14002f455
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000185c
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x563c
call fcn.1400040f8
mov r9, qword [rbp - 0x60]
lea rdx, [rbp - 0x78]
mov r8, qword [rbp - 0x78]
cmp r9, 0x10
mov rax, qword [rax]
cmovae rdx, r8
mov cl, byte [rax]
cmp byte [rdx], cl
jne 0x14002fb2e
mov r14d, 0x66
mov dword [rsp + 0x50], 0x3b002b
lea rcx, [rsp + 0x50]
mov word [rsp + 0x60], r14w
mov dword [rsp + 0x54], 0x6d002a
mov dword [rsp + 0x58], 0x270077
mov dword [rsp + 0x5c], 0x460062
call fcn.14000647c
xorps xmm0, xmm0
mov r8, rsi
mov rdx, qword [rax]
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r15
mov qword [rbp + 0x40], r15
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002f4eb
lea rcx, [rbp + 0x28]
call fcn.140006780
mov ecx, 0x200
call fcn.14000a090
mov rbx, qword [0x14004bc50]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x13001c
mov eax, 0x58
mov dword [rsp + 0x54], 0x1d0003
mov word [rsp + 0x58], ax
call fcn.1400063f4
mov r8d, 0x100
mov rdx, rdi
mov rcx, qword [rax]
call rbx
xorps xmm0, xmm0
mov qword [rbp + 0x78], r15
movdqu xmmword [rbp + 0x68], xmm0
mov qword [rsp + 0x78], r15
mov r8, rsi
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], r15
inc r8
cmp word [rdi + r8*2], r15w
jne 0x14002f561
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140006780
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14002c104
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
cmp rdi, r15
je 0x14002f68f
mov dword [rbp + 0x160], 0x560066
lea rbx, [0x140049c30]
lea rcx, [rbp + 0x160]
call fcn.140006618
cmp qword [rdi + 0x18], 8
mov rcx, qword [rax]
movzx edx, word [rcx]
mov rcx, rdi
jb 0x14002f5c7
mov rcx, qword [rdi]
call fcn.14000b1e0
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [0x14004bc48]
jb 0x14002f5e0
mov rcx, qword [rdi]
and qword [rsp + 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 5
call rax
mov r14, rax
cmp rax, rsi
je 0x14002f682
xor r8d, r8d
movabs rax, 0x9868c809868c8099
mul r8
mov al, byte [r8 + rbx]
shr rdx, 8
imul rcx, rdx, 0x1ae
mov rdx, r8
sub rdx, rcx
lea rcx, [0x140042940]
xor al, byte [rdx + rcx]
mov byte [r8 + rbx], al
inc r8
cmp r8, 0x71
jb 0x14002f60e
mov rbx, qword [0x14004bc60]
mov ecx, 4
call fcn.14000a044
and qword [rsp + 0x20], 0
lea rdx, [0x140049c30]
mov r9, rax
mov r8d, 0x71
mov rcx, r14
call rbx
test eax, eax
jne 0x14002f732
lea rbx, [0x140049c30]
add rdi, 0x20
cmp rdi, r15
jne 0x14002f5a8
xor r15d, r15d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x3b002b
mov dword [rsp + 0x54], 0x6d002a
mov ebx, 0x27
mov dword [rsp + 0x58], 0x270077
mov dword [rsp + 0x5c], 0x640062
call fcn.14000636c
xorps xmm0, xmm0
mov r8, rsi
mov rdx, qword [rax]
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], r15
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002f6d6
lea rcx, [rbp + 8]
call fcn.140006780
cmp qword [rbp - 0x60], 0x10
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x78], r15
cmovae r8, qword [rbp - 0x78]
xorps xmm0, xmm0
add r8, qword [rbp - 0x68]
cmp qword [rbp - 0x60], 0x10
movups xmmword [rsp + 0x68], xmm0
cmovae rdx, qword [rbp - 0x78]
mov qword [rbp - 0x80], r15
cmp rdx, r8
jne 0x14002f889
mov qword [rbp - 0x80], r12
mov word [rsp + 0x68], r15w
jmp 0x14002f89d
mov rcx, r14
call qword [0x14004bc08]
mov eax, 0x58
mov dword [rsp + 0x50], 0x260066
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x2b002a
call fcn.1400063f4
mov r8, qword [rdi + 0x10]
mov rcx, rsi
xor r15d, r15d
mov rdx, qword [rax]
inc rcx
cmp word [rdx + rcx*2], r15w
jne 0x14002f76c
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x14002fd5b
cmp qword [rdi + 0x18], 8
mov r9, rdi
jb 0x14002f799
mov r9, qword [rdi]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x98]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r8
call fcn.140006b60
cmp qword [rbp + 0xb0], 8
lea rdx, [rbp + 0x98]
xorps xmm0, xmm0
mov qword [rsp + 0x78], r15
cmovae rdx, qword [rbp + 0x98]
mov r8, rsi
movups xmmword [rsp + 0x68], xmm0
mov qword [rbp - 0x80], r15
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002f7df
lea rcx, [rsp + 0x68]
call fcn.140006780
lea rcx, [rbp + 0x98]
call fcn.1400066a0
cmp qword [rbp - 0x80], 8
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
cmp qword [rdi + 0x18], 8
jb 0x14002f819
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.140013b4c
cmp qword [rbp - 0x80], 8
lea rdx, [rsp + 0x68]
mov r8, qword [rsp + 0x78]
lea rcx, [rbp + 0x28]
cmovae rdx, qword [rsp + 0x68]
call fcn.140006704
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14002f692
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f87f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd4f
call fcn.14000a088
jmp 0x14002f692
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c78
mov r12, qword [rbp - 0x80]
cmp r12, 8
lea rdx, [rsp + 0x68]
mov r8, rsi
cmovae rdx, qword [rsp + 0x68]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002f8af
lea rcx, [rbp + 8]
call fcn.140006704
mov rdx, qword [rbp - 0x80]
mov r12d, 0x1000
cmp rdx, 8
jb 0x14002f904
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r12
jb 0x14002f8ff
mov rcx, qword [rcx - 8]
add rdx, rbx
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd55
call fcn.14000a088
xorps xmm0, xmm0
mov qword [rbp - 0x28], r15
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r15
mov r8, rsi
inc r8
cmp word [r13 + r8*2], r15w
jne 0x14002f916
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.140006780
mov r14, qword [rbp - 0x20]
lea rax, [rbp - 0x38]
mov rdi, qword [rbp - 0x38]
cmp r14, 8
mov r8, qword [rbp - 0x28]
cmovae rax, rdi
test r8, r8
je 0x14002fa0b
mov r13d, 0x20
mov rcx, r8
mov rdx, rax
mov rbx, r15
cmp word [rax], r13w
je 0x14002f976
cmp rcx, 1
je 0x14002f979
add rdx, 2
dec rcx
cmp word [rdx], r13w
jne 0x14002f963
mov rbx, rdx
test rbx, rbx
je 0x14002fa0b
sub rbx, rax
sar rbx, 1
cmp rbx, rsi
je 0x14002fa0b
mov dword [rbp + 0x160], 0x560077
lea rcx, [rbp + 0x160]
call fcn.140006618
cmp r14, 8
mov rcx, qword [rax]
lea rax, [rbp - 0x38]
cmovae rax, rdi
movzx edx, word [rcx]
mov word [rax + rbx*2], dx
lea rdx, [rbp - 0x38]
mov r14, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x38]
cmp r14, 8
mov r8, qword [rbp - 0x28]
cmovae rdx, rdi
test r8, r8
je 0x14002fa0b
mov rax, r8
mov rcx, rdx
mov rbx, r15
cmp word [rdx], r13w
je 0x14002f9f8
cmp rax, 1
je 0x14002f9fb
add rcx, 2
dec rax
cmp word [rcx], r13w
jne 0x14002f9e5
mov rbx, rcx
test rbx, rbx
je 0x14002fa0b
sub rbx, rdx
sar rbx, 1
cmp rbx, rsi
jne 0x14002f997
cmp r14, 8
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
cmovae rdx, rdi
call fcn.140006704
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x76006a
mov dword [rsp + 0x54], 0x6d0032
mov r14d, 0x64
mov dword [rsp + 0x58], 0x30003e
mov dword [rsp + 0x5c], 0x640032
call fcn.14000636c
mov r8, rsi
mov rdx, qword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x14002fa56
lea rcx, [rbp + 8]
call fcn.140006704
lea rcx, [rbp + 0x160]
mov dword [rbp + 0x160], 0x56006a
call fcn.140006618
mov rdx, qword [rax]
inc rsi
cmp word [rdx + rsi*2], r15w
jne 0x14002fa82
mov r8, rsi
lea rcx, [rbp + 0x28]
call fcn.140006704
mov ecx, 0x3e8
call qword [0x14004bc10]
mov r8, r14
lea rcx, [rbp + 0xc4]
xor edx, edx
call fcn.14000cb00
xorps xmm0, xmm0
mov word [rbp + 0x160], 0x563c
xor eax, eax
lea rcx, [rbp + 0x160]
mov edi, 0x68
mov qword [rbp + 0x90], rax
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0xc0], edi
call fcn.1400040f8
cmp qword [rbp - 0x60], 0x10
lea rdx, [rbp - 0x78]
cmovae rdx, qword [rbp - 0x78]
mov rax, qword [rax]
mov cl, byte [rax]
cmp byte [rdx], cl
je 0x14002fba0
lea rcx, [rbp - 0x38]
call fcn.1400066a0
lea rcx, [rbp + 8]
call fcn.1400066a0
lea rcx, [rbp + 0x68]
call fcn.140006504
lea rcx, [rbp + 0x28]
call fcn.1400066a0
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x78]
mov edi, 0x27
cmp r9, 0x10
jb 0x14002fb69
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x14002fb61
mov r8, qword [r8 - 8]
add rdx, rdi
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd55
mov rcx, r8
call fcn.14000a088
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.1400066a0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14002fd19
inc rdx
cmp rdx, 0x1000
jmp 0x14002fcf7
cmp qword [rbp + 0x40], 8
lea rcx, [rbp + 0x80]
mov rax, qword [0x14004bc40]
lea rdx, [rbp + 0x28]
cmovae rdx, qword [rbp + 0x28]
mov ebx, 0x8000000
mov qword [rsp + 0x48], rcx
xor r9d, r9d
lea rcx, [rbp + 0xc0]
xor r8d, r8d
mov qword [rsp + 0x40], rcx
xor ecx, ecx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r15d
call rax
mov ecx, 0x1388
call qword [0x14004bc10]
mov r8, r14
lea rcx, [rbp + 0xc4]
xor edx, edx
call fcn.14000cb00
xor eax, eax
mov dword [rbp + 0xc0], edi
cmp qword [rbp + 0x20], 8
lea rcx, [rbp + 0x80]
mov qword [rsp + 0x48], rcx
lea rdx, [rbp + 8]
cmovae rdx, qword [rbp + 8]
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
mov qword [rsp + 0x38], r15
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov qword [rbp + 0x90], rax
xor ecx, ecx
mov rax, qword [0x14004bc40]
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], r15d
movups xmmword [rbp + 0x80], xmm0
call rax
lea rcx, [rbp - 0x38]
call fcn.1400066a0
lea rcx, [rbp + 8]
call fcn.1400066a0
lea rcx, [rbp + 0x68]
call fcn.140006504
lea rcx, [rbp + 0x28]
call fcn.1400066a0
mov rdx, qword [rbp - 0x60]
mov edi, 0x27
cmp rdx, 0x10
jb 0x14002fccd
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x14002fcc8
mov rcx, qword [rcx - 8]
add rdx, rdi
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd55
call fcn.14000a088
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.1400066a0
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14002fd19
inc rdx
cmp rdx, r12
mov rcx, qword [rbp - 0x58]
mov rax, rcx
jb 0x14002fd14
mov rcx, qword [rcx - 8]
add rdx, rdi
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002fd55
call fcn.14000a088
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x58], r15b
call fcn.1400066a0
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140010b64
int3
call fcn.140010b64
int3
call fcn.140001238
int3