Function at 0x20369ae0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x88
lea rbp, [rsp + 0x80]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffff0e4a
mov eax, dword [0x20592c90]
add eax, r14d
cdqe
add rax, qword [0x20592ce0]
mov r9d, dword [0x20592d78]
lea ecx, [r9 + 0x2c843f40]
lea edx, [r9 + 0x2c843f3f]
lea r8d, [r9 + 0xe6b5a17]
add r9d, 0x724c5eb9
call qword [case.0x2010e313.0]
add r14d, dword [0x20592c9c]
movsxd r10, r14d
add r10, qword [0x20592cc0]
mov ecx, dword [0x20592d78]
lea r9d, [rcx - 0x7c950f20]
add ecx, 0x7e6d8955
mov dword [rsp + 0x20], ecx
lea rcx, [rbp - 0x50]
mov rdx, rbx
mov r8, rax
mov rax, r10
call qword [case.0x2010e313.0]
lea r14, [rdi + 4]
mov ebx, dword [rdi + 0x24]
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov eax, dword [0x20592c94]
mov ecx, dword [0x20592d78]
add eax, ecx
add eax, 0x2c834d89
cdqe
add rax, qword [0x20592cd8]
mov rcx, r14
mov edx, 0xeb6a9cd6
mov r8d, 0xe46227fa
call qword [case.0x2010e313.0]
mov r15, rax
cmp rax, 0xf
jbe 0x20369be9
lea rcx, [rbp - 0x28]
mov rdx, r15
mov r9, r14
call fcn.2006bec0
jmp 0x20369c02
mov qword [rbp - 0x18], r15
lea rcx, [rbp - 0x28]
mov rdx, r14
mov r8, r15
call fcn.2044f800
mov byte [rbp + r15 - 0x28], 0
lea rcx, [rbp - 0x50]
lea rdx, [rbp - 0x28]
mov r8d, ebx
call fcn.20389080
mov rax, qword [rbp - 0x10]
cmp rax, 0x10
setae cl
movzx edx, byte [0x205b3871]
test dl, cl
jne 0x20369c2c
xor dl, cl
je 0x20369c99
lea r8, [rax + rax]
sub r8, rax
add r8, qword [0x20592d70]
mov rcx, qword [rbp - 0x28]
movabs rdx, 0x210af5208b051cea
add rdx, r8
cmp rdx, 0x1000
jb 0x20369c73
mov r8, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
sub rcx, r8
cmp rcx, 0x20
jae 0x2036a124
add rax, 0x28
mov rdx, rax
mov rcx, r8
mov eax, 0xffff0e4a
add eax, dword [0x20592ca4]
cdqe
add rax, qword [0x20592cc8]
mov r8d, 0xb3592b21
mov r9d, 0xb76ee74b
call qword [case.0x2010e313.0]
mov eax, dword [rdi]
mov dword [rdi + 0x34], eax
lea rcx, [rbp - 0x28]
call fcn.2025fa20
mov eax, dword [rbp - 0x28]
lea rdx, [rdi + 0x2c]
mov dword [rdi + 0x38], eax
mov dword [rdi + 0x30], 0xb2317ee
lea rcx, [rbp - 0x50]
call fcn.20389480
mov r8d, dword [rdi + 0x438]
mov rdx, qword [rdi + 0x430]
lea rcx, [rbp - 0x50]
call fcn.203894f0
cmp qword [0x205b6580], 0
jne 0x20369d18
mov ecx, 0x30
call fcn.2042789c
mov qword [rax + 0x28], 0xf
lea rcx, [0x2046c448]
mov qword [rax + 8], rcx
mov dword [rax], 0
mov qword [rax + 0x20], 0
mov byte [rax + 0x10], 0
mov qword [0x205b6580], rax
mov rdx, qword [0x205b6580]
mov qword [rbp - 8], 0xf
mov qword [rbp - 0x10], 0
movzx eax, byte [0x20592d80]
add al, 0xd8
mov byte [rbp - 0x20], al
lea rax, [0x2046c448]
mov qword [rbp - 0x28], rax
mov edi, dword [rdx]
nop dword [rax + rax]
mov r14, qword [0x20592b48]
mov eax, dword [0x205b65c4]
cmp eax, 0x26
jl 0x20369da0
nop word cs:[rax + rax]
mov rax, qword [0x20592b48]
xor eax, eax
sub eax, dword [0x20592d78]
mov ecx, eax
xor ecx, 0xd37bc0c1
and eax, 0x537bc0c1
add eax, eax
add eax, ecx
jne 0x20369d70
jmp 0x20369d50
mov eax, dword [0x205b65c0]
lea ecx, [rax - 1]
imul ecx, eax
test cl, 1
jne 0x20369da0
movsxd r15, dword [r14]
mov ebx, dword [0x20490180]
test edi, edi
je 0x20369dcb
add rdx, 8
lea rcx, [rbp - 0x28]
call fcn.2025ca10
mov rax, r15
xor rax, r14
not r15
not r14
and r14, r15
or r14, rax
not r14
lea r8, [rax + r14*2]
nop word cs:[rax + rax]
mov eax, dword [0x20592b40]
mov ecx, dword [0x20592d78]
lea r14d, [rcx + rax]
add r14d, 0x2c843f40
mov dword [0x20592b40], r14d
cmp ecx, 0xd37bc0c1
je 0x20369e7a
mov r9d, dword [0x20592b40]
mov eax, dword [0x20592d78]
mov ecx, eax
xor ecx, 0x2c843f40
and eax, 0x2c843f40
add eax, eax
mov edx, ecx
xor edx, eax
and eax, ecx
lea eax, [rdx + rax*2]
mov ecx, r9d
sub ecx, eax
shl r9d, cl
mov eax, r9d
shl eax, cl
mov edx, r9d
mov ecx, eax
shl edx, cl
mov eax, r9d
mov ecx, edx
shl eax, cl
mov edx, r9d
mov ecx, eax
shl edx, cl
mov ecx, edx
shl r9d, cl
shl r9d, cl
mov eax, r9d
mov ecx, edx
shl eax, cl
add eax, r9d
mov dword [0x20592b40], eax
jmp 0x20369df0
xor ecx, ecx
and r14d, eax
nop
test cl, cl
jne 0x20369eaf
mov edx, dword [0x205b65c0]
lea eax, [rdx - 1]
imul eax, edx
mov r9d, dword [0x20592d78]
lea r10d, [r9 + 0x2c843f41]
xor edx, edx
div r10d
add r9d, 0x2c843f3f
cmp edx, r9d
je 0x20369ebc
mov eax, dword [0x205b65c4]
cmp eax, 0x54
jge 0x20369e80
jmp 0x20369e84
mov eax, dword [0x205b65c4]
mov eax, 0x2c843f3f
nop word [rax + rax]
mov ecx, dword [0x205b65c0]
mov edx, ecx
not edx
add edx, 2
imul edx, ecx
and edx, 1
mov ecx, dword [0x20592d78]
add ecx, eax
cmp edx, ecx
jne 0x20369ed0
test r14d, r14d
je 0x20369ef9
xor r15d, r15d
jmp 0x20369f09
xor eax, eax
mov r15d, 0
test ebx, ebx
jg 0x2036a07f
lea rcx, [rbp - 0x50]
lea r9, [rbp - 0x28]
mov edx, 0xb2317ee
mov r8d, edi
call fcn.203894a0
mov rax, qword [rbp - 8]
cmp rax, 0x10
jb 0x20369f84
mov rcx, qword [rbp - 0x20]
lea rdx, [rax + 1]
cmp rdx, 0x1000
jb 0x20369f58
mov r8, qword [rcx - 8]
sub rcx, r8
add rcx, 0xfffffffffffffff8
cmp rcx, 0x20
jae 0x2036a00d
add rax, 0x28
mov rdx, rax
mov rcx, r8
mov eax, dword [0x20592ca4]
sub eax, dword [0x20592d78]
add eax, 0xd37acf0b
cdqe
add rax, qword [0x20592cc8]
mov r8d, 0xb3592b21
mov r9d, 0xb76ee74b
call qword [case.0x2010e313.0]
lea rcx, [rbp - 0x50]
mov rdx, rsi
call fcn.20389640
mov eax, 0x90e8643a
sub eax, dword [0x20592ca0]
mov ecx, eax
xor ecx, 0x6f188d7c
and eax, 0x6f188d7c
lea eax, [rcx + rax*2]
neg eax
cdqe
add rax, qword [0x20592cb8]
lea rcx, [rbp - 0x50]
call qword [case.0x2010e313.0]
mov rax, rsi
add rsp, 0x88
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
movzx eax, word [0x20490188]
mov eax, dword [0x205b65c0]
mov ecx, dword [0x20592d78]
mov edx, eax
sub edx, ecx
add edx, 0x73f7434c
imul edx, eax
and edx, 1
add ecx, 0x2c843f3f
cmp edx, ecx
jne 0x20369fe0
movzx eax, word [0x20490188]
mov ecx, dword [0x205b65c4]
cmp ecx, 0x5d
jge 0x20369fe0
xor ecx, ecx
test r14d, r14d
setne cl
mov dx, 0xb3bd
sub dx, word [0x20592d7c]
mov r8d, ecx
xor r8d, edx
and ecx, edx
lea ecx, [r8 + rcx*2]
mov edx, eax
xor edx, 0x137d
and eax, 0x137d
lea eax, [rdx + rax*2]
sub eax, r15d
add eax, 0x283d
mov edx, eax
xor edx, 0xffffc446
and eax, 0x4446
lea eax, [rdx + rax*2]
test ax, cx
setne al
or al, byte [0x205b3871]
and al, 1
mov byte [0x205b3871], al
call fcn.20407a4c
lea rcx, [fcn.20369ae0]
add ecx, ecx
add ecx, 0x5e0
xor edx, edx
jmp 0x2036a0fa
movzx r15d, word [r9]
mov r9d, edx
not r9d
not r15d
mov r10d, r9d
xor r10d, r15d
and r10d, r9d
and r15d, edx
or r15d, r10d
mov edx, eax
mov r9d, dword [0x20592d78]
mov r10d, 0xd37bc0be
sub r10d, r9d
add r9d, 0x2c843f41
xor r9d, eax
not eax
and r10d, eax
and eax, 2
and edx, 0xfffffffd
or edx, eax
or r10d, r9d
not r10d
lea eax, [rdx + r10*2]
mov edx, r15d
cmp eax, ebx
jge 0x20369f09
movsxd r9, eax
add r9, r8
mov r10d, dword [0x205b65c4]
cmp r10d, 0x5b
jle 0x2036a0a0
nop dword [rax]
movzx r10d, word [r9]
mov r10d, ecx
not r10d
test r10d, ecx
jne 0x2036a110
jmp 0x2036a0a0
call fcn.20407a4c
int3