Function at 0x140003040
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov dword [rsp + 0x20], 0xd7e4c486
mov dword [rsp + 0x24], 0xe18063f2
mov dword [rsp + 0x28], 0xaa7cbf3e
mov dword [rsp + 0x2c], 0xb1d8e96c
mov dword [rsp + 0x30], 0xe94ad76
mov dword [rsp + 0x34], 0x2fb04e62
mov dword [rsp + 0x38], 0x9c2c472e
mov dword [rsp + 0x3c], 0xb3080ada
mov dword [rsp + 0x40], 0x6b44c466
mov dword [rsp + 0x44], 0x13e016d1
mov dword [rsp + 0x48], 0x13dcdd1e
mov dword [rsp + 0x4c], 0xaa38ea4d
mov dword [rsp + 0x50], 0xadf4c956
mov dword [rsp + 0x54], 0x4e107d42
mov dword [rsp + 0x58], 0xd18c410e
mov dword [rsp + 0x5c], 0x576847ba
mov dword [rsp + 0x60], 0x96a47c46
mov dword [rsp + 0x64], 0x9e4041b2
mov dword [rsp + 0x68], 0x953c32fe
mov dword [rsp + 0x6c], 0x7a98e32a
mov dword [rsp + 0x70], 0xe5549d36
mov dword [rsp + 0x74], 0xc4702422
mov dword [rsp + 0x78], 0x1eec72ee
mov dword [rsp + 0x7c], 0xd3c87c9a
mov dword [rbp - 0x80], 0x5a04ec26
mov dword [rbp - 0x7c], 0x80a0e49b
mov dword [rbp - 0x78], 0x2e9cc0de
mov dword [rbp - 0x74], 0x22f8d40a
mov dword [rbp - 0x70], 0xb4b42916
mov dword [rbp - 0x6c], 0x92d04305
mov dword [rbp - 0x68], 0x844cdcce
mov dword [rbp - 0x64], 0x2828a97a
mov dword [rbp - 0x60], 0xb564140f
mov dword [rbp - 0x5c], 0xbb00ff72
mov dword [rbp - 0x58], 0xdffc86be
mov dword [rbp - 0x54], 0xa358bcea
mov dword [rbp - 0x50], 0x1c146cf6
mov dword [rbp - 0x4c], 0xb930d9e2
mov dword [rbp - 0x48], 0x1ac7eae
mov dword [rbp - 0x44], 0x5488ce5a
mov dword [rbp - 0x40], 0xa8c4f3e6
mov dword [rbp - 0x3c], 0x4d609252
mov dword [rbp - 0x38], 0xa95c8493
mov dword [rbp - 0x34], 0xfbb89dca
mov dword [rbp - 0x30], 0x1b7468d4
mov dword [rbp - 0x2c], 0x3790e8c2
mov dword [rbp - 0x28], 0x970c588e
mov dword [rbp - 0x24], 0x58e8eb3a
mov dword [rbp - 0x20], 0x34248bc6
mov dword [rbp - 0x1c], 0x37c09d32
mov dword [rbp - 0x18], 0x8abcba7e
mov dword [rbp - 0x14], 0x2c1876aa
mov dword [rbp - 0x10], 0xb2d41cb6
mov dword [rbp - 0xc], 0xdf06fa2
mov dword [rbp - 8], 0x446c6a6e
mov dword [rbp - 4], 0x3548001a
mov dword [rbp], 0x5784dba6
mov dword [rbp + 4], 0x7a202012
mov dword [rbp + 8], 0x841c285e
mov dword [rbp + 0xc], 0x3478478a
mov dword [rbp + 0x10], 0xe2348896
mov dword [rbp + 0x14], 0x3c506e82
mov dword [rbp + 0x18], 0x9ccb44e
mov dword [rbp + 0x1c], 0xe9a80cf8
mov dword [rbp + 0x20], 0x12e4e386
mov dword [rbp + 0x24], 0x14801af2
mov dword [rbp + 0x28], 0x957cce3e
mov dword [rbp + 0x2c], 0x14d8106a
mov dword [rbp + 0x30], 0xa994ac76
mov dword [rbp + 0x34], 0xc2b0e562
mov dword [rbp + 0x38], 0xe72c362e
mov dword [rbp + 0x3c], 0x760811d0
mov dword [rbp + 0x40], 0x6644a366
mov dword [rbp + 0x44], 0x6e08dd2
mov dword [rbp + 0x48], 0xbedcac1e
mov dword [rbp + 0x4c], 0xcd38d14a
mov dword [rbp + 0x50], 0x8f48856
mov dword [rbp + 0x54], 0xa110d442
mov dword [rbp + 0x58], 0xdc8cf00e
mov dword [rbp + 0x5c], 0xda680eba
mov dword [rbp + 0x60], 0x51a41b46
mov rbx, qword [rbp + 0xe0]
mov dword [rbp + 0x64], 0x514078b2
mov dword [rbp + 0x68], 0x3cc1f9
mov dword [rbp + 0x6c], 0x5d988a27
mov dword [rbp + 0x70], 0x541c36
mov dword [rbp + 0x74], 0xd7703b22
mov dword [rbp + 0x78], 0xe9ece1ee
mov dword [rbp + 0x7c], 0x16c8039a
mov dword [rbp + 0x80], 0xd5044b26
mov dword [rbp + 0x84], 0xf3a0db92
mov dword [rbp + 0x88], 0x599c0fde
mov dword [rbp + 0x8c], 0xc5f83b0a
mov dword [rbp + 0x90], 0x8fb46816
mov dword [rbp + 0x94], 0x65d01a02
mov dword [rbp + 0x98], 0xf4c0bce
mov dword [rbp + 0x9c], 0x2b28f07a
mov dword [rbp + 0xa0], 0xf0643306
mov dword [rbp + 0xa4], 0xee00b672
mov dword [rbp + 0xa8], 0xcafc95be
mov dword [rbp + 0xac], 0x658e3ea
mov edi, 0xa
movabs rsi, 0x4afd6a052bf5a815
nop dword [rax]
lea rcx, [rbp + 0xe0]
xor edx, edx
call fcn.14000868c
mov rcx, rbx
mov rax, rsi
mul rbx
mov rax, qword [rbp + 0xe0]
sub rcx, rdx
shr rcx, 1
mov r8d, eax
add rcx, rdx
shr rcx, 6
imul rcx, rcx, 0x63
sub r8, rcx
add r8, rbx
xor r8, 0x38ce0fff
add r8, rax
movabs rax, 0x624dd2f1a9fbe77
mov rbx, r8
mul r8
movabs rax, 0x38ce0fff00
sub rbx, rdx
shr rbx, 1
add rbx, rdx
shr rbx, 9
add rbx, r8
shl rbx, 8
and rbx, rax
dec rdi
jne 0x140003370
mov edi, dword [rbp + 0xd8]
mov rax, rsi
mov esi, dword [rbp + 0xd0]
mul rbx
mov rax, rbx
mov ecx, edi
sub rax, rdx
shr rax, 1
add rax, rdx
shr rax, 6
imul eax, eax, 0x63
sub ebx, eax
xor eax, eax
cmp ebx, 0x63
cmova ebx, eax
xor edx, edx
sub ecx, esi
mov eax, dword [rsp + rbx*4 + 0x20]
inc ecx
div ecx
add edx, esi
cmp edx, esi
jb 0x140003433
cmp edx, edi
ja 0x140003433
mov eax, edx
jmp 0x14000343c
mov edx, edi
mov ecx, esi
call fcn.140003040
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x1b0
pop rdi
pop rsi
pop rbp
ret