Function at 0x100052d14
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb0
mov rax, qword [0x1004c4740]
xor rax, rsp
mov qword [rsp + 0xa0], rax
lea rax, [rcx + 0x18]
lea r8, section..data
mov qword [rsp + 0x78], rcx
mov r14d, 0xfffffff
lea r13, [0x100000000]
mov qword [rsp + 0x88], rax
mov rax, qword [rax]
mov ecx, dword [rax + 9]
mov r12d, dword [rax + 1]
mov r15d, dword [rax + 5]
mov qword [rsp + 0x60], rdx
and r12, r14
and rcx, r14
lea r9, [rax + 0xd]
and r15, r14
add r12, r13
xor ebp, ebp
mov qword [rsp + 0x70], r12
lea rdi, [r9 - 1]
cmp rdi, r8
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x80], r15
jb 0x100052dde
mov eax, dword [0x1002f8888]
mov ecx, dword [0x1002a02b4]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x100052dde
mov ecx, dword [0x1002f8888]
mov rax, rdi
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x1002f8888]
imul rdx, rax
add r8, rdx
jmp 0x100052de1
mov r8, rbp
cmp r8, rbp
jne 0x100052df0
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, r12d
sub r9, r8
lea rax, [r9 - 0x40]
mov r9d, dword [0x1002f8888]
cmp rax, rbp
cmovl rax, rbp
sub r9, r15
sub ebx, r13d
lea rdi, [rax + r8]
xor eax, eax
mov dword [rsp + 0x20], ebx
inc r9
cmp r9, rbp
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
mov rdi, r9
je 0x100052e5e
mov rcx, qword [0x1004c43a0]
imul rcx, rcx, 0x343fd
shl rax, 0x10
shr rdi, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
cmp rdi, rbp
jne 0x100052e2f
mov qword [0x1004c43a0], rcx
xor edx, edx
mov ecx, ebx
div r9
lea rsi, [rdx + r8]
mov qword [rsp + 0x68], rsi
mov r8, rsi
mov rdx, r15
mov eax, 0xe3ed7683
mov rdx, qword [r12 + r15]
mov dil, bpl
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rdx
mov eax, 0xc4caca34
mov r8d, dword [rsp + 0x5c]
mov rax, qword [0x1000487b8]
mov r11, qword [rsp + 0x58]
mov qword [rsp + 0x38], rbp
and r11, r14
mov rcx, r13
and r8, r14
mov r14d, 4
add r11, r13
sub rcx, rax
mov qword [rsp + 0x30], rcx
jne 0x100052f3f
mov r10, rbp
cmp r8, rbp
jbe 0x100053268
mov ecx, dword [rsp + 0x3c]
mov r9d, dword [rsp + 0x38]
movzx eax, byte [r10 + r11]
inc r10
add eax, 0x2a318641
add r9d, eax
add eax, ecx
imul eax, eax, 0x2a318641
ror eax, 0x10
imul rax, rax, 0x2a318641
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x28]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
imul ecx, ecx, 0x2a318641
ror ecx, 0x10
add r9d, ecx
cmp r10, r8
jb 0x100052ed6
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], r9d
jmp 0x100053268
movsxd rcx, dword [0x10000003c]
mov edx, dword [rcx + r13 + 0xb4]
lea rax, [r11 + r8]
mov r9d, dword [rcx + r13 + 0xb0]
add r9, r13
mov qword [rsp + 0x50], rax
mov eax, r11d
sub eax, r13d
mov ecx, eax
mov rbx, rcx
mov r10d, eax
lea rbp, [r8 + rcx]
mov rax, 0xfffffffffffff000
and r10, rax
sub rbx, r10
mov r13, rbp
and r13, rax
sub rbp, r13
lea rcx, [rdx + r9]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x40], rbp
jmp 0x100052fa9
mov eax, dword [r9]
cmp rax, r10
jae 0x100052fae
mov eax, dword [r9 + 4]
add r9, rax
cmp r9, rcx
jne 0x100052f9a
xor esi, esi
cmp r9, rcx
je 0x100052fec
mov eax, dword [r9]
cmp rax, r10
jne 0x100052fec
mov ecx, dword [r9 + 4]
sub rcx, 8
shr rcx, 1
je 0x100052fe7
lea rdx, [r9 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x100052fe7
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x100052fce
mov rcx, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov r10d, dword [rsp + 0x38]
mov r8d, dword [rsp + 0x3c]
cmp r9, rcx
je 0x1000531d4
mov eax, dword [r9]
cmp rax, r13
ja 0x1000531d4
mov edx, dword [r9 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x10005303c
add r9, rdx
cmp r9, rcx
je 0x1000531d4
mov eax, dword [r9]
cmp rax, r13
ja 0x1000531d4
xor esi, esi
jmp 0x100053010
mov eax, dword [r9]
cmp rax, r13
jne 0x100053058
movzx eax, word [r9 + rsi*2 + 8]
and eax, 0xfff
cmp rax, rbp
jae 0x1000531d4
mov edx, 0xf000
mov rax, rsi
inc rsi
test word [r9 + rax*2 + 8], dx
je 0x100052ffb
xor edi, edi
movzx ebx, word [r9 + rax*2 + 8]
lea rax, [0x100000000]
mov ebp, ebx
and ebp, 0xfff
add ebp, dword [r9]
add rbp, rax
mov rax, rbp
sub rax, r11
je 0x1000530ff
mov r15, rax
movzx eax, byte [rdi + r11]
inc rdi
add eax, 0x2a318641
add r10d, eax
add eax, r8d
imul eax, eax, 0x2a318641
ror eax, 0x10
imul rax, rax, 0x2a318641
mov qword [rsp + 0x48], rax
mov ecx, dword [rsp + 0x48]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
imul r8d, r8d, 0x2a318641
ror r8d, 0x10
add r10d, r8d
cmp rdi, r15
jb 0x100053093
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
mov rax, qword [rbp]
mov qword [rsp + 0x48], rax
shr ebx, 0xc
cmp ebx, 3
je 0x10005311c
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x100053121
mov edx, 2
mov r11, r12
neg r11
sub edx, 2
je 0x100053147
cmp edx, 1
je 0x100053137
or r11, 0xffffffffffffffff
jmp 0x10005314f
add rax, r11
mov r11d, 8
mov qword [rsp + 0x48], rax
jmp 0x10005314f
add dword [rsp + 0x48], r11d
mov r11, r14
xor ebx, ebx
test r11, r11
je 0x1000531c2
movzx eax, byte [rsp + rbx + 0x48]
inc rbx
add eax, 0x2a318641
add r10d, eax
add eax, r8d
imul eax, eax, 0x2a318641
ror eax, 0x10
imul rax, rax, 0x2a318641
mov qword [rsp + 0x30], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x30]
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
imul r8d, r8d, 0x2a318641
ror r8d, 0x10
add r10d, r8d
cmp rbx, r11
jb 0x100053156
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
mov rcx, qword [rsp + 0x28]
add r11, rbp
mov rbp, qword [rsp + 0x40]
jmp 0x100052ffb
mov r15, qword [rsp + 0x80]
xor ebp, ebp
mov r9, rbp
mov r12, qword [rsp + 0x70]
mov dil, bpl
mov rbx, qword [rsp + 0x50]
sub rbx, r11
je 0x10005325f
movzx eax, byte [r11 + r9]
inc r9
add eax, 0x2a318641
add r10d, eax
add eax, r8d
imul eax, eax, 0x2a318641
ror eax, 0x10
imul rax, rax, 0x2a318641
mov qword [rsp + 0x28], rax
mov ecx, dword [rsp + 0x28]
shr rax, 0x20
lea edx, [rcx + rax*2 - 0x7fffffff]
sar ecx, 0x1f
btr ecx, 0x1f
sub edx, ecx
mov r8d, edx
sar r8d, 0x1f
btr r8d, 0x1f
add r8d, edx
imul r8d, r8d, 0x2a318641
ror r8d, 0x10
add r10d, r8d
cmp r9, rbx
jb 0x1000531f3
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x38], r10d
mov ebx, dword [rsp + 0x20]
mov rsi, qword [rsp + 0x68]
mov rcx, rbp
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0x97], al
cmp rcx, 8
jb 0x10005326b
mov eax, 0xdcf32b62
mov rax, qword [rsp + 0x98]
mov r11, rsi
mov r8, r12
mov qword [rsp + 0x30], r12
mov r13, r15
and r13d, 7
mov qword [rsp + 0x28], rsi
je 0x10005378d
xor r9d, r9d
mov ebp, ebx
not ebp
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x40], r9d
xor r11d, r11d
test r13d, r13d
jle 0x100053305
lea r10d, [r9 + 0x38]
movzx edx, byte [r8]
cmp r11d, r14d
jge 0x1000532e0
lea ecx, [r10 - 0x20]
shl edx, cl
or ebx, edx
jmp 0x1000532e8
mov ecx, r10d
shl edx, cl
or r9d, edx
inc r11d
inc r8
sub r10d, 8
cmp r11d, r13d
jl 0x1000532cd
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x40], r9d
mov qword [rsp + 0x30], r8
movzx ebx, ax
movzx r9d, word [rsp + 0x9e]
mov esi, ebp
movzx r10d, word [rsp + 0x9c]
ror esi, 9
movzx r11d, word [rsp + 0x9a]
mov ecx, r10d
mov r8d, eax
sub esi, ebx
imul esi, r11d
xor esi, dword [rsp + 0x20]
xor ecx, esi
mov edx, esi
ror edx, 1
imul ecx, r9d
xor edx, ecx
xor ebp, edx
mov ecx, r10d
mov dword [rsp + 0x20], ebp
sub r8d, ebp
ror r8d, 0xd
mov edx, ebp
mov ebp, dword [rsp + 0x9c]
rol edx, 0xf
xor ebp, eax
xor ebp, dword [rsp + 0x20]
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov ecx, ebx
xor ebp, esi
mov r8d, ebp
mov edx, ebp
sub r8d, dword [rsp + 0x9c]
ror r8d, 1
ror edx, 9
imul ecx, r8d
mov r8d, eax
xor edx, ecx
xor esi, edx
mov ecx, eax
mov edx, dword [rsp + 0x9c]
xor edx, esi
sub ecx, edx
xor ebp, ecx
mov edx, ebp
xor r8d, ebp
rol r8d, 2
rol edx, 5
mov ecx, r10d
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov ecx, ebx
mov edx, r11d
xor ecx, esi
rol ecx, 1
imul edx, ecx
mov ecx, esi
shr ecx, 6
add edx, ecx
xor ebp, edx
mov ecx, ebp
not ecx
ror ecx, 0xa
add ecx, ebx
imul ecx, r10d
xor esi, ecx
mov ecx, esi
sub ecx, r9d
xor ecx, eax
xor ebp, ecx
mov edx, ebp
mov ecx, r11d
xor ecx, ebp
ror edx, 0xa
imul ecx, r10d
add edx, ecx
xor esi, edx
mov ecx, esi
sub ecx, r11d
sub ecx, dword [rsp + 0x9c]
xor r9d, r9d
xor ebp, ecx
mov edx, ebp
sub edx, dword [rsp + 0x9c]
ror edx, 0xd
mov ecx, ebp
ror ecx, 9
imul ebx, edx
sub ebx, ecx
mov ecx, dword [rsp + 0x50]
xor ebx, ecx
xor esi, ebx
mov ecx, esi
mov ebx, dword [rsp + 0x40]
xor ebp, ebx
mov edx, ebp
test r13d, r13d
jle 0x100053464
mov r8, qword [rsp + 0x28]
cmp r9d, r14d
jge 0x10005344b
rol ecx, 8
mov byte [r8], cl
inc r8
xor dil, cl
jmp 0x100053457
rol edx, 8
mov byte [r8], dl
inc r8
xor dil, dl
inc r9d
cmp r9d, r13d
jl 0x100053438
mov qword [rsp + 0x28], r8
lea ecx, [r13 - 4]
test ecx, ecx
jle 0x100053775
sub r14d, ecx
shl r14d, 3
mov ecx, r14d
shr ebp, cl
shl ebp, cl
mov r11, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r14, r15
shr r14, 3
test r14, r14
je 0x1000536ba
movzx edx, ax
mov r15d, dword [rsp + 0x50]
mov r13d, dword [rsp + 0x9c]
mov dword [rsp + 0x20], edx
mov ecx, r13d
xor ecx, eax
mov dword [rsp + 0x30], ecx
mov r12d, dword [rsp + 0x30]
movzx ecx, r13w
mov dword [rsp + 0x40], ecx
movzx r10d, byte [r8]
movzx ecx, byte [r8 + 1]
movzx r9d, byte [r8 + 4]
add r8, 8
shl r10d, 8
shl r9d, 8
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r8 - 6]
mov qword [rsp + 0x30], r8
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r8 - 5]
or r10d, ecx
movzx ecx, byte [r8 - 3]
or r9d, ecx
movzx ecx, byte [r8 - 2]
shl r9d, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r8 - 1]
or r9d, ecx
movzx r8d, word [rsp + 0x9e]
xor ebp, r9d
mov ecx, ebp
ror ecx, 9
sub ecx, edx
movzx edx, word [rsp + 0x9a]
imul ecx, edx
xor ecx, r10d
xor esi, ecx
mov edx, esi
mov ecx, dword [rsp + 0x40]
xor ecx, esi
ror edx, 1
imul ecx, r8d
mov r8d, eax
xor edx, ecx
mov ecx, dword [rsp + 0x40]
xor ebp, edx
sub r8d, ebp
mov edx, ebp
xor ebp, r12d
ror r8d, 0xd
rol edx, 0xf
imul ecx, r8d
sub ecx, edx
xor esi, ecx
xor ebp, esi
mov ecx, dword [rsp + 0x20]
mov r8d, ebp
mov edx, ebp
sub r8d, r13d
ror r8d, 1
ror edx, 9
imul ecx, r8d
xor edx, ecx
mov r8d, eax
xor esi, edx
mov ecx, eax
mov edx, r13d
xor edx, esi
sub ecx, edx
xor ebp, ecx
xor r8d, ebp
mov edx, ebp
rol r8d, 2
mov ecx, dword [rsp + 0x40]
rol edx, 5
imul ecx, r8d
mov r8d, dword [rsp + 0x20]
sub ecx, edx
xor esi, ecx
mov ecx, r8d
movzx edx, word [rsp + 0x9a]
xor ecx, esi
rol ecx, 1
imul edx, ecx
mov ecx, esi
shr ecx, 6
add edx, ecx
xor ebp, edx
movzx edx, word [rsp + 0x9e]
mov ecx, ebp
not ecx
ror ecx, 0xa
add ecx, r8d
mov r8d, dword [rsp + 0x40]
imul ecx, r8d
xor esi, ecx
mov ecx, esi
sub ecx, edx
xor ecx, eax
xor ebp, ecx
movzx ecx, word [rsp + 0x9a]
mov edx, ebp
xor ecx, ebp
ror edx, 0xa
imul ecx, r8d
add edx, ecx
xor esi, edx
movzx edx, word [rsp + 0x9a]
mov ecx, esi
sub ecx, edx
mov edx, dword [rsp + 0x20]
sub ecx, r13d
xor ebp, ecx
mov r8d, ebp
mov ecx, ebp
xor ebp, ebx
sub r8d, r13d
ror r8d, 0xd
mov byte [r11 + 7], bpl
ror ecx, 9
imul edx, r8d
mov ebx, r9d
mov r8, qword [rsp + 0x30]
sub edx, ecx
xor edx, r15d
xor esi, edx
mov edx, dword [rsp + 0x20]
mov byte [r11 + 3], sil
mov r15d, r10d
xor dil, sil
ror esi, 8
mov byte [r11 + 2], sil
xor dil, bpl
ror ebp, 8
mov byte [r11 + 6], bpl
xor dil, sil
ror esi, 8
mov byte [r11 + 1], sil
xor dil, bpl
ror ebp, 8
mov byte [r11 + 5], bpl
xor dil, sil
ror esi, 8
mov byte [r11], sil
xor dil, bpl
ror ebp, 8
mov byte [r11 + 4], bpl
add r11, 8
mov cl, bpl
xor cl, sil
xor dil, cl
ror esi, 8
ror ebp, 8
sub r14, 1
jne 0x1000534c2
mov r15, qword [rsp + 0x80]
mov r12, qword [rsp + 0x70]
cmp dil, byte [r15 + r12 + 8]
je 0x1000537b0
call fcn.100058248
mov r11, rax
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x88]
mov ebx, 0xffff
lea r10, [0x1001094ec]
mov qword [rbp + 0x10], r10
mov r8, rsi
mov rax, 0xfffffffffffff000
and r8, 0xfffffffffffffff8
mov rcx, qword [0x1004c43a0]
lea r9, [r8 + 0xfff]
and r11, rax
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr rbx, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test rbx, rbx
jne 0x10005370e
mov qword [0x1004c43a0], rcx
movabs rax, 0x8000800080008001
mul rdi
mov rax, qword [rsp + 0x60]
mov qword [rax + 0x98], r11
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x60], rbx
jmp 0x1000537a6
xor ebp, ebp
test ecx, ecx
jns 0x10005347e
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10005347e
mov dword [rsp + 0x50], ebx
not ebx
xor esi, esi
jmp 0x100053488
mov rax, qword [rsp + 0x60]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10005379a
jmp 0x1000538d0
mov rax, qword [0x1000487b8]
mov rbx, r12
mov rbp, qword [rsp + 0x68]
lea r14, [0x100000000]
sub rbx, rbp
mov rsi, r14
sub rsi, rax
jne 0x1000537da
test rbx, rbx
je 0x1000538ad
xor edi, edi
mov r11, rbp
mov rcx, qword [0x1001d1e58]
lea r8d, [rcx - 1]
sub r11, r12
sub r12d, r14d
test r8d, r8d
lea r13d, [r15 + r12]
lea r15, [0x1001d1e58]
js 0x10005382d
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r15 + rdx*4 + 4]
and r9d, 0xfffffff
cmp r12d, r9d
jae 0x100053823
lea r8d, [rax - 1]
jmp 0x100053828
jbe 0x100053832
lea edi, [rax + 1]
cmp r8d, edi
jge 0x100053800
movsxd r10, edi
jmp 0x1000538a6
movsxd r10, eax
jmp 0x1000538a6
mov edx, dword [r15 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x1000538ad
mov edi, edx
mov r8, rdx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r14
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x100053882
sub edi, 1
je 0x10005387d
cmp edi, 1
jne 0x100053888
mov r9, rsi
jmp 0x100053888
mov r9, rbx
jmp 0x100053888
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x100053898
cmp edx, 1
jne 0x1000538a3
add qword [r8 + r11], r9
jmp 0x10005389c
add dword [r8 + r11], r9d
mov rcx, qword [0x1001d1e58]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x100053837
mov eax, dword [0x1002f8888]
mov eax, 0x9802de85
mov rsi, qword [rsp + 0x88]
mov r10, qword [rsp + 0x90]
add r10, rbp
mov rbp, qword [rsp + 0x78]
mov qword [rbp + 0x10], r10
add qword [rsi], 0xd
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.10027d5f4
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret