Function at 0x62903710
Capabilities:
Encode data using xor

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
mov rsi, rcx
mov rbp, rdx
call fcn.629030c0
test rax, rax
mov rdi, rax
je 0x62903894
cmp dword [rax + 0x20], 0x6f2d728b
lea rcx, [rax + 0x20]
je 0x629038a0
lea rdx, [rax + 0x23c8]
mov rax, rcx
jmp 0x6290375a
cmp dword [rax], 0x6f2d728b
je 0x6290376c
add rax, 1
cmp rdx, rax
ja 0x62903752
cmp rcx, rax
jne 0x62903bbc
mov edx, dword [rax + 0x2c]
lea rbx, [rax + 0x40]
test edx, edx
jne 0x62903880
movsxd rdx, dword [rax + 0x38]
lea rax, [rsi + 0x18]
add rbx, rdx
movsxd rcx, dword [rbx + 0x18]
mov r9d, dword [rbx + 4]
lea r8, [rbx + 0x20]
mov edx, dword [rbx + 0x1c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x20], 3
mov qword [rsp + 0x38], rax
mov eax, dword [rsi + 0x60]
add rcx, rbx
mov dword [rsp + 0x30], eax
mov eax, dword [rsi + 0x68]
mov dword [rsp + 0x28], eax
call fcn.6291fbc0
test eax, eax
jne 0x62903d12
mov eax, dword [rsp + 0x6c]
mov r12, qword [rsi + 0xa8]
test eax, eax
je 0x62903d76
movsxd rcx, dword [rbx + 8]
add rcx, rbx
movzx eax, byte [rcx]
and eax, 3
cmp al, 2
jne 0x62903cad
add rcx, 0x20
mov rdx, rbp
call fcn.62981250
test eax, eax
jne 0x62903c48
test r12, r12
je 0x62903813
mov rcx, r12
call fcn.629812d8
movsxd rbp, dword [rbx + 0xc]
mov rcx, rbp
call fcn.629812a8
test rax, rax
mov qword [rsi + 0xa8], rax
je 0x62903dd8
movsxd rdx, dword [rbx + 8]
mov r8, rbp
mov rcx, rax
add rdx, rbx
call fcn.62981298
mov r8d, dword [rbx + 0x14]
test r8d, r8d
jne 0x629038b3
mov rax, qword [rdi]
lea rdx, [rax - 1]
xor eax, eax
test rdx, rdx
mov qword [rdi], rdx
jne 0x6290386c
mov dword [rsp + 0x5c], eax
mov rcx, rdi
call qword [0x629a31a0]
mov eax, dword [rsp + 0x5c]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
movsxd r12, dword [rax + 0x28]
lea r9, [rbx + r12]
cmp byte [r9], 1
je 0x62903900
jbe 0x6290377b
mov eax, 0xffffffff
jmp 0x6290386c
mov rax, rcx
mov edx, dword [rax + 0x2c]
lea rbx, [rax + 0x40]
test edx, edx
jne 0x62903880
jmp 0x6290377b
mov rcx, qword [rsi + 0xb8]
test rcx, rcx
je 0x629038c8
call fcn.629812d8
mov r8d, dword [rbx + 0x14]
movsxd rbp, r8d
mov rcx, rbp
call fcn.629812a8
test rax, rax
mov qword [rsi + 0xb8], rax
je 0x62903ea1
movsxd rdx, dword [rbx + 0x10]
mov r8, rbp
mov rcx, rax
add rdx, rbx
call fcn.62981298
jmp 0x6290384a
movzx edx, byte [r9 + 2]
movzx ecx, byte [r9 + 3]
lea r8, [r9 + 4]
movsxd r13, dword [rax + 0x30]
shl ecx, 0x10
shl edx, 8
or edx, ecx
movzx ecx, byte [r9 + 1]
or edx, ecx
lea rcx, [rbx + r13]
test edx, edx
lea r11d, [rdx - 1]
je 0x6290377b
lea r14, [r12 + 0x44]
lea r10, [r13 + 0x40]
add r13, 0x50
cmp r14, r13
setge r13b
add r12, 0x54
cmp r10, r12
setge r12b
or r13b, r12b
je 0x62903c26
cmp edx, 0x12
jbe 0x62903c26
lea r13, [rax + r10]
neg r13
and r13d, 0xf
lea r12d, [r13 + 0xf]
cmp r12d, r11d
ja 0x62903b9a
test r13d, r13d
je 0x62903e21
movzx r11d, byte [r9 + 4]
lea r8, [r9 + 5]
lea r12, [rcx + 1]
xor byte [rcx], r11b
cmp r13d, 1
lea r11d, [rdx - 2]
je 0x62903b40
movzx r11d, byte [r9 + 5]
lea r8, [r9 + 6]
lea r12, [rcx + 2]
xor byte [rcx + 1], r11b
cmp r13d, 2
lea r11d, [rdx - 3]
je 0x62903b40
movzx r11d, byte [r9 + 6]
lea r8, [r9 + 7]
lea r12, [rcx + 3]
xor byte [rcx + 2], r11b
cmp r13d, 3
lea r11d, [rdx - 4]
je 0x62903b40
movzx r11d, byte [r9 + 7]
lea r8, [r9 + 8]
lea r12, [rcx + 4]
xor byte [rcx + 3], r11b
cmp r13d, 4
lea r11d, [rdx - 5]
je 0x62903b40
movzx r11d, byte [r9 + 8]
lea r8, [r9 + 9]
lea r12, [rcx + 5]
xor byte [rcx + 4], r11b
cmp r13d, 5
lea r11d, [rdx - 6]
je 0x62903b40
movzx r11d, byte [r9 + 9]
lea r8, [r9 + 0xa]
lea r12, [rcx + 6]
xor byte [rcx + 5], r11b
cmp r13d, 6
lea r11d, [rdx - 7]
je 0x62903b40
movzx r11d, byte [r9 + 0xa]
lea r8, [r9 + 0xb]
lea r12, [rcx + 7]
xor byte [rcx + 6], r11b
cmp r13d, 7
lea r11d, [rdx - 8]
je 0x62903b40
movzx r11d, byte [r9 + 0xb]
lea r8, [r9 + 0xc]
lea r12, [rcx + 8]
xor byte [rcx + 7], r11b
cmp r13d, 8
lea r11d, [rdx - 9]
je 0x62903b40
movzx r11d, byte [r9 + 0xc]
lea r8, [r9 + 0xd]
lea r12, [rcx + 9]
xor byte [rcx + 8], r11b
cmp r13d, 9
lea r11d, [rdx - 0xa]
je 0x62903b40
movzx r11d, byte [r9 + 0xd]
lea r8, [r9 + 0xe]
lea r12, [rcx + 0xa]
xor byte [rcx + 9], r11b
cmp r13d, 0xa
lea r11d, [rdx - 0xb]
je 0x62903b40
movzx r11d, byte [r9 + 0xe]
lea r8, [r9 + 0xf]
lea r12, [rcx + 0xb]
xor byte [rcx + 0xa], r11b
cmp r13d, 0xb
lea r11d, [rdx - 0xc]
je 0x62903b40
movzx r11d, byte [r9 + 0xf]
lea r8, [r9 + 0x10]
lea r12, [rcx + 0xc]
xor byte [rcx + 0xb], r11b
cmp r13d, 0xc
lea r11d, [rdx - 0xd]
je 0x62903b40
movzx r11d, byte [r9 + 0x10]
lea r8, [r9 + 0x11]
lea r12, [rcx + 0xd]
xor byte [rcx + 0xc], r11b
cmp r13d, 0xd
lea r11d, [rdx - 0xe]
je 0x62903b40
movzx r11d, byte [r9 + 0x11]
lea r8, [r9 + 0x12]
lea r12, [rcx + 0xe]
xor byte [rcx + 0xd], r11b
cmp r13d, 0xf
lea r11d, [rdx - 0xf]
jne 0x62903b40
lea r8, [r9 + 0x13]
movzx r9d, byte [r9 + 0x12]
lea r12, [rcx + 0xf]
xor byte [rcx + 0xe], r9b
lea r11d, [rdx - 0x10]
nop dword [rax]
sub edx, r13d
mov ecx, r13d
xor r9d, r9d
lea r13d, [rdx - 0x10]
add r14, rcx
add r10, rcx
add r14, rax
add r10, rax
xor ecx, ecx
shr r13d, 4
add r13d, 1
movdqu xmm0, xmmword [r14 + rcx]
add r9d, 1
pxor xmm0, xmmword [r10 + rcx]
movaps xmmword [r10 + rcx], xmm0
add rcx, 0x10
cmp r13d, r9d
ja 0x62903b63
shl r13d, 4
mov ecx, r13d
sub r11d, r13d
add r8, rcx
add rcx, r12
cmp edx, r13d
je 0x6290377b
mov r11d, r11d
lea r9, [r8 + r11 + 1]
add r8, 1
add rcx, 1
movzx edx, byte [r8 - 1]
xor byte [rcx - 1], dl
cmp r8, r9
jne 0x62903ba2
jmp 0x6290377b
mov rax, qword [rsi + 0xa8]
test rax, rax
je 0x62903e56
movzx ebx, byte [rax]
shr bl, 2
and ebx, 3
cmp ebx, 2
je 0x62903eb5
mov edx, 4
mov rcx, rsi
call fcn.629013c0
cmp ebx, 1
mov r8, rax
je 0x62903e47
mov rax, qword [0x629a2d00]
mov rcx, qword [rax]
mov dword [rsp + 0x20], 0x29ea
mov r9d, 1
lea rdx, str._s___d:_d_
call qword [0x629a2c70]
mov eax, 0xffffffff
jmp 0x6290386c
mov edx, r11d
xor r8d, r8d
add rdx, 1
movzx r10d, byte [r9 + r8 + 4]
xor byte [rcx + r8], r10b
add r8, 1
cmp r8, rdx
jne 0x62903c30
jmp 0x6290377b
test r12, r12
je 0x62903e38
movzx ebx, byte [r12]
shr bl, 2
and ebx, 3
cmp ebx, 2
je 0x62903eb5
mov edx, 4
mov rcx, rsi
call fcn.629013c0
cmp ebx, 1
mov r8, rax
je 0x62903e03
mov rax, qword [0x629a2d00]
mov rcx, qword [rax]
mov dword [rsp + 0x20], 0x2a08
mov r9d, 1
lea rdx, str._s___d:_d_
call qword [0x629a2c70]
mov eax, 0xffffffff
jmp 0x6290386c
test r12, r12
je 0x62903e29
movzx ebx, byte [r12]
shr bl, 2
and ebx, 3
cmp ebx, 2
je 0x62903eb5
mov edx, 4
mov rcx, rsi
call fcn.629013c0
cmp ebx, 1
mov r8, rax
je 0x62903e12
mov rax, qword [0x629a2d00]
mov rcx, qword [rax]
mov dword [rsp + 0x20], 0x2a04
mov r9d, 1
lea rdx, str._s___d:_d_
call qword [0x629a2c70]
mov eax, 0xffffffff
jmp 0x6290386c
mov rdx, qword [rsi + 0xa8]
test rdx, rdx
je 0x62903e83
movzx ebx, byte [rdx]
shr bl, 2
and ebx, 3
cmp ebx, 2
je 0x62903eb5
mov ecx, eax
call fcn.6291e020
cmp ebx, 1
mov r8, rax
je 0x62903e65
mov rax, qword [0x629a2d00]
mov rcx, qword [rax]
mov dword [rsp + 0x20], 0x29fc
mov r9d, 1
lea rdx, str._s___d:_d_
call qword [0x629a2c70]
mov eax, 0xffffffff
jmp 0x6290386c
test r12, r12
je 0x62903e92
movzx ebx, byte [r12]
shr bl, 2
and ebx, 3
cmp ebx, 2
je 0x62903eb5
mov ecx, 1
call fcn.6291e020
cmp ebx, 1
mov r8, rax
je 0x62903e74
mov rax, qword [0x629a2d00]
mov rcx, qword [rax]
mov dword [rsp + 0x20], 0x29ff
mov r9d, 1
lea rdx, str._s___d:_d_
call qword [0x629a2c70]
mov eax, 0xffffffff
jmp 0x6290386c
mov rbx, qword [0x629a33f8]
call rbx
mov r8d, 0x10028dd
mov edx, dword [rax]
mov rcx, rsi
call fcn.62908440
call rbx
mov dword [rax], 0
mov eax, 0xffffffff
jmp 0x6290386c
mov rax, qword [0x629a2d10]
mov rcx, qword [rax]
jmp 0x62903c88
mov rax, qword [0x629a2d10]
mov rcx, qword [rax]
jmp 0x62903ced
mov r12, rcx
jmp 0x62903b40
movzx ebx, byte [rsi + 0x10]
shr bl, 5
and ebx, 3
jmp 0x62903cc1
movzx ebx, byte [rsi + 0x10]
shr bl, 5
and ebx, 3
jmp 0x62903c5c
mov rax, qword [0x629a2d10]
mov rcx, qword [rax]
jmp 0x62903c01
movzx ebx, byte [rsi + 0x10]
shr bl, 5
and ebx, 3
jmp 0x62903bd5
mov rax, qword [0x629a2d10]
mov rcx, qword [rax]
jmp 0x62903d51
mov rax, qword [0x629a2d10]
mov rcx, qword [rax]
jmp 0x62903db3
movzx ebx, byte [rsi + 0x10]
shr bl, 5
and ebx, 3
jmp 0x62903d2b
movzx ebx, byte [rsi + 0x10]
shr bl, 5
and ebx, 3
jmp 0x62903d8a
mov rbx, qword [0x629a33f8]
call rbx
mov r8d, 0x10028ce
jmp 0x62903de7
mov ecx, 1
call fcn.629812f8
nop