Function at 0x140018e50
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.14004ac30
sub rsp, rax
movaps xmmword [rsp + 0xca00], xmm6
movaps xmmword [rsp + 0xc9f0], xmm7
movaps xmmword [rsp + 0xc9e0], xmm8
mov rax, qword [0x140060010]
xor rax, rsp
mov qword [rbp + 0xc8d0], rax
mov rax, qword [0x140097688]
test rax, rax
je 0x14001a0c6
cmp dword [rax + 8], 3
je 0x140018ee1
call qword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
cmp rax, qword [0x140063030]
je 0x140018ed2
jl 0x14001a0c6
call fcn.140018d80
call fcn.14001bbb0
jmp 0x14001a0c6
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.140018bc0
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140097688]
call fcn.14001c0e0
xor esi, esi
test al, al
je 0x140019f19
movabs r14, 0xffffffffffff
lea r15d, [rsi + 4]
lea r12d, [rsi + 0x1f]
lea rdi, [0x140097690]
mov r13d, dword [0x140060018]
nop
mov qword [rbp - 0x10], rsi
lea r8, [0x14004cc58]
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x4030]
call fcn.14001b6c0
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 0x140018f9f
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x140018f9f
lea rbx, [rcx + 0x10]
mov eax, 0x1000
test word [rbx + 0xe], ax
jne 0x140018fa2
mov rbx, qword [rbx + 8]
and rbx, r14
jmp 0x140018fa2
mov rbx, rsi
mov qword [rbp - 8], rsi
lea r8, str.nonce
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x4030]
call fcn.14001b6c0
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 0x1400192ed
movzx eax, word [rcx + 0x1e]
shr ax, 0xa
test al, 1
je 0x1400192ed
add rcx, 0x10
mov eax, 0x1000
test word [rcx + 0xe], ax
jne 0x140019007
mov rcx, qword [rcx + 8]
and rcx, r14
test rcx, rcx
je 0x1400192ed
test rbx, rbx
je 0x140019e82
mov eax, dword [str.uc_f5]
mov dword [rsp + 0x2c], eax
movzx eax, word [0x14004cca8]
mov word [rsp + 0x30], ax
mov byte [rsp + 0x2c], 0x45
xor byte [rsp + 0x2d], 0x31
xor byte [rsp + 0x2e], 0x32
xor byte [rsp + 0x2f], 0x33
xor al, 0x34
mov byte [rsp + 0x30], al
xor byte [rsp + 0x31], 0x35
lea rdx, [rsp + 0x2c]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140019072
inc rbx
test eax, eax
jne 0x140019060
test ecx, ecx
jne 0x140019e82
mov eax, dword [str.TPFR4]
mov dword [rsp + 0x38], eax
movzx eax, byte [0x14004cca0]
mov byte [rsp + 0x38], 0x64
xor byte [rsp + 0x39], 0x31
xor byte [rsp + 0x3a], 0x32
xor byte [rsp + 0x3b], 0x33
xor al, 0x34
mov byte [rsp + 0x3c], al
mov qword [rbp], rsi
lea r8, [rsp + 0x38]
lea rdx, [rbp]
lea rcx, [rbp + 0x4030]
call fcn.14001b6c0
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 0x1400190e9
cmp word [rcx + 0x1e], 3
lea rbx, [rcx + 0x10]
je 0x1400190ec
mov rbx, rsi
mov eax, dword [str.SVV4]
mov dword [rsp + 0x24], eax
movzx eax, byte [0x14004cc68]
mov byte [rsp + 0x24], 0x63
xor byte [rsp + 0x25], 0x31
xor byte [rsp + 0x26], 0x32
xor byte [rsp + 0x27], 0x33
xor al, 0x34
mov byte [rsp + 0x28], al
test rbx, rbx
je 0x140019131
mov qword [rbp + 0x18], rsi
lea r8, [rsp + 0x24]
lea rdx, [rbp + 0x18]
mov rcx, rbx
call fcn.14001b6c0
mov byte [rsp + 0x34], 0
mov rax, qword [str._TA_URS7cmd]
mov qword [rsp + 0x78], rax
cmp byte [0x14004cd07], 0
je 0x140019290
cmp r13d, 2
jl 0x140019255
movdqa xmm4, xmmword [0x140059710]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x140059640]
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 [0x140059660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000001111111111111111]
movd xmm0, dword [rsp + 0x78]
xorps xmm2, xmm0
movd dword [rsp + 0x78], xmm2
movdqa xmm3, xmmword [0x140059650]
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 [0x140059660]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000001111111111111111]
movd xmm0, dword [rsp + 0x7c]
xorps xmm2, xmm0
movd dword [rsp + 0x7c], xmm2
jmp 0x140019290
lea r9, [rsp + 0x78]
mov r8d, esi
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, r8b
sub al, dl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x140019260
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.140018cc0
mov r8, rax
test rax, rax
je 0x1400192dd
mov rcx, rdi
movzx edx, byte [rax]
test dl, dl
je 0x1400192da
mov r9d, 1
sub r9, rdi
sub r8, rdi
lea rax, [r9 + rcx]
cmp rax, 0x100
jae 0x1400192da
mov byte [rcx], dl
inc rcx
movzx edx, byte [r8 + rcx]
test dl, dl
jne 0x1400192c0
mov byte [rcx], 0
mov eax, 1
xchg byte [0x140061f78], al
jmp 0x140019e82
test rbx, rbx
jne 0x140019330
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019ec0
cmp rax, qword [rbp + 0xc0a8]
je 0x140019eb7
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 0x140019302
jmp 0x140019ec0
mov eax, dword [str.TPFR4]
mov dword [rsp + 0x40], eax
movzx eax, byte [0x14004cca0]
mov byte [rsp + 0x40], 0x64
xor byte [rsp + 0x41], 0x31
xor byte [rsp + 0x42], 0x32
xor byte [rsp + 0x43], 0x33
xor al, 0x34
mov byte [rsp + 0x44], al
mov qword [rbp + 8], rsi
lea r8, [rsp + 0x40]
lea rdx, [rbp + 8]
lea rcx, [rbp + 0x4030]
call fcn.14001b6c0
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 0x14001939f
cmp word [rcx + 0x1e], 3
lea rdi, [rcx + 0x10]
je 0x1400193a2
mov rdi, rsi
movsd xmm0, qword [str.qrfzbbngsurr]
movsd qword [rbp - 0x80], xmm0
mov eax, dword [0x14004cc88]
mov dword [rbp - 0x78], eax
movzx eax, word [0x14004cc8c]
mov word [rbp - 0x74], ax
cmp byte [0x14004cc8d], 0
je 0x140019520
mov r8d, esi
cmp r13d, 2
jl 0x1400194e2
movdqa xmm4, xmmword [0x140059710]
movd xmm6, r15d
movd xmm5, r12d
movdqa xmm2, xmmword [0x140059640]
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 [0x140059660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
mov eax, dword [str.00000000000000001111111111111111]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.qrfzbbngsurr]
xorps xmm2, xmm0
movd dword [rbp - 0x80], xmm2
movdqa xmm3, xmmword [0x140059650]
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 [0x140059660]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
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, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0xe
jl 0x1400194f0
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 0x140019543
inc rax
test ecx, ecx
jne 0x140019530
test edx, edx
jne 0x1400195ef
mov eax, dword [str.CTQAQA6]
mov dword [rsp + 0x50], eax
movzx edx, word [0x14004cc98]
mov word [rsp + 0x54], dx
movzx eax, byte [0x14004cc9a]
mov byte [rsp + 0x50], 0x73
xor byte [rsp + 0x51], 0x31
xor byte [rsp + 0x52], 0x32
xor byte [rsp + 0x53], 0x33
xor dl, 0x34
mov byte [rsp + 0x54], dl
xor byte [rsp + 0x55], 0x35
xor al, 0x36
mov byte [rsp + 0x56], al
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.140018cc0
mov rcx, rax
test rax, rax
je 0x140019e7b
lea rdx, [0x140093450]
cmp byte [rax], 0
je 0x1400195dc
mov r8d, 1
sub r8, rax
nop
lea rax, [r8 + rcx]
cmp rax, 0x100
jae 0x1400195dc
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x1400195c0
mov byte [rdx], 0
mov eax, 1
xchg byte [0x140061f75], al
jmp 0x140019e7b
movups xmm0, xmmword [str.qrfzbbngjj]
movups xmmword [rbp - 0x60], xmm0
movzx eax, word [0x14004ccd8]
mov word [rbp - 0x50], ax
cmp byte [0x14004ccd9], 0
je 0x1400197a0
mov r8d, esi
cmp r13d, 2
jl 0x140019763
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140059660]
movd xmm8, r12d
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
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 [0x1400596c0]
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 [0x1400596c0]
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 0x140019660
cmp r8d, 0x12
jge 0x1400197a0
movsxd rax, r8d
lea r9, [rbp - 0x60]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x12
jl 0x140019770
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 0x1400197c3
inc rax
test ecx, ecx
jne 0x1400197b0
test edx, edx
jne 0x14001986f
mov eax, dword [str.CTQAQA6]
mov dword [rsp + 0x58], eax
movzx ecx, word [0x14004cc98]
mov word [rsp + 0x5c], cx
movzx eax, byte [0x14004cc9a]
mov byte [rsp + 0x58], 0x73
xor byte [rsp + 0x59], 0x31
xor byte [rsp + 0x5a], 0x32
xor byte [rsp + 0x5b], 0x33
xor cl, 0x34
mov byte [rsp + 0x5c], cl
xor byte [rsp + 0x5d], 0x35
xor al, 0x36
mov byte [rsp + 0x5e], al
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.140018cc0
mov rcx, rax
test rax, rax
je 0x140019e7b
lea rdx, [0x140097790]
cmp byte [rax], 0
je 0x14001985c
mov r8d, 1
sub r8, rax
nop
lea rax, [r8 + rcx]
cmp rax, 0x100
jae 0x14001985c
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019840
mov byte [rdx], 0
mov eax, 1
xchg byte [0x140061f77], al
jmp 0x140019e7b
movups xmm0, xmmword [str.qrfzbbngsurrblz]
movups xmmword [rbp - 0x48], xmm0
mov eax, dword [0x14004ccc0]
mov dword [rbp - 0x38], eax
movzx eax, word [0x14004ccc4]
mov word [rbp - 0x34], ax
cmp byte [0x14004ccc5], 0
je 0x140019a20
mov r8d, esi
cmp r13d, 2
jl 0x1400199e3
movdqa xmm5, xmmword [0x140059640]
movdqa xmm4, xmmword [0x140059710]
movd xmm6, r15d
movdqa xmm7, xmmword [0x140059660]
movd xmm8, r12d
movdqa xmm0, xmmword [str.00000000000000001111111111111111]
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 [0x1400596c0]
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 [0x1400596c0]
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 0x1400198e0
cmp r8d, 0x16
jge 0x140019a20
movsxd rax, r8d
lea r9, [rbp - 0x48]
add r9, rax
nop dword [rax]
mov eax, 0x5397829d
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, r8b
sub al, cl
add al, 0x30
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x16
jl 0x1400199f0
lea rdx, [rbp - 0x48]
sub rdx, rbx
nop word [rax + rax]
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140019a42
inc rbx
test eax, eax
jne 0x140019a30
test ecx, ecx
jne 0x140019e7b
mov eax, dword [str.EBWA4]
mov dword [rsp + 0x48], eax
movzx eax, byte [0x14004cc78]
mov byte [rsp + 0x48], 0x75
xor byte [rsp + 0x49], 0x31
xor byte [rsp + 0x4a], 0x32
xor byte [rsp + 0x4b], 0x33
xor al, 0x34
mov byte [rsp + 0x4c], al
test rdi, rdi
je 0x140019ab8
mov qword [rbp + 0x10], rsi
lea r8, [rsp + 0x48]
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14001b6c0
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 0x140019ab8
cmp word [rcx + 0x1e], 3
jne 0x140019ab8
lea r12, [rcx + 0x10]
mov rdi, r12
jmp 0x140019abe
mov r12, rsi
mov rdi, rsi
movzx eax, word [0x14004cc90]
mov word [rsp + 0x20], ax
movzx eax, byte [0x14004cc92]
mov byte [rsp + 0x20], 0x69
xor byte [rsp + 0x21], 0x31
xor al, 0x32
mov byte [rsp + 0x22], al
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140018cc0
mov rbx, rax
movsd xmm0, qword [str.EBWAZT_R8]
movsd qword [rsp + 0x68], xmm0
movzx edx, byte [0x14004cce8]
mov byte [rsp + 0x68], 0x75
xor byte [rsp + 0x69], 0x31
xor byte [rsp + 0x6a], 0x32
xor byte [rsp + 0x6b], 0x33
xor byte [rsp + 0x6c], 0x34
xor byte [rsp + 0x6d], 0x35
xor byte [rsp + 0x6e], 0x36
xor byte [rsp + 0x6f], 0x37
xor dl, 0x38
mov byte [rsp + 0x70], dl
xor r8d, r8d
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.140018cc0
mov r15, rax
mov ecx, dword [str.QGSGUG6]
mov dword [rsp + 0x60], ecx
movzx edx, word [0x14004cc70]
mov word [rsp + 0x64], dx
movzx ecx, byte [0x14004cc72]
mov byte [rsp + 0x60], 0x61
xor byte [rsp + 0x61], 0x31
xor byte [rsp + 0x62], 0x32
xor byte [rsp + 0x63], 0x33
xor dl, 0x34
mov byte [rsp + 0x64], dl
xor byte [rsp + 0x65], 0x35
xor cl, 0x36
mov byte [rsp + 0x66], cl
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140018cc0
mov rdi, rax
mov ecx, dword [0x140062fd8]
cmp ecx, 8
jb 0x140019bb2
mov r14, rsi
jmp 0x140019bd3
mov r14d, 1
lock xadd dword [0x140062fd0], r14d
and r14d, 7
shl r14, 9
lea rax, [0x140061fd0]
add r14, rax
test rbx, rbx
je 0x140019e66
test r15, r15
je 0x140019e66
test r14, r14
je 0x140019e66
mov rdx, r14
mov rcx, r15
cmp byte [rbx], 0
je 0x140019c1c
mov r8d, 1
sub r8, rbx
lea rax, [r8 + rbx]
cmp rax, 0x20
jae 0x140019c1c
movzx eax, byte [rbx]
mov byte [rdx], al
inc rdx
inc rbx
cmp byte [rbx], 0
jne 0x140019c02
mov byte [rdx], 0
lea rdx, [r14 + 0x20]
cmp byte [r15], 0
je 0x140019c4e
mov r8d, 1
sub r8, r15
lea rax, [r8 + rcx]
cmp rax, 0x158
jae 0x140019c4e
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019c32
mov byte [rdx], 0
movsd xmm0, qword [str.TXAPF_VXNTN]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x14004ccf8]
mov dword [rbp - 0x68], eax
movzx eax, word [0x14004ccfc]
mov word [rbp - 0x64], ax
cmp byte [0x14004ccfd], 0
je 0x140019dcd
mov ecx, esi
cmp r13d, 2
jl 0x140019d97
movdqa xmm4, xmmword [0x140059710]
mov eax, 4
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x140059640]
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 [0x140059660]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
packuswb xmm2, xmm2
mov eax, dword [str.00000000000000001111111111111111]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm0, dword [str.TXAPF_VXNTN]
xorps xmm2, xmm0
movd dword [rbp - 0x70], xmm2
movdqa xmm3, xmmword [0x140059650]
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 [0x140059660]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400596c0]
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, 0x5397829d
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xe
jl 0x140019da1
xor r8d, r8d
lea rdx, [rbp - 0x70]
mov rcx, r12
call fcn.140018cc0
mov rcx, rax
test rax, rax
je 0x140019e1d
lea rdx, [r14 + 0x178]
cmp byte [rax], 0
je 0x140019e1a
mov r8d, 1
sub r8, rax
nop dword [rax]
lea rax, [r8 + rcx]
cmp rax, 8
jae 0x140019e1a
movzx eax, byte [rcx]
mov byte [rdx], al
inc rdx
inc rcx
cmp byte [rcx], 0
jne 0x140019e00
mov byte [rdx], 0
lea rcx, [r14 + 0x180]
test rdi, rdi
je 0x140019e5c
cmp byte [rdi], 0
je 0x140019e5c
mov edx, 1
sub rdx, rdi
nop word [rax + rax]
lea rax, [rdx + rdi]
cmp rax, 0x80
jae 0x140019e5c
movzx eax, byte [rdi]
mov byte [rcx], al
inc rcx
inc rdi
cmp byte [rdi], 0
jne 0x140019e40
mov byte [rcx], 0
lock inc dword [0x140062fd8]
mov r12d, 0x1f
lea r15d, [r12 - 0x1b]
movabs r14, 0xffffffffffff
lea rdi, [0x140097690]
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019ec0
nop
cmp rax, qword [rbp + 0xc0a8]
je 0x140019eb7
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 0x140019e90
jmp 0x140019ec0
test rax, rax
je 0x140019ec0
mov qword [rax + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140049730
lea rcx, [rbp + 0x4030]
call fcn.14001b630
xor edx, edx
mov r8d, 0x88a0
lea rcx, [rbp + 0x4030]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x4030]
call fcn.140018bc0
nop
lea rdx, [rbp + 0x4030]
mov rcx, qword [0x140097688]
call fcn.14001c0e0
test al, al
jne 0x140018f40
mov rax, qword [rbp + 0xc098]
test rax, rax
je 0x140019f69
mov rbx, rax
mov r8, rax
mov rdx, rax
nop
mov rcx, qword [rbp + 0xc0a8]
cmp rbx, rcx
je 0x140019f60
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 0x140019f30
jmp 0x140019f69
cmp r8, rcx
jne 0x140019f69
mov qword [r8 + 8], rsi
mov edx, 1
mov rcx, qword [rbp + 0xc0b8]
call fcn.140049730
lea rcx, [rbp + 0x4030]
call fcn.14001b630
xchg byte [0x140061f76], sil
test sil, sil
je 0x14001a078
cmp qword [0x140093680], 0
je 0x14001a078
lea rcx, [0x140062fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a105
cmp dword [0x14006302c], 0x7fffffff
je 0x14001a02a
mov rbx, qword [0x140093680]
mov qword [rbp + 0x20], rbx
test rbx, rbx
je 0x140019fec
mov r8, rbx
lea rdx, [0x140093688]
lea rcx, [rbp + 0x28]
call sub.VCRUNTIME140.dll_memcpy
mov rbx, qword [rbp + 0x20]
lea rcx, [0x140062fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov r8, rbx
lea rdx, [rbp + 0x28]
call fcn.14001bfe0
test al, al
jne 0x14001a078
lea rcx, [0x140062fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x14001a105
cmp dword [0x14006302c], 0x7fffffff
jne 0x14001a040
mov dword [0x14006302c], 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 [0x140093680], r8
test r8, r8
je 0x14001a060
lea rdx, [rbp + 0x28]
lea rcx, [0x140093688]
call sub.VCRUNTIME140.dll_memcpy
mov eax, 1
xchg byte [0x140061f76], al
lea rcx, [0x140062fe0]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov eax, dword [0x140083088]
test eax, eax
je 0x14001a0c6
lea rbx, [0x140063040]
nop dword [rax]
mov eax, 1
lock xadd dword [0x140083084], eax
and eax, 7
imul r8, rax, 0x4008
lea rdx, [rbx + 8]
add rdx, r8
mov r8, qword [r8 + rbx]
call fcn.14001bfe0
lock dec dword [0x140083088]
mov eax, dword [0x140083088]
jne 0x14001a090
mov rcx, qword [rbp + 0xc8d0]
xor rcx, rsp
call fcn.140049470
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