Function at 0x100079acc
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, 0xc0
mov rax, qword [0x1004946a0]
xor rax, rsp
mov qword [rsp + 0xb0], rax
lea r15, [0x100000000]
mov r13d, 0xfffffff
lea rax, [rcx + 0x18]
lea r8, section..data
mov qword [rsp + 0x80], rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rax]
lea r9, [rax + 0xd]
mov ecx, dword [rax + 1]
mov r14d, dword [rax + 9]
lea rdi, [r9 - 1]
mov ebp, dword [rax + 5]
and rbp, r13
mov qword [rsp + 0x68], rdx
and rcx, r13
and r14, r13
add rbp, r15
xor r12d, r12d
cmp rdi, r8
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], rcx
mov qword [rsp + 0x88], r14
jb 0x100079b99
mov eax, dword [0x1002f3aa4]
mov ecx, dword [0x10005e244]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x100079b99
mov ecx, dword [0x1002f3aa4]
mov rax, rdi
sub rax, r8
cqo
idiv rcx
mov edx, dword [0x1002f3aa4]
imul rdx, rax
add r8, rdx
jmp 0x100079b9c
mov r8, r12
cmp r8, r12
jne 0x100079bab
mov r8, rdi
and r8, 0xffffffffffff0000
sub r9, r8
lea rax, [r9 - 0x40]
cmp rax, r12
cmovl rax, r12
mov ebx, ebp
lea rdi, [rax + r8]
sub ebx, r15d
mov dword [rsp + 0x40], ebx
xor eax, eax
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
mov edi, dword [0x1002f3aa4]
sub rdi, r14
add rdi, 1
cmp rdi, r12
mov r9, rdi
je 0x100079c15
mov rcx, qword [0x100495210]
imul rcx, rcx, 0x343fd
shl rax, 0x10
add rcx, 0x269ec3
mov rdx, rcx
shr rdx, 0x10
movzx edx, dx
or rax, rdx
shr r9, 0x10
jne 0x100079be9
mov qword [0x100495210], rcx
mov ecx, ebx
xor edx, edx
div rdi
lea rsi, [rdx + r8]
mov r8, rsi
mov rdx, r14
mov qword [rsp + 0x60], rsi
mov eax, 0xbdc57db0
mov dil, r12b
lea rcx, [rsp + 0x58]
mov rdx, qword [r14 + rbp]
mov qword [rsp + 0x58], rdx
mov eax, 0x7fdf25a0
mov rax, qword [0x1003f4900]
mov r10, qword [rsp + 0x58]
mov r9d, dword [rsp + 0x5c]
mov qword [rsp + 0x38], r12
and r10, r13
and r9, r13
mov r13d, 4
mov rcx, r15
add r10, r15
sub rcx, rax
mov qword [rsp + 0x30], rcx
jne 0x100079ce8
mov r8, r12
cmp r9, r12
jbe 0x100079fcc
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
mov r11d, 0x83010f63
mov r15d, 0x7cfef09d
movzx eax, byte [r10 + r8]
add r8, 1
sub eax, r15d
add edx, eax
add eax, ecx
mov ecx, eax
imul ecx, ecx, 0x2cfc
rol ecx, 3
ror eax, 3
xor eax, ecx
imul eax, eax, 0x83010f63
ror eax, 0x1c
imul rax, r11
mov qword [rsp + 0x28], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x28]
add ecx, eax
add edx, ecx
cmp r8, r9
jb 0x100079c98
mov dword [rsp + 0x3c], ecx
mov dword [rsp + 0x38], edx
jmp 0x100079fcc
lea rax, [r10 + r9]
mov rbx, 0xfffffffffffff000
movsxd rcx, dword [0x10000003c]
mov r8d, dword [rcx + r15 + 0xb0]
mov ecx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x70], rax
add r8, r15
mov eax, r10d
sub eax, r15d
mov r11d, eax
mov esi, eax
add rax, r9
and r11, rbx
mov r12, rax
and r12, rbx
sub rsi, r11
sub rax, r12
add rcx, r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x50], rax
jmp 0x100079d4d
mov eax, dword [r8]
cmp rax, r11
jae 0x100079d52
mov eax, dword [r8 + 4]
add r8, rax
cmp r8, rcx
jne 0x100079d3e
xor ebx, ebx
cmp r8, rcx
je 0x100079d8c
mov eax, dword [r8]
cmp rax, r11
jne 0x100079d8c
mov ecx, dword [r8 + 4]
sub rcx, 8
shr rcx, 1
je 0x100079d87
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, rsi
jae 0x100079d87
add rbx, 1
cmp rbx, rcx
jne 0x100079d6e
mov rcx, qword [rsp + 0x28]
mov r15d, 0x7cfef09d
mov r9d, dword [rsp + 0x38]
mov edx, dword [rsp + 0x3c]
mov edi, 0x83010f63
cmp r8, rcx
je 0x100079f4c
mov eax, dword [r8]
cmp rax, r12
ja 0x100079f4c
mov r11d, dword [r8 + 4]
lea rax, [r11 - 8]
shr rax, 1
cmp rbx, rax
jne 0x100079de1
add r8, r11
cmp r8, rcx
je 0x100079f4c
mov eax, dword [r8]
cmp rax, r12
ja 0x100079f4c
xor ebx, ebx
jmp 0x100079db5
mov eax, dword [r8]
cmp rax, r12
jne 0x100079dff
mov ax, word [r8 + rbx*2 + 8]
and eax, 0xfff
cmp rax, qword [rsp + 0x50]
jae 0x100079f4c
mov rax, rbx
add rbx, 1
test word [r8 + rax*2 + 8], 0xf000
je 0x100079da0
movzx r11d, word [r8 + rax*2 + 8]
lea rax, [0x100000000]
mov esi, r11d
xor r14d, r14d
and esi, 0xfff
add esi, dword [r8]
add rsi, rax
mov rax, rsi
sub rax, r10
je 0x100079e88
mov rbp, rax
movzx eax, byte [r14 + r10]
add r14, 1
sub eax, r15d
add r9d, eax
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x2cfc
rol ecx, 3
ror eax, 3
xor eax, ecx
imul eax, eax, 0x83010f63
ror eax, 0x1c
imul rax, rdi
mov qword [rsp + 0x48], rax
mov edx, dword [rsp + 0x48]
shr rax, 0x20
add edx, eax
add r9d, edx
cmp r14, rbp
jb 0x100079e3a
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
mov rax, qword [rsi]
mov qword [rsp + 0x48], rax
shr r11d, 0xc
cmp r11d, 3
je 0x100079eaa
sub r11d, 0xa
neg r11d
sbb r10d, r10d
add r10d, 3
jmp 0x100079eb0
mov r10d, 2
mov r11, qword [rsp + 0x30]
neg r11
sub r10d, 2
je 0x100079eda
cmp r10d, 1
je 0x100079eca
or r10, 0xffffffffffffffff
jmp 0x100079ee2
mov r10d, 8
add rax, r11
mov qword [rsp + 0x48], rax
jmp 0x100079ee2
add dword [rsp + 0x48], r11d
mov r10, r13
xor r11d, r11d
test r10, r10
je 0x100079f3f
movzx eax, byte [rsp + r11 + 0x48]
add r11, 1
sub eax, r15d
add r9d, eax
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x2cfc
rol ecx, 3
ror eax, 3
xor eax, ecx
imul eax, eax, 0x83010f63
ror eax, 0x1c
imul rax, rdi
mov qword [rsp + 0x98], rax
shr rax, 0x20
mov edx, dword [rsp + 0x98]
add edx, eax
add r9d, edx
cmp r11, r10
jb 0x100079eea
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
mov rcx, qword [rsp + 0x28]
add r10, rsi
jmp 0x100079da0
mov rbp, qword [rsp + 0x90]
xor r12d, r12d
mov r14, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x70]
sub rbx, r10
mov r8, r12
mov dil, r8b
je 0x100079fc3
mov r11d, 0x83010f63
movzx eax, byte [r10 + r8]
add r8, 1
sub eax, r15d
add r9d, eax
add eax, edx
mov ecx, eax
imul ecx, ecx, 0x2cfc
rol ecx, 3
ror eax, 3
xor eax, ecx
imul eax, eax, 0x83010f63
ror eax, 0x1c
imul rax, r11
mov qword [rsp + 0x70], rax
shr rax, 0x20
mov edx, dword [rsp + 0x70]
add edx, eax
add r9d, edx
cmp r8, rbx
jb 0x100079f75
mov dword [rsp + 0x3c], edx
mov dword [rsp + 0x38], r9d
mov rsi, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x40]
mov rcx, r12
mov al, cl
add rcx, 1
and eax, 7
mov al, byte [rsp + rax + 0x38]
mov byte [rsp + rcx + 0xa7], al
cmp rcx, 8
jb 0x100079fcf
mov eax, 0x9f1810e5
mov r12b, r14b
mov r15, rbp
and r12d, 7
mov r10, rsi
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x28], rsi
je 0x10007a4d4
not ebx
xor r8d, r8d
mov dword [rsp + 0x50], r8d
xor r11d, r11d
xor r10d, r10d
mov dword [rsp + 0x30], r11d
test r12d, r12d
jle 0x10007a063
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r13d
jge 0x10007a040
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x10007a048
mov ecx, r9d
shl edx, cl
or r8d, edx
add r10d, 1
add r15, 1
sub r9d, 8
cmp r10d, r12d
jl 0x10007a02c
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x50], r8d
movzx r10d, word [rsp + 0xaa]
mov ecx, ebx
movzx r8d, word [rsp + 0xac]
shr ecx, 4
movzx r11d, ax
mov esi, r10d
mov edx, r11d
xor esi, ebx
imul esi, r11d
xor esi, ecx
movzx r9d, word [rsp + 0xae]
xor esi, dword [rsp + 0x40]
mov ecx, esi
xor edx, esi
rol edx, 7
shr ecx, 0xd
imul edx, r9d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, eax
rol edx, 8
ror ecx, 8
imul edx, r8d
sub edx, ecx
xor esi, edx
mov edx, r8d
mov ecx, esi
ror ecx, 0xc
sub ecx, r10d
imul ecx, r8d
xor ebx, ecx
mov ecx, dword [rsp + 0xac]
xor ecx, eax
xor ecx, ebx
xor esi, ecx
mov ecx, esi
xor edx, esi
rol edx, 4
ror ecx, 3
imul edx, r9d
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, eax
sub edx, ebx
rol edx, 0xa
ror ecx, 8
imul edx, r8d
add ecx, edx
xor esi, ecx
mov ecx, esi
sub ecx, r10d
xor ecx, dword [rsp + 0xac]
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
sub edx, r8d
shr ecx, 6
imul edx, r11d
sub edx, ecx
xor esi, edx
mov edx, r11d
mov ecx, esi
xor edx, esi
rol edx, 3
ror ecx, 0xa
imul edx, r9d
xor ecx, edx
mov edx, eax
xor ebx, ecx
mov ecx, ebx
xor edx, ebx
rol edx, 3
shr ecx, 1
imul edx, r8d
sub edx, ecx
xor esi, edx
mov ecx, esi
ror ecx, 0xd
xor r9d, esi
imul r9d, r10d
add ecx, r9d
xor r9d, r9d
xor ebx, ecx
mov ecx, ebx
sub ecx, dword [rsp + 0xac]
sub ecx, r11d
mov r11d, dword [rsp + 0x50]
xor ecx, dword [rsp + 0x30]
xor ebx, r11d
mov r8d, ebx
xor esi, ecx
mov edx, esi
test r12d, r12d
jle 0x10007a1b7
mov rcx, qword [rsp + 0x28]
cmp r9d, r13d
jge 0x10007a19b
rol edx, 8
mov byte [rcx], dl
add rcx, 1
xor dil, dl
jmp 0x10007a1a9
rol r8d, 8
mov byte [rcx], r8b
add rcx, 1
xor dil, r8b
add r9d, 1
cmp r9d, r12d
jl 0x10007a188
mov qword [rsp + 0x28], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x10007a4bc
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr ebx, cl
shl ebx, cl
mov r12d, dword [rsp + 0x30]
mov r10, qword [rsp + 0x28]
mov r13, r14
shr r13, 3
je 0x10007a3ff
movzx edx, word [rsp + 0xaa]
mov ecx, dword [rsp + 0xac]
xor ecx, eax
movzx r14d, word [rsp + 0xac]
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x40], ecx
movzx ecx, word [rsp + 0xae]
mov ebp, dword [rsp + 0x40]
mov dword [rsp + 0x50], ecx
movzx ecx, ax
mov dword [rsp + 0x30], ecx
movzx ecx, byte [r15 + 1]
movzx r9d, byte [r15]
shl r9d, 8
movzx r8d, byte [r15 + 4]
shl r8d, 8
add r15, 8
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 6]
or r9d, ecx
shl r9d, 8
movzx ecx, byte [r15 - 5]
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 2]
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
xor ebx, r8d
mov ecx, ebx
xor edx, ebx
shr ecx, 4
imul edx, dword [rsp + 0x30]
xor edx, ecx
xor edx, r9d
movzx ecx, word [rsp + 0xae]
xor esi, edx
mov edx, dword [rsp + 0x30]
xor edx, esi
rol edx, 7
imul edx, ecx
mov ecx, esi
shr ecx, 0xd
add edx, ecx
xor ebx, edx
mov edx, ebx
sub edx, eax
rol edx, 8
mov ecx, ebx
ror ecx, 8
imul edx, r14d
sub edx, ecx
xor esi, edx
mov ecx, esi
movzx edx, word [rsp + 0xaa]
ror ecx, 0xc
sub ecx, edx
mov edx, r14d
imul ecx, r14d
xor ebx, ecx
mov ecx, ebp
xor ecx, ebx
xor esi, ecx
mov ecx, esi
xor edx, esi
rol edx, 4
ror ecx, 3
imul edx, dword [rsp + 0x50]
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, eax
sub edx, ebx
rol edx, 0xa
ror ecx, 8
imul edx, r14d
add ecx, edx
xor esi, ecx
movzx edx, word [rsp + 0xaa]
mov ecx, esi
sub ecx, edx
xor ecx, dword [rsp + 0xac]
xor ebx, ecx
mov edx, ebx
mov ecx, ebx
sub edx, r14d
imul edx, dword [rsp + 0x30]
shr ecx, 6
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, dword [rsp + 0x30]
xor edx, esi
rol edx, 3
ror ecx, 0xa
imul edx, dword [rsp + 0x50]
xor ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, eax
xor edx, ebx
shr ecx, 1
rol edx, 3
imul edx, r14d
sub edx, ecx
movzx ecx, word [rsp + 0xae]
xor esi, edx
mov edx, esi
xor ecx, esi
ror edx, 0xd
imul ecx, dword [rsp + 0x28]
add edx, ecx
xor ebx, edx
movzx edx, word [rsp + 0xaa]
mov ecx, ebx
xor ebx, r11d
sub ecx, dword [rsp + 0xac]
mov r11d, r8d
mov byte [r10 + 7], bl
sub ecx, dword [rsp + 0x30]
xor ecx, r12d
xor esi, ecx
mov r12d, r9d
xor dil, sil
mov byte [r10 + 3], sil
ror esi, 8
mov byte [r10 + 2], sil
xor dil, bl
ror ebx, 8
xor dil, sil
mov byte [r10 + 6], bl
ror esi, 8
mov byte [r10 + 1], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 5], bl
xor dil, sil
ror esi, 8
mov byte [r10], sil
xor dil, bl
ror ebx, 8
mov cl, bl
mov byte [r10 + 4], bl
add r10, 8
xor cl, sil
xor dil, cl
ror esi, 8
ror ebx, 8
sub r13, 1
jne 0x10007a222
mov rbp, qword [rsp + 0x90]
mov r14, qword [rsp + 0x88]
cmp dil, byte [r14 + rbp + 8]
je 0x10007a4fc
call fcn.1002d3e40
mov r11, rax
mov rbp, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov r8, rsi
mov ebx, 0xffff
and r8, 0xfffffffffffffff8
mov rax, 0xfffffffffffff000
lea r10, [0x1003e8888]
mov qword [rbp + 0x10], r10
lea r9, [r8 + 0xfff]
mov rcx, qword [0x100495210]
and r11, rax
and r9, rax
xor edi, edi
imul rcx, rcx, 0x343fd
shl rdi, 0x10
add rcx, 0x269ec3
mov rax, rcx
shr rax, 0x10
movzx edx, ax
or rdi, rdx
shr rbx, 0x10
jne 0x10007a453
mov qword [0x100495210], rcx
movabs rax, 0x8000800080008001
mul rdi
mov rax, qword [rsp + 0x68]
mov qword [rax + 0x98], r11
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
add rdi, 1
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x68], 0
jmp 0x10007a4f2
xor ebx, ebx
test ecx, ecx
jns 0x10007a1d2
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10007a1d2
mov r11d, ebx
not r11d
mov r12d, ebx
xor ebx, ebx
xor esi, esi
jmp 0x10007a1dc
mov rax, qword [rsp + 0x68]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10007a4e6
jmp 0x10007a61e
mov rbx, rbp
mov rax, qword [0x1003f4900]
lea r15, [0x100000000]
mov r12, qword [rsp + 0x60]
mov rsi, r15
sub rbx, r12
sub rsi, rax
jne 0x10007a526
test rbx, rbx
je 0x10007a5fa
mov rcx, qword [0x1000016e8]
xor edi, edi
mov r11, r12
lea r8d, [rcx - 1]
sub r11, rbp
sub ebp, r15d
test r8d, r8d
lea r13d, [r14 + rbp]
lea r14, [0x1000016e8]
js 0x10007a579
lea eax, [r8 + rdi]
cdq
sub eax, edx
sar eax, 1
movsxd rdx, eax
mov r9d, dword [r14 + rdx*4 + 4]
and r9d, 0xfffffff
cmp ebp, r9d
jae 0x10007a56f
lea r8d, [rax - 1]
jmp 0x10007a574
jbe 0x10007a57e
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10007a54c
movsxd r10, edi
jmp 0x10007a5f3
movsxd r10, eax
jmp 0x10007a5f3
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x10007a5fa
mov edi, edx
mov r8, rdx
sar edx, 0x1e
shl edi, 2
and r8d, 0xfffffff
and edx, 3
sar edi, 0x1e
add r8, r15
xor r9d, r9d
and edi, 3
sub edi, 1
je 0x10007a5ce
sub edi, 1
je 0x10007a5c9
cmp edi, 1
jne 0x10007a5d4
mov r9, rsi
jmp 0x10007a5d4
mov r9, rbx
jmp 0x10007a5d4
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x10007a5e4
cmp edx, 1
jne 0x10007a5ef
add qword [r8 + r11], r9
jmp 0x10007a5e8
add dword [r8 + r11], r9d
mov rcx, qword [0x1000016e8]
add r10, 1
mov eax, ecx
cmp r10, rax
jb 0x10007a583
mov eax, dword [0x1002f3aa4]
mov eax, 0x9061dee6
mov rdx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x78]
lea r10, [r12 + rdx]
mov rbp, qword [rsp + 0x80]
mov qword [rbp + 0x10], r10
add qword [rsi], 0xd
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.1002d532c
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret