Function at 0x1000df5dc
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 [0x100404bb0]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rax, qword [rcx + 0x10]
lea r9, [rax + 0xd]
lea rdi, [r9 - 1]
lea r8, section..data
lea r14, [0x100000000]
mov qword [rsp + 0x78], rcx
mov r15d, 0xfffffff
mov ecx, dword [rax + 5]
mov esi, dword [rax + 9]
mov ebp, dword [rax + 1]
shr rbp, 1
and rcx, r15
and rsi, r15
mov qword [rsp + 0x68], rdx
and rbp, r15
add rbp, r14
mov qword [rsp + 0x88], rcx
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x60], rsi
xor r13d, r13d
cmp rdi, r8
jb 0x1000df69d
mov ecx, dword [0x10028bf00]
mov eax, dword [0x100015964]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x1000df69d
mov ecx, dword [0x100015964]
mov rax, rdi
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x100015964]
imul rdx, rax
add r8, rdx
jmp 0x1000df6a0
mov r8, r13
cmp r8, r13
jne 0x1000df6af
mov r8, rdi
and r8, 0xffffffffffff0000
sub r9, r8
mov r12d, ebp
lea rax, [r9 - 0x40]
mov r9d, dword [0x100015964]
cmp rax, r13
cmovl rax, r13
lea rdi, [r8 + rax]
sub r9, rsi
sub r12d, r14d
mov dword [rsp + 0x20], r12d
xor eax, eax
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
inc r9
cmp r9, r13
mov rdi, r9
je 0x1000df71e
mov rcx, qword [0x1003fe198]
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, r13
jne 0x1000df6ef
mov qword [0x1003fe198], rcx
mov ecx, r12d
xor edx, edx
div r9
lea rbx, [rdx + r8]
mov qword [rsp + 0x50], rbx
mov rdx, rsi
mov r8, rbx
mov eax, 0xeba5d420
mov rdx, qword [rsi + rbp]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rdx
mov dil, r13b
mov eax, 0x3114dc2c
mov r9d, dword [rsp + 0x5c]
mov r10, qword [rsp + 0x58]
mov rcx, r14
mov rax, qword [0x10014dad0]
mov qword [rsp + 0x28], r13
and r10, r15
and r9, r15
add r10, r14
sub rcx, rax
mov qword [rsp + 0x48], rcx
mov r15d, 4
jne 0x1000df7eb
mov r11, r13
cmp r9, r13
jbe 0x1000dfab7
mov ebx, 0xb0053e08
mov r14d, 0x4ffac1f8
mov edx, dword [rsp + 0x2c]
mov r8d, dword [rsp + 0x28]
movzx ecx, byte [r10 + r11]
inc r11
sub ecx, r14d
add r8d, ecx
add ecx, edx
mov eax, ecx
imul eax, eax, 0xf80c
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rbx
mov qword [rsp + 0x30], rax
mov edx, dword [rsp + 0x30]
shr rax, 0x20
add edx, eax
add r8d, edx
cmp r11, r9
jb 0x1000df7a2
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r8d
jmp 0x1000dfab2
movsxd rcx, dword [0x10000003c]
mov rbx, 0xfffffffffffff000
lea rax, [r10 + r9]
mov r8d, dword [rcx + r14 + 0xb0]
add r8, r14
mov ecx, dword [rcx + r14 + 0xb4]
mov qword [rsp + 0x70], rax
mov eax, r10d
sub eax, r14d
mov r12d, eax
mov r11d, eax
add rax, r9
and r11, rbx
mov r13, rax
and r13, rbx
sub r12, r11
sub rax, r13
add rcx, r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
jmp 0x1000df851
mov eax, dword [r8]
cmp rax, r11
jae 0x1000df856
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x1000df842
xor ebx, ebx
cmp r8, rcx
je 0x1000df894
mov eax, dword [r8]
cmp rax, r11
jne 0x1000df894
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x1000df88f
lea rdx, [r8 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, r12
jae 0x1000df88f
inc rbx
add rdx, 2
cmp rbx, rcx
jne 0x1000df876
mov rcx, qword [rsp + 0x30]
mov r14d, 0x4ffac1f8
mov r9d, dword [rsp + 0x28]
mov esi, 0xb0053e08
mov edx, dword [rsp + 0x2c]
cmp r8, rcx
je 0x1000dfa43
mov eax, dword [r8]
cmp rax, r13
ja 0x1000dfa43
mov edi, dword [r8 + 4]
lea rax, [rdi - 8]
shr rax, 1
cmp rbx, rax
jne 0x1000df8e9
add r8, rdi
cmp r8, rcx
je 0x1000dfa43
mov eax, dword [r8]
cmp rax, r13
ja 0x1000dfa43
xor ebx, ebx
jmp 0x1000df8bd
mov eax, dword [r8]
cmp rax, r13
jne 0x1000df907
movzx eax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x38]
jae 0x1000dfa43
mov rax, rbx
mov edi, 0xf000
inc rbx
test word [r8 + rax*2 + 8], di
je 0x1000df8a8
xor edi, edi
movzx r11d, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
mov r12d, r11d
and r12d, 0xfff
add r12d, dword [r8]
add r12, rax
mov rax, r12
sub rax, r10
je 0x1000df988
mov rbp, rax
movzx ecx, byte [r10 + rdi]
inc rdi
sub ecx, r14d
add r9d, ecx
add ecx, edx
mov eax, ecx
imul eax, eax, 0xf80c
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x40], rax
mov edx, dword [rsp + 0x40]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp rdi, rbp
jb 0x1000df944
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r9d
mov rax, qword [r12]
mov qword [rsp + 0x40], rax
shr r11d, 0xc
cmp r11d, 3
je 0x1000df9ab
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x1000df9b1
mov r10d, 2
mov r11, qword [rsp + 0x48]
neg r11
sub r10d, 2
je 0x1000df9db
cmp r10d, 1
je 0x1000df9cb
or r10, 0xffffffffffffffff
jmp 0x1000df9e3
mov r10d, 8
add rax, r11
mov qword [rsp + 0x40], rax
jmp 0x1000df9e3
mov r10, r15
add dword [rsp + 0x40], r11d
xor r11d, r11d
test r10, r10
je 0x1000dfa36
movzx ecx, byte [rsp + r11 + 0x40]
inc r11
sub ecx, r14d
add r9d, ecx
add ecx, edx
mov eax, ecx
imul eax, eax, 0xf80c
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, rsi
mov qword [rsp + 0x90], rax
mov edx, dword [rsp + 0x90]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x1000df9eb
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r9d
mov rcx, qword [rsp + 0x30]
add r10, r12
jmp 0x1000df8a8
mov rbx, qword [rsp + 0x70]
xor r13d, r13d
mov rbp, qword [rsp + 0x80]
sub rbx, r10
mov rsi, qword [rsp + 0x60]
mov r8, r13
mov dil, r8b
je 0x1000dfaad
mov r11d, 0xb0053e08
movzx ecx, byte [r10 + r8]
inc r8
sub ecx, r14d
add r9d, ecx
add ecx, edx
mov eax, ecx
imul eax, eax, 0xf80c
rol eax, 8
ror ecx, 8
xor eax, ecx
imul rax, r11
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x70]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r8, rbx
jb 0x1000dfa69
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], r9d
mov r12d, dword [rsp + 0x20]
mov rbx, qword [rsp + 0x50]
mov rcx, r13
mov rax, rcx
inc rcx
and eax, 7
cmp rcx, 8
mov al, byte [rsp + rax + 0x28]
mov byte [rsp + rcx + 0x97], al
jb 0x1000dfaba
mov eax, 0x43ca2075
mov r11, rbx
mov r8, rbp
mov r14, rsi
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x38], rbp
and r14d, 7
mov qword [rsp + 0x30], rbx
je 0x1000e0001
xor r9d, r9d
xor ebx, ebx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x48], ebx
mov r13d, r12d
xor r11d, r11d
not r13d
test r14d, r14d
jle 0x1000dfb56
lea r10d, [r9 + 0x38]
cmp r11d, r15d
movzx edx, byte [r8]
jge 0x1000dfb31
lea ecx, [r10 - 0x20]
shl edx, cl
or ebx, edx
jmp 0x1000dfb39
mov ecx, r10d
shl edx, cl
or r9d, edx
inc r11d
inc r8
sub r10d, 8
cmp r11d, r14d
jl 0x1000dfb1e
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x38], r8
movzx r10d, word [rsp + 0x9e]
movzx r9d, word [rsp + 0x9c]
movzx ebx, ax
movzx r11d, word [rsp + 0x9a]
mov r8d, eax
mov esi, r13d
sub esi, ebx
sub esi, dword [rsp + 0x9c]
xor esi, r12d
mov r12d, eax
mov ecx, esi
ror ecx, 6
xor ecx, r10d
imul ecx, r11d
xor r13d, ecx
sub r8d, r13d
mov ecx, r9d
ror r8d, 7
mov edx, r13d
rol edx, 0xe
imul ecx, r8d
mov r8d, eax
add edx, ecx
xor esi, edx
mov ecx, ebx
mov edx, esi
xor ecx, esi
ror edx, 1
imul ecx, r11d
xor edx, ecx
xor r13d, edx
mov ecx, r13d
sub ecx, ebx
xor ecx, dword [rsp + 0x9c]
xor esi, ecx
xor r8d, esi
mov ecx, r10d
mov edx, esi
ror r8d, 2
rol edx, 5
imul ecx, r8d
xor edx, ecx
xor r13d, edx
mov edx, r13d
mov ecx, r13d
sub edx, eax
rol edx, 2
ror ecx, 0xc
imul r9d, edx
add ecx, r9d
mov edx, r11d
xor esi, ecx
mov r9d, dword [rsp + 0x9c]
mov ecx, ebx
xor ecx, esi
rol ecx, 6
imul edx, ecx
mov ecx, esi
shr ecx, 0xe
add edx, ecx
mov ecx, ebx
xor r13d, edx
mov r8d, r13d
mov edx, r13d
sub r8d, r9d
ror r8d, 1
ror edx, 0xd
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, eax
ror edx, 0xa
ror ecx, 3
imul r10d, edx
xor ecx, r10d
mov edx, eax
xor r13d, ecx
mov ecx, r9d
xor edx, r13d
sub ecx, edx
xor esi, ecx
xor r12d, r9d
mov edx, dword [rsp + 0x48]
xor r9d, r9d
xor r12d, r13d
xor r12d, esi
mov ecx, r12d
ror ecx, 0xf
sub ecx, ebx
mov ebx, dword [rsp + 0x20]
xor r12d, ebx
mov r8d, r12d
imul ecx, r11d
xor ecx, edx
xor esi, ecx
mov edx, esi
test r14d, r14d
jle 0x1000dfcbd
mov rcx, qword [rsp + 0x30]
cmp r9d, r15d
jge 0x1000dfca3
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x1000dfcb0
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r14d
jl 0x1000dfc91
mov qword [rsp + 0x30], rcx
lea ecx, [r14 - 4]
test ecx, ecx
jle 0x1000dffe8
sub r15d, ecx
shl r15d, 3
mov ecx, r15d
shr r12d, cl
shl r12d, cl
mov r11, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
mov r13, qword [rsp + 0x60]
mov r15, r13
shr r15, 3
test r15, r15
je 0x1000dff30
mov ecx, eax
movzx edx, word [rsp + 0x9a]
movzx r14d, ax
mov ebp, dword [rsp + 0x48]
xor ecx, dword [rsp + 0x9c]
mov r13d, ecx
mov dword [rsp + 0x20], r14d
movzx r9d, byte [r8 + 4]
movzx r10d, byte [r8]
movzx ecx, byte [r8 + 1]
add r8, 8
shl r10d, 8
shl r9d, 8
or r10d, ecx
shl r10d, 8
movzx ecx, byte [r8 - 6]
or r10d, ecx
shl r10d, 8
mov qword [rsp + 0x38], r8
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 r12d, r9d
mov ecx, r12d
sub ecx, r14d
sub ecx, dword [rsp + 0x9c]
xor ecx, r10d
xor esi, ecx
mov ecx, esi
ror ecx, 6
xor ecx, r8d
mov r8d, eax
imul ecx, edx
xor r12d, ecx
mov edx, r12d
movzx ecx, word [rsp + 0x9c]
sub r8d, r12d
ror r8d, 7
rol edx, 0xe
imul ecx, r8d
add edx, ecx
movzx r8d, word [rsp + 0x9a]
mov ecx, r14d
xor esi, edx
mov edx, esi
xor ecx, esi
ror edx, 1
imul ecx, r8d
xor edx, ecx
xor r12d, edx
mov r8d, eax
mov ecx, r12d
sub ecx, r14d
mov r14d, dword [rsp + 0x9c]
xor ecx, r14d
xor esi, ecx
movzx ecx, word [rsp + 0x9e]
xor r8d, esi
ror r8d, 2
mov edx, esi
rol edx, 5
imul ecx, r8d
xor edx, ecx
movzx ecx, r14w
xor r12d, edx
mov r8d, r12d
sub r8d, eax
mov edx, r12d
rol r8d, 2
ror edx, 0xc
imul ecx, r8d
add edx, ecx
xor esi, edx
mov ecx, dword [rsp + 0x20]
movzx edx, word [rsp + 0x9a]
xor ecx, esi
rol ecx, 6
imul edx, ecx
mov ecx, esi
shr ecx, 0xe
add edx, ecx
mov ecx, dword [rsp + 0x20]
xor r12d, edx
mov edx, r12d
mov r8d, r12d
sub r8d, r14d
ror r8d, 1
ror edx, 0xd
imul ecx, r8d
sub ecx, edx
xor esi, ecx
mov edx, esi
mov r8d, esi
movzx ecx, word [rsp + 0x9e]
sub r8d, eax
ror r8d, 0xa
ror edx, 3
imul ecx, r8d
mov r8, qword [rsp + 0x38]
xor edx, ecx
xor r12d, edx
mov ecx, r14d
mov r14d, dword [rsp + 0x20]
mov edx, eax
xor edx, r12d
sub ecx, edx
movzx edx, word [rsp + 0x9a]
xor esi, ecx
xor r12d, esi
xor r12d, r13d
mov ecx, r12d
xor r12d, ebx
mov byte [r11 + 7], r12b
ror ecx, 0xf
sub ecx, r14d
imul ecx, edx
xor ecx, ebp
mov ebx, r9d
mov ebp, r10d
xor esi, ecx
xor dil, sil
mov byte [r11 + 3], sil
ror esi, 8
xor dil, r12b
mov byte [r11 + 2], sil
ror r12d, 8
mov byte [r11 + 6], r12b
xor dil, sil
ror esi, 8
mov byte [r11 + 1], sil
xor dil, r12b
ror r12d, 8
mov byte [r11 + 5], r12b
xor dil, sil
ror esi, 8
mov byte [r11], sil
xor dil, r12b
ror r12d, 8
mov byte [r11 + 4], r12b
add r11, 8
mov cl, r12b
xor cl, sil
xor dil, cl
ror esi, 8
ror r12d, 8
sub r15, 1
jne 0x1000dfd19
mov rbp, qword [rsp + 0x80]
mov r13, qword [rsp + 0x60]
mov al, byte [r13 + rbp + 8]
xor al, dil
je 0x1000e002c
call fcn.10000228c
mov rbx, rax
lea r10, [0x10006d7ac]
mov rsi, qword [rsp + 0x78]
mov rax, 0xfffffffffffff000
mov qword [rsi + 0x10], r10
mov rcx, qword [0x1003fe198]
mov r11d, 0xffff
lea r8, [rsi + 0x18]
and r8, 0xfffffffffffffff8
and rbx, rax
lea r9, [r8 + 0xfff]
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
shr r11, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
test r11, r11
jne 0x1000dff81
mov qword [0x1003fe198], rcx
movabs rax, 0x8000800080008001
mul rdi
shr rdx, 0xf
imul rdx, rdx, 0xffff
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x98], rbx
sub rdi, rdx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x68], r11
jmp 0x1000e0022
xor r12d, r12d
test ecx, ecx
jns 0x1000dfcd9
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x1000dfcd9
mov dword [rsp + 0x48], r12d
mov ebx, r12d
mov esi, r13d
mov r12d, r13d
not ebx
jmp 0x1000dfce3
mov rax, qword [rsp + 0x68]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x1000e0016
jmp 0x1000e0144
mov rax, qword [0x10014dad0]
mov r12, qword [rsp + 0x50]
lea r14, [0x100000000]
mov rbx, rbp
mov rsi, r14
sub rbx, r12
sub rsi, rax
jne 0x1000e0056
test rbx, rbx
je 0x1000e0128
lea r15, [0x100019a28]
mov rcx, qword [0x100019a28]
xor edi, edi
mov r11, r12
lea r8d, [rcx - 1]
sub r11, rbp
sub ebp, r14d
add r13d, ebp
test r8d, r8d
js 0x1000e00a8
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 ebp, r9d
jae 0x1000e009e
lea r8d, [rax - 1]
jmp 0x1000e00a3
jbe 0x1000e00ad
lea edi, [rax + 1]
cmp r8d, edi
jge 0x1000e007b
movsxd r10, edi
jmp 0x1000e0121
movsxd r10, eax
jmp 0x1000e0121
mov edx, dword [r15 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x1000e0128
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 0x1000e00fd
sub edi, 1
je 0x1000e00f8
cmp edi, 1
jne 0x1000e0103
mov r9, rsi
jmp 0x1000e0103
mov r9, rbx
jmp 0x1000e0103
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x1000e0113
cmp edx, 1
jne 0x1000e011e
add qword [r8 + r11], r9
jmp 0x1000e0117
add dword [r8 + r11], r9d
mov rcx, qword [0x100019a28]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x1000e00b2
mov eax, dword [0x100015964]
mov eax, 0x75c63096
mov rsi, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x88]
lea r10, [r12 + rdx]
mov qword [rsi + 0x10], r10
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1003005f0
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret