Function at 0x14002fe90
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.140009f64
mov ecx, ebx
mov r13, rax
call fcn.140009f64
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 0x14002fefb
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x7404
call fcn.1400040c8
mov rcx, qword [rax]
movsx edx, byte [rcx]
mov rcx, rdi
call fcn.14000b0b0
or rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
lea r14, [rax + 2]
inc rcx
cmp word [r14 + rcx*2], r15w
jne 0x14002ff3c
inc rcx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.140009f64
mov rdx, r14
sub rax, r14
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x14002ff63
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 0x14002ff85
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140006708
mov rax, qword [rbp - 8]
mov ecx, 0x18
mov word [rbx + rax*2 - 6], r15w
call fcn.140009f18
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.140030d10
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 0x14002ffe0
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140001838
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 0x140030040
mov eax, r12d
mov word [rsp + 0x68], r15w
mov qword [rbp - 0x80], rax
jmp 0x140030054
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c00
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 0x140030075
lea rcx, [rbp + 0x48]
call fcn.140006708
mov rdx, qword [rbp - 0x80]
mov r8d, 0x27
cmp rdx, 8
jb 0x1400300ce
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400300c9
mov rcx, qword [rcx - 8]
add rdx, r8
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a64
call fcn.140009f5c
mov rdx, rsi
inc rdx
cmp word [r14 + rdx*2], r15w
jne 0x1400300d1
cmp rdx, qword [rbp]
ja 0x14003010c
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.14000c1c0
mov word [rdi + rbx], r15w
jmp 0x140030118
mov r9, r14
lea rcx, [rbp - 0x18]
call fcn.140006810
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.14000668c
mov ecx, 0x18
call fcn.140009f18
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.140030d10
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 0x14003016e
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140001838
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x742c
call fcn.1400040c8
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 0x140030844
mov eax, 0x6f
mov dword [rsp + 0x50], 0x19003b
lea rcx, [rsp + 0x50]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x54], 0x610015
mov dword [rsp + 0x58], 0x290063
mov dword [rsp + 0x5c], 0x670068
call fcn.140006428
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 0x140030202
lea rcx, [rbp + 0x28]
call fcn.140006708
mov ecx, 0x200
call fcn.140009f64
mov rbx, qword [0x14004bc50]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x31000c
mov eax, 0x4c
mov dword [rsp + 0x54], 0x11003c
mov word [rsp + 0x58], ax
call fcn.1400063ac
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 0x140030278
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140006708
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14002bfd4
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
cmp rdi, r15
je 0x1400303a6
mov dword [rbp + 0x160], 0x740076
lea rbx, str._5_aafreAdi_I5
lea rcx, [rbp + 0x160]
call fcn.1400065ac
cmp qword [rdi + 0x18], 8
mov rcx, qword [rax]
movzx edx, word [rcx]
mov rcx, rdi
jb 0x1400302de
mov rcx, qword [rdi]
call fcn.14000b0b0
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [0x14004bc48]
jb 0x1400302f7
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 0x140030399
xor r8d, r8d
movabs rax, 0xa16b312ea8fc377d
mul r8
mov al, byte [r8 + rbx]
shr rdx, 8
imul rcx, rdx, 0x196
mov rdx, r8
sub rdx, rcx
lea rcx, [0x140042910]
xor al, byte [rdx + rcx]
mov byte [r8 + rbx], al
inc r8
cmp r8, 0x71
jb 0x140030325
mov rbx, qword [0x14004bc60]
mov ecx, 4
call fcn.140009f18
and qword [rsp + 0x20], 0
lea rdx, str._5_aafreAdi_I5
mov r9, rax
mov r8d, 0x71
mov rcx, r14
call rbx
test eax, eax
jne 0x140030449
lea rbx, str._5_aafreAdi_I5
add rdi, 0x20
cmp rdi, r15
jne 0x1400302bf
mov ebx, 0x27
xor r15d, r15d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x19003b
mov dword [rsp + 0x54], 0x610015
mov dword [rsp + 0x58], 0x290063
mov dword [rsp + 0x5c], 0x450068
call fcn.140006330
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 0x1400303ed
lea rcx, [rbp + 8]
call fcn.140006708
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 0x1400305a2
mov qword [rbp - 0x80], r12
mov word [rsp + 0x68], r15w
jmp 0x1400305b6
mov rcx, r14
call qword [0x14004bc08]
mov ebx, 0x27
mov dword [rsp + 0x50], 0x40076
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x54], 0x270015
lea eax, [rbx + 0x25]
mov word [rsp + 0x58], ax
call fcn.1400063ac
mov r8, qword [rdi + 0x10]
mov rcx, rsi
xor r15d, r15d
mov rdx, qword [rax]
inc rcx
cmp word [rdx + rcx*2], r15w
jne 0x140030486
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x140030a6a
cmp qword [rdi + 0x18], 8
mov r9, rdi
jb 0x1400304b3
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.140006ae8
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 0x1400304f9
lea rcx, [rsp + 0x68]
call fcn.140006708
lea rcx, [rbp + 0x98]
call fcn.140006628
cmp qword [rbp - 0x80], 8
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
cmp qword [rdi + 0x18], 8
jb 0x140030533
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.140013a1c
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.14000668c
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1400303ae
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140030598
mov rcx, qword [rcx - 8]
add rdx, rbx
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a5e
call fcn.140009f5c
jmp 0x1400303ae
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c00
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 0x1400305c8
lea rcx, [rbp + 8]
call fcn.14000668c
mov rdx, qword [rbp - 0x80]
mov r12d, 0x1000
cmp rdx, 8
jb 0x14003061d
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r12
jb 0x140030618
mov rcx, qword [rcx - 8]
add rdx, rbx
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a64
call fcn.140009f5c
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 0x14003062f
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.140006708
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 0x140030724
mov r13d, 0x20
mov rcx, r8
mov rdx, rax
mov rbx, r15
cmp word [rax], r13w
je 0x14003068f
cmp rcx, 1
je 0x140030692
add rdx, 2
dec rcx
cmp word [rdx], r13w
jne 0x14003067c
mov rbx, rdx
test rbx, rbx
je 0x140030724
sub rbx, rax
sar rbx, 1
cmp rbx, rsi
je 0x140030724
mov dword [rbp + 0x160], 0x740067
lea rcx, [rbp + 0x160]
call fcn.1400065ac
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 0x140030724
mov rax, r8
mov rcx, rdx
mov rbx, r15
cmp word [rdx], r13w
je 0x140030711
cmp rax, 1
je 0x140030714
add rcx, 2
dec rax
cmp word [rcx], r13w
jne 0x1400306fe
mov rbx, rcx
test rbx, rbx
je 0x140030724
sub rbx, rdx
sar rbx, 1
cmp rbx, rsi
jne 0x1400306b0
cmp r14, 8
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
cmovae rdx, rdi
call fcn.14000668c
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x54007a
mov dword [rsp + 0x54], 0x61000d
mov dword [rsp + 0x58], 0x3e002a
mov dword [rsp + 0x5c], 0x450038
call fcn.140006330
mov r8, rsi
mov rdx, qword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x140030769
lea rcx, [rbp + 8]
call fcn.14000668c
lea rcx, [rbp + 0x160]
mov dword [rbp + 0x160], 0x74007a
call fcn.1400065ac
mov rdx, qword [rax]
inc rsi
cmp word [rdx + rsi*2], r15w
jne 0x140030795
mov r8, rsi
lea rcx, [rbp + 0x28]
call fcn.14000668c
mov ecx, 0x3e8
call qword [0x14004bc10]
mov edi, 0x64
lea rcx, [rbp + 0xc4]
mov r8d, edi
xor edx, edx
call fcn.14000c9d0
xorps xmm0, xmm0
mov word [rbp + 0x160], 0x742c
xor eax, eax
lea esi, [rdi + 4]
lea rcx, [rbp + 0x160]
mov qword [rbp + 0x90], rax
movups xmmword [rbp + 0x80], xmm0
mov dword [rbp + 0xc0], esi
call fcn.1400040c8
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 0x1400308b2
lea rcx, [rbp - 0x38]
call fcn.140006628
lea rcx, [rbp + 8]
call fcn.140006628
lea rcx, [rbp + 0x68]
call fcn.1400064a4
lea rcx, [rbp + 0x28]
call fcn.140006628
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x78]
cmp r9, 0x10
jb 0x14003087b
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x140030873
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a64
mov rcx, r8
call fcn.140009f5c
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.140006628
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140030a28
inc rdx
cmp rdx, 0x1000
jmp 0x140030a05
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, rdi
lea rcx, [rbp + 0xc4]
xor edx, edx
call fcn.14000c9d0
xor eax, eax
mov dword [rbp + 0xc0], esi
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.140006628
lea rcx, [rbp + 8]
call fcn.140006628
lea rcx, [rbp + 0x68]
call fcn.1400064a4
lea rcx, [rbp + 0x28]
call fcn.140006628
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x1400309db
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x1400309d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a64
call fcn.140009f5c
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.140006628
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x140030a28
inc rdx
cmp rdx, r12
mov rcx, qword [rbp - 0x58]
mov rax, rcx
jb 0x140030a23
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140030a64
call fcn.140009f5c
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x58], r15b
call fcn.140006628
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.140010a34
int3
call fcn.140010a34
int3
call fcn.140001238
int3