Function at 0x180411970
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rcx
mov rcx, rsi
call fcn.18063b2b0
mov rcx, rax
mov rax, rcx
and rax, 8
cmp rax, 0
sete r8b
mov eax, dword [0x18079ac18]
or eax, dword [0x18079ac1c]
add eax, 0x66d13523
xor eax, 0xb7b068b7
mov r9d, 0x2a7b6ebe
xor edx, edx
div r9d
cmp eax, 0xe5c3f2ea
je 0x180411dd5
jmp 0x1804119c3
mov eax, dword [0x18079ac20]
add eax, dword [0x18079ac24]
add eax, 0xae5bdb59
xor eax, 0x439cbbdd
imul eax, eax, 0x8b716ecc
cmp eax, 0x34e08824
jbe 0x1804119c3
test r8b, 1
jne 0x1804119f1
jmp 0x180411a77
mov eax, dword [0x18079ac28]
or eax, dword [0x18079ac2c]
xor eax, 0x3ce38416
sub eax, 0x6db16a86
imul eax, eax, 0x2f5b67df
cmp eax, 0xf3f895bb
ja 0x180411de6
mov eax, dword [0x18079ac30]
add eax, dword [0x18079ac34]
add eax, 0x3679f46c
imul eax, eax, 0x564243d0
imul eax, eax, 0xf1f0f52e
mov rcx, qword [rsi + 0x28]
cmp eax, 0xd7bdde78
ja 0x180411de6
jmp 0x180411a46
call fcn.18063f660
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rdx
mov rcx, rsi
add rcx, 0x30
call fcn.18034ee30
mov byte [rsi + 0xd8], 5
lea rcx, [rsp + 0x28]
call fcn.18063f700
jmp 0x180411b40
mov eax, dword [0x18079ac38]
or eax, dword [0x18079ac3c]
and eax, 0x3ab97841
xor eax, 0xb9a5a7ce
and eax, 0x4f78f97e
cmp eax, 0x9d134878
jae 0x180411df3
mov eax, dword [0x18079ac40]
and eax, dword [0x18079ac44]
mov r8d, 0xfce80c17
xor edx, edx
div r8d
add eax, 0xd7a9b6a0
add eax, 0xc6c5b221
mov rdx, rcx
and rdx, 0x10
cmp eax, 0xd8381429
jae 0x180411df3
jmp 0x180411ad2
cmp rdx, 0
sete al
test al, 1
jne 0x180411b40
jmp 0x180411adf
mov eax, dword [0x18079ac48]
add eax, dword [0x18079ac4c]
mov ecx, 0xfded6968
xor edx, edx
div ecx
xor eax, 0xef7a460e
or eax, 0x66b47a99
cmp eax, 0x7d7737f9
jbe 0x180411e00
jmp 0x180411b0b
mov eax, dword [0x18079ac50]
add eax, dword [0x18079ac54]
and eax, 0xf7190035
or eax, 0xf42b552d
or eax, 0x9c861a04
mov rcx, rsi
add rcx, 0xe0
cmp eax, 0x1faace3a
jb 0x180411b0b
jmp 0x180411b39
call fcn.180640280
jmp 0x180411b40
mov eax, dword [0x18079ac58]
xor eax, dword [0x18079ac5c]
sub eax, 0x87746d59
or eax, 0x4d42219a
mov ecx, 0x6a9dc6ec
xor edx, edx
div ecx
cmp eax, 0x3d52f699
je 0x180411e11
jmp 0x180411b6c
mov eax, dword [0x18079ac60]
xor edx, edx
div dword [0x18079ac64]
imul eax, eax, 0xc8adfe0e
xor eax, 0x1021d34d
sub eax, 0xf05d9b93
mov qword [rsp + 0x20], rsi
cmp eax, 0xc392b557
je 0x180411b6c
jmp 0x180411b98
mov rdi, rsi
add rdi, 0x20
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.180643630
cmp rax, 0
sete al
mov edx, 2
mov ecx, 1
test al, 1
cmovne rdx, rcx
mov rcx, rsi
call fcn.18063b2e0
test al, 1
jne 0x180411bd8
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov eax, dword [0x18079ac68]
xor edx, edx
div dword [0x18079ac6c]
sub eax, 0x8fe88808
imul eax, eax, 0x73175661
and eax, 0x36cc354a
cmp eax, 0x54eb379a
ja 0x180411e27
jmp 0x180411c03
mov eax, dword [0x18079ac70]
xor eax, dword [0x18079ac74]
sub eax, 0xe554f99f
add eax, 0x8df0d552
sub eax, 0x440be872
cmp eax, 0x96365e9a
ja 0x180411c03
jmp 0x180411c27
mov rax, qword [rdi]
mov ecx, dword [0x18079ac78]
sub ecx, dword [0x18079ac7c]
add ecx, 0x32185976
xor ecx, 0xfe4ef637
xor ecx, 0x29177c5d
cmp ecx, 0xd77168ea
ja 0x180411e38
jmp 0x180411c56
mov edx, dword [0x18079ac80]
sub edx, dword [0x18079ac84]
add edx, 0x75df2d70
xor edx, 0x6c7c1ed7
xor edx, 0xb318f27
lock dec qword [rax]
sete cl
cmp edx, 0x99b8280b
je 0x180411c56
test cl, 1
jne 0x180411c8a
jmp 0x180411ce3
mov rcx, rdi
call fcn.1804b80b0
mov eax, dword [0x18079ac88]
add eax, dword [0x18079ac8c]
and eax, 0x150b2918
sub eax, 0x564cb054
mov ecx, 0xf91e4753
xor edx, edx
div ecx
cmp eax, 0xc13670e5
jae 0x180411e50
jmp 0x180411cbe
mov eax, dword [0x18079ac90]
add eax, dword [0x18079ac94]
and eax, 0xe14d59dc
imul eax, eax, 0xd7cfa387
sub eax, 0xe31bb23f
cmp eax, 0x73ba9b65
jb 0x180411cbe
jmp 0x180411ce3
mov rcx, rsi
add rcx, 0x30
call fcn.1803f5ec0
mov rcx, qword [rsi + 0xf0]
mov eax, dword [0x18079ac98]
imul eax, dword [0x18079ac9c]
add eax, 0xf8774e21
and eax, 0x80a2e1c3
and eax, 0xba65ed47
cmp eax, 0x7424c3b2
jb 0x180411e61
jmp 0x180411d1f
mov eax, dword [0x18079aca0]
sub eax, dword [0x18079aca4]
sub eax, 0xb3210bfe
mov r8d, 0x8d6347fa
xor edx, edx
div r8d
imul edx, eax, 0x5e422a77
cmp rcx, 0
sete al
cmp edx, 0xe607019a
jae 0x180411d1f
test al, 1
jne 0x180411dbd
jmp 0x180411d56
mov rdi, qword [rsi + 0xf8]
add rcx, 0x18
mov rbx, qword [rcx]
mov eax, dword [0x18079aca8]
xor eax, dword [0x18079acac]
sub eax, 0x87b1088d
imul eax, eax, 0xc4f6c6e2
xor eax, 0x62565520
cmp eax, 0x52078a84
je 0x180411e72
mov eax, dword [0x18079acb0]
imul eax, dword [0x18079acb4]
imul ebp, eax, 0xc5b1de56
and ebp, 0x570993a4
xor ebp, 0xab0a40b
mov rcx, rdi
call rbx
cmp ebp, 0xbfe6a923
jae 0x180411e72
xor dword [rdi - 0x15000000], 0
jmp 0x180411dbd
mov rcx, rsi
mov edx, 0x100
mov r8d, 0x80
call fcn.1804cafa0
jmp 0x180411bcf
and dl, ah
xor eax, 0x1166ce0f
sbb eax, 0xdbe94dd0
sti
invalid
in al, dx
jrcxz 0x180411db6
invalid
pop rbp
push 0x35
adc al, 0x55
and eax, 0x9de93f06
cld
invalid
push rsp
cld
mov byte [rsp + rax*4], bh
sal dword [rsi - 0xfb6f69e], 1
pop rdx
jmp 0x180411b09
test dword es:[rax], esi
sar dword [rsi - 0x529f38f3], 0xf
invalid
mov al, byte [rax - 0x4d]
clc
xchg ebp, eax
pop rbp
int1
int1
jb 0x180411e5f
shr cl, cl
leave
std
invalid
fstp xword [rsi - 0x50740027]
mov esi, dword [rbp + rdi*4 + 0x5a]
movabs rdi, 0xe9c1940f08ff48f0
add al, 0xfe
invalid
add rax, 0x11014bc4
invalid
invalid
sbb r10d, esp
adc byte [rbx], dh
mov bh, byte [rdi + rdi*4 + 0xb1f76dd]
jmp 0x180411d1d
cwde
movabs al, byte [0x894876013f6e0b88]
stc
call rbx
jmp 0x180411d8b