Function at 0x140024970
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x68], rcx
call fcn.140009f59
mov qword [rsp + 0x60], rax
call fcn.140009f59
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x78], rax
add rax, 0x60
mov qword [rsp + 0x70], rax
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call rax
mov rcx, qword [rsp + 0x78]
xor eax, eax
cmp byte [rcx + 0x60], 0
mov byte [rsp + 0x87], al
je 0x1400249e6
mov rax, qword [rsp + 0x70]
mov cl, 0xcd
xor cl, 0xcd
mov byte [rax], cl
call fcn.1400189f3
call fcn.140018a90
mov rax, qword [rsp + 0x70]
mov al, byte [rax]
mov byte [rsp + 0x87], al
mov al, byte [rsp + 0x87]
mov byte [rsp + 0x5f], al
mov eax, dword [0x1401dc218]
add eax, dword [0x1401dc21c]
xor ecx, ecx
sub ecx, 0x915bbeec
sub eax, ecx
sub eax, 0x1d3b670f
add eax, 0xdd0e9ceb
add eax, 0x1d3b670f
and eax, 0x4af5d988
mov ecx, 0x1ee3d2a2
xor ecx, 0x4a4033ae
cmp eax, ecx
je 0x140024dcc
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov edi, dword [0x1401dc220]
mov esi, dword [0x1401dc224]
mov r8d, edi
xor r8d, 0xffffffff
mov r10d, esi
xor r10d, 0xffffffff
mov r9d, 0x9dfa6d6d
xor r9d, 0x808728ab
mov eax, 0xfd1139ff
xor eax, 0x2eec600
xor r9d, eax
mov r11d, 0x46e7c6b4
xor r11d, 0x5b9a8372
mov eax, r8d
and eax, r11d
and edi, r9d
mov r11d, r10d
and r11d, 0x1d7d45c6
and esi, r9d
or eax, edi
or r11d, esi
xor eax, r11d
or r8d, r10d
xor r8d, 0xffffffff
or r9d, 0x1d7d45c6
and r8d, r9d
or eax, r8d
xor eax, 0xffffffff
mov r9d, 0xffffffff
xor r9d, 0x46962f99
mov r8d, 0xffffffff
xor r8d, 0xfeab4913
or eax, r9d
or r8d, 0xfeab4913
mov r9d, 0x4e0d6bd6
xor r9d, 0xb1f29429
xor eax, r9d
and eax, r8d
and eax, eax
mov r8d, 0xc2599501
xor r8d, 0x3da66afe
xor eax, r8d
mov r8d, 0x24427c88
xor r8d, 0xb323b5f4
mov r9d, 0x1c9906a4
xor r9d, 0xe366f95b
xor r8d, r9d
mov r9d, 0xffffffff
xor r9d, 0x9761c97c
or r8d, r9d
and eax, r8d
xor eax, 0xffffffff
and eax, 0x6b627b65
mov r8b, 0x7a
xor r8b, 0x7a
mov byte [rdx], r8b
mov rdx, qword [rcx]
mov qword [rsp + 0x48], rdx
add rcx, 8
mov qword [rsp + 0x50], rcx
cmp eax, 0xd0c24ec0
je 0x140024a2e
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x40], rax
jmp 0x140024b64
mov rax, qword [rsp + 0x40]
movabs rdx, 0x8d439001d5b1d835
mov rcx, rax
sub rcx, rdx
add rcx, 0xffffffffffffffff
movabs rdx, 0x8d439001d5b1d835
add rcx, rdx
mov qword [rsp + 0x38], rcx
cmp rax, 0
jle 0x140024cb9
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rcx, rax
add rcx, 8
mov r8, rdx
shl r8, 4
add rcx, r8
add rax, 8
shl rdx, 4
add rax, rdx
add rax, 8
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rcx
cmp rax, 0
je 0x140024bf1
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
call rax
jmp 0x140024c96
mov ecx, dword [0x1401dc228]
mov edx, dword [str._dM]
xor edx, 0x7ea9cdd1
mov r8d, ecx
xor r8d, 0xffffffff
mov eax, edx
and eax, r8d
xor edx, 0xffffffff
and ecx, edx
or eax, ecx
xor ecx, ecx
sub ecx, eax
xor eax, eax
sub eax, 0x35b5ecb3
add ecx, eax
xor eax, eax
sub eax, ecx
mov ecx, 0xaec82985
xor ecx, 0xfa3e1324
and eax, ecx
mov ecx, 0x52f000e3
xor ecx, 0xb11f965
xor edx, edx
div ecx
cmp eax, 0x3c71f7d7
ja 0x140024dd5
mov eax, dword [0x1401dc230]
xor eax, 0xfb020486
xor edx, edx
div dword [0x1401dc234]
sub eax, 0x62b2a485
mov ecx, 0xae403ed4
xor edx, edx
div ecx
mov ecx, eax
mov rax, qword [rsp + 0x30]
add ecx, 0x62651ac2
mov dword [rsp + 0x24], ecx
call rax
mov eax, dword [rsp + 0x24]
cmp eax, 0x15436bd8
jb 0x140024c4e
jmp 0x140024c96
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
mov cl, byte [rcx]
mov dl, 0x4e
xor dl, 0x4e
cmp cl, dl
mov qword [rsp + 0x40], rax
je 0x140024b64
jmp 0x140024cc4
mov rax, qword [rsp + 0x70]
mov cl, byte [rsp + 0x5f]
mov byte [rax], cl
mov eax, dword [0x1401dc238]
mov ecx, dword [0x1401dc23c]
xor ecx, 0x87ee5c45
and eax, ecx
mov ecx, 0x83451e67
xor ecx, 0x7ccb7f4
xor edx, edx
div ecx
mov ecx, eax
and ecx, 0x8f84328a
xor ecx, 0xffffffff
add eax, 0x8f84328a
mov edx, 0x4cb134f0
xor edx, 0x4cb134f1
add eax, edx
add eax, ecx
mov ecx, 0x108f327c
xor ecx, 0xec6674d2
add eax, ecx
cmp eax, 0x41793eea
je 0x140024dde
mov eax, dword [0x1401dc240]
or eax, dword [0x1401dc244]
mov edx, eax
xor edx, 0xffffffff
mov ecx, 0x37509248
xor ecx, 0xa4a1b0e3
and ecx, edx
mov edx, 0x9b2d7c52
xor edx, 0x8dc5ef9
mov r8d, 0x74c78a13
xor r8d, 0x8b3875ec
xor edx, r8d
and eax, edx
or ecx, eax
mov eax, ecx
xor eax, 0xffffffff
mov edx, ecx
xor edx, 0xffffffff
and eax, edx
mov edx, 0x9d72f3a5
or edx, 0x9d72f3a5
xor edx, 0xffffffff
or eax, edx
xor eax, 0xffffffff
or ecx, 0x9d72f3a5
xor ecx, 0xffffffff
or eax, ecx
xor eax, 0xffffffff
mov r8d, 0xffffffff
xor r8d, 0xca5fb9cb
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0xca5fb9cb
or eax, 0xca5fb9cb
imul eax, edx
add eax, ecx
cmp eax, 0xc45e39f4
jae 0x140024dde
add rsp, 0x88
pop rdi
pop rsi
ret
mov ecx, 0xe961b43b
pop rcx
cld
invalid
neg dword [rbp + riz - 0x18f1700]
invalid
invalid