Function at 0x140018ed0
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.140049280
sub rsp, rax
movaps xmmword [rsp + 0xca00], xmm6
movaps xmmword [rsp + 0xc9f0], xmm7
movaps xmmword [rsp + 0xc9e0], xmm8
mov rax, qword [0x14005d010]
xor rax, rsp
mov qword [rbp + 0xc8d0], rax
mov rax, qword [0x140094688]
test rax, rax
je 0x14001a1a6
cmp dword [rax + 8], 3
je 0x140018f61
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
cmp rax, qword [0x140060030]
je 0x140018f52
jl 0x14001a1a6
call fcn.140018e00
call fcn.14001bce0
jmp 0x14001a1a6
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.140018c40
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140094688]
call fcn.14001c210
xor esi, esi
lea r15d, [rsi + 5]
test al, al
je 0x140019ff9
movabs r14, 0xffffffffffff
lea r12d, [rsi + 0x1f]
lea rdi, [0x140094690]
mov r13d, dword [0x14005d018]
nop
mov qword [rbp - 0x10], rsi
lea r8, [0x14004ac4c]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x4030]
call fcn.14001b7f0
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 0x14001901f
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x14001901f
lea rbx, [rcx + 0x10]
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x140019022
mov rbx, qword [rbx + 8]
and rbx, r14
jmp 0x140019022
mov rbx, rsi
mov qword [rbp - 8], rsi
lea r8, str.nonce
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x4030]
call fcn.14001b7f0
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 0x140019380
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x140019380
add rcx, 0x10
mov eax, 0x1000
test word [rcx + 0xe], ax
jne 0x140019087
mov rcx, qword [rcx + 8]
and rcx, r14
test rcx, rcx
je 0x140019380
test rbx, rbx
je 0x140019f62
mov eax, dword [str.sejvh_]
mov dword [rsp + 0x2c], eax
movzx eax, word [0x14004acf4]
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 0x1400190f2
inc rbx
test eax, eax
jne 0x1400190e0
test ecx, ecx
jne 0x140019f62
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x14004acc4]
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.14001b7f0
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 0x140019169
cmp word [rcx + 0x1e], 3
lea rbx, [rcx + 0x10]
je 0x14001916c
mov rbx, rsi
mov eax, dword [str.UX:]
mov dword [rsp + 0x24], eax
movzx eax, byte [0x14004ac80]
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 0x1400191b1
mov qword [rbp + 0x18], rsi
lea r8, [rsp + 0x24]
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.14001b7f0
mov byte [rsp + 0x34], 0
mov rax, qword [str._RKJ_Ywtlplrhdau]
mov qword [rsp + 0x78], rax
cmp byte [0x14004aca7], 0
je 0x140019323
cmp r13d, 2
jl 0x1400192dd
movdqa xmm4, xmmword [0x1400569f0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400568f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400569a0]
movd xmm0, dword [rsp + 0x78]
xorps xmm2, xmm0
movd dword [rsp + 0x78], xmm2
movdqa xmm3, xmmword [0x140056900]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x1400569a0]
movd xmm0, dword [rsp + 0x7c]
xorps xmm2, xmm0
movd dword [rsp + 0x7c], xmm2
jmp 0x140019323
lea r9, [rsp + 0x78]
mov r8d, esi
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, r8b
sub al, dl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400192f0
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140018d40
mov r8, rax
test rax, rax
je 0x140019370
mov rcx, rdi
movzx edx, byte [rax]
test dl, dl
je 0x14001936d
mov r9d, 1
sub r9, rdi
sub r8, rdi
lea rax, [r9 + rcx]
cmp rax, 0x100
jae 0x14001936d
mov byte [rcx], dl
inc rcx
movzx edx, byte [r8 + rcx]
test dl, dl
jne 0x140019353
mov byte [rcx], 0
mov eax, 1
xchg byte [0x14005ef78], al
jmp 0x140019f62
test rbx, rbx
jne 0x1400193ce
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019fa0
nop word [rax + rax]
cmp rax, qword [rbp + 0xc0a8]
je 0x140019f97
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 0x1400193a0
jmp 0x140019fa0
mov eax, dword [str.RVLX:]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14004acc4]
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.14001b7f0
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 0x14001943d
cmp word [rcx + 0x1e], 3
lea rdi, [rcx + 0x10]
je 0x140019440
mov rdi, rsi
movsd xmm0, qword [str.wtlplrhdau]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x14004ac60]
mov dword [rbp - 0x78], eax
movzx eax, word [0x14004ac64]
mov word [rbp - 0x74], ax
cmp byte [0x14004ac65], 0
je 0x1400195d3
mov r8d, esi
cmp r13d, 2
jl 0x140019588
movdqa xmm4, xmmword [0x1400569f0]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x1400568f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
mov eax, dword [0x1400569a0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.wtlplrhdau]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm3, xmmword [0x140056900]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
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]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400195a0
mov rax, rbx
lea r8, [rbp - 0x80]
sub r8, rbx
nop dword [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 + 0x50], eax
movzx edx, word [0x14004acd8]
mov word [rsp + 0x54], dx
movzx eax, byte [0x14004acda]
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.140018d40
mov rcx, rax
test rax, rax
je 0x140019f5b
lea rdx, [0x140090450]
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 [0x14005ef75], al
jmp 0x140019f5b
movups xmm0, xmmword [str.wtlplrhdal]
movups xmmword [rbp - 0x60], xmm0
movzx eax, word [0x14004ac98]
mov word [rbp - 0x50], ax
cmp byte [0x14004ac99], 0
je 0x140019863
mov r8d, esi
cmp r13d, 2
jl 0x14001981b
movdqa xmm5, xmmword [0x1400568f0]
movdqa xmm4, xmmword [0x1400569f0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140056930]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1400569a0]
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
paddd xmm1, xmm2
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 [0x140056970]
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
paddd xmm1, xmm3
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 [0x140056970]
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, 0x12
jge 0x140019863
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140019830
mov rax, rbx
lea r8, [rbp - 0x60]
sub r8, rbx
nop dword [rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140019883
inc rax
test ecx, ecx
jne 0x140019870
test edx, edx
jne 0x14001992f
mov eax, dword [str.ER_K_O_]
mov dword [rsp + 0x58], eax
movzx ecx, word [0x14004acd8]
mov word [rsp + 0x5c], cx
movzx eax, byte [0x14004acda]
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.140018d40
mov rcx, rax
test rax, rax
je 0x140019f5b
lea rdx, [0x140094790]
cmp byte [rax], 0
je 0x14001991c
mov r8d, 1
sub r8, rax
nop
lea rax, [r8 + rcx]
cmp rax, 0x100
jae 0x14001991c
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019900
mov byte [rdx], 0
mov eax, 1
xchg byte [0x14005ef77], al
jmp 0x140019f5b
movups xmm0, xmmword [0x14004aca8]
movups xmmword [rbp - 0x48], xmm0
mov eax, dword [0x14004acb8]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14004acbc]
mov word [rbp - 0x34], ax
cmp byte [0x14004acbd], 0
je 0x140019af3
mov r8d, esi
cmp r13d, 2
jl 0x140019aab
movdqa xmm5, xmmword [0x1400568f0]
movdqa xmm4, xmmword [0x1400569f0]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140056930]
movd xmm8, r12d
movdqa xmm0, xmmword [0x1400569a0]
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
paddd xmm1, xmm2
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 [0x140056970]
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
paddd xmm1, xmm3
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 [0x140056970]
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 0x1400199a0
cmp r8d, 0x16
jge 0x140019af3
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x140019ac0
lea rdx, [rbp - 0x48]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140019b12
inc rbx
test eax, eax
jne 0x140019b00
test ecx, ecx
jne 0x140019f5b
mov eax, dword [str.CD_K:]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14004ac74]
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 0x140019b88
mov qword [rbp + 0x10], rsi
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14001b7f0
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 0x140019b88
cmp word [rcx + 0x1e], 3
jne 0x140019b88
lea r12, [rcx + 0x10]
mov rdi, r12
jmp 0x140019b8e
mov r12, rsi
mov rdi, rsi
movzx eax, word [0x14004ac78]
mov word [rsp + 0x20], ax
movzx eax, byte [0x14004ac7a]
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.140018d40
mov rbx, rax
movsd xmm0, qword [str.CD_KTZQX_]
movsd qword [rsp + 0x68], xmm0
movzx edx, byte [0x14004acd0]
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.140018d40
mov r15, rax
mov ecx, dword [str.WAYM_I_]
mov dword [rsp + 0x60], ecx
movzx edx, word [0x14004ac6c]
mov word [rsp + 0x64], dx
movzx ecx, byte [0x14004ac6e]
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.140018d40
mov rdi, rax
mov ecx, dword [0x14005ffd8]
cmp ecx, 8
jb 0x140019c82
mov r14, rsi
jmp 0x140019ca3
mov r14d, 1
lock xadd dword [0x14005ffd0], r14d
and r14d, 7
shl r14, 9
lea rax, [0x14005efd0]
add r14, rax
test rbx, rbx
je 0x140019f46
test r15, r15
je 0x140019f46
test r14, r14
je 0x140019f46
mov rdx, r14
mov rcx, r15
cmp byte [rbx], 0
je 0x140019cec
mov r8d, 1
sub r8, rbx
lea rax, [r8 + rbx]
cmp rax, 0x20
jae 0x140019cec
movzx eax, byte [rbx]
mov byte [rdx], al
inc rdx
inc rbx
cmp byte [rbx], 0
jne 0x140019cd2
mov byte [rdx], 0
lea rdx, [r14 + 0x20]
cmp byte [r15], 0
je 0x140019d1e
mov r8d, 1
sub r8, r15
lea rax, [r8 + rcx]
cmp rax, 0x158
jae 0x140019d1e
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019d02
mov byte [rdx], 0
movsd xmm0, qword [str.RKZHRQTP4.0C]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x14004ace8]
mov dword [rbp - 0x68], eax
movzx eax, word [0x14004acec]
mov word [rbp - 0x64], ax
cmp byte [0x14004aced], 0
je 0x140019eae
mov ecx, esi
cmp r13d, 2
jl 0x140019e6f
movdqa xmm4, xmmword [0x1400569f0]
mov eax, 5
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400568f0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
packuswb xmm2, xmm2
mov eax, dword [0x1400569a0]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.RKZHRQTP4.0C]
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm3, xmmword [0x140056900]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x140056930]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140056970]
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
nop dword [rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140019e80
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140018d40
mov rcx, rax
test rax, rax
je 0x140019efd
lea rdx, [r14 + 0x178]
cmp byte [rax], 0
je 0x140019efa
mov r8d, 1
sub r8, rax
nop word [rax + rax]
lea rax, [r8 + rcx]
cmp rax, 8
jae 0x140019efa
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019ee0
mov byte [rdx], 0
lea rcx, [r14 + 0x180]
test rdi, rdi
je 0x140019f3c
cmp byte [rdi], 0
je 0x140019f3c
mov edx, 1
sub rdx, rdi
nop word [rax + rax]
lea rax, [rdx + rdi]
cmp rax, 0x80
jae 0x140019f3c
movzx eax, byte [rdi]
mov byte [rcx], al
inc rcx
inc rdi
cmp byte [rdi], 0
jne 0x140019f20
mov byte [rcx], 0
lock inc dword [0x14005ffd8]
mov r12d, 0x1f
lea r15d, [r12 - 0x1a]
movabs r14, 0xffffffffffff
lea rdi, [0x140094690]
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019fa0
nop
cmp rax, qword [rbp + 0xc0a8]
je 0x140019f97
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 0x140019f70
jmp 0x140019fa0
test rax, rax
je 0x140019fa0
mov qword [rax + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140047d80
lea rcx, [rbp + 0x4030]
call fcn.14001b760
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.140018c40
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140094688]
call fcn.14001c210
test al, al
jne 0x140018fc0
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x14001a049
mov rbx, rax
mov r8, rax
mov rdx, rax
nop
mov rcx, qword [rbp + 0xc0a8]
cmp rbx, rcx
je 0x14001a040
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 0x14001a010
jmp 0x14001a049
cmp r8, rcx
jne 0x14001a049
mov qword [r8 + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140047d80
lea rcx, [rbp + 0x4030]
call fcn.14001b760
xchg byte [0x14005ef76], sil
test sil, sil
je 0x14001a158
cmp qword [0x140090680], 0
je 0x14001a158
lea rcx, [0x14005ffe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a1e5
cmp dword [0x14006002c], 0x7fffffff
je 0x14001a10a
mov rbx, qword [0x140090680]
mov qword [rbp + 0x20], rbx
test rbx, rbx
je 0x14001a0cc
mov r8, rbx
lea rdx, [0x140090688]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rbp + 0x20]
lea rcx, [0x14005ffe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r8, rbx
lea rdx, [rbp + 0x28]
call fcn.14001c110
test al, al
jne 0x14001a158
lea rcx, [0x14005ffe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a1e5
cmp dword [0x14006002c], 0x7fffffff
jne 0x14001a120
mov dword [0x14006002c], 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 [0x140090680], r8
test r8, r8
je 0x14001a140
lea rdx, [rbp + 0x28]
lea rcx, [0x140090688]
call sub.VCRUNTIME140.dll_memcpy
mov eax, 1
xchg byte [0x14005ef76], al
lea rcx, [0x14005ffe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, dword [0x140080088]
test eax, eax
je 0x14001a1a6
lea rbx, [0x140060040]
nop dword [rax]
mov eax, 1
lock xadd dword [0x140080084], eax
and eax, 7
imul r8, rax, 0x4008
lea rdx, [rbx + 8]
add rdx, r8
mov r8, qword [r8 + rbx]
call fcn.14001c110
lock dec dword [0x140080088]
mov eax, dword [0x140080088]
jne 0x14001a170
mov rcx, qword [rbp + 0xc8d0]
xor rcx, rsp
call fcn.140047ac0
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, r15d
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3