Function at 0x140139430
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xd8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x58], r8
mov qword [rsp + 0x78], rdx
mov qword [rsp + 0x40], rcx
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x48], rax
call fcn.14014e5aa
mov qword [rsp + 0x70], rax
add rax, 0x60
mov qword [rsp + 0x50], rax
mov ecx, 0x38
mov edx, 8
call fcn.140012010
mov r8, qword [rsp + 0x58]
mov rcx, rax
mov qword [rsp + 0x60], rcx
lea rax, [0x1401dff08]
mov qword [rcx], rax
add rcx, 0x20
mov rax, qword [r8]
mov qword [rsp + 0xb8], rax
mov rax, qword [r8 + 8]
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0xb8]
call fcn.140013af0
mov rcx, qword [rsp + 0x58]
call fcn.14000fb15
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
add rcx, 0x30
call fcn.1400b7547
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
mov r8b, byte [rax + 0x60]
mov r9b, 0x17
xor r9b, 0x17
mov cl, 1
xor eax, eax
cmp r8b, r9b
mov byte [rsp + 0x87], cl
mov qword [rsp + 0x88], rdx
mov dword [rsp + 0x94], eax
jne 0x1401395f6
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
add rcx, 0x10
mov rdx, qword [rax]
mov qword [rsp + 0xa8], rdx
mov rax, qword [rax + 8]
mov qword [rsp + 0xb0], rax
xor eax, eax
mov r8b, al
lea rdx, [rsp + 0xa8]
call fcn.14012c140
mov r8, qword [rsp + 0x50]
mov dl, 1
xor eax, eax
mov ecx, eax
xor eax, eax
cmp byte [r8], 0
mov byte [rsp + 0x87], dl
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x94], eax
jne 0x1401395f6
lea rcx, [rsp + 0xc8]
mov edx, 0x10
call fcn.140125707
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
lea r8, [0x140138390]
mov qword [rsp + 0xc8], r8
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x98]
call fcn.14012c380
mov rcx, qword [rsp + 0x50]
mov dl, byte [rcx]
xor ecx, ecx
mov byte [rsp + 0x87], dl
mov qword [rsp + 0x88], rcx
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov dl, byte [rsp + 0x87]
mov r8, qword [rsp + 0x88]
mov r9d, dword [rsp + 0x94]
mov dword [rsp + 0x24], r9d
mov qword [rsp + 0x28], r8
mov byte [rsp + 0x37], dl
mov dl, 0xd2
xor dl, 0xd2
mov byte [rcx], dl
mov rax, qword [rax + 8]
mov qword [rsp + 0x38], rax
cmp rax, 0
je 0x1401397a0
mov rcx, qword [rsp + 0x38]
movabs rax, 0x4000000000000000
and rax, qword [rcx]
movabs rcx, 0x413a03cbda31b7b8
movabs rdx, 0x413a03cbda31b7b8
xor rcx, rdx
cmp rax, rcx
jne 0x1401397a0
mov eax, dword [0x1401e0628]
mov ecx, dword [0x1401e062c]
mov edx, 0x2d64565d
xor edx, 0x1204375d
xor ecx, edx
xor ecx, 0xffffffff
add eax, ecx
add eax, 1
mov ecx, 0x95845dc6
xor ecx, 0x650e79a8
xor edx, edx
div ecx
mov ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, ecx
xor edx, 0xffffffff
or eax, edx
mov edx, 0x68360a6a
xor edx, 0xba3a3876
and eax, edx
xor eax, 0xffffffff
mov edx, 0xd20c321c
and edx, 0xd20c321c
xor edx, 0xffffffff
mov r8d, 0x76384e26
xor r8d, 0x89c7b1d9
xor ecx, r8d
xor edx, 0xffffffff
or ecx, edx
and eax, ecx
mov ecx, 0x9eaa047e
xor ecx, 0x6155fb81
xor eax, ecx
mov ecx, 0x378948a3
xor ecx, 0xc876b75c
mov edx, eax
xor edx, ecx
and edx, 0xbc8f2b04
mov r8d, 0xffffffff
xor r8d, 0xbc8f2b04
mov ecx, eax
and ecx, r8d
imul ecx, edx
mov edx, eax
and edx, 0xbc8f2b04
mov r8d, 0x18ac45de
xor r8d, 0xa4236eda
or eax, r8d
imul eax, edx
add eax, ecx
cmp eax, 0x78fdcd8e
jb 0x1401397e7
mov rcx, qword [rsp + 0x38]
mov eax, dword [0x1401e0630]
mov edx, dword [0x1401e0634]
xor edx, 0x3a97b8dc
xor eax, edx
sub eax, 0xb607f899
xor eax, 0x65fd0275
mov edx, 0xec29c9ed
xor edx, 0xec29c9ed
mov r8d, 0xd02f28af
xor r8d, 0xbfcb847e
sub edx, r8d
add eax, edx
mov dword [rsp + 0x20], eax
call fcn.14000de03
mov eax, dword [rsp + 0x20]
cmp eax, 0xa4de433b
jb 0x140139743
jmp 0x1401397a0
mov rcx, qword [rsp + 0x28]
call fcn.14012aa4a
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x1401397db
mov rcx, qword [rsp + 0x60]
call fcn.140139403
mov rax, qword [rsp + 0x50]
cmp byte [rax], 0
jne 0x1401397db
mov rax, qword [rsp + 0x50]
mov cl, byte [rsp + 0x37]
mov byte [rax], cl
mov eax, dword [rsp + 0x24]
add rsp, 0xd8
ret
add eax, 0xe935c9d4
push rbx
invalid