Function at 0x18001f9d0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x118]
sub rsp, 0x210
movsd xmm1, qword [0x18014e4a8]
mov rsi, r8
inc dword [0x1800542ec]
mov rdi, rdx
cmp byte [0x1800542ea], 0
mov r14, rcx
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movsd xmm7, qword [0x18004fb48]
movaps xmmword [rax - 0x38], xmm8
movsd xmm8, qword [0x18004fac0]
movaps xmmword [rax - 0x48], xmm9
movaps xmm9, xmm1
movaps xmmword [rax - 0x58], xmm10
movsd xmm10, qword [0x18014e4a0]
movaps xmmword [rax - 0x68], xmm11
addsd xmm10, xmm7
movsd xmm11, qword [rdx + 8]
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rax - 0x88], xmm13
movsd xmm13, qword [0x18004fba8]
addsd xmm10, qword [0x180054b00]
addsd xmm9, xmm13
movaps xmmword [rax - 0x98], xmm14
addsd xmm9, qword [0x180054b08]
je 0x18001fac8
movsd xmm9, qword [0x18014e4d8]
movaps xmm0, xmm11
movsd xmm10, qword [0x18014e4d0]
addsd xmm10, qword [0x18014e4c0]
mulsd xmm9, xmm8
mulsd xmm0, xmm8
addsd xmm10, xmm7
addsd xmm9, qword [0x18014e4c8]
subsd xmm9, xmm0
cmp byte [0x1800542eb], 0
xorps xmm14, xmm14
je 0x18001fafe
movsd xmm9, qword [0x180054b10]
movaps xmm0, xmm9
movsd qword [0x180054b10], xmm14
subsd xmm0, xmm1
mov byte [0x1800542eb], 0
movsd qword [0x180054b08], xmm0
movups xmm0, xmmword [rdx]
mov rcx, qword [0x1800557a0]
xor ebx, ebx
xorps xmm1, xmm1
movaps xmmword [rsp + 0x50], xmm0
xorps xmm0, xmm0
test rcx, rcx
je 0x18001fb53
mov rdx, qword [0x1800f61a8]
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], eax
test rdx, rdx
je 0x18001fb47
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
xor r9d, r9d
mov qword [rsp + 0x20], rbx
call qword [rax + 0x260]
movss xmm1, dword [rsp + 0x30]
movss xmm0, dword [rsp + 0x34]
cvtps2pd xmm3, xmm1
cvtps2pd xmm2, xmm0
comisd xmm3, xmm10
jbe 0x18001fbca
comisd xmm2, xmm9
jbe 0x18001fbca
movaps xmm0, xmm10
addsd xmm0, qword [rsp + 0x50]
comisd xmm0, xmm3
jbe 0x18001fbca
movaps xmm0, xmm9
addsd xmm0, qword [rsp + 0x58]
comisd xmm0, xmm2
jbe 0x18001fbca
movups xmm0, xmmword [0x18014e3d0]
lea r9, [rsp + 0x30]
movsd xmm6, qword [rdi]
lea rcx, [rsp + 0x50]
cvtpd2ps xmm1, xmm6
cvtpd2ps xmm2, xmm11
movsd qword [rsp + 0x50], xmm10
movsd qword [rsp + 0x58], xmm9
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180046440
mov byte [0x1800542e9], 1
mov dil, 1
jmp 0x18001fc04
movups xmm0, xmmword [0x18014e3c0]
lea r9, [rsp + 0x30]
movsd xmm6, qword [rdi]
lea rcx, [rsp + 0x50]
cvtpd2ps xmm1, xmm6
cvtpd2ps xmm2, xmm11
movsd qword [rsp + 0x50], xmm10
movsd qword [rsp + 0x58], xmm9
movdqa xmmword [rsp + 0x30], xmm0
call fcn.180046440
xor dil, dil
cmp byte [0x1800542ea], bl
movaps xmm12, xmm6
jne 0x18001fc2d
movsd xmm1, qword [0x180054b08]
movaps xmm0, xmm11
addsd xmm0, xmm13
addsd xmm1, xmm0
movsd qword [0x180054b08], xmm1
movaps xmm0, xmmword [0x1800508f0]
lea r8, [rsp + 0x50]
movaps xmm1, xmm10
movaps xmmword [rsp + 0x50], xmm0
addsd xmm1, xmm12
mov byte [rsp + 0x20], 1
xor r9d, r9d
lea rdx, [rsp + 0x30]
mov rcx, r14
addsd xmm1, xmm7
movaps xmm7, xmm11
mulsd xmm7, xmm8
addsd xmm7, xmm9
unpcklpd xmm1, xmm7
movdqa xmmword [rsp + 0x30], xmm1
call fcn.1800433d0
movsxd rcx, dword [0x1800542ec]
lea r14, [0x180000000]
mulsd xmm6, xmm8
addsd xmm6, xmm10
cmp dword [r14 + rcx*4 + 0x54b20], ecx
jne 0x18001feb7
cmp word [str.Azummntrdummntrummntrnummntr_f_], bx
movups xmm0, xmmword [str.mgJIH]
movsd xmm1, qword [0x18004b258]
movaps xmm13, xmmword [0x1800508f0]
movups xmmword [rsp + 0x60], xmm0
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x58], xmm7
movsd qword [rsp + 0x70], xmm1
je 0x18001fe25
cmp dword [0x1800542c0], 2
mov r8d, ebx
jl 0x18001fddf
movdqa xmm2, xmmword [0x18004fda0]
mov eax, 4
movdqa xmm3, xmmword [0x18004fdb0]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180050ef0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov r8d, 8
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [str.mgJIH]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
paddw xmm2, xmmword [0x18004fdd0]
pxor xmm2, xmm0
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movq qword [rsp + 0x60], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x68]
pshufd xmm2, xmm1, 0xd8
paddw xmm2, xmmword [0x18004fdd0]
pxor xmm2, xmm0
movq qword [rsp + 0x68], xmm2
mov eax, r8d
lea r9, [rsp + 0x60]
lea r9, [r9 + rax*2]
nop dword [rax + rax]
mov eax, 0x4d4873ed
lea r9, [r9 + 2]
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul ecx, eax, 0x35
movzx eax, r8w
inc r8d
sub ax, cx
add ax, 0x36
xor word [r9 - 2], ax
cmp r8d, 0xc
jl 0x18001fdf0
movups xmm0, xmmword [rsp + 0x50]
xor r9d, r9d
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
movaps xmmword [rsp + 0x30], xmm13
lea rcx, [rsp + 0x60]
movaps xmmword [rsp + 0x50], xmm0
call fcn.1800432a0
cmp byte [0x1800542e4], bl
jne 0x18001fe7c
cmp byte [0x1800542e5], bl
jne 0x18001fe7c
cmp byte [0x1800542e6], bl
jne 0x18001fe7c
cmp byte [0x1800542e7], bl
jne 0x18001fe7c
cmp byte [0x1800542e8], bl
jne 0x18001fe7c
mov byte [0x180054b18], bl
jmp 0x18001fe88
cmp byte [0x180054b18], bl
jne 0x1800203e0
mov ecx, ebx
call fcn.18003c110
test al, al
je 0x18001fea8
mov dword [rsi], ebx
movsxd rax, dword [0x1800542ec]
mov dword [r14 + rax*4 + 0x54b20], 0xffffffff
inc ebx
cmp ebx, 0xff
jl 0x18001fe88
jmp 0x1800203e0
mov ecx, dword [rsi]
cmp ecx, 1
jne 0x180020052
movups xmm0, xmmword [0x18004b260]
movaps xmm13, xmmword [0x1800508f0]
pextrw eax, xmm0, 7
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x58], xmm7
movups xmmword [rsp + 0x30], xmm0
test ax, ax
je 0x180020042
cmp dword [0x1800542c0], 2
jl 0x180020008
movdqa xmm2, xmmword [0x18004fda0]
mov eax, 4
movdqa xmm4, xmmword [0x180050ef0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x18004b260]
movdqa xmm8, xmmword [0x18004fdd0]
lea rcx, [rsp + 0x30]
pshufd xmm3, xmm1, 0xd8
movq xmm2, xmm8
paddw xmm3, xmm2
movaps xmmword [rsp + 0x60], xmm13
movdqa xmm2, xmmword [0x18004fdb0]
pxor xmm3, xmm0
movdqa xmm1, xmm2
movq qword [rsp + 0x30], xmm3
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movq xmm2, xmm8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rsp + 0x38]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
pxor xmm3, xmm0
movq qword [rsp + 0x38], xmm3
jmp 0x180020344
lea r8, [rsp + 0x30]
nop dword [rax]
mov eax, 0x3521cfb3
lea r8, [r8 + 2]
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x35
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8 - 2], ax
cmp ebx, 8
jl 0x180020010
movaps xmmword [rsp + 0x60], xmm13
lea rcx, [rsp + 0x30]
jmp 0x180020344
cmp ecx, 2
jne 0x180020152
movups xmm0, xmmword [0x18004b270]
movaps xmm13, xmmword [0x1800508f0]
pextrw eax, xmm0, 7
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x58], xmm7
movups xmmword [rsp + 0x30], xmm0
test ax, ax
je 0x180020042
cmp dword [0x1800542c0], ecx
jl 0x180020101
movdqa xmm2, xmmword [0x18004fda0]
mov eax, 4
movdqa xmm4, xmmword [0x180050ef0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, eax
mov eax, 0x1f
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movd xmm5, eax
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x18004b270]
jmp 0x18001ff6c
lea r8, [rsp + 0x30]
nop word [rax + rax]
mov eax, 0x3521cfb3
lea r8, [r8 + 2]
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x35
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8 - 2], ax
cmp ebx, 8
jl 0x180020110
movaps xmmword [rsp + 0x60], xmm13
lea rcx, [rsp + 0x30]
jmp 0x180020344
cmp ecx, 4
jne 0x180020252
movups xmm0, xmmword [0x18004b280]
movaps xmm13, xmmword [0x1800508f0]
pextrw eax, xmm0, 7
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x58], xmm7
movups xmmword [rsp + 0x30], xmm0
test ax, ax
je 0x180020042
cmp dword [0x1800542c0], 2
jl 0x180020203
movdqa xmm2, xmmword [0x18004fda0]
mov eax, ecx
movdqa xmm4, xmmword [0x180050ef0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, 0x1f
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
movd xmm6, ecx
movd xmm5, eax
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x18004fdc0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [0x18004b280]
jmp 0x18001ff6c
lea r8, [rsp + 0x30]
nop dword [rax + rax]
mov eax, 0x3521cfb3
lea r8, [r8 + 2]
mul ebx
mov eax, ebx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul ecx, eax, 0x35
movzx eax, bx
inc ebx
sub ax, cx
add ax, 0x36
xor word [r8 - 2], ax
cmp ebx, 8
jl 0x180020210
movaps xmmword [rsp + 0x60], xmm13
lea rcx, [rsp + 0x30]
jmp 0x180020344
cmp ecx, 5
jne 0x1800202c4
movups xmm0, xmmword [0x18004b290]
movzx eax, word [0x18004b2a0]
movaps xmm1, xmmword [0x1800508f0]
mov ecx, 0x58
movups xmmword [rsp + 0x30], xmm0
xor word [rsp + 0x32], 0x37
xor word [rsp + 0x34], 0x38
movaps xmm0, xmm6
xor word [rsp + 0x36], 0x39
xor word [rsp + 0x38], 0x3a
xor word [rsp + 0x3a], 0x3b
xor word [rsp + 0x3c], 0x3c
xor word [rsp + 0x3e], 0x3d
xor ax, 0x3e
mov word [rsp + 0x30], cx
mov word [rsp + 0x40], ax
lea rcx, [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm1
unpcklpd xmm0, xmm7
jmp 0x180020349
cmp ecx, 6
jne 0x1800202d9
movups xmm0, xmmword [str.nummntr]
movzx eax, word [0x18004b2b8]
jmp 0x180020265
mov rax, qword [0x1800f6040]
xor edx, edx
movaps xmm8, xmmword [0x1800508f0]
movzx ebx, cl
mov ecx, ebx
movsd qword [rsp + 0x50], xmm6
movsd qword [rsp + 0x58], xmm7
call rax
add ebx, 0xffffffdf
cmp ebx, 0x84
ja case.0x18002031f.34
movsxd rcx, ebx
movzx ecx, byte [r14 + rcx + 0x2048c]
mov edx, dword [r14 + rcx*4 + 0x20484]
add rdx, r14
jmp rdx
bts eax, 8
shl eax, 0x10
lea rdx, [rbp - 0x80]
mov ecx, eax
mov r8d, 0x80
call qword [0x1800f6098]
lea rcx, [rbp - 0x80]
movaps xmmword [rsp + 0x60], xmm8
movups xmm0, xmmword [rsp + 0x50]
xor r9d, r9d
movaps xmmword [rsp + 0x50], xmm0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
call fcn.1800432a0
test dil, dil
je 0x1800203a5
cmp byte [0x1800542e4], 0
movsxd rcx, dword [0x1800542ec]
je 0x18002039a
cmp byte [rcx + r14 + 0x547f0], 0
jne 0x1800203e0
mov byte [rcx + r14 + 0x547f0], 1
mov byte [0x180054b18], 1
mov dword [r14 + rcx*4 + 0x54b20], ecx
jmp 0x1800203e0
mov byte [rcx + r14 + 0x547f0], 0
jmp 0x1800203e0
cmp byte [0x1800542e4], 0
movsxd rax, dword [0x1800542ec]
je 0x1800203d7
cmp byte [rax + r14 + 0x547f0], 0
jne 0x1800203e0
mov byte [rax + r14 + 0x547f0], 1
mov dword [r14 + rax*4 + 0x54b20], 0xffffffff
jmp 0x1800203e0
mov byte [rax + r14 + 0x547f0], 0
addsd xmm12, qword [0x18004fc10]
movsd xmm0, qword [0x18014e4b0]
ucomisd xmm0, xmm14
mov byte [0x1800542ea], 0
movsd qword [0x18014e4d0], xmm12
movsd qword [0x18014e4c0], xmm10
movsd qword [0x18014e4c8], xmm9
movsd qword [0x18014e4d8], xmm11
jp 0x180020437
jne 0x180020437
movsd qword [0x18014e4b0], xmm10
movsd qword [0x18014e4b8], xmm9
lea r11, [rsp + 0x210]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
movaps xmm14, xmmword [r11 - 0x90]
mov rsp, r11
pop rbp
ret