Function at 0x140005200
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 - 0x70], rdx
mov qword [rbp - 0x68], 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
mov qword [rbp + 0x10], 0
cmp dword [0x140066740], 9
mov eax, dword [0x140066744]
setg cl
lea edx, [rax + 1]
imul edx, eax
and dl, cl
mov byte [rbp + 0x6f], dl
mov eax, 1
lea rcx, [0x1400592a0]
nop word cs:[rax + rax]
nop dword [rax + rax]
movsxd rdx, dword [rcx + rax*4 - 4]
xor dword [rbp + rdx*4 - 0x60], 0x1e27
cmp rax, 0x1d
je 0x1400052a5
movsxd rdx, dword [rcx + rax*4]
xor dword [rbp + rdx*4 - 0x60], 0x1e27
add rax, 2
jmp 0x140005280
mov eax, 0x98e
mov dword [rbp + 0x2c], 0
lea r9, [0x140059320]
lea rbx, [0x140059230]
lea r15, [0x140059400]
lea r11, [0x140059390]
lea rdi, [0x140059460]
mov dword [rbp + 0x3c], 0
mov dword [rbp + 0x40], 0
mov dword [rbp + 0x44], 0
mov dword [rbp + 0x34], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x28], 0
xor r14d, r14d
xor r13d, r13d
xor r10d, r10d
xor r12d, r12d
mov dword [rbp + 0x30], 0
mov dword [rbp + 0x38], 0
jmp 0x140005330
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
mov qword [rbp - 0x78], rax
mov eax, dword [rbp + 0x10]
mov ecx, 0x1286
xor eax, ecx
nop
cmp eax, 0x420a
jg 0x1400053c0
cmp eax, 0x2d80
jg 0x140005410
cmp eax, 0x1add
jg 0x140005507
cmp eax, 0x91a
jg 0x140005674
cmp eax, 0x348
je 0x14000587a
cmp eax, 0x363
jne 0x140005330
mov rax, qword [rbp + 0x70]
mov eax, dword [rax]
cdqe
mov rcx, qword [rbp + 0x50]
cmp qword [rcx], rax
mov eax, 0xec03d715
mov ecx, 0x6e8600b1
cmova eax, ecx
mov rcx, qword [rbp + 0x60]
mov dword [rcx], eax
mov eax, dword [0x140066748]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x3e66
mov ecx, 0x2388
cmove eax, ecx
cmp dword [0x14006674c], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x3c]
jmp 0x140005330
cmp eax, 0x5c3a
jg 0x140005490
cmp eax, 0x489a
jle 0x140005550
cmp eax, 0x5067
jg 0x1400056dd
cmp eax, 0x489b
je 0x14000597f
cmp eax, 0x4b40
jne 0x140005330
mov eax, dword [rbp + 0x14]
mov ecx, 0x6d65
xor eax, ecx
jmp 0x140005330
cmp eax, 0x3028
jle 0x1400055cf
cmp eax, 0x3148
jg 0x140005769
cmp eax, 0x3029
je 0x1400059cf
cmp eax, 0x30a8
jne 0x140005330
mov eax, dword [0x140066750]
cmp dword [0x140066754], 0xa
setl cl
mov edx, 1
sub edx, eax
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x28], 0
jne 0x140005472
xor dword [rbp - 0x3c], 0x28d2
xor dword [rbp], 0x28d2
test al, al
mov eax, 0x16b4
mov ecx, 0x4a93
cmovne eax, ecx
xor eax, dword [rbp - 0x40]
mov cl, 1
mov dword [rbp + 0x28], ecx
jmp 0x140005330
cmp eax, 0x72db
jle 0x140005608
cmp eax, 0x7986
jg 0x14000578e
cmp eax, 0x72dc
je 0x140005a0e
cmp eax, 0x735d
jne 0x140005330
cmp dword [0x140066758], 0xa
mov eax, dword [0x14006675c]
setl cl
lea edx, [rax - 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r14b, r14b
jne 0x1400054ed
xor dword [rbp - 0x34], 0x16dd
xor dword [rbp + 4], 0x16dd
test al, al
mov eax, 0x6471
mov ecx, 0x532e
cmovne eax, ecx
xor eax, dword [rbp - 0x38]
mov r14b, 1
jmp 0x140005330
cmp eax, 0x1d99
jg 0x140005841
cmp eax, 0x1ade
je 0x140005ab6
cmp eax, 0x1c08
jne 0x140005330
mov rax, qword [rbp + 0x70]
mov eax, dword [rax]
add eax, 1
mov rcx, qword [rbp + 0x70]
mov dword [rcx], eax
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe143f7d
mov eax, dword [rbp + 0xc]
mov ecx, 0x49a1
xor eax, ecx
jmp 0x140005330
cmp eax, 0x420b
je 0x140005af6
cmp eax, 0x42aa
je 0x140005b5d
cmp eax, 0x45df
jne 0x140005330
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x70]
mov ecx, dword [rcx]
movsxd rcx, ecx
mov al, byte [rax + rcx]
mov rcx, qword [rbp + 0x58]
mov rcx, qword [rcx]
mov rdx, qword [rbp + 0x70]
mov edx, dword [rdx]
movsxd rdx, edx
mov byte [rcx + rdx], al
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe2b2f61d
mov eax, dword [0x140066760]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x7daf
mov ecx, 0xf2c
cmove eax, ecx
cmp dword [0x140066764], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x2c]
jmp 0x140005330
cmp eax, 0x2d81
je 0x140005bab
cmp eax, 0x2fb4
je 0x1400057ef
cmp eax, 0x2ff7
jne 0x140005330
mov rax, qword [rbp + 0x60]
mov eax, dword [rax]
mov dword [rbp + 0x20], eax
mov eax, dword [rbp - 8]
mov ecx, 0x779
xor eax, ecx
jmp 0x140005330
cmp eax, 0x5c3b
je 0x140005cd6
cmp eax, 0x5f44
je 0x140005bc8
cmp eax, 0x6e3f
jne 0x140005330
cmp dword [0x140066768], 0xa
mov eax, dword [0x14006676c]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r13b, r13b
jne 0x14000565a
xor dword [rbp - 0x2c], 0x476
xor dword [rbp + 8], 0x476
test al, al
mov eax, 0x79d9
mov ecx, 0xc2f
cmovne eax, ecx
xor eax, dword [rbp - 0x30]
mov r13b, 1
jmp 0x140005330
cmp eax, 0x91b
je 0x14000531a
cmp eax, 0x98e
jne 0x140005330
mov rcx, r8
mov al, byte [rbp + 0x6f]
cmp byte [rbp + 0x2c], 0
jne 0x1400056be
mov edx, 1
nop dword [rax + rax]
movsxd r8, dword [rbx + rdx*4 - 4]
xor byte [rbp + r8*4 - 0x60], 0x26
movsxd rsi, dword [rbx + rdx*4]
xor byte [rbp + rsi*4 - 0x60], 0x26
add rdx, 2
cmp rdx, 0x1d
jne 0x1400056a0
test al, 1
mov eax, 0x1d6f
mov edx, 0x6cfb
cmovne eax, edx
xor eax, dword [rbp - 0x60]
mov dl, 1
mov dword [rbp + 0x2c], edx
mov r8, rcx
jmp 0x140005330
cmp eax, 0x5068
je 0x140005bf9
cmp eax, 0x52f5
jne 0x140005330
mov eax, dword [rbp + 0x20]
cmp byte [rbp + 0x34], 0
jne 0x140005733
mov edx, 1
nop word cs:[rax + rax]
nop dword [rax + rax]
movsxd rcx, dword [rdi + rdx*4 - 4]
xor dword [rbp + rcx*4 - 0x60], 0x2e15
movsxd rcx, dword [rdi + rdx*4]
xor dword [rbp + rcx*4 - 0x60], 0x2e15
add rdx, 2
cmp rdx, 0x17
jne 0x140005710
mov cl, 1
mov dword [rbp + 0x34], ecx
cmp eax, 0xe143f7c
jle 0x140005cc0
cmp eax, 0xe143f7d
je 0x14000543c
cmp eax, 0x34fb40e7
je 0x1400057ef
cmp eax, 0x6e8600b1
je 0x140005629
jmp 0x140005cd6
cmp eax, 0x3149
je 0x140005c40
cmp eax, 0x34c1
jne 0x140005330
mov eax, dword [rbp - 4]
mov ecx, 0x5814
xor eax, ecx
jmp 0x140005330
cmp eax, 0x7987
je 0x140005c6e
cmp eax, 0x7b6d
jne 0x140005330
cmp dword [0x140066770], 0xa
mov eax, dword [0x140066774]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r10b, r10b
jne 0x1400057d5
xor dword [rbp - 0x24], 0x5039
xor dword [rbp + 0xc], 0x5039
test al, al
mov eax, 0x55f8
mov ecx, 0x1998
cmovne eax, ecx
xor eax, dword [rbp - 0x28]
mov r10b, 1
jmp 0x140005330
cmp dword [0x140066778], 0xa
mov eax, dword [0x14006677c]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r12b, r12b
jne 0x140005827
xor dword [rbp - 0x1c], 0x22f1
xor dword [rbp - 0x18], 0x22f1
xor dword [rbp + 0x10], 0x22f1
test al, al
mov eax, 0x40eb
mov ecx, 0x3077
cmovne eax, ecx
xor eax, dword [rbp - 0x20]
mov r12b, 1
jmp 0x140005330
cmp eax, 0x1dcd
jne 0x140005d89
mov eax, dword [0x140066780]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x3be8
mov ecx, 0x3833
cmove eax, ecx
cmp dword [0x140066784], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x10]
jmp 0x140005330
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 + 0x48], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x58], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x50]
mov qword [rax], r8
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp - 0x70]
mov qword [rax], rcx
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x68]
mov qword [rax], rcx
mov rax, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov dword [rax], 0
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe143f7d
cmp dword [0x140066788], 0xa
mov eax, dword [0x14006678c]
setl dl
lea esi, [rax + 1]
imul esi, eax
test sil, 1
sete al
or al, dl
cmp byte [rbp + 0x3c], 0
jne 0x140005963
mov edx, 1
nop dword [rax]
movsxd rsi, dword [r9 + rdx*4 - 4]
xor dword [rbp + rsi*4 - 0x60], 0x52f6
movsxd rsi, dword [r9 + rdx*4]
xor dword [rbp + rsi*4 - 0x60], 0x52f6
add rdx, 2
cmp rdx, 0x1b
jne 0x140005940
test al, al
mov eax, 0x6cdd
mov ecx, 0x569a
cmovne eax, ecx
xor eax, dword [rbp - 0x58]
mov cl, 1
mov dword [rbp + 0x3c], ecx
jmp 0x140005330
mov edx, dword [0x140066790]
cmp dword [0x140066794], 0xa
setl cl
mov eax, 1
sub eax, edx
imul eax, edx
and eax, 1
sete dl
or al, cl
xor cl, dl
xor al, dl
xor al, 1
or al, cl
cmp byte [rbp + 0x40], 0
je 0x140005d24
test al, al
mov eax, 0x6300
mov ecx, 0xefc
cmovne eax, ecx
xor eax, dword [rbp - 0x54]
mov cl, 1
mov dword [rbp + 0x40], ecx
jmp 0x140005330
mov rax, qword [rbp + 0x48]
mov rax, qword [rax]
mov rcx, qword [rbp + 0x70]
mov ecx, dword [rcx]
movsxd rcx, ecx
mov al, byte [rax + rcx]
mov rcx, qword [rbp + 0x58]
mov rcx, qword [rcx]
mov rdx, qword [rbp + 0x70]
mov edx, dword [rdx]
movsxd rdx, edx
mov byte [rcx + rdx], al
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe2b2f61d
mov eax, dword [rbp + 8]
mov ecx, 0x859
xor eax, ecx
jmp 0x140005330
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 + 0x48], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x58], rax
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x70], rax
mov rax, qword [rbp + 0x50]
mov qword [rax], r8
mov rax, qword [rbp + 0x48]
mov rcx, qword [rbp - 0x70]
mov qword [rax], rcx
mov rax, qword [rbp + 0x58]
mov rcx, qword [rbp - 0x68]
mov qword [rax], rcx
mov rax, qword [rbp + 0x70]
mov rax, qword [rbp + 0x70]
mov dword [rax], 0
mov eax, 0x10
call fcn.1400585d0
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x60], rax
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe143f7d
mov eax, dword [rbp - 0xc]
mov ecx, 0x1d49
xor eax, ecx
jmp 0x140005330
mov rax, qword [rbp + 0x70]
mov rax, qword [rbp + 0x60]
mov dword [rax], 0x34fb40e7
mov eax, dword [0x140066798]
mov ecx, 1
sub ecx, eax
imul ecx, eax
test cl, 1
mov eax, 0x72ac
mov ecx, 0x1d87
cmove eax, ecx
cmp dword [0x14006679c], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x34]
jmp 0x140005330
mov rax, qword [rbp + 0x60]
mov eax, dword [rax]
mov dword [rbp + 0x20], eax
mov ecx, dword [0x1400667a0]
mov edx, dword [0x1400667a4]
cmp edx, 9
setg al
cmp edx, 0xa
setl dl
lea esi, [rcx + 1]
imul esi, ecx
and esi, 1
sete cl
and sil, dl
xor sil, dl
and dl, cl
xor sil, cl
or al, cl
xor al, sil
xor al, 1
or al, dl
cmp byte [rbp + 0x44], 0
je 0x140005d59
test al, al
mov eax, 0x6a85
mov ecx, 0x1787
cmovne eax, ecx
xor eax, dword [rbp - 0x50]
mov cl, 1
mov dword [rbp + 0x44], ecx
jmp 0x140005330
cmp dword [0x1400667a8], 0xa
mov eax, dword [0x1400667ac]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x38], 0
jne 0x140005b8f
xor dword [rbp - 0x10], 0x3958
xor dword [rbp + 0x14], 0x3958
test al, al
mov eax, 0x2b0
mov ecx, 0x543d
cmovne eax, ecx
xor eax, dword [rbp - 0x14]
mov cl, 1
mov dword [rbp + 0x38], ecx
jmp 0x140005330
mov rax, qword [rbp + 0x70]
mov rax, qword [rbp + 0x60]
mov dword [rax], 0x34fb40e7
mov eax, dword [rbp + 4]
mov ecx, 0x45f3
xor eax, ecx
jmp 0x140005330
mov rax, qword [rbp + 0x70]
mov eax, dword [rax]
cdqe
mov rcx, qword [rbp + 0x50]
cmp qword [rcx], rax
mov eax, 0xec03d715
mov ecx, 0x6e8600b1
cmova eax, ecx
mov rcx, qword [rbp + 0x60]
mov dword [rcx], eax
mov eax, dword [rbp]
mov ecx, 0x6241
xor eax, ecx
jmp 0x140005330
mov rax, qword [rbp + 0x70]
mov eax, dword [rax]
add eax, 1
mov rcx, qword [rbp + 0x70]
mov dword [rcx], eax
mov rax, qword [rbp + 0x60]
mov dword [rax], 0xe143f7d
mov eax, dword [0x1400667b0]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x5c1
mov ecx, 0x5b63
cmove eax, ecx
cmp dword [0x1400667b4], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x24]
jmp 0x140005330
mov eax, dword [0x1400667b8]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x5d9c
mov ecx, 0x2bf7
cmove eax, ecx
cmp dword [0x1400667bc], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x44]
jmp 0x140005330
mov rax, qword [rbp + 0x58]
mov rax, qword [rax]
mov qword [rbp - 0x78], rax
cmp dword [0x1400667c0], 0xa
mov eax, dword [0x1400667c4]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x30], 0
jne 0x140005ca4
xor dword [rbp - 0x18], 0x66ad
test al, al
mov eax, 0x621a
mov ecx, 0x769b
cmovne eax, ecx
xor eax, dword [rbp - 0x1c]
mov cl, 1
mov dword [rbp + 0x30], ecx
jmp 0x140005330
cmp eax, 0xe2b2f61d
je 0x1400057a4
cmp eax, 0xec03d715
je 0x1400054bc
cmp dword [0x1400667c8], 0xa
mov eax, dword [0x1400667cc]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x24], 0
jne 0x140005d08
xor dword [rbp - 0x44], 0x20ad
xor dword [rbp - 4], 0x20ad
test al, al
mov eax, 0x7d31
mov ecx, 0x78b9
cmovne eax, ecx
xor eax, dword [rbp - 0x48]
mov cl, 1
mov dword [rbp + 0x24], ecx
jmp 0x140005330
mov edx, 1
nop dword [rax]
movsxd rcx, dword [r11 + rdx*4 - 4]
xor dword [rbp + rcx*4 - 0x60], 0x985
cmp rdx, 0x19
je 0x1400059b3
movsxd rcx, dword [r11 + rdx*4]
xor dword [rbp + rcx*4 - 0x60], 0x985
add rdx, 2
jmp 0x140005d30
mov edx, 1
nop
movsxd rcx, dword [r15 + rdx*4 - 4]
xor dword [rbp + rcx*4 - 0x60], 0x2297
cmp rdx, 0x17
je 0x140005b41
movsxd rcx, dword [r15 + rdx*4]
xor dword [rbp + rcx*4 - 0x60], 0x2297
add rdx, 2
jmp 0x140005d60
cmp eax, 0x1d9a
jne 0x140005330
mov rax, qword [rbp - 0x78]
lea rsp, [rbp + 0x78]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret