Function at 0x140018c80
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc910]
mov eax, 0xca10
call fcn.140049590
sub rsp, rax
movaps xmmword [rsp + 0xca00], xmm6
movaps xmmword [rsp + 0xc9f0], xmm7
movaps xmmword [rsp + 0xc9e0], xmm8
mov rax, qword [0x14005e010]
xor rax, rsp
mov qword [rbp + 0xc8d0], rax
mov rax, qword [0x140095688]
test rax, rax
je 0x140019ef6
cmp dword [rax + 8], 3
je 0x140018d11
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
cmp rax, qword [0x140061030]
je 0x140018d02
jl 0x140019ef6
call fcn.140018bb0
call fcn.14001b9e0
jmp 0x140019ef6
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.1400189f0
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140095688]
call fcn.14001bf10
xor esi, esi
test al, al
je 0x140019d49
movabs r14, 0xffffffffffff
lea r15d, [rsi + 4]
lea r12d, [rsi + 0x1f]
lea rdi, [0x140095690]
mov r13d, dword [0x14005e018]
nop
mov qword [rbp - 0x10], rsi
lea r8, [0x14004bc44]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x4030]
call fcn.14001b4f0
mov eax, dword [rbp + 0x4030]
shl rax, 5
mov rcx, qword [rbp + 0x4038]
and rcx, r14
add rax, rcx
mov rcx, qword [rbp - 0x10]
cmp rcx, rax
je 0x140018dcf
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x140018dcf
lea rbx, [rcx + 0x10]
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x140018dd2
mov rbx, qword [rbx + 8]
and rbx, r14
jmp 0x140018dd2
mov rbx, rsi
mov qword [rbp - 8], rsi
lea r8, str.nonce
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x4030]
call fcn.14001b4f0
mov eax, dword [rbp + 0x4030]
shl rax, 5
mov rcx, qword [rbp + 0x4038]
and rcx, r14
add rax, rcx
mov rcx, qword [rbp - 8]
cmp rcx, rax
je 0x14001911d
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x14001911d
add rcx, 0x10
mov eax, 0x1000
test word [rcx + 0xe], ax
jne 0x140018e37
mov rcx, qword [rcx + 8]
and rcx, r14
test rcx, rcx
je 0x14001911d
test rbx, rbx
je 0x140019cb2
mov eax, dword [str.sejvh_]
mov dword [rsp + 0x2c], eax
movzx eax, word [0x14004bcdc]
mov word [rsp + 0x30], ax
mov byte [rsp + 0x2c], 0x45
xor byte [rsp + 0x2d], 0x37
xor byte [rsp + 0x2e], 0x38
xor byte [rsp + 0x2f], 0x39
xor al, 0x3a
mov byte [rsp + 0x30], al
xor byte [rsp + 0x31], 0x3b
lea rdx, [rsp + 0x2c]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140018ea2
inc rbx
test eax, eax
jne 0x140018e90
test ecx, ecx
jne 0x140019cb2
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x14004bc80]
mov byte [rsp + 0x38], 0x64
xor byte [rsp + 0x39], 0x37
xor byte [rsp + 0x3a], 0x38
xor byte [rsp + 0x3b], 0x39
xor al, 0x3a
mov byte [rsp + 0x3c], al
mov qword [rbp], rsi
lea r8, [rsp + 0x38]
lea rdx, [rbp]
lea rcx, [rbp + 0x4030]
call fcn.14001b4f0
mov eax, dword [rbp + 0x4030]
shl rax, 5
mov rcx, qword [rbp + 0x4038]
and rcx, r14
add rax, rcx
mov rcx, qword [rbp]
cmp rcx, rax
je 0x140018f19
cmp word [rcx + 0x1e], 3
lea rbx, [rcx + 0x10]
je 0x140018f1c
mov rbx, rsi
mov eax, dword [str.UX:]
mov dword [rsp + 0x24], eax
movzx eax, byte [0x14004bc98]
mov byte [rsp + 0x24], 0x63
xor byte [rsp + 0x25], 0x37
xor byte [rsp + 0x26], 0x38
xor byte [rsp + 0x27], 0x39
xor al, 0x3a
mov byte [rsp + 0x28], al
test rbx, rbx
je 0x140018f61
mov qword [rbp + 0x18], rsi
lea r8, [rsp + 0x24]
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.14001b4f0
mov byte [rsp + 0x34], 0
mov rax, qword [str._RKJ_Ycmd]
mov qword [rsp + 0x78], rax
cmp byte [0x14004bce7], 0
je 0x1400190c0
cmp r13d, 2
jl 0x140019085
movdqa xmm4, xmmword [0x1400579a0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400578d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140057980]
movd xmm0, dword [rsp + 0x78]
xorps xmm2, xmm0
movd dword [rsp + 0x78], xmm2
movdqa xmm3, xmmword [0x1400578e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140057980]
movd xmm0, dword [rsp + 0x7c]
xorps xmm2, xmm0
movd dword [rsp + 0x7c], xmm2
jmp 0x1400190c0
lea r9, [rsp + 0x78]
mov r8d, esi
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, r8b
sub al, dl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140019090
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140018af0
mov r8, rax
test rax, rax
je 0x14001910d
mov rcx, rdi
movzx edx, byte [rax]
test dl, dl
je 0x14001910a
mov r9d, 1
sub r9, rdi
sub r8, rdi
lea rax, [r9 + rcx]
cmp rax, 0x100
jae 0x14001910a
mov byte [rcx], dl
inc rcx
movzx edx, byte [r8 + rcx]
test dl, dl
jne 0x1400190f0
mov byte [rcx], 0
mov eax, 1
xchg byte [0x14005ff78], al
jmp 0x140019cb2
test rbx, rbx
jne 0x140019160
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019cf0
cmp rax, qword [rbp + 0xc0a8]
je 0x140019ce7
mov rbx, qword [rax + 0x10]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
mov qword [rbp + 0xc098], rbx
test rbx, rbx
jne 0x140019132
jmp 0x140019cf0
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14004bc80]
mov byte [rsp + 0x40], 0x64
xor byte [rsp + 0x41], 0x37
xor byte [rsp + 0x42], 0x38
xor byte [rsp + 0x43], 0x39
xor al, 0x3a
mov byte [rsp + 0x44], al
mov qword [rbp + 8], rsi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x4030]
call fcn.14001b4f0
mov eax, dword [rbp + 0x4030]
shl rax, 5
mov rcx, qword [rbp + 0x4038]
and rcx, r14
add rax, rcx
mov rcx, qword [rbp + 8]
cmp rcx, rax
je 0x1400191cf
cmp word [rcx + 0x1e], 3
lea rdi, [rcx + 0x10]
je 0x1400191d2
mov rdi, rsi
movsd xmm0, qword [0x14004bc58]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x14004bc60]
mov dword [rbp - 0x78], eax
movzx eax, word [0x14004bc64]
mov word [rbp - 0x74], ax
cmp byte [0x14004bc65], 0
je 0x140019350
mov r8d, esi
cmp r13d, 2
jl 0x140019312
movdqa xmm4, xmmword [0x1400579a0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400578d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
mov eax, dword [0x140057980]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [0x14004bc58]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm3, xmmword [0x1400578e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x7c]
xorps xmm2, xmm1
movd dword [rbp - 0x7c], xmm2
mov r8d, 8
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x140019320
mov rax, rbx
lea r8, [rbp - 0x80]
sub r8, rbx
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140019373
inc rax
test ecx, ecx
jne 0x140019360
test edx, edx
jne 0x14001941f
mov eax, dword [str.ER_K_O_]
mov dword [rsp + 0x50], eax
movzx edx, word [0x14004bccc]
mov word [rsp + 0x54], dx
movzx eax, byte [0x14004bcce]
mov byte [rsp + 0x50], 0x73
xor byte [rsp + 0x51], 0x37
xor byte [rsp + 0x52], 0x38
xor byte [rsp + 0x53], 0x39
xor dl, 0x3a
mov byte [rsp + 0x54], dl
xor byte [rsp + 0x55], 0x3b
xor al, 0x3c
mov byte [rsp + 0x56], al
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140018af0
mov rcx, rax
test rax, rax
je 0x140019cab
lea rdx, [0x140091450]
cmp byte [rax], 0
je 0x14001940c
mov r8d, 1
sub r8, rax
nop
lea rax, [r8 + rcx]
cmp rax, 0x100
jae 0x14001940c
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x1400193f0
mov byte [rdx], 0
mov eax, 1
xchg byte [0x14005ff75], al
jmp 0x140019cab
movups xmm0, xmmword [str.wtlplrhdal]
movups xmmword [rbp - 0x60], xmm0
movzx eax, word [0x14004bc78]
mov word [rbp - 0x50], ax
cmp byte [0x14004bc79], 0
je 0x1400195d0
mov r8d, esi
cmp r13d, 2
jl 0x140019593
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140057900]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140057980]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x5c]
mov edx, dword [rbp - 0x20]
nop word [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140019490
cmp r8d, 0x12
jge 0x1400195d0
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x1400195a0
mov rax, rbx
lea r8, [rbp - 0x60]
sub r8, rbx
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400195f3
inc rax
test ecx, ecx
jne 0x1400195e0
test edx, edx
jne 0x14001969f
mov eax, dword [str.ER_K_O_]
mov dword [rsp + 0x58], eax
movzx ecx, word [0x14004bccc]
mov word [rsp + 0x5c], cx
movzx eax, byte [0x14004bcce]
mov byte [rsp + 0x58], 0x73
xor byte [rsp + 0x59], 0x37
xor byte [rsp + 0x5a], 0x38
xor byte [rsp + 0x5b], 0x39
xor cl, 0x3a
mov byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], 0x3b
xor al, 0x3c
mov byte [rsp + 0x5e], al
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140018af0
mov rcx, rax
test rax, rax
je 0x140019cab
lea rdx, [0x140095790]
cmp byte [rax], 0
je 0x14001968c
mov r8d, 1
sub r8, rax
nop
lea rax, [r8 + rcx]
cmp rax, 0x100
jae 0x14001968c
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019670
mov byte [rdx], 0
mov eax, 1
xchg byte [0x14005ff77], al
jmp 0x140019cab
movups xmm0, xmmword [str.wtlplrhdau]
movups xmmword [rbp - 0x48], xmm0
mov eax, dword [0x14004bcb0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14004bcb4]
mov word [rbp - 0x34], ax
cmp byte [0x14004bcb5], 0
je 0x140019850
mov r8d, esi
cmp r13d, 2
jl 0x140019813
movdqa xmm5, xmmword [0x1400578d0]
movdqa xmm4, xmmword [0x1400579a0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140057900]
movd xmm8, r12d
movdqa xmm0, xmmword [0x140057980]
movdqa xmmword [rbp - 0x20], xmm0
lea rcx, [rbp - 0x44]
mov edx, dword [rbp - 0x20]
nop
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140019710
cmp r8d, 0x16
jge 0x140019850
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x140019820
lea rdx, [rbp - 0x48]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140019872
inc rbx
test eax, eax
jne 0x140019860
test ecx, ecx
jne 0x140019cab
mov eax, dword [str.CD_K:]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14004bcd4]
mov byte [rsp + 0x48], 0x75
xor byte [rsp + 0x49], 0x37
xor byte [rsp + 0x4a], 0x38
xor byte [rsp + 0x4b], 0x39
xor al, 0x3a
mov byte [rsp + 0x4c], al
test rdi, rdi
je 0x1400198e8
mov qword [rbp + 0x10], rsi
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14001b4f0
mov eax, dword [rdi]
shl rax, 5
mov rcx, qword [rdi + 8]
and rcx, r14
add rax, rcx
mov rcx, qword [rbp + 0x10]
cmp rcx, rax
je 0x1400198e8
cmp word [rcx + 0x1e], 3
jne 0x1400198e8
lea r12, [rcx + 0x10]
mov rdi, r12
jmp 0x1400198ee
mov r12, rsi
mov rdi, rsi
movzx eax, word [0x14004bc84]
mov word [rsp + 0x20], ax
movzx eax, byte [0x14004bc86]
mov byte [rsp + 0x20], 0x69
xor byte [rsp + 0x21], 0x37
xor al, 0x38
mov byte [rsp + 0x22], al
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140018af0
mov rbx, rax
movsd xmm0, qword [str.CD_KTZQX_]
movsd qword [rsp + 0x68], xmm0
movzx edx, byte [0x14004bc90]
mov byte [rsp + 0x68], 0x75
xor byte [rsp + 0x69], 0x37
xor byte [rsp + 0x6a], 0x38
xor byte [rsp + 0x6b], 0x39
xor byte [rsp + 0x6c], 0x3a
xor byte [rsp + 0x6d], 0x3b
xor byte [rsp + 0x6e], 0x3c
xor byte [rsp + 0x6f], 0x3d
xor dl, 0x3e
mov byte [rsp + 0x70], dl
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140018af0
mov r15, rax
mov ecx, dword [str.WAYM_I_]
mov dword [rsp + 0x60], ecx
movzx edx, word [0x14004bc54]
mov word [rsp + 0x64], dx
movzx ecx, byte [0x14004bc56]
mov byte [rsp + 0x60], 0x61
xor byte [rsp + 0x61], 0x37
xor byte [rsp + 0x62], 0x38
xor byte [rsp + 0x63], 0x39
xor dl, 0x3a
mov byte [rsp + 0x64], dl
xor byte [rsp + 0x65], 0x3b
xor cl, 0x3c
mov byte [rsp + 0x66], cl
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140018af0
mov rdi, rax
mov ecx, dword [0x140060fd8]
cmp ecx, 8
jb 0x1400199e2
mov r14, rsi
jmp 0x140019a03
mov r14d, 1
lock xadd dword [0x140060fd0], r14d
and r14d, 7
shl r14, 9
lea rax, [0x14005ffd0]
add r14, rax
test rbx, rbx
je 0x140019c96
test r15, r15
je 0x140019c96
test r14, r14
je 0x140019c96
mov rdx, r14
mov rcx, r15
cmp byte [rbx], 0
je 0x140019a4c
mov r8d, 1
sub r8, rbx
lea rax, [r8 + rbx]
cmp rax, 0x20
jae 0x140019a4c
movzx eax, byte [rbx]
mov byte [rdx], al
inc rdx
inc rbx
cmp byte [rbx], 0
jne 0x140019a32
mov byte [rdx], 0
lea rdx, [r14 + 0x20]
cmp byte [r15], 0
je 0x140019a7e
mov r8d, 1
sub r8, r15
lea rax, [r8 + rcx]
cmp rax, 0x158
jae 0x140019a7e
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019a62
mov byte [rdx], 0
movsd xmm0, qword [str.RKZHRQTP4.0C]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x14004bcc0]
mov dword [rbp - 0x68], eax
movzx eax, word [0x14004bcc4]
mov word [rbp - 0x64], ax
cmp byte [0x14004bcc5], 0
je 0x140019bfd
mov ecx, esi
cmp r13d, 2
jl 0x140019bc7
movdqa xmm4, xmmword [0x1400579a0]
mov eax, 4
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400578d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
mov eax, dword [0x140057980]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.RKZHRQTP4.0C]
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm3, xmmword [0x1400578e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140057900]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140057940]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x6c]
xorps xmm2, xmm1
movd dword [rbp - 0x6c], xmm2
mov ecx, 8
movsxd rax, ecx
lea r8, [rbp - 0x70]
add r8, rax
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140019bd1
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140018af0
mov rcx, rax
test rax, rax
je 0x140019c4d
lea rdx, [r14 + 0x178]
cmp byte [rax], 0
je 0x140019c4a
mov r8d, 1
sub r8, rax
nop dword [rax]
lea rax, [r8 + rcx]
cmp rax, 8
jae 0x140019c4a
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019c30
mov byte [rdx], 0
lea rcx, [r14 + 0x180]
test rdi, rdi
je 0x140019c8c
cmp byte [rdi], 0
je 0x140019c8c
mov edx, 1
sub rdx, rdi
nop word [rax + rax]
lea rax, [rdx + rdi]
cmp rax, 0x80
jae 0x140019c8c
movzx eax, byte [rdi]
mov byte [rcx], al
inc rcx
inc rdi
cmp byte [rdi], 0
jne 0x140019c70
mov byte [rcx], 0
lock inc dword [0x140060fd8]
mov r12d, 0x1f
lea r15d, [r12 - 0x1b]
movabs r14, 0xffffffffffff
lea rdi, [0x140095690]
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019cf0
nop
cmp rax, qword [rbp + 0xc0a8]
je 0x140019ce7
mov rbx, qword [rax + 0x10]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
mov qword [rbp + 0xc098], rbx
test rbx, rbx
jne 0x140019cc0
jmp 0x140019cf0
test rax, rax
je 0x140019cf0
mov qword [rax + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140048090
lea rcx, [rbp + 0x4030]
call fcn.14001b460
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.1400189f0
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140095688]
call fcn.14001bf10
test al, al
jne 0x140018d70
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019d99
mov rbx, rax
mov r8, rax
mov rdx, rax
nop
mov rcx, qword [rbp + 0xc0a8]
cmp rbx, rcx
je 0x140019d90
mov rbx, qword [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, rbx
mov qword [rbp + 0xc098], rbx
mov r8, rbx
mov rdx, rbx
test rbx, rbx
jne 0x140019d60
jmp 0x140019d99
cmp r8, rcx
jne 0x140019d99
mov qword [r8 + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140048090
lea rcx, [rbp + 0x4030]
call fcn.14001b460
xchg byte [0x14005ff76], sil
test sil, sil
je 0x140019ea8
cmp qword [0x140091680], 0
je 0x140019ea8
lea rcx, [0x140060fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140019f35
cmp dword [0x14006102c], 0x7fffffff
je 0x140019e5a
mov rbx, qword [0x140091680]
mov qword [rbp + 0x20], rbx
test rbx, rbx
je 0x140019e1c
mov r8, rbx
lea rdx, [0x140091688]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rbp + 0x20]
lea rcx, [0x140060fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r8, rbx
lea rdx, [rbp + 0x28]
call fcn.14001be10
test al, al
jne 0x140019ea8
lea rcx, [0x140060fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x140019f35
cmp dword [0x14006102c], 0x7fffffff
jne 0x140019e70
mov dword [0x14006102c], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov r8, qword [rbp + 0x20]
mov qword [0x140091680], r8
test r8, r8
je 0x140019e90
lea rdx, [rbp + 0x28]
lea rcx, [0x140091688]
call sub.VCRUNTIME140.dll_memcpy
mov eax, 1
xchg byte [0x14005ff76], al
lea rcx, [0x140060fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, dword [0x140081088]
test eax, eax
je 0x140019ef6
lea rbx, [0x140061040]
nop dword [rax]
mov eax, 1
lock xadd dword [0x140081084], eax
and eax, 7
imul r8, rax, 0x4008
lea rdx, [rbx + 8]
add rdx, r8
mov r8, qword [r8 + rbx]
call fcn.14001be10
lock dec dword [0x140081088]
mov eax, dword [0x140081088]
jne 0x140019ec0
mov rcx, qword [rbp + 0xc8d0]
xor rcx, rsp
call fcn.140047dd0
lea r11, [rsp + 0xca10]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3