Function at 0x140030e14
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.14000a088
mov ecx, ebx
mov r13, rax
call fcn.14000a088
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 0x140030e7f
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x521d
call fcn.1400040f0
mov rcx, qword [rax]
movsx edx, byte [rcx]
mov rcx, rdi
call fcn.14000b1d0
or rsi, 0xffffffffffffffff
mov rbx, rax
mov rcx, rsi
lea r14, [rax + 2]
inc rcx
cmp word [r14 + rcx*2], r15w
jne 0x140030ec0
inc rcx
mov eax, 2
mul rcx
cmovo rax, rsi
mov rcx, rax
call fcn.14000a088
mov rdx, r14
sub rax, r14
movzx ecx, word [rdx]
mov word [rax + rdx], cx
lea rdx, [rdx + 2]
test cx, cx
jne 0x140030ee7
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 0x140030f09
mov rdx, r14
lea rcx, [rbp - 0x18]
call fcn.140006778
mov rax, qword [rbp - 8]
mov ecx, 0x18
mov word [rbx + rax*2 - 6], r15w
call fcn.14000a03c
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.140031ed8
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 0x140030f64
mov rdx, rax
lea rcx, [rbp - 0x58]
call fcn.140001854
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 0x140030fc4
mov eax, r12d
mov word [rsp + 0x68], r15w
mov qword [rbp - 0x80], rax
jmp 0x140030fd8
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c70
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 0x140030ff9
lea rcx, [rbp + 0x48]
call fcn.140006778
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x14003104d
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031048
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319dd
call fcn.14000a080
mov rdx, rsi
inc rdx
cmp word [r14 + rdx*2], r15w
jne 0x140031050
cmp rdx, qword [rbp]
ja 0x14003108b
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.14000c2e0
mov word [rdi + rbx], r15w
jmp 0x140031097
mov r9, r14
lea rcx, [rbp - 0x18]
call fcn.140006880
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.1400066fc
mov ecx, 0x18
call fcn.14000a03c
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.140031ed8
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 0x1400310ed
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140001854
lea rcx, [rbp + 0x160]
mov word [rbp + 0x160], 0x5235
call fcn.1400040f0
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 0x1400317bd
mov eax, 0x71
mov dword [rsp + 0x50], 0x3f0022
lea rcx, [rsp + 0x50]
mov word [rsp + 0x60], ax
mov dword [rsp + 0x54], 0x770011
mov dword [rsp + 0x58], 0x2b004a
mov dword [rsp + 0x5c], 0x5a006c
call fcn.140006474
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 0x140031181
lea rcx, [rbp + 0x28]
call fcn.140006778
mov ecx, 0x200
call fcn.14000a088
mov rbx, qword [0x14004bc50]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x170015
mov eax, 0x65
mov dword [rsp + 0x54], 0x70038
mov word [rsp + 0x58], ax
call fcn.1400063ec
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 0x1400311f7
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.140006778
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.14002c0f4
mov rdi, qword [rbp + 0x68]
mov r15, qword [rbp + 0x70]
cmp rdi, r15
je 0x140031325
mov dword [rbp + 0x160], 0x52006f
lea rbx, [0x140049c30]
lea rcx, [rbp + 0x160]
call fcn.140006610
cmp qword [rdi + 0x18], 8
mov rcx, qword [rax]
movzx edx, word [rcx]
mov rcx, rdi
jb 0x14003125d
mov rcx, qword [rdi]
call fcn.14000b1d0
cmp qword [rdi + 0x18], 8
mov rcx, rdi
mov rax, qword [0x14004bc48]
jb 0x140031276
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 0x140031318
xor r8d, r8d
movabs rax, 0xb48a39d44685fe97
mul r8
mov al, byte [r8 + rbx]
shr rdx, 8
imul rcx, rdx, 0x16b
mov rdx, r8
sub rdx, rcx
lea rcx, [0x140042880]
xor al, byte [rdx + rcx]
mov byte [r8 + rbx], al
inc r8
cmp r8, 0x71
jb 0x1400312a4
mov rbx, qword [0x14004bc60]
mov ecx, 4
call fcn.14000a03c
and qword [rsp + 0x20], 0
lea rdx, [0x140049c30]
mov r9, rax
mov r8d, 0x71
mov rcx, r14
call rbx
test eax, eax
jne 0x1400313c3
lea rbx, [0x140049c30]
add rdi, 0x20
cmp rdi, r15
jne 0x14003123e
xor r15d, r15d
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x3f0022
mov dword [rsp + 0x54], 0x770011
mov dword [rsp + 0x58], 0x2b004a
mov dword [rsp + 0x5c], 0x78006c
call fcn.140006364
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 0x140031367
lea rcx, [rbp + 8]
call fcn.140006778
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 0x14003151a
mov qword [rbp - 0x80], r12
mov word [rsp + 0x68], r15w
jmp 0x14003152e
mov rcx, r14
call qword [0x14004bc08]
mov eax, 0x65
mov dword [rsp + 0x50], 0x22006f
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x310011
call fcn.1400063ec
mov r8, qword [rdi + 0x10]
mov rcx, rsi
xor r15d, r15d
mov rdx, qword [rax]
inc rcx
cmp word [rdx + rcx*2], r15w
jne 0x1400313fd
movabs rax, 0x7ffffffffffffffe
sub rax, r8
cmp rax, rcx
jb 0x1400319e3
cmp qword [rdi + 0x18], 8
mov r9, rdi
jb 0x14003142a
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.140006b58
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 0x140031470
lea rcx, [rsp + 0x68]
call fcn.140006778
lea rcx, [rbp + 0x98]
call fcn.140006698
cmp qword [rbp - 0x80], 8
lea rdx, [rsp + 0x68]
cmovae rdx, qword [rsp + 0x68]
cmp qword [rdi + 0x18], 8
jb 0x1400314aa
mov rdi, qword [rdi]
mov rcx, rdi
call fcn.140013b3c
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.1400066fc
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140031328
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140031510
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319d7
call fcn.14000a080
jmp 0x140031328
mov r9, r8
lea rcx, [rsp + 0x68]
sub r9, rdx
call fcn.140006c70
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 0x140031540
lea rcx, [rbp + 8]
call fcn.1400066fc
mov rdx, qword [rbp - 0x80]
mov r12d, 0x1000
cmp rdx, 8
jb 0x140031596
mov rcx, qword [rsp + 0x68]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, r12
jb 0x140031591
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319dd
call fcn.14000a080
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 0x1400315a8
mov rdx, r13
lea rcx, [rbp - 0x38]
call fcn.140006778
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 0x14003169d
mov r13d, 0x20
mov rcx, r8
mov rdx, rax
mov rbx, r15
cmp word [rax], r13w
je 0x140031608
cmp rcx, 1
je 0x14003160b
add rdx, 2
dec rcx
cmp word [rdx], r13w
jne 0x1400315f5
mov rbx, rdx
test rbx, rbx
je 0x14003169d
sub rbx, rax
sar rbx, 1
cmp rbx, rsi
je 0x14003169d
mov dword [rbp + 0x160], 0x52007e
lea rcx, [rbp + 0x160]
call fcn.140006610
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 0x14003169d
mov rax, r8
mov rcx, rdx
mov rbx, r15
cmp word [rdx], r13w
je 0x14003168a
cmp rax, 1
je 0x14003168d
add rcx, 2
dec rax
cmp word [rcx], r13w
jne 0x140031677
mov rbx, rcx
test rbx, rbx
je 0x14003169d
sub rbx, rdx
sar rbx, 1
cmp rbx, rsi
jne 0x140031629
cmp r14, 8
lea rdx, [rbp - 0x38]
lea rcx, [rbp + 8]
cmovae rdx, rdi
call fcn.1400066fc
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x720063
mov dword [rsp + 0x54], 0x770009
mov dword [rsp + 0x58], 0x3c0003
mov dword [rsp + 0x5c], 0x78003c
call fcn.140006364
mov r8, rsi
mov rdx, qword [rax]
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400316e2
lea rcx, [rbp + 8]
call fcn.1400066fc
lea rcx, [rbp + 0x160]
mov dword [rbp + 0x160], 0x520063
call fcn.140006610
mov rdx, qword [rax]
inc rsi
cmp word [rdx + rsi*2], r15w
jne 0x14003170e
mov r8, rsi
lea rcx, [rbp + 0x28]
call fcn.1400066fc
mov ecx, 0x3e8
call qword [0x14004bc10]
mov edi, 0x64
lea rcx, [rbp + 0xc4]
mov r8d, edi
xor edx, edx
call fcn.14000caf0
xorps xmm0, xmm0
mov word [rbp + 0x160], 0x5235
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.1400040f0
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 0x14003182b
lea rcx, [rbp - 0x38]
call fcn.140006698
lea rcx, [rbp + 8]
call fcn.140006698
lea rcx, [rbp + 0x68]
call fcn.1400064fc
lea rcx, [rbp + 0x28]
call fcn.140006698
mov r9, qword [rbp - 0x60]
mov r8, qword [rbp - 0x78]
cmp r9, 0x10
jb 0x1400317f4
lea rdx, [r9 + 1]
mov rax, r8
cmp rdx, 0x1000
jb 0x1400317ec
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319dd
mov rcx, r8
call fcn.14000a080
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.140006698
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400319a1
inc rdx
cmp rdx, 0x1000
jmp 0x14003197e
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.14000caf0
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.140006698
lea rcx, [rbp + 8]
call fcn.140006698
lea rcx, [rbp + 0x68]
call fcn.1400064fc
lea rcx, [rbp + 0x28]
call fcn.140006698
mov rdx, qword [rbp - 0x60]
cmp rdx, 0x10
jb 0x140031954
mov rcx, qword [rbp - 0x78]
inc rdx
mov rax, rcx
cmp rdx, r12
jb 0x14003194f
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319dd
call fcn.14000a080
mov ebx, 0xf
mov qword [rbp - 0x68], r15
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x60], rbx
mov byte [rbp - 0x78], r15b
call fcn.140006698
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x1400319a1
inc rdx
cmp rdx, r12
mov rcx, qword [rbp - 0x58]
mov rax, rcx
jb 0x14003199c
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400319dd
call fcn.14000a080
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x58], r15b
call fcn.140006698
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.140010b54
int3
call fcn.140010b54
int3
call fcn.140001238
int3