Function at 0x201133d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov r14d, edx
mov r12, rcx
mov esi, 0x520
add rsi, qword [rcx + 0x18]
mov rcx, rsi
mov edx, 0x82af8e01
mov r8d, 0x282b2d72
mov r9d, 0x11c4075f
call fcn.2008e7a0
mov rbx, qword [0x205b38f0]
mov r15d, 0xfffffff5
test rbx, rbx
je 0x20113681
mov eax, 0xb2917202
add eax, dword [0x20545408]
mov dword [rbx + 0xc], eax
mov rdx, qword [r12 + 0x18]
movzx r8d, byte [rbx + 0x10]
movsxd rax, dword [0x2046f8d8]
mov ecx, dword [0x2046f8d4]
xor r8b, 1
mov byte [rdx + 0x6ed], r8b
cmp byte [rbx + 0x11], 0
je 0x201135ab
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x28], rdi
mov qword [rbp - 0x18], rsi
lea rdx, [0x2046f8d8]
mov r8, rax
not r8
mov r9, rdx
not r9
mov r10, rax
and r10, r9
and r9, r8
and r8, rdx
or r10, r8
xor rax, rdx
or r9, rax
not r9
lea rdx, [r10 + r9*2]
mov dword [rbp - 4], 0
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x20], rax
mov r8d, 0xb2917203
lea r9, [fcn.201133d0]
lea r10d, [r9 + r9]
add r10d, 0x2ee0
nop word [rax + rax]
mov r11d, dword [0x20545408]
add r11d, r8d
xor r11d, r10d
not r11d
test r11d, r10d
jne 0x201134f1
cmp dword [0x20545408], 0x4d6e8dfe
je 0x2011352d
lea eax, [r9 + r9]
add eax, 0x15a1
lea r11d, [r9 + r9]
add r11d, 0x15a0
not r11d
mov esi, r11d
and esi, 0xfffffffe
mov r15d, r11d
and r15d, eax
xor r11d, eax
xor eax, esi
and r15d, esi
xor eax, r15d
and r11d, r15d
or r11d, eax
cmp r11d, 0xffffffff
jne 0x201134d0
jmp 0x201134e5
mov r8d, dword [0x20544f80]
lea r9d, [r8 + 0x8478330]
mov r10d, r9d
xor r10d, 1
and r9d, 1
lea r11d, [r10 + r9*2]
lea r9d, [r10 + r9*2]
add r9d, 0xf7b87cd0
mov dword [0x20544f80], r9d
mov r12d, 0x847832f
sub r12d, r11d
and r12d, r8d
mov r10d, r8d
mov r8d, 0xb2917201
add r8d, dword [0x20545408]
not r10d
xor r8d, r10d
xor r8d, r9d
not r8d
and r8d, r10d
and r10d, r9d
or r12d, r10d
mov r9d, dword [0x205b39b8]
lea r10d, [r9 - 1]
imul r10d, r9d
test r10b, 1
jne 0x2011399d
jmp 0x20113990
mov rax, qword [r12 + 0x18]
mov byte [rax + 0x6ed], 0
jmp 0x20113681
mov r13, rax
nop
lea rdx, [rcx + 0x10]
cmp dword [rcx + 0x20], r14d
cmovae r13, rcx
cmovae rdx, rcx
mov rcx, qword [rdx]
movzx edx, byte [0x205b39c4]
add dl, byte [rcx + 0x19]
movzx r8d, byte [0x2054540c]
add r8b, 0x94
cmp dl, r8b
je 0x201135c0
cmp byte [r13 + 0x19], 0
je 0x2011369d
mov eax, 0xb2917202
add eax, dword [0x20545408]
cmp dword [rbp - 4], eax
mov r10, qword [rbp - 0x10]
jne 0x20113614
mov dword [rbp - 4], 0xfffffffd
mov rax, qword [r10 + 0x18]
mov byte [rax + 0x6ed], 0
cmp qword [0x205b39c8], 0
mov r8, qword [rbp - 0x28]
jne 0x20113656
mov ecx, 0x700
call fcn.2042789c
mov qword [rbp - 0x20], rax
mov rcx, rax
call fcn.20079790
mov rax, qword [rbp - 0x20]
mov qword [0x205b39c8], rax
mov r8, qword [rbp - 0x28]
mov r10, qword [rbp - 0x10]
mov rax, qword [0x205b39c8]
mov rax, qword [rax + 0x6f0]
mov r9d, dword [rbp - 4]
mov edx, dword [r10 + 0xc]
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.20104160
mov r15d, dword [rbp - 4]
mov rsi, qword [rbp - 0x18]
mov rcx, rsi
call fcn.20101050
mov eax, r15d
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp dword [r13 + 0x20], r14d
ja 0x201135f9
cmp r13, rax
je 0x201135f9
lea r15, [r13 + 0x30]
mov edx, dword [0x205b39c0]
add edx, dword [r13 + 0x28]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov r8, r15
call qword [case.0x2010e313.0]
lea r14, [r13 + 0x28]
mov r8d, dword [r15]
mov edx, dword [r14]
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x2010e313.0]
mov r8d, eax
mov rax, qword [rbp - 0x10]
mov r9, qword [rax + 0x18]
mov eax, 0xb2917203
add eax, dword [0x20545408]
lea rcx, [fcn.201133d0]
add ecx, ecx
add ecx, 0x30a0
not ecx
mov edx, ecx
xor edx, eax
or ecx, eax
and ecx, edx
xor eax, ecx
not eax
test eax, ecx
jne 0x20113796
jmp 0x20113726
movzx ecx, word [0x2046f8e0]
mov r10d, dword [0x205b39b8]
mov edx, dword [0x20545408]
mov eax, edx
xor eax, 0xb2917203
mov r11d, edx
and r11d, 0x32917203
add r11d, r11d
mov r15d, edx
xor r15d, eax
xor r15d, 0x45228404
and r15d, r11d
xor r15d, eax
and r11d, eax
lea r11d, [r15 + r11*2]
mov eax, r10d
sub eax, r11d
imul eax, r10d
mov r10d, edx
xor r10d, 0xb2917204
not edx
and edx, 0x4d6e8dfb
or edx, r10d
not edx
lea r10d, [r10 + rdx*2]
xor edx, edx
div r10d
test edx, edx
je 0x2011379f
movzx eax, word [0x2046f8e0]
jmp 0x20113726
xor eax, eax
test r12d, r12d
setne al
lea edx, [rax + 0x4d6a]
xor edx, 0xffffb295
lea eax, [rdx + rax*2]
sub ecx, esi
mov edx, ecx
not edx
xor ecx, eax
not eax
and eax, edx
or eax, ecx
mov ecx, eax
not ecx
mov edx, ecx
shr edx, 8
mov r10d, eax
and r10b, dl
or al, dl
and edx, ecx
not al
or al, r10b
mov ecx, edx
not cl
mov r10d, edx
xor r10b, al
mov r11d, ecx
and cl, al
not al
and r11b, al
or r11b, r10b
xor al, dl
or al, cl
not al
or al, cl
not al
mov ecx, eax
xor cl, r11b
or al, r11b
not al
or al, cl
movzx r10d, byte [0x205b39c4]
mov ecx, r10d
xor cl, 0xc1
not r10b
and r10b, 0x3e
or r10b, cl
not r10b
add r10b, r10b
add r10b, cl
add r10b, al
mov r11d, r10d
neg r11b
lea rax, [fcn.201133d0]
lea ecx, [rax + rax]
add ecx, 0x3fc0
mov edx, ecx
not edx
and ecx, edx
add eax, eax
add eax, 0x3fc1
and edx, 0xfffffffe
xor edx, eax
or edx, ecx
cmp edx, 0xffffffff
jne 0x20113871
lea eax, [r10 + 0x3f]
mov byte [0x205b39c4], al
mov eax, dword [0x205b39bc]
cmp eax, 0x3f
jl 0x201138da
lea rax, [fcn.201133d0]
add eax, eax
add eax, 0x1980
mov ecx, eax
not ecx
mov edx, eax
and edx, ecx
mov esi, ecx
and esi, 0xfffffffe
or esi, edx
xor ecx, esi
or esi, eax
or esi, ecx
nop word cs:[rax + rax]
movzx eax, byte [0x2054540c]
add al, r11b
mov cl, 0x5e
sub cl, al
movzx ecx, cl
mov eax, ecx
shl eax, 6
sub ecx, eax
add cl, 0xd
mov edx, r10d
shl dl, cl
mov eax, r10d
mov ecx, edx
shl al, cl
sub al, dl
mul dl
sub al, dl
mov byte [0x205b39c4], al
cmp esi, 0xffffffff
jne 0x201138a0
jmp 0x2011385c
test r8d, r8d
mov r10, qword [rbp - 0x10]
je 0x201138f0
mov byte [r9 + 0x6ed], 0
jmp 0x2011397c
movsxd rax, dword [r13 + 0x40]
mov rcx, qword [r9 + 0x370]
lea rax, [rax + rax*4]
shl rax, 5
mov edx, dword [rcx + rax + 0x24]
mov dword [r10 + 0xc], edx
mov dword [rbx + 8], edx
mov eax, dword [rcx + rax]
and eax, 8
mov ecx, dword [0x20545408]
mov edx, ecx
xor edx, 0xb2917202
not ecx
and ecx, 0x4d6e8dfd
or ecx, edx
not ecx
lea ecx, [rdx + rcx*2]
cmp eax, ecx
jne 0x2011394e
mov rcx, qword [r10 + 0x18]
mov edx, dword [r10 + 0xc]
xor r8d, r8d
call fcn.20354720
test rax, rax
mov r10, qword [rbp - 0x10]
je 0x20113984
mov rax, qword [r10]
mov rax, qword [rax + 0x20]
lea r8, [rbp - 4]
mov rcx, r10
mov rdx, r14
call qword [case.0x2010e313.0]
test eax, eax
je 0x201135f9
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x18]
mov byte [rax + 0x6ed], 0
xor r15d, r15d
jmp 0x2011367d
mov dword [rbp - 4], 0xfffffffe
jmp 0x20113614
mov r9d, dword [0x205b39bc]
cmp r9d, 0x26
jl 0x201139c7
mov r9d, 0xb2917258
nop word cs:[rax + rax]
mov eax, dword [0x205b39bc]
mov r10d, dword [0x20545408]
add r10d, r9d
cmp eax, r10d
jge 0x201139b0
jmp 0x20113990
or r12d, r8d
xor r12d, 0xffffffff
je 0x201139d4
xor esi, esi
jmp 0x201139e0
xor r8d, r8d
mov esi, 0
test ecx, ecx
jg 0x201139fa
mov rax, qword [rbp - 0x20]
mov rcx, qword [rax + 8]
cmp byte [rcx + 0x19], 0
mov r13, rax
jne 0x201135ee
jmp 0x201135bc
mov r9d, 0xb291720e
xor esi, esi
jmp 0x20113a45
mov eax, r8d
xor eax, 0xfffffffe
and r8d, 0x7ffffffe
lea eax, [rax + r8*2]
mov r8d, dword [0x20545408]
mov r10d, r8d
xor r10d, 0xb2917202
and r8d, 0x32917202
lea r8d, [r10 + r8*2]
sub r8d, eax
cmp r8d, ecx
jge 0x201139e0
movsxd r10, r8d
add r10, rdx
nop dword [rax + rax]
mov r11d, dword [0x205b39b8]
lea r15d, [r11 - 1]
imul r15d, r11d
test r15b, 1
jne 0x20113a50
movzx r10d, word [r10]
mov r11d, esi
not r11d
mov r13d, r11d
and r13d, esi
xor r13d, r11d
mov r15d, r10d
not r15d
mov r11d, r15d
xor r11d, r13d
and r11d, r13d
mov r13d, dword [0x205b39b8]
lea eax, [r13 + 1]
imul eax, r13d
test al, 1
jne 0x20113ac0
nop word [rax + rax]
mov eax, dword [0x205b39b8]
mov r13d, 0x4270d951
sub r13d, eax
imul r13d, eax
test r13b, 1
je 0x20113af0
nop dword [rax]
mov eax, dword [0x205b39b8]
lea r13d, [rax - 1]
imul r13d, eax
and r13d, 1
mov eax, dword [0x20545408]
mov edi, eax
xor edi, 0xb2917202
and eax, 0x32917202
lea eax, [rdi + rax*2]
cmp r13d, eax
jne 0x20113ac0
jmp 0x20113aa0
xor r15d, esi
xor esi, r10d
and esi, r10d
or esi, r15d
not esi
or r11d, esi
mov esi, r11d
neg r8d
nop word [rax + rax]
mov eax, dword [0x205b39bc]
cmp eax, 0x50
jg 0x20113b39
mov eax, dword [0x205b39b8]
mov r10d, eax
not r10d
add r10d, 2
imul r10d, eax
test r10b, 1
je 0x20113a10
mov eax, dword [0x205b39bc]
mov r10d, dword [0x20545408]
add r10d, r9d
cmp eax, r10d
jge 0x20113b10
jmp 0x20113b1b