Function at 0x140017890
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xf8
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rcx
xorps xmm0, xmm0
movaps xmmword [rbp], xmm0
movaps xmmword [rbp - 0x10], xmm0
movaps xmmword [rbp - 0x20], xmm0
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x40], xmm0
movaps xmmword [rbp - 0x50], xmm0
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x70], xmm0
mov dword [rbp + 0x10], 0
cmp dword [0x140067570], 9
mov eax, dword [0x140067574]
setg cl
mov edx, eax
not edx
imul edx, eax
and dl, cl
mov byte [rbp + 0x67], dl
xor eax, eax
lea rcx, [0x14005af20]
nop word cs:[rax + rax]
nop dword [rax]
movsxd rdx, dword [rcx + rax*4]
xor dword [rbp + rdx*4 - 0x70], 0x1e27
movsxd rdx, dword [rcx + rax*4 + 4]
xor dword [rbp + rdx*4 - 0x70], 0x1e27
add rax, 2
cmp rax, 0x20
jne 0x140017910
mov eax, 0x489b
mov dword [rbp + 0x2c], 0
lea rsi, [0x14005b100]
lea r13, [0x14005b090]
lea r14, [0x14005aea0]
lea r15, [0x14005afa0]
lea r12, [0x14005b020]
mov dword [rbp + 0x40], 0
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x38], 0
xor ebx, ebx
mov dword [rbp + 0x18], 0
xor edi, edi
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x20], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x28], 0
mov dword [rbp + 0x30], 0
mov dword [rbp + 0x3c], 0
jmp 0x1400179c0
mov eax, dword [rbp + 0xc]
mov ecx, 0x6db2
xor eax, ecx
nop
cmp eax, 0x42a9
jle 0x140017a50
cmp eax, 0x5c3a
jg 0x140017ac0
cmp eax, 0x5067
jg 0x140017bae
cmp eax, 0x489a
jg 0x140017e30
cmp eax, 0x42aa
je 0x1400183b4
cmp eax, 0x45df
jne 0x1400179c0
cmp dword [0x140067578], 0xa
mov eax, dword [0x14006757c]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test dil, dil
jne 0x140017a2f
xor dword [rbp - 0x44], 0x16dd
xor dword [rbp - 4], 0x16dd
test al, al
mov eax, 0x1f92
mov ecx, 0x329d
cmovne eax, ecx
xor eax, dword [rbp - 0x48]
mov dil, 1
jmp 0x1400179c0
cmp eax, 0x2d80
jg 0x140017b40
cmp eax, 0x1c07
jg 0x140017cb3
cmp eax, 0x91a
jg 0x140017e6f
cmp eax, 0x363
je 0x1400184a6
cmp eax, 0x44e
jne 0x1400179c0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov word [rax + 2], 0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rbp + 0x68]
mov dword [rax], 0x36d20983
mov eax, dword [rbp + 8]
mov ecx, 0x76cc
xor eax, ecx
jmp 0x1400179c0
cmp eax, 0x72db
jg 0x140017d47
cmp eax, 0x692f
jg 0x140017eee
cmp eax, 0x5c3b
je 0x140018147
cmp eax, 0x5f44
jne 0x1400179c0
cmp dword [0x140067580], 0xa
mov eax, dword [0x140067584]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x3c], 0
jne 0x140017b1e
xor dword [rbp - 0x18], 0x7c93
xor dword [rbp + 0x10], 0x7c93
test al, al
mov eax, 0x6924
mov ecx, 0x6471
cmovne eax, ecx
xor eax, dword [rbp - 0x1c]
mov cl, 1
mov dword [rbp + 0x3c], ecx
jmp 0x1400179c0
cmp eax, 0x30a7
jg 0x140017d96
cmp eax, 0x2ff6
jg 0x140017f4c
cmp eax, 0x2d81
je 0x1400181af
cmp eax, 0x2fb4
jne 0x1400179c0
mov rax, qword [rbp + 0x58]
mov dword [rax], 0xfffc
mov rax, qword [rbp + 0x68]
mov dword [rax], 0xd29e6a19
mov eax, dword [0x140067588]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x7abe
mov ecx, 0x12c2
cmove eax, ecx
cmp dword [0x14006758c], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x3c]
jmp 0x1400179c0
cmp eax, 0x5493
jg 0x140018011
cmp eax, 0x5068
je 0x140018403
cmp eax, 0x52f5
jne 0x1400179c0
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x48], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x50], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x70], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp - 0x80]
mov qword [rax], rcx
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x78]
mov qword [rax], rcx
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov qword [rcx + 8], rax
test rax, rax
mov rax, qword [rbp + 0x48]
setne byte [rax]
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov dword [rax], 0xd2999e56
cmp dword [0x140067590], 0xa
mov eax, dword [0x140067594]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x40], 0
je 0x140018523
test al, al
mov eax, 0x2e28
mov ecx, 0x423a
cmovne eax, ecx
xor eax, dword [rbp - 0x68]
mov cl, 1
mov dword [rbp + 0x40], ecx
jmp 0x1400179c0
cmp eax, 0x1dcc
jg 0x140018073
cmp eax, 0x1c08
je 0x140018292
cmp eax, 0x1d9a
jne 0x1400179c0
mov rax, qword [rbp + 0x58]
movzx eax, word [rax]
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov word [rcx], ax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov eax, dword [rax]
add eax, 2
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov word [rcx + 2], ax
mov rax, qword [rbp + 0x58]
mov rax, qword [rbp + 0x68]
mov dword [rax], 0x36d20983
mov eax, dword [0x140067598]
lea ecx, [rax + 0x733a0721]
not ecx
add ecx, eax
add ecx, eax
add ecx, 0x733a0721
imul ecx, eax
test cl, 1
mov eax, 0x70f9
mov ecx, 0x468d
cmove eax, ecx
cmp dword [0x14006759c], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x34]
jmp 0x1400179c0
cmp eax, 0x7986
jg 0x140018098
cmp eax, 0x72dc
je 0x140018451
cmp eax, 0x735d
jne 0x1400179c0
mov eax, dword [0x1400675a0]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x6046
mov ecx, 0x3619
cmove eax, ecx
cmp dword [0x1400675a4], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x54]
jmp 0x1400179c0
cmp eax, 0x34c0
jg 0x140018119
cmp eax, 0x30a8
je 0x1400182aa
cmp eax, 0x3149
jne 0x1400179c0
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
mov dword [rbp + 0x14], eax
cmp dword [0x1400675a8], 0xa
mov eax, dword [0x1400675ac]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x44], 0
jne 0x140017e14
mov ecx, 1
nop dword [rax]
movsxd rdx, dword [r13 + rcx*4 - 4]
xor dword [rbp + rdx*4 - 0x70], 0x2297
movsxd rdx, dword [r13 + rcx*4]
xor dword [rbp + rdx*4 - 0x70], 0x2297
add rcx, 2
cmp rcx, 0x1b
jne 0x140017df0
test al, al
mov eax, 0x597a
mov ecx, 0x75da
cmovne eax, ecx
xor eax, dword [rbp - 0x60]
mov cl, 1
mov dword [rbp + 0x44], ecx
jmp 0x1400179c0
cmp eax, 0x489b
je 0x1400181dd
cmp eax, 0x4b40
jne 0x1400179c0
mov rax, qword [rbp + 0x48]
cmp byte [rax], 0
mov eax, 0x47d62571
mov ecx, 0xf9515af7
cmovne eax, ecx
mov rcx, qword [rbp + 0x68]
mov dword [rcx], eax
mov eax, dword [rbp - 8]
mov ecx, 0xf1d
xor eax, ecx
jmp 0x1400179c0
cmp eax, 0x91b
je 0x140018337
cmp eax, 0x1ade
jne 0x1400179c0
mov r8, rsi
mov esi, edi
mov edi, ebx
mov eax, dword [0x1400675b0]
cmp dword [0x1400675b4], 0xa
setl cl
mov edx, 0x11a2734d
sub edx, eax
lea ebx, [rax + rax]
not edx
not ebx
add ebx, edx
imul ebx, eax
test bl, 1
sete al
or al, cl
cmp byte [rbp + 0x18], 0
jne 0x140017ecb
xor dword [rbp - 0x4c], 0x28d2
xor dword [rbp - 8], 0x28d2
test al, al
mov eax, 0x2b0
mov ecx, 0x27cf
cmovne eax, ecx
xor eax, dword [rbp - 0x50]
mov cl, 1
mov dword [rbp + 0x18], ecx
mov ebx, edi
mov edi, esi
mov rsi, r8
jmp 0x1400179c0
cmp eax, 0x6930
je 0x140018206
cmp eax, 0x6e3f
jne 0x1400179c0
mov rax, qword [rbp + 0x48]
cmp byte [rax], 0
mov eax, 0x47d62571
mov ecx, 0xf9515af7
cmovne eax, ecx
mov rcx, qword [rbp + 0x68]
mov dword [rcx], eax
mov eax, dword [0x1400675b8]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x2a62
mov ecx, 0x3e66
cmove eax, ecx
cmp dword [0x1400675bc], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x4c]
jmp 0x1400179c0
cmp eax, 0x2ff7
je 0x14001824b
cmp eax, 0x3029
jne 0x1400179c0
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x48], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x50], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x70], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x58], rax
mov rax, qword [rbp + 0x50]
mov rcx, qword [rbp - 0x80]
mov qword [rax], rcx
mov rax, qword [rbp + 0x70]
mov rcx, qword [rbp - 0x78]
mov qword [rax], rcx
mov rax, qword [rbp + 0x50]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov qword [rcx + 8], rax
test rax, rax
mov rax, qword [rbp + 0x48]
setne byte [rax]
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
mov dword [rax], 0xd2999e56
mov eax, dword [rbp - 0x14]
mov ecx, 0x4cf4
xor eax, ecx
jmp 0x1400179c0
cmp eax, 0x5494
je 0x1400179b5
cmp eax, 0x5662
jne 0x1400179c0
mov rax, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.140016e70
add rsp, 0x20
add eax, eax
mov rcx, qword [rbp + 0x58]
mov dword [rcx], eax
mov rax, qword [rbp + 0x58]
cmp dword [rax], 0xfffc
mov eax, 0xd29e6a19
mov ecx, 0xfc663863
cmova eax, ecx
mov rcx, qword [rbp + 0x68]
mov dword [rcx], eax
mov eax, dword [rbp - 4]
mov ecx, 0x2440
xor eax, ecx
jmp 0x1400179c0
cmp eax, 0x1dcd
je 0x140018346
cmp eax, 0x20d4
jne 0x1400179c0
mov eax, dword [rbp + 0x10]
mov ecx, 0x18e2
xor eax, ecx
jmp 0x1400179c0
cmp eax, 0x7987
je 0x1400182e9
cmp eax, 0x7b6d
jne 0x1400179c0
mov rax, qword [rbp + 0x58]
mov rax, qword [rbp + 0x50]
mov rcx, qword [rax]
sub rsp, 0x20
call fcn.140016e70
add rsp, 0x20
add eax, eax
mov rcx, qword [rbp + 0x58]
mov dword [rcx], eax
mov rax, qword [rbp + 0x58]
cmp dword [rax], 0xfffc
mov eax, 0xd29e6a19
mov ecx, 0xfc663863
cmova eax, ecx
mov rcx, qword [rbp + 0x68]
mov dword [rcx], eax
mov eax, dword [0x1400675c0]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x94f
mov ecx, 0x69
cmove eax, ecx
cmp dword [0x1400675c4], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x44]
jmp 0x1400179c0
cmp eax, 0x3738
jne 0x140018589
mov rax, qword [rbp + 0x58]
mov dword [rax], 0xfffc
mov rax, qword [rbp + 0x68]
mov dword [rax], 0xd29e6a19
mov eax, dword [rbp]
mov ecx, 0x6232
xor eax, ecx
jmp 0x1400179c0
cmp dword [0x1400675c8], 0xa
mov eax, dword [0x1400675cc]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x34], 0
jne 0x140018193
mov ecx, 1
movsxd rdx, dword [r12 + rcx*4 - 4]
xor dword [rbp + rdx*4 - 0x70], 0x985
movsxd rdx, dword [r12 + rcx*4]
xor dword [rbp + rdx*4 - 0x70], 0x985
add rcx, 2
cmp rcx, 0x1d
jne 0x140018170
test al, al
mov eax, 0x50ff
mov ecx, 0x7dbe
cmovne eax, ecx
xor eax, dword [rbp - 0x64]
mov cl, 1
mov dword [rbp + 0x34], ecx
jmp 0x1400179c0
mov eax, dword [0x1400675d0]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x15b7
mov ecx, 0x6958
cmove eax, ecx
cmp dword [0x1400675d4], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x18]
jmp 0x1400179c0
mov al, byte [rbp + 0x67]
cmp byte [rbp + 0x2c], 0
je 0x1400184ef
test al, 1
mov eax, 0x4cd2
mov ecx, 0x2e0e
cmovne eax, ecx
xor eax, dword [rbp - 0x70]
mov cl, 1
mov dword [rbp + 0x2c], ecx
jmp 0x1400179c0
mov rax, qword [rbp + 0x58]
movzx eax, word [rax]
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov word [rcx], ax
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov eax, dword [rax]
add eax, 2
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx]
mov word [rcx + 2], ax
mov rax, qword [rbp + 0x58]
mov rax, qword [rbp + 0x68]
mov dword [rax], 0x36d20983
mov eax, dword [rbp + 4]
mov ecx, 0x453
xor eax, ecx
jmp 0x1400179c0
cmp dword [0x1400675d8], 0xa
mov eax, dword [0x1400675dc]
setl cl
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x30], 0
jne 0x140018276
xor dword [rbp - 0x20], 0x3958
test al, al
mov eax, 0x16d1
mov ecx, 0x7684
cmovne eax, ecx
xor eax, dword [rbp - 0x24]
mov cl, 1
mov dword [rbp + 0x30], ecx
jmp 0x1400179c0
mov rax, qword [rbp + 0x68]
mov eax, dword [rax]
mov dword [rbp + 0x14], eax
mov eax, dword [rbp - 0x10]
mov ecx, 0x743b
xor eax, ecx
jmp 0x1400179c0
mov eax, dword [rbp + 0x14]
cmp byte [rbp + 0x38], 0
je 0x140018559
mov cl, 1
mov dword [rbp + 0x38], ecx
cmp eax, 0xfc663862
jg 0x140018397
cmp eax, 0xd2999e56
je 0x140017e85
cmp eax, 0xd29e6a19
je 0x1400182e9
cmp eax, 0xf9515af7
je 0x1400179fe
jmp 0x1400184a6
cmp dword [0x1400675e0], 0xa
mov eax, dword [0x1400675e4]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x20], 0
jne 0x14001831b
xor dword [rbp - 0x34], 0x5039
xor dword [rbp + 4], 0x5039
test al, al
mov eax, 0x20c0
mov ecx, 0x546a
cmovne eax, ecx
xor eax, dword [rbp - 0x38]
mov cl, 1
mov dword [rbp + 0x20], ecx
jmp 0x1400179c0
mov eax, dword [rbp - 0xc]
mov ecx, 0x1a00
xor eax, ecx
jmp 0x1400179c0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov word [rax + 2], 0
mov rax, qword [rbp + 0x70]
mov rax, qword [rax]
mov word [rax], 0
mov rax, qword [rbp + 0x68]
mov dword [rax], 0x36d20983
mov eax, dword [0x1400675e8]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x6f4f
mov ecx, 0x3445
cmove eax, ecx
cmp dword [0x1400675ec], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x2c]
jmp 0x1400179c0
cmp eax, 0xfc663863
je 0x140018403
cmp eax, 0x36d20983
je 0x140018451
cmp eax, 0x47d62571
jne 0x1400184a6
cmp dword [0x1400675f0], 0xa
mov eax, dword [0x1400675f4]
setl cl
mov edx, eax
not edx
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x24], 0
jne 0x1400183e7
xor dword [rbp - 0x2c], 0x22f1
xor dword [rbp + 8], 0x22f1
test al, al
mov eax, 0x4dbe
mov ecx, 0x543d
cmovne eax, ecx
xor eax, dword [rbp - 0x30]
mov cl, 1
mov dword [rbp + 0x24], ecx
jmp 0x1400179c0
cmp dword [0x1400675f8], 0xa
mov eax, dword [0x1400675fc]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x1c], 0
jne 0x140018435
xor dword [rbp - 0x3c], 0x476
xor dword [rbp], 0x476
test al, al
mov eax, 0x7ec8
mov ecx, 0x6644
cmovne eax, ecx
xor eax, dword [rbp - 0x40]
mov cl, 1
mov dword [rbp + 0x1c], ecx
jmp 0x1400179c0
cmp dword [0x140067600], 0xa
mov eax, dword [0x140067604]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x28], 0
jne 0x14001848a
xor dword [rbp - 0x24], 0xbb5
xor dword [rbp - 0x20], 0xbb5
xor dword [rbp + 0xc], 0xbb5
test al, al
mov eax, 0x1d64
mov ecx, 0x6607
cmovne eax, ecx
xor eax, dword [rbp - 0x28]
mov cl, 1
mov dword [rbp + 0x28], ecx
jmp 0x1400179c0
cmp dword [0x140067608], 0xa
mov eax, dword [0x14006760c]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test bl, bl
jne 0x1400184d6
xor dword [rbp - 0x54], 0x20ad
xor dword [rbp - 0xc], 0x20ad
test al, al
mov eax, 0x40eb
mov ecx, 0x3aad
cmovne eax, ecx
xor eax, dword [rbp - 0x58]
mov bl, 1
jmp 0x1400179c0
mov ecx, 1
nop word cs:[rax + rax]
nop
movsxd rdx, dword [r14 + rcx*4 - 4]
xor byte [rbp + rdx*4 - 0x70], 0x26
cmp rcx, 0x1f
je 0x1400181ea
movsxd rdx, dword [r14 + rcx*4]
xor byte [rbp + rdx*4 - 0x70], 0x26
add rcx, 2
jmp 0x140018500
mov ecx, 1
nop dword [rax + rax]
movsxd rdx, dword [r15 + rcx*4 - 4]
xor dword [rbp + rdx*4 - 0x70], 0x52f6
cmp rcx, 0x1d
je 0x140017c97
movsxd rdx, dword [r15 + rcx*4]
xor dword [rbp + rdx*4 - 0x70], 0x52f6
add rcx, 2
jmp 0x140018530
mov ecx, 1
nop
movsxd rdx, dword [rsi + rcx*4 - 4]
xor dword [rbp + rdx*4 - 0x70], 0x2e15
cmp rcx, 0x19
je 0x1400182b7
movsxd rdx, dword [rsi + rcx*4]
xor dword [rbp + rdx*4 - 0x70], 0x2e15
add rcx, 2
jmp 0x140018560
cmp eax, 0x34c1
jne 0x1400179c0
lea rsp, [rbp + 0x78]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret