Function at 0x140029780
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x40], rcx
mov eax, dword [0x140242448]
and eax, dword [0x14024244c]
mov ecx, 0xe1a523d4
xor edx, edx
div ecx
mov ecx, eax
mov eax, ecx
xor eax, 0xffffffff
xor ecx, 0xffffffff
and eax, ecx
mov ecx, 0x340aca4c
or ecx, 0x340aca4c
xor ecx, 0xffffffff
mov edx, 0x64f77974
xor edx, 0x9b08868b
xor eax, edx
xor ecx, 0xffffffff
and eax, ecx
sub eax, 0x65f92d8c
cmp eax, 0x8b237dd6
jb 0x140029a69
mov eax, dword [0x140242450]
mov ecx, 0x98e7fca2
xor ecx, 0x8d4c41aa
xor eax, ecx
xor edx, edx
div dword [0x140242454]
mov r8d, eax
mov ecx, r8d
xor ecx, 0xffffffff
mov eax, 0x68f3589a
xor eax, 0xc17c214
and eax, ecx
mov edx, 0xff56a510
xor edx, 0x9bb23f9e
mov ecx, 0xb52a5d
xor ecx, 0xff4ad5a2
xor edx, ecx
and r8d, edx
mov ecx, 0xffffffff
xor ecx, 0x68daccea
and ecx, 0x64e49a8e
and edx, 0x68daccea
or eax, r8d
or ecx, edx
xor eax, ecx
sub eax, 0x290ba5ec
mov ecx, 0xbef0edb9
xor ecx, 0xa0491383
imul eax, ecx
mov dword [rsp + 0x38], eax
call fcn.14000bc00
mov rcx, rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x30], rcx
mov rcx, qword [rax]
call fcn.1401adacc
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x38]
cmp byte [rcx + 0x50], 0
sete cl
mov byte [rsp + 0x3f], cl
cmp eax, 0x146724ac
jbe 0x140029a69
mov al, byte [rsp + 0x3f]
test al, 1
jne 0x1400298a4
jmp 0x14002998b
mov ecx, dword [0x140242458]
mov edx, dword [0x14024245c]
xor eax, eax
sub eax, edx
sub ecx, eax
xor ecx, 0x27e8ed45
mov eax, ecx
and eax, eax
mov edx, 0x2cafe4ff
xor edx, 0xd3501b00
xor eax, edx
mov edx, 0x407abb68
xor edx, 0xbf854497
xor eax, edx
mov edx, 0x6965b7c1
xor edx, 0xdd8fdc0e
mov r8d, 0xe5764b77
xor r8d, 0x1a89b488
xor edx, r8d
or eax, edx
mov edx, 0xb4ea6bcf
and edx, 0xb4ea6bcf
xor edx, 0xffffffff
and ecx, edx
xor ecx, 0xffffffff
and eax, ecx
xor eax, 0xffffffff
mov ecx, 0x29bbde47
xor edx, edx
div ecx
mov ecx, 0x192a48fd
xor ecx, 0xf0136cdb
cmp eax, ecx
je 0x140029a72
mov rcx, qword [rsp + 0x40]
mov eax, dword [str.__bN5]
imul eax, dword [0x140242464]
add eax, 0xe8b50bc7
mov edx, 0x89244a7e
xor edx, 0xc789f3d4
sub eax, edx
sub eax, 0xe8b50bc7
mov edx, 0xa5baa47b
xor edx, 0x507c5c90
add eax, edx
mov edx, 0x872fcf1e
xor edx, 0xbf2b7cc3
and eax, edx
mov dword [rsp + 0x2c], eax
call fcn.1401adb24
mov eax, dword [rsp + 0x2c]
cmp eax, 0x1cfd1b78
jb 0x14002992b
jmp 0x14002998b
mov eax, dword [0x140242468]
mov ecx, dword [0x14024246c]
xor ecx, 0x83e6def5
and eax, ecx
mov edx, 0x73ff5279
xor edx, 0x8c00ad86
mov ecx, eax
xor ecx, edx
mov edx, 0xfe725b15
xor edx, 0x18da4ea
xor eax, edx
and ecx, eax
mov eax, 0xf55db4a7
xor eax, 0xd93e9bfa
mov edx, 0x4b3c2471
xor edx, 0xb4c3db8e
xor eax, edx
mov edx, 0xffffffff
xor edx, 0x2c632f5d
and eax, edx
or ecx, eax
xor ecx, 0xffffffff
xor eax, eax
sub eax, 0x2086dba3
add ecx, eax
mov eax, ecx
and eax, 0xe79755cc
or ecx, 0xe79755cc
add eax, ecx
mov ecx, 0x95b42a4e
xor ecx, 0x71bb574b
cmp eax, ecx
ja 0x140029a7b
mov ecx, dword [0x140242470]
mov eax, 0x4f8052bd
xor eax, 0xfa61654
xor ecx, eax
mov edx, dword [0x140242474]
mov eax, 0xf237fb44
xor eax, 0x5e904e86
xor edx, eax
mov eax, ecx
and eax, edx
xor ecx, edx
or eax, ecx
mov ecx, eax
and ecx, 0xd44489c1
shl ecx, 1
add eax, 0xd44489c1
sub eax, ecx
xor eax, 0xfe785bf3
sub eax, 0xe0ab3f99
cmp eax, 0xcb59a25e
ja 0x140029a7b
add rsp, 0x48
ret
invalid
invalid
insd dword [rdi], dx
stosd dword [rdi], eax
mov esi, dword [rbp - 0x7217]
jmp qword [rsi + 0x66]