Function at 0x1400124d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
sub rsp, 0x60
lea rbp, [rsp + 0x60]
mov qword [rbp - 8], rcx
mov eax, dword [0x1401db8e8]
xor eax, 0x34870a73
mov r8d, dword [0x1401db8ec]
xor r8d, 0x1ac3018c
mov ecx, eax
xor ecx, 0xffffffff
mov edx, r8d
and edx, ecx
mov r9d, r8d
xor r9d, 0xffffffff
mov ecx, eax
and ecx, r9d
imul ecx, edx
mov edx, eax
and edx, r8d
or eax, r8d
imul eax, edx
add eax, ecx
sub eax, 0xcce8b33f
mov ecx, 0x87b97f0b
xor edx, edx
div ecx
mov r8d, eax
mov eax, r8d
xor eax, 0xffffffff
and eax, 0xe8e8371f
mov r9d, 0xafb04251
xor r9d, 0x4758754e
mov ecx, 0x4defb509
xor ecx, 0xb2104af6
xor r9d, ecx
and r8d, r9d
mov ecx, 0x81b54e31
xor ecx, 0x6954b553
mov edx, 0x20f728e6
xor edx, 0xdf08d719
xor ecx, edx
and ecx, 0xe8e8371f
mov edx, 0xefa601fe
xor edx, 0x747fa9c
and edx, r9d
or eax, r8d
or ecx, edx
xor eax, ecx
cmp eax, 0xe3cfb461
je 0x14001288f
mov rcx, qword [rbp - 8]
mov eax, dword [0x1401db8f0]
mov edx, dword [0x1401db8f4]
not eax
xor edx, 0xd6c5a30c
or eax, edx
not eax
imul rax, rax, 0x2e0ad195
shr rax, 0x39
and eax, 6
add eax, 0xbb9714bb
mov dword [rbp - 0x1c], eax
mov eax, 0x10
mov qword [rbp - 0x30], rax
call fcn.1401da3e0
sub rsp, rax
mov rax, qword [rbp - 0x30]
mov rdx, rsp
mov qword [rbp - 0x28], rdx
call fcn.1401da3e0
sub rsp, rax
mov eax, dword [rbp - 0x1c]
mov rdx, rsp
mov qword [rbp - 0x18], rdx
cmp rcx, 1
setl cl
mov byte [rbp - 9], cl
cmp eax, 0xb5443f75
jb 0x140012595
mov cl, byte [rbp - 9]
mov eax, 4
test cl, 1
mov qword [rbp - 0x38], rax
jne 0x140012886
jmp 0x140012624
mov rax, qword [rbp - 8]
movabs rcx, 0x67af7fa85adc9bdd
movabs rdx, 0x67af7fa85adc1bdd
xor rcx, rdx
cmp rax, rcx
jae 0x140012785
mov r8, qword [rbp - 0x28]
mov rcx, qword [rbp - 8]
mov edx, 2
sub rsp, 0x20
call fcn.14000a830
add rsp, 0x20
test al, 1
jne 0x14001266f
jmp 0x140012681
sub rsp, 0x20
call fcn.1400067fe
add rsp, 0x20
jmp 0x140012778
mov eax, dword [0x1401db8f8]
sub eax, dword [0x1401db8fc]
imul r8d, eax, 0x5cb5ecc5
mov eax, r8d
xor eax, 0xffffffff
and eax, 0x35934261
mov edx, 0xffffffff
xor edx, 0x35934261
and r8d, edx
mov ecx, 0xb00d4b7e
xor ecx, 0xc269546a
mov r9d, 0xb58c422d
xor r9d, 0x4a73bdd2
xor ecx, r9d
and ecx, 0x35934261
and edx, 0x72641f14
or eax, r8d
or ecx, edx
xor eax, ecx
mov ecx, 0xffffffff
xor ecx, 0x73b19d23
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
cmp eax, 0x7890911f
je 0x140012898
mov rcx, qword [rbp - 0x28]
mov eax, dword [0x1401db900]
mov r8d, dword [0x1401db904]
xor r8d, 0x475bffd9
xor edx, edx
div r8d
mov edx, 0xe79a2191
xor edx, 0x8a8ad7a1
add eax, edx
mov r8d, 0x8572a152
xor edx, edx
div r8d
mov edx, 0x66ecf043
xor edx, 0x36e477fb
mov r8d, 0xdd5cf6f5
xor r8d, 0x22a3090a
xor edx, r8d
add eax, edx
mov edx, 0x191342df
xor edx, 0x191342de
add eax, edx
mov rcx, qword [rcx]
mov qword [rbp - 0x40], rcx
cmp eax, 0x6aeabd36
je 0x140012898
mov rax, qword [rbp - 0x40]
mov qword [rbp - 0x48], rax
jmp 0x140012778
mov rax, qword [rbp - 0x48]
mov qword [rbp - 0x38], rax
jmp 0x140012886
mov r8, qword [rbp - 0x18]
mov rcx, qword [rbp - 8]
movabs rdx, 0x472dcbffd81768c6
movabs rax, 0x472dcbffd81768c5
xor rdx, rax
sub rsp, 0x20
call fcn.14000a830
add rsp, 0x20
test al, 1
jne 0x1400127be
jmp 0x1400127d0
sub rsp, 0x20
call fcn.1400067fe
add rsp, 0x20
jmp 0x14001287e
mov eax, dword [0x1401db908]
mov ecx, dword [0x1401db90c]
xor ecx, 0xd60d1145
add eax, ecx
mov ecx, 0xb63283cb
xor ecx, 0x59f21aac
imul eax, ecx
xor ecx, ecx
sub ecx, 0xf2c38ba0
add eax, ecx
mov ecx, 0xe9d2f59d
xor edx, edx
div ecx
cmp eax, 0x489c0fd5
jae 0x1400128a1
mov rax, qword [rbp - 0x18]
mov ecx, dword [0x1401db910]
imul ecx, dword [0x1401db914]
imul ecx, ecx, 0x1b6e1bf9
mov edx, 0x868ff07b
xor edx, 0x7dfca45c
and ecx, edx
or ecx, 0xbf4205ff
mov dword [rbp - 0x54], ecx
mov rax, qword [rax]
movabs rcx, 0x97cf41faac05c20
movabs rdx, 0x97cf41faac05c22
xor rcx, rdx
cqo
idiv rcx
mov rcx, rax
mov eax, dword [rbp - 0x54]
mov qword [rbp - 0x50], rcx
cmp eax, 0x4c19511e
jb 0x1400128a1
mov rax, qword [rbp - 0x50]
mov qword [rbp - 0x60], rax
jmp 0x14001287e
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x38], rax
mov rax, qword [rbp - 0x38]
mov rsp, rbp
pop rbp
ret
invalid
test dword [rdi + 0x24], edi
imul ebp, ecx, 0xfffffe59
fisttp qword [rdx - 0x6c]
jmp 0x140012810