Function at 0x10034d42c
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 [0x1003fe1f8]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov r13d, 0xfffffff
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x80], rcx
lea r8, section..data
mov ebp, dword [rax + 1]
and rbp, r13
mov ecx, dword [rax + 9]
mov r14d, dword [rax + 5]
mov qword [rsp + 0x68], rdx
lea r9, [rax + 0xd]
lea rdi, [r9 - 1]
and rcx, r13
lea r15, [0x100000000]
and r14, r13
add rbp, r15
xor r12d, r12d
cmp rdi, r8
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x88], r14
mov qword [rsp + 0x78], rbp
jb 0x10034d4ee
mov ecx, dword [0x10028bffc]
mov eax, dword [0x100015b94]
imul ecx, eax
mov eax, ecx
add rax, r8
cmp rdi, rax
jae 0x10034d4ee
mov rax, rdi
sub rax, r8
mov ecx, dword [0x100015b94]
cqo
idiv rcx
mov edx, dword [0x100015b94]
imul rdx, rax
add r8, rdx
jmp 0x10034d4f1
mov r8, r12
cmp r8, r12
jne 0x10034d500
mov r8, rdi
and r8, 0xffffffffffff0000
mov ebx, ebp
sub r9, r8
lea rax, [r9 - 0x40]
cmp rax, r12
mov r9d, dword [0x100015b94]
cmovl rax, r12
lea rdi, [r8 + rax]
sub r9, r14
sub ebx, r15d
mov dword [rsp + 0x38], ebx
xor eax, eax
lea ecx, [rax + 0x40]
rep stosb byte [rdi], al
inc r9
mov rdi, r9
cmp r9, r12
je 0x10034d56d
mov rcx, qword [0x1003feeb8]
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, r12
jne 0x10034d53e
mov qword [0x1003feeb8], rcx
mov ecx, ebx
xor edx, edx
div r9
lea rsi, [rdx + r8]
mov qword [rsp + 0x60], rsi
mov r8, rsi
mov rdx, r14
mov eax, 0x6b37f573
lea rcx, [rsp + 0x58]
mov rdx, qword [r14 + rbp]
mov qword [rsp + 0x58], rdx
mov dil, r12b
mov eax, 0x2f36951d
mov rax, qword [0x10014d838]
mov r8d, dword [rsp + 0x5c]
mov rcx, r15
mov r11, qword [rsp + 0x58]
and r11, r13
mov qword [rsp + 0x28], r12
and r8, r13
mov r13d, 4
add r11, r15
sub rcx, rax
mov qword [rsp + 0x40], rcx
jne 0x10034d645
cmp r8, r12
mov r10, r12
jbe 0x10034d950
mov ecx, dword [rsp + 0x2c]
mov r9d, dword [rsp + 0x28]
movzx eax, byte [r11 + r10]
inc r10
add eax, 0x72d985af
add r9d, eax
add eax, ecx
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
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 ecx, edx
sar ecx, 0x1f
btr ecx, 0x1f
add ecx, edx
add r9d, ecx
cmp r10, r8
jb 0x10034d5e5
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x28], r9d
jmp 0x10034d950
lea rax, [r11 + r8]
movsxd rcx, dword [0x10000003c]
mov r9d, dword [rcx + r15 + 0xb0]
add r9, r15
mov edx, dword [rcx + r15 + 0xb4]
mov qword [rsp + 0x70], rax
mov eax, r11d
sub eax, r15d
mov r10d, eax
mov ecx, eax
mov rbx, rcx
lea r12, [r8 + rcx]
mov r15, r12
lea rcx, [rdx + r9]
mov qword [rsp + 0x30], rcx
mov rax, 0xfffffffffffff000
and r10, rax
sub rbx, r10
and r15, rax
sub r12, r15
mov qword [rsp + 0x50], r12
jmp 0x10034d6af
mov eax, dword [r9]
cmp rax, r10
jae 0x10034d6b4
mov eax, dword [r9 + 4]
add r9, rax
cmp r9, rcx
jne 0x10034d6a0
xor esi, esi
cmp r9, rcx
je 0x10034d6f2
mov eax, dword [r9]
cmp rax, r10
jne 0x10034d6f2
mov ecx, dword [r9 + 4]
sub rcx, 8
shr rcx, 1
je 0x10034d6ed
lea rdx, [r9 + 8]
movzx eax, word [rdx]
and eax, 0xfff
cmp rax, rbx
jae 0x10034d6ed
inc rsi
add rdx, 2
cmp rsi, rcx
jne 0x10034d6d4
mov rcx, qword [rsp + 0x30]
mov r10d, dword [rsp + 0x28]
mov rbp, qword [rsp + 0x40]
mov r8d, dword [rsp + 0x2c]
cmp r9, rcx
je 0x10034d8c6
mov eax, dword [r9]
cmp rax, r15
ja 0x10034d8c6
mov edx, dword [r9 + 4]
lea rax, [rdx - 8]
shr rax, 1
cmp rsi, rax
jne 0x10034d742
add r9, rdx
cmp r9, rcx
je 0x10034d8c6
mov eax, dword [r9]
cmp rax, r15
ja 0x10034d8c6
xor esi, esi
jmp 0x10034d716
mov eax, dword [r9]
cmp rax, r15
jne 0x10034d75e
movzx eax, word [r9 + rsi*2 + 8]
and eax, 0xfff
cmp rax, r12
jae 0x10034d8c6
mov edx, 0xf000
mov rax, rsi
inc rsi
test word [r9 + rax*2 + 8], dx
je 0x10034d701
xor edi, edi
movzx ebx, word [r9 + rax*2 + 8]
lea rax, [0x100000000]
mov r12d, ebx
and r12d, 0xfff
add r12d, dword [r9]
add r12, rax
mov rax, r12
sub rax, r11
je 0x10034d7fc
mov r14, rax
movzx eax, byte [r11 + rdi]
inc rdi
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x48], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x48]
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
add r10d, r8d
cmp rdi, r14
jb 0x10034d79b
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
mov rax, qword [r12]
mov qword [rsp + 0x48], rax
shr ebx, 0xc
cmp ebx, 3
je 0x10034d819
sub ebx, 0xa
neg ebx
sbb edx, edx
add edx, 3
jmp 0x10034d81e
mov edx, 2
mov r11, rbp
neg r11
sub edx, 2
je 0x10034d844
cmp edx, 1
je 0x10034d834
or r11, 0xffffffffffffffff
jmp 0x10034d84c
add rax, r11
mov qword [rsp + 0x48], rax
mov r11d, 8
jmp 0x10034d84c
add dword [rsp + 0x48], r11d
mov r11, r13
xor ebx, ebx
test r11, r11
je 0x10034d8b4
movzx eax, byte [rsp + rbx + 0x48]
inc rbx
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x40], rax
mov ecx, dword [rsp + 0x40]
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
add r10d, r8d
cmp rbx, r11
jb 0x10034d853
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
add r11, r12
mov rcx, qword [rsp + 0x30]
mov r12, qword [rsp + 0x50]
jmp 0x10034d701
mov rbp, qword [rsp + 0x78]
mov r14, qword [rsp + 0x88]
xor r12d, r12d
mov rbx, qword [rsp + 0x70]
sub rbx, r11
mov r9, r12
mov dil, r9b
je 0x10034d947
movzx eax, byte [r11 + r9]
inc r9
add eax, 0x72d985af
add r10d, eax
add eax, r8d
imul eax, eax, 0x72d985af
ror eax, 9
imul rax, rax, 0x72d985af
mov qword [rsp + 0x70], rax
shr rax, 0x20
mov ecx, dword [rsp + 0x70]
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
add r10d, r8d
cmp r9, rbx
jb 0x10034d8e6
mov dword [rsp + 0x2c], r8d
mov dword [rsp + 0x28], r10d
mov rsi, qword [rsp + 0x60]
mov ebx, dword [rsp + 0x38]
mov rcx, r12
mov rax, rcx
inc rcx
and eax, 7
mov al, byte [rsp + rax + 0x28]
cmp rcx, 8
mov byte [rsp + rcx + 0x97], al
jb 0x10034d953
mov eax, 0xc7f0490f
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rsi
mov r15, rbp
mov r10, rsi
mov r12, r14
and r12d, 7
je 0x10034de4c
xor r8d, r8d
xor r11d, r11d
not ebx
xor r10d, r10d
test r12d, r12d
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x50], r11d
jle 0x10034d9e5
lea r9d, [r8 + 0x38]
movzx edx, byte [r15]
cmp r10d, r13d
jge 0x10034d9c4
lea ecx, [r9 - 0x20]
shl edx, cl
or r11d, edx
jmp 0x10034d9cc
mov ecx, r9d
shl edx, cl
or r8d, edx
inc r10d
inc r15
sub r9d, 8
cmp r10d, r12d
jl 0x10034d9b0
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x40], r8d
mov esi, ebx
sub esi, dword [rsp + 0x9c]
movzx r11d, ax
sub esi, r11d
movzx r9d, word [rsp + 0x9a]
movzx r10d, word [rsp + 0x9c]
mov edx, dword [rsp + 0x9c]
mov ecx, eax
movzx r8d, word [rsp + 0x9e]
xor esi, dword [rsp + 0x38]
xor edx, esi
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, r10d
xor ecx, eax
xor esi, ecx
mov edx, esi
xor edx, r8d
rol edx, 7
mov ecx, esi
rol ecx, 0xf
imul edx, r9d
add ecx, edx
xor ebx, ecx
mov ecx, ebx
mov edx, dword [rsp + 0x9c]
sub edx, ebx
rol edx, 6
ror ecx, 9
imul edx, r11d
sub edx, ecx
xor esi, edx
mov ecx, esi
mov edx, esi
xor edx, r11d
rol edx, 5
ror ecx, 1
imul edx, r8d
sub edx, ecx
xor ebx, edx
mov ecx, ebx
ror ecx, 2
sub ecx, r10d
imul ecx, r8d
xor esi, ecx
mov edx, esi
xor edx, r10d
mov ecx, esi
shr ecx, 0xc
imul edx, r9d
xor edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0x9c]
xor edx, ebx
ror edx, 6
mov ecx, ebx
rol ecx, 4
imul edx, r11d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
ror edx, 3
xor ecx, r11d
imul ecx, r8d
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, eax
rol edx, 4
ror ecx, 0xc
imul edx, r10d
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
sub edx, r10d
imul edx, r9d
shr ecx, 0xe
sub edx, ecx
xor r9d, r9d
xor ebx, edx
mov edx, dword [rsp + 0x9c]
sub edx, ebx
ror edx, 0xc
mov ecx, ebx
rol ecx, 7
imul edx, r11d
add ecx, edx
mov r11d, dword [rsp + 0x40]
xor ebx, r11d
xor ecx, dword [rsp + 0x50]
mov r8d, ebx
xor esi, ecx
mov edx, esi
test r12d, r12d
jle 0x10034db42
mov rcx, qword [rsp + 0x30]
cmp r9d, r13d
jge 0x10034db28
rol edx, 8
mov byte [rcx], dl
inc rcx
xor dil, dl
jmp 0x10034db35
rol r8d, 8
mov byte [rcx], r8b
inc rcx
xor dil, r8b
inc r9d
cmp r9d, r12d
jl 0x10034db16
mov qword [rsp + 0x30], rcx
lea ecx, [r12 - 4]
test ecx, ecx
jle 0x10034de34
sub r13d, ecx
shl r13d, 3
mov ecx, r13d
shr ebx, cl
shl ebx, cl
mov r13d, dword [rsp + 0x50]
mov r10, qword [rsp + 0x30]
mov r12, r14
shr r12, 3
test r12, r12
je 0x10034dd79
movzx r14d, word [rsp + 0x9c]
movzx ecx, word [rsp + 0x9e]
mov dword [rsp + 0x40], ecx
movzx ecx, word [rsp + 0x9a]
movzx ebp, ax
mov dword [rsp + 0x38], ecx
movzx r8d, byte [r15 + 4]
movzx r9d, byte [r15]
shl r9d, 8
movzx ecx, byte [r15 + 1]
shl r8d, 8
or r9d, ecx
mov edx, dword [rsp + 0x9c]
movzx ecx, byte [r15 + 2]
add r15, 8
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 5]
shl r9d, 8
or r9d, ecx
movzx ecx, byte [r15 - 3]
or r8d, ecx
movzx ecx, byte [r15 - 2]
shl r8d, 8
or r8d, ecx
shl r8d, 8
movzx ecx, byte [r15 - 1]
or r8d, ecx
xor ebx, r8d
mov ecx, ebx
sub ecx, dword [rsp + 0x9c]
sub ecx, ebp
xor ecx, r9d
xor esi, ecx
mov ecx, eax
xor edx, esi
sub ecx, edx
xor ebx, ecx
mov ecx, ebx
sub ecx, r14d
xor ecx, eax
xor esi, ecx
mov edx, esi
movzx ecx, word [rsp + 0x9e]
xor edx, ecx
mov ecx, esi
rol edx, 7
rol ecx, 0xf
imul edx, dword [rsp + 0x38]
add ecx, edx
xor ebx, ecx
mov edx, dword [rsp + 0x9c]
mov ecx, ebx
sub edx, ebx
rol edx, 6
ror ecx, 9
imul edx, ebp
sub edx, ecx
xor esi, edx
mov edx, esi
mov ecx, esi
xor edx, ebp
rol edx, 5
ror ecx, 1
imul edx, dword [rsp + 0x40]
sub edx, ecx
xor ebx, edx
mov ecx, ebx
movzx edx, word [rsp + 0x9e]
ror ecx, 2
sub ecx, r14d
imul ecx, edx
xor esi, ecx
mov edx, esi
xor edx, r14d
movzx ecx, word [rsp + 0x9a]
imul edx, ecx
mov ecx, esi
shr ecx, 0xc
xor edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0x9c]
mov ecx, ebx
xor edx, ebx
ror edx, 6
rol ecx, 4
imul edx, ebp
add ecx, edx
xor esi, ecx
mov ecx, esi
mov edx, esi
xor ecx, ebp
ror edx, 3
imul ecx, dword [rsp + 0x40]
add edx, ecx
xor ebx, edx
mov ecx, ebx
mov edx, ebx
sub edx, eax
rol edx, 4
ror ecx, 0xc
imul edx, r14d
add ecx, edx
xor esi, ecx
mov edx, esi
sub edx, r14d
movzx ecx, word [rsp + 0x9a]
imul edx, ecx
mov ecx, esi
shr ecx, 0xe
sub edx, ecx
xor ebx, edx
mov edx, dword [rsp + 0x9c]
mov ecx, ebx
sub edx, ebx
xor ebx, r11d
ror edx, 0xc
mov byte [r10 + 7], bl
rol ecx, 7
mov r11d, r8d
imul edx, ebp
add ecx, edx
xor ecx, r13d
mov r13d, r9d
xor esi, ecx
mov byte [r10 + 3], sil
xor dil, sil
ror esi, 8
mov byte [r10 + 2], sil
xor dil, bl
ror ebx, 8
mov byte [r10 + 6], bl
xor dil, sil
ror esi, 8
xor dil, bl
mov byte [r10 + 1], sil
ror ebx, 8
xor dil, sil
ror esi, 8
mov byte [r10 + 5], bl
xor dil, bl
mov byte [r10], sil
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 r12, 1
jne 0x10034db9b
mov r14, qword [rsp + 0x88]
mov rbp, qword [rsp + 0x78]
mov al, byte [r14 + rbp + 8]
xor al, dil
je 0x10034de74
call fcn.1000024bc
mov rsi, qword [rsp + 0x80]
mov r11d, 0xffff
mov rbx, rax
lea r8, [rsi + 0x18]
mov rax, 0xfffffffffffff000
lea r10, [0x100059e28]
and r8, 0xfffffffffffffff8
and rbx, rax
mov qword [rsi + 0x10], r10
lea r9, [r8 + 0xfff]
and r9, rax
mov rcx, qword [0x1003feeb8]
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 0x10034ddcd
mov qword [0x1003feeb8], rcx
movabs rax, 0x8000800080008001
mul rdi
mov rax, qword [rsp + 0x68]
shr rdx, 0xf
imul rdx, rdx, 0xffff
sub rdi, rdx
mov qword [rax + 0x98], rbx
inc rdi
mov qword [rax + 0xb0], rdi
mov qword [rsp + 0x68], r11
jmp 0x10034de6a
xor ebx, ebx
test ecx, ecx
jns 0x10034db5d
neg ecx
shl ecx, 3
shr esi, cl
shl esi, cl
jmp 0x10034db5d
mov r13d, ebx
mov r11d, ebx
not r11d
xor ebx, ebx
xor esi, esi
jmp 0x10034db67
mov rax, qword [rsp + 0x68]
mov qword [r8], rax
add r8, 8
cmp r8, r9
jb 0x10034de5e
jmp 0x10034df90
mov r12, qword [rsp + 0x60]
lea r15, [0x100000000]
mov rax, qword [0x10014d838]
mov rsi, r15
mov rbx, rbp
sub rbx, r12
sub rsi, rax
jne 0x10034de9e
test rbx, rbx
je 0x10034df71
xor edi, edi
mov rcx, qword [0x1000199f8]
mov r11, r12
lea r8d, [rcx - 1]
sub r11, rbp
sub ebp, r15d
test r8d, r8d
lea r13d, [r14 + rbp]
lea r14, [0x1000199f8]
js 0x10034def1
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 0x10034dee7
lea r8d, [rax - 1]
jmp 0x10034deec
jbe 0x10034def6
lea edi, [rax + 1]
cmp r8d, edi
jge 0x10034dec4
movsxd r10, edi
jmp 0x10034df6a
movsxd r10, eax
jmp 0x10034df6a
mov edx, dword [r14 + r10*4 + 4]
mov eax, edx
and eax, 0xfffffff
cmp eax, r13d
jae 0x10034df71
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 0x10034df46
sub edi, 1
je 0x10034df41
cmp edi, 1
jne 0x10034df4c
mov r9, rsi
jmp 0x10034df4c
mov r9, rbx
jmp 0x10034df4c
mov r9, rsi
sub r9, rbx
sub edx, 2
je 0x10034df5c
cmp edx, 1
jne 0x10034df67
add qword [r8 + r11], r9
jmp 0x10034df60
add dword [r8 + r11], r9d
mov rcx, qword [0x1000199f8]
inc r10
mov eax, ecx
cmp r10, rax
jb 0x10034defb
mov eax, dword [0x100015b94]
mov eax, 0x656faa31
mov rsi, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
lea r10, [r12 + rdx]
mov qword [rsi + 0x10], r10
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1002d7828
mov rbx, qword [rsp + 0x100]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret