Function at 0x1800051d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
lea rbp, [rsp + 0x80]
mov dword [rbp + 8], r8d
mov qword [rbp - 0x80], rdx
mov qword [rbp - 0x78], rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x14], 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 eax, dword [0x180099dfc]
cmp dword [0x180099df8], 0xa
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
mov edx, ecx
and dl, al
mov byte [rbp + 0x56], dl
xor cl, al
mov byte [rbp + 0x57], cl
mov al, byte [rbp + 0x57]
mov eax, 1
lea rcx, [0x18002a150]
nop dword [rax]
movsxd rdx, dword [rcx + rax*4 - 4]
xor dword [rbp + rdx*4 - 0x70], 0x1e27
movsxd rdx, dword [rcx + rax*4]
xor dword [rbp + rdx*4 - 0x70], 0x1e27
add rax, 2
cmp rax, 0x1b
jne 0x180005250
mov eax, 0x8c0
mov dword [rbp + 0xc], 0
movaps xmm0, xmmword [0x180029970]
movaps xmm1, xmmword [0x180029960]
lea rsi, [0x18002a0e0]
lea r8, [0x18002a220]
lea r14, [0x18002a1c0]
mov dword [rbp + 0x1c], 0
mov dword [rbp + 0x18], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x20], 0
xor r15d, r15d
xor r12d, r12d
xor r10d, r10d
xor r11d, r11d
xor r9d, r9d
mov dword [rbp + 0x10], 0
mov dword [rbp + 0x14], 0
jmp 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [rbp - 0xc]
mov ecx, 0x77f6
xor eax, ecx
nop dword [rax + rax]
cmp eax, 0x420a
jg 0x1800053a0
cmp eax, 0x1d99
jle 0x180005410
cmp eax, 0x2ff6
jle 0x180005523
cmp eax, 0x3148
jg 0x1800057dc
cmp eax, 0x2ff7
je 0x1800052dd
cmp eax, 0x30a8
jne 0x1800052f0
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov al, byte [rax]
mov rcx, qword [rbp + 0x30]
mov rcx, qword [rcx]
mov byte [rcx], al
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
add rax, 1
mov rcx, qword [rbp + 0x30]
mov qword [rcx], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
add rax, 1
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x8a19a584
mov eax, dword [0x180099ddc]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x42e0
mov ecx, 0x2440
cmove eax, ecx
cmp dword [0x180099dd8], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x44]
jmp 0x1800052f0
cmp eax, 0x6e3e
jg 0x1800054b0
cmp eax, 0x5067
jg 0x1800055ee
cmp eax, 0x45de
jg 0x180005801
cmp eax, 0x420b
je 0x180005857
cmp eax, 0x42aa
jne 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x28]
cmp eax, dword [rcx]
mov eax, 0x3bfbfe23
mov ecx, 0xc2fc5f6a
cmovl eax, ecx
mov rcx, qword [rbp + 0x40]
mov dword [rcx], eax
mov eax, dword [rbp - 0x18]
mov ecx, 0x3d19
xor eax, ecx
jmp 0x1800052f0
cmp eax, 0x8bf
jg 0x18000565c
cmp eax, 0x24e
je 0x180005885
cmp eax, 0x348
je 0x180005916
cmp eax, 0x363
jne 0x1800052f0
mov eax, dword [0x180099e04]
mov ecx, dword [0x180099e00]
cmp ecx, 9
setg r13b
cmp ecx, 0xa
setl cl
lea edi, [rax + 1]
imul edi, eax
test dil, 1
sete al
mov edi, ecx
and dil, al
mov edx, eax
and dl, r13b
mov ebx, ecx
xor bl, al
xor bl, dl
or cl, al
or al, r13b
xor al, cl
xor al, bl
xor al, 1
or al, dil
test r11b, r11b
jne 0x180005493
xor dword [rbp - 0x3c], 0x476
xor dword [rbp - 0x10], 0x476
test al, 1
mov eax, 0x3b2c
mov ecx, 0x3aad
cmovne eax, ecx
xor eax, dword [rbp - 0x40]
mov r11b, 1
jmp 0x1800052f0
cmp eax, 0x7986
jg 0x1800056d6
cmp eax, 0x6e3f
je 0x1800059d1
cmp eax, 0x72dc
je 0x180005a23
cmp eax, 0x735d
jne 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
add eax, 1
mov rcx, qword [rbp + 0x48]
mov dword [rcx], eax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x252911f
mov eax, dword [0x180099dbc]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x3f5a
mov ecx, 0x36eb
cmove eax, ecx
cmp dword [0x180099db8], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x3c]
jmp 0x1800052f0
cmp eax, 0x1d9a
je 0x180005a4b
cmp eax, 0x1dcd
je 0x180005a5a
cmp eax, 0x2fb4
jne 0x1800052f0
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x28], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x38], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x30], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rbp + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp - 0x80]
mov qword [rax], rcx
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x78]
mov qword [rax], rcx
mov rax, qword [rbp + 0x48]
mov rax, qword [rbp + 0x48]
mov dword [rax], 0
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x252911f
mov eax, dword [rbp - 0x24]
mov ecx, 0x6017
xor eax, ecx
jmp 0x1800052f0
cmp eax, 0x5068
je 0x180005aa9
cmp eax, 0x52f5
je 0x180005bec
cmp eax, 0x5c3b
jne 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x28]
cmp eax, dword [rcx]
mov eax, 0x3bfbfe23
mov ecx, 0xc2fc5f6a
cmovl eax, ecx
mov rcx, qword [rbp + 0x40]
mov dword [rcx], eax
mov eax, dword [0x180099de4]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x2388
mov ecx, 0x1a4f
cmove eax, ecx
cmp dword [0x180099de0], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x4c]
jmp 0x1800052f0
cmp eax, 0x8c0
je 0x180005ad7
cmp eax, 0x98e
je 0x180005b03
cmp eax, 0x1ade
jne 0x1800052f0
mov eax, dword [0x180099dc0]
cmp dword [0x180099dc4], 0xa
setl cl
mov edx, eax
not edx
add edx, 0xf18569a
imul edx, eax
test dl, 1
sete al
or al, cl
test r9b, r9b
jne 0x1800056bc
xor dword [rbp - 0x34], 0x5039
xor dword [rbp - 0x30], 0x5039
xor dword [rbp - 0xc], 0x5039
test al, al
mov eax, 0x6607
mov ecx, 0x27cf
cmovne eax, ecx
xor eax, dword [rbp - 0x38]
mov r9b, 1
jmp 0x1800052f0
cmp eax, 0x7987
je 0x180005b6f
cmp eax, 0x7b6d
je 0x180005b87
cmp eax, 0x7e16
jne 0x1800052f0
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x28], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x38], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x30], rax
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x48], rax
mov rax, qword [rbp + 0x28]
mov ecx, dword [rbp + 8]
mov dword [rax], ecx
mov rax, qword [rbp + 0x38]
mov rcx, qword [rbp - 0x80]
mov qword [rax], rcx
mov rax, qword [rbp + 0x30]
mov rcx, qword [rbp - 0x78]
mov qword [rax], rcx
mov rax, qword [rbp + 0x48]
mov rax, qword [rbp + 0x48]
mov dword [rax], 0
mov eax, 0x10
call fcn.180028230
sub rsp, rax
mov rax, rsp
mov qword [rbp + 0x40], rax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x252911f
mov edx, dword [0x180099e14]
cmp dword [0x180099e10], 0xa
setl al
lea ecx, [rdx + 1]
imul ecx, edx
test cl, 1
sete cl
mov edx, eax
or dl, cl
xor al, cl
or al, dl
cmp byte [rbp + 0x1c], 0
je 0x180005c37
test al, al
mov eax, 0x31b5
mov ecx, 0x178f
cmovne eax, ecx
xor eax, dword [rbp - 0x68]
mov cl, 1
mov dword [rbp + 0x1c], ecx
jmp 0x1800052f0
cmp eax, 0x3149
je 0x180005986
cmp eax, 0x34c1
jne 0x1800052f0
mov eax, dword [rbp - 8]
mov ecx, 0x7f35
xor eax, ecx
jmp 0x1800052f0
cmp eax, 0x489b
jne 0x180005c93
cmp dword [0x180099df4], 0xa
mov eax, dword [0x180099df0]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r15b, r15b
jne 0x18000583d
xor dword [rbp - 0x54], 0x20ad
xor dword [rbp - 0x1c], 0x20ad
test al, al
mov eax, 0x546a
mov ecx, 0xbfb
cmovne eax, ecx
xor eax, dword [rbp - 0x58]
mov r15b, 1
jmp 0x1800052f0
mov eax, dword [0x180099dcc]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x74c7
mov ecx, 0x1230
cmove eax, ecx
cmp dword [0x180099dc8], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x54]
jmp 0x1800052f0
mov rax, qword [rbp + 0x40]
mov eax, dword [rax]
mov dword [rbp + 4], eax
cmp dword [0x180099de8], 0xa
mov eax, dword [0x180099dec]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x24], 0
jne 0x1800058fa
movups xmm2, xmmword [rbp - 0x5c]
movups xmm3, xmmword [rbp - 0x4c]
movups xmm4, xmmword [rbp - 0x3c]
movups xmm5, xmmword [rbp - 0x1c]
xorps xmm2, xmm0
movups xmmword [rbp - 0x5c], xmm2
xorps xmm3, xmm0
movups xmmword [rbp - 0x4c], xmm3
xorps xmm4, xmm0
movups xmmword [rbp - 0x3c], xmm4
xor dword [rbp - 0x2c], 0x2297
xor dword [rbp - 0x28], 0x2297
xorps xmm5, xmm0
movups xmmword [rbp - 0x1c], xmm5
xor dword [rbp - 0xc], 0x2297
xor dword [rbp - 8], 0x2297
test al, al
mov eax, 0x3cf5
mov ecx, 0x463a
cmovne eax, ecx
xor eax, dword [rbp - 0x60]
mov cl, 1
mov dword [rbp + 0x24], ecx
jmp 0x1800052f0
mov eax, dword [rbp + 4]
cmp byte [rbp + 0x20], 0
jne 0x180005960
movups xmm2, xmmword [rbp - 0x58]
movups xmm3, xmmword [rbp - 0x48]
movups xmm4, xmmword [rbp - 0x38]
movups xmm5, xmmword [rbp - 0x1c]
xorps xmm2, xmm1
movups xmmword [rbp - 0x58], xmm2
xorps xmm3, xmm1
movups xmmword [rbp - 0x48], xmm3
xorps xmm4, xmm1
movups xmmword [rbp - 0x38], xmm4
xor dword [rbp - 0x28], 0x2e15
xorps xmm5, xmm1
movups xmmword [rbp - 0x1c], xmm5
xor dword [rbp - 0xc], 0x2e15
xor dword [rbp - 8], 0x2e15
mov cl, 1
mov dword [rbp + 0x20], ecx
cmp eax, 0x252911e
jg 0x180005bd5
cmp eax, 0x8a19a584
je 0x18000543c
cmp eax, 0xc2fc5f6a
jne 0x18000580c
cmp dword [0x180099e0c], 0xa
mov eax, dword [0x180099e08]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r10b, r10b
jne 0x1800059b7
xor dword [rbp - 0x44], 0x16dd
xor dword [rbp - 0x14], 0x16dd
test al, al
mov eax, 0x543d
mov ecx, 0x7958
cmovne eax, ecx
xor eax, dword [rbp - 0x48]
mov r10b, 1
jmp 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [0x18009a2c8]
cmp dword [0x18009a2cc], 0xa
setl cl
mov edx, eax
not edx
add edx, 0x674edc80
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x10], 0
jne 0x180005a07
xor dword [rbp - 0x30], 0x3e31
test al, al
mov eax, 0x363e
mov ecx, 0x5c16
cmovne eax, ecx
xor eax, dword [rbp - 0x34]
mov cl, 1
mov dword [rbp + 0x10], ecx
jmp 0x1800052f0
mov rax, qword [rbp + 0x48]
mov eax, dword [rax]
add eax, 1
mov rcx, qword [rbp + 0x48]
mov dword [rcx], eax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x252911f
mov eax, dword [rbp - 0x10]
mov ecx, 0x3edb
xor eax, ecx
jmp 0x1800052f0
mov eax, dword [rbp - 0x1c]
mov ecx, 0x2b56
xor eax, ecx
jmp 0x1800052f0
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
mov al, byte [rax]
mov rcx, qword [rbp + 0x30]
mov rcx, qword [rcx]
mov byte [rcx], al
mov rax, qword [rbp + 0x30]
mov rax, qword [rax]
add rax, 1
mov rcx, qword [rbp + 0x30]
mov qword [rcx], rax
mov rax, qword [rbp + 0x38]
mov rax, qword [rax]
add rax, 1
mov rcx, qword [rbp + 0x38]
mov qword [rcx], rax
mov rax, qword [rbp + 0x40]
mov dword [rax], 0x8a19a584
mov eax, dword [rbp - 0x14]
mov ecx, 0x6f85
xor eax, ecx
jmp 0x1800052f0
mov eax, dword [0x18009a2d0]
lea ecx, [rax + 1]
imul ecx, eax
test cl, 1
mov eax, 0x1b9c
mov ecx, 0x26d3
cmove eax, ecx
cmp dword [0x18009a2d4], 0xa
cmovl eax, ecx
xor eax, dword [rbp - 0x28]
jmp 0x1800052f0
mov al, byte [rbp + 0x56]
or al, byte [rbp + 0x57]
cmp byte [rbp + 0xc], 0
je 0x180005c69
test al, 1
mov eax, 0x3193
mov ecx, 0x6031
cmovne eax, ecx
xor eax, dword [rbp - 0x70]
mov cl, 1
mov dword [rbp + 0xc], ecx
jmp 0x1800052f0
mov ecx, dword [0x180099e1c]
cmp dword [0x180099e18], 9
setg dl
lea eax, [rcx + 1]
imul eax, ecx
and al, dl
cmp byte [rbp + 0x18], 0
jne 0x180005b53
mov edx, 1
nop word cs:[rax + rax]
movsxd rcx, dword [r8 + rdx*4 - 4]
xor dword [rbp + rcx*4 - 0x70], 0x985
movsxd rcx, dword [r8 + rdx*4]
xor dword [rbp + rcx*4 - 0x70], 0x985
add rdx, 2
cmp rdx, 0x17
jne 0x180005b30
test al, al
mov eax, 0x4eb9
mov ecx, 0x3570
cmovne eax, ecx
xor eax, dword [rbp - 0x64]
mov cl, 1
mov dword [rbp + 0x18], ecx
jmp 0x1800052f0
mov rax, qword [rbp + 0x40]
mov eax, dword [rax]
mov dword [rbp + 4], eax
mov eax, dword [rbp - 0x20]
mov ecx, 0x473c
xor eax, ecx
jmp 0x1800052f0
cmp dword [0x18009a2e0], 0xa
mov eax, dword [0x18009a2e4]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
cmp byte [rbp + 0x14], 0
jne 0x180005bb9
xor dword [rbp - 0x28], 0x66ad
xor dword [rbp - 8], 0x66ad
test al, al
mov eax, 0x7d31
mov ecx, 0x1998
cmovne eax, ecx
xor eax, dword [rbp - 0x2c]
mov cl, 1
mov dword [rbp + 0x14], ecx
jmp 0x1800052f0
cmp eax, 0x252911f
je 0x180005bec
cmp eax, 0x3bfbfe23
je 0x18000567d
jmp 0x18000580c
cmp dword [0x180099dd4], 0xa
mov eax, dword [0x180099dd0]
setl cl
lea edx, [rax + 1]
imul edx, eax
test dl, 1
sete al
or al, cl
test r12b, r12b
jne 0x180005c1d
xor dword [rbp - 0x4c], 0x28d2
xor dword [rbp - 0x18], 0x28d2
test al, al
mov eax, 0xb5a
mov ecx, 0x15cb
cmovne eax, ecx
xor eax, dword [rbp - 0x50]
mov r12b, 1
jmp 0x1800052f0
mov edx, 1
nop dword [rax]
movsxd rcx, dword [r14 + rdx*4 - 4]
xor dword [rbp + rcx*4 - 0x70], 0x52f6
cmp rdx, 0x17
je 0x1800057c0
movsxd rcx, dword [r14 + rdx*4]
xor dword [rbp + rcx*4 - 0x70], 0x52f6
add rdx, 2
jmp 0x180005c40
mov r13d, 1
nop
movsxd rdx, dword [rsi + r13*4 - 4]
xor byte [rbp + rdx*4 - 0x70], 0x26
cmp r13, 0x19
je 0x180005ae7
movsxd rcx, dword [rsi + r13*4]
xor byte [rbp + rcx*4 - 0x70], 0x26
add r13, 2
jmp 0x180005c70
cmp eax, 0x45df
jne 0x1800052f0
lea rsp, [rbp + 0x58]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret