Function at 0x1400788b0
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x38], rdx
mov qword [rsp + 0x40], rcx
mov eax, dword [0x1401d87b8]
and eax, dword [0x1401d87bc]
mov ecx, 0xffffffff
xor ecx, 0x85ebb33c
add eax, ecx
add eax, 1
and eax, 0x583e4aa1
mov ecx, 0xaa419ee
xor edx, edx
div ecx
cmp eax, 0x143c71f
je 0x140078b88
mov eax, dword [0x1401d87c0]
mov edx, dword [0x1401d87c4]
and eax, eax
xor eax, 0xffffffff
mov ecx, edx
xor ecx, 0xffffffff
mov r8d, 0xf4456ce0
xor r8d, 0xbba931f
xor edx, r8d
or ecx, edx
xor eax, 0xffffffff
mov edx, 0x9dd1151c
xor edx, 0x622eeae3
xor ecx, edx
or eax, ecx
and eax, 0xd0cd239b
mov ecx, 0xd1d9077d
xor ecx, 0xd68f1dda
xor edx, edx
div ecx
mov r8d, eax
mov eax, 0xc5862c37
xor eax, 0x3a79d3c8
mov ecx, r8d
xor ecx, eax
mov eax, 0x76cf0b22
xor eax, 0x4289b7b0
and eax, ecx
mov edx, 0xffffffff
xor edx, 0x3446bc92
and r8d, edx
mov ecx, 0x2a57a1a2
xor ecx, 0xafea6b1b
mov r9d, 0xf0fff6f1
xor r9d, 0xf00090e
xor ecx, r9d
and ecx, 0x3446bc92
and edx, 0x85bdcab9
or eax, r8d
or ecx, edx
xor eax, ecx
mov dword [rsp + 0x30], eax
call fcn.14006624b
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
movabs rdx, 0x8c55ed1636a7ae02
movabs rax, 0x8c55ed1636a7ae03
xor rdx, rax
call fcn.1400666cf
mov rcx, qword [rsp + 0x28]
mov eax, dword [rsp + 0x30]
cmp byte [rcx], 0
sete cl
mov byte [rsp + 0x37], cl
cmp eax, 0x6421f45
jb 0x1400788f3
mov al, byte [rsp + 0x37]
test al, 1
jne 0x1400789f9
jmp 0x140078ac6
mov eax, dword [0x1401d87c8]
mov ecx, dword [0x1401d87cc]
sub eax, 0xc3420f7a
sub eax, ecx
add eax, 0xc3420f7a
mov ecx, 0xacf6761f
xor ecx, 0x5b0272f8
mov edx, 0x6d3b514a
xor edx, 0x92c4aeb5
xor ecx, edx
xor edx, edx
sub edx, 1
sub ecx, edx
sub eax, ecx
mov ecx, 0xfc96110f
xor ecx, 0xe1c7b76d
xor edx, edx
div ecx
mov ecx, 0xbcc0be7d
xor ecx, 0x46335e4
imul eax, ecx
mov ecx, 0x2ca5b35c
xor ecx, 0xf0affa37
cmp eax, ecx
jae 0x140078b91
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov eax, dword [0x1401d87d0]
mov r8d, dword [0x1401d87d4]
xor r8d, 0xd555204d
imul eax, r8d
mov r8d, 0xc11bd204
xor r8d, 0x55a2b243
sub eax, r8d
xor eax, 0xbbc7a525
mov r8d, 0xdc7fd6bd
xor r8d, 0xc09e107
or eax, r8d
mov dword [rsp + 0x24], eax
call fcn.140067b7c
mov eax, dword [rsp + 0x24]
cmp eax, 0xcf851da8
jb 0x140078a62
jmp 0x140078ac6
mov eax, dword [0x1401d87d8]
xor eax, dword [0x1401d87dc]
xor ecx, ecx
sub ecx, 0xaa888d7f
add eax, ecx
mov ecx, 0x34e5a20
xor edx, edx
div ecx
mov r8d, 0xffffffff
xor r8d, 0x4c1713e0
mov edx, eax
and edx, r8d
mov ecx, eax
or ecx, r8d
xor ecx, 0xffffffff
imul ecx, edx
mov edx, eax
and edx, 0x4c1713e0
or eax, 0x4c1713e0
imul eax, edx
add eax, ecx
cmp eax, 0xc7feca4c
ja 0x140078b9a
mov eax, dword [0x1401d87e0]
mov ecx, dword [0x1401d87e4]
xor ecx, 0x5b07e4db
xor edx, edx
div ecx
mov ecx, eax
and ecx, 0x1b39f13
xor ecx, 0xffffffff
mov edx, 0xe5b83d0a
xor edx, 0xe40ba219
add eax, edx
mov edx, 0xb90ad82e
xor edx, 0xb90ad82f
add eax, edx
add eax, ecx
mov ecx, 0xbd09c6da
xor ecx, 0xd9b311ae
xor eax, ecx
mov ecx, 0x5969536f
xor ecx, 0xede29b63
xor edx, edx
div ecx
cmp eax, 0x5337c67f
jae 0x140078b9a
add rsp, 0x48
ret
or eax, 0xe94f6f7a
invalid
jb 0x140078bfd
lahf
add ebp, ecx
enter 0xfffffffffffffffe, 0xffffffffffffffff
test eax, 0xe915f5e4
jl 0x140078ba0
invalid
invalid
invalid