Function at 0x1401780d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
push rax
mov rbp, rsp
mov rsi, rcx
mov eax, dword [0x14022c920]
xor eax, dword [0x14022c924]
mov ecx, eax
and ecx, 0x95f457e
add ecx, ecx
neg ecx
add eax, ecx
add eax, 0x895f457e
mov ecx, 0x8e914def
imul rcx, rax
shr rcx, 0x3e
or ecx, 0x96a6282c
cmp ecx, 0xb9cee898
jne 0x140178140
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
nop word [rax + rax]
mov eax, dword [0x14022c928]
mov ecx, dword [0x14022c92c]
not ecx
mov r9d, eax
or r9d, ecx
and ecx, eax
not ecx
and ecx, r9d
xor ecx, 0xa14015a1
add ecx, 0x1687b810
xor ecx, 0xe71c62cf
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov rbx, rsp
mov eax, 0x20
call fcn.1401516e0
sub rsp, rax
mov r14, rsp
cmp ecx, 0xeaa80c79
ja 0x140178140
add rdx, r8
jb 0x1401784d6
mov eax, 8
nop word cs:[rax + rax]
mov ecx, dword [0x14022c930]
and ecx, dword [0x14022c934]
not ecx
or ecx, 0xd292486b
mov r8d, ecx
not r8d
and ecx, 0x468da24
mov r9d, r8d
and r9d, 0x20002510
or r9d, ecx
xor r9d, 0xa0002920
and r8d, 0x2468b304
or r8d, r9d
or r8d, 0x5b9700ca
mov rcx, qword [rsi]
lea rdi, [rcx + rcx]
cmp rdi, rdx
cmovbe rdi, rdx
cmp rdi, 9
cmovb rdi, rax
cmp r8d, 0x91b33bbd
jb 0x1401781b0
mov r15, rdi
not r15
shr r15, 0x3f
nop
mov eax, dword [str.FwCH_v]
imul eax, dword [0x14022c93c]
xor eax, 0xc0020920
or eax, 0x2ef9f65f
cmp eax, 0xc3901cf2
ja 0x140178220
test rcx, rcx
je 0x14017835b
nop word [rax + rax]
mov eax, dword [0x14022c940]
add eax, dword [0x14022c944]
mov edx, eax
not edx
mov r8d, eax
and r8d, 0x4ecca6bf
and edx, 0x31335940
imul edx, r8d
mov r8d, eax
and r8d, 0x31335940
or eax, 0x31335940
imul eax, r8d
add eax, edx
or eax, 0xa156e06a
imul eax, eax, 0xec2048ae
cmp eax, 0x1b1b765e
ja 0x140178250
mov eax, dword [0x14022c948]
xor edx, edx
div dword [0x14022c94c]
mov edx, 0xbb74c637
imul rdx, rax
shr rdx, 0x3d
add edx, 0xabdc16b2
mov eax, 0xd59937c1
imul rax, rdx
shr rax, 0x3e
cmp eax, 0xa16b4e50
jne 0x1401782d7
mov rax, qword [rsi + 8]
mov qword [rbx], rax
mov eax, 0xd216798f
nop dword [rax]
mov r8d, dword [0x14022c950]
mov edx, dword [0x14022c954]
mov r9d, edx
not r9d
and r9d, r8d
xor edx, r8d
add edx, r8d
sub edx, r9d
mov r8d, edx
not r8d
mov r9d, edx
or r9d, 0xc54631ce
mov r10d, r9d
and r10d, 0xb6c4d005
and r8d, 0x8390e30
imul r8d, r10d
and r9d, 0x493b2ffa
or edx, 0xcd7f3ffe
imul edx, r9d
add edx, r8d
imul rdx, rax
shr rdx, 0x3f
mov r8, qword [rsi + 8]
mov qword [rbx], r8
cmp edx, 0x384dc276
ja 0x1401782e0
mov qword [rbx + 0x10], rcx
mov r12d, 1
jmp 0x14017835e
xor r12d, r12d
mov eax, dword [0x14022c958]
add eax, dword [0x14022c95c]
mov ecx, eax
xor ecx, 0x245d8406
add ecx, eax
and eax, 0xdba27bf9
sub ecx, eax
add ecx, 0x7a3ffe80
and ecx, 0xef234810
cmp ecx, 0x75449d9
jae 0x1401783b0
mov qword [rbx + 8], r12
sub rsp, 0x20
mov rcx, r14
mov rdx, r15
mov r8, rdi
mov r9, rbx
call fcn.140150370
add rsp, 0x20
nop dword [rax]
mov r13d, dword [0x14022c960]
sub r13d, dword [0x14022c964]
or r13d, 0x51bb55af
and r13d, 0x7dbf55ff
mov qword [rbx + 8], r12
sub rsp, 0x20
mov rcx, r14
mov rdx, r15
mov r8, rdi
mov r9, rbx
call fcn.1400ac0c0
add rsp, 0x20
cmp r13d, 0x1204d365
jb 0x1401783b0
cmp qword [r14], 0
jne 0x1401784d6
mov rax, qword [r14 + 8]
mov qword [rsi + 8], rax
mov ecx, dword [str.0O3WH]
mov eax, dword [0x14022c96c]
mov edx, ecx
or edx, eax
not edx
not ecx
not eax
and eax, ecx
or eax, edx
mov ecx, eax
xor ecx, 0x40026d49
xor eax, 0xbfcc92a2
mov edx, eax
and edx, 0xb7750296
and ecx, 0x488afd69
imul ecx, edx
mov edx, eax
and edx, 0x488afd69
or eax, 0x488afd69
imul eax, edx
add eax, ecx
mov ecx, eax
not ecx
and ecx, 0x8c1ea85d
mov edx, eax
and edx, 0x73e157a2
imul edx, ecx
mov ecx, eax
and ecx, 0x8c1ea85d
or eax, 0x8c1ea85d
imul eax, ecx
add eax, edx
cmp eax, 0xeed4a26
jae 0x14017847f
mov qword [rsi], rdi
mov eax, 0x9a37a41d
nop word cs:[rax + rax]
mov ecx, dword [0x14022c970]
xor ecx, dword [0x14022c974]
imul rcx, rax
shr rcx, 0x3f
lea edx, [rcx + 0x16ff0dd0]
add ecx, ecx
sub ecx, edx
and ecx, 0xc100a01f
xor ecx, 0x4a20492
mov qword [rsi], rdi
cmp ecx, 0xdb9552d7
ja 0x140178490
lea rsp, [rbp + 8]
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
ud2