Function at 0x180067b64
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov r14, rdx
mov rsi, rcx
call fcn.180049e38
xor r15d, r15d
test al, al
je 0x180067c07
mov ebx, 0x96
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x70]
call fcn.1800a02d0
mov r8d, ebx
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.USER32.dll_GetClassNameA]
cmp byte [0x18010a364], r15b
je 0x180067c07
lea rcx, [rbp + 0x50]
call fcn.180066260
cmp byte [rax + 0x2c], r15b
je 0x180067bf5
mov r9d, r15d
mov cl, r9b
and cl, 7
shl cl, 3
movabs r8, 0xd993efbb19cfe32d
shr r8, cl
xor byte [r9 + rax], r8b
inc r9
cmp r9, 0x2c
jb 0x180067bce
mov byte [rax + 0x2c], r15b
lea r8, [rsp + 0x70]
mov rdx, rax
mov ecx, 3
call fcn.18006a848
cmp byte [0x18010a5a4], r15b
je 0x180067e9c
call fcn.180071750
test al, al
jne 0x180067e9c
xor r9d, r9d
xor r8d, r8d
mov edx, 0x407
mov rcx, r14
call qword [sym.imp.USER32.dll_SendMessageA]
test rax, rax
je 0x180067e9c
mov qword [rsp + 0x40], r15
mov qword [rbp + 0x58], r15
mov qword [rsp + 0x58], r15
mov r9, qword [rax]
lea r8, [rsp + 0x58]
lea rdx, [0x1800da240]
mov rcx, rax
call qword [r9]
test eax, eax
jne 0x180067e64
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x180067e64
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180067c88
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
lea r9, [rsp + 0x40]
lea r8, [0x1800da240]
lea rdx, [0x1800da160]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
jne 0x180067e64
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180067e64
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180067cca
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
lea r9, [rbp + 0x58]
lea r8, [0x1800da210]
lea rdx, [0x1800da200]
mov rcx, rbx
call qword [rax + 0x18]
test eax, eax
js 0x180067e64
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180067e64
mov qword [rsp + 0x50], r15
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1800d3510]
call qword [rax]
mov edi, eax
test eax, eax
js 0x180067d82
mov dword [rbp + 0x50], r15d
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsi]
lea r8, [rbp + 0x50]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x38]
mov edi, eax
test eax, eax
js 0x180067d82
cmp dword [rbp + 0x50], r15d
jne 0x180067e53
lea r8, [rsp + 0x60]
lea rdx, [0x1800d4ce8]
xor ecx, ecx
call fcn.1800688f4
mov edi, eax
test eax, eax
js 0x180067d82
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
mov r9d, ebx
mov r8, qword [rbp + 0x58]
mov rdx, rsi
call qword [rax + 0x20]
mov edi, eax
test eax, eax
jns 0x180067dcc
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180067d93
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180067da3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180067db4
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x180067dc5
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov eax, edi
jmp 0x180067e9e
mov rax, qword [rsi]
mov r8, qword [rsp + 0x60]
mov edx, ebx
mov rcx, rsi
call qword [rax + 0x28]
mov qword [rsp + 0x48], r15
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180067fa0
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0xf0]
test eax, eax
js 0x180067e48
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x180067e48
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x70], rax
test rsi, rsi
jne 0x180067eb5
mov rcx, r15
mov qword [rsp + 0x70], rcx
call fcn.18005d858
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp rcx, rax
je 0x180067e48
call fcn.1800a89bc
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180067e64
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x180067e74
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x180067e88
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x180067e9c
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0x110
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
or rdi, 0xffffffffffffffff
inc rdi
cmp word [rsi + rdi*2], r15w
jne 0x180067eb9
inc edi
lea ebx, [rdi*4]
mov r14d, 0x80
mov r9d, r14d
lea r8, [rsp + 0x78]
mov edx, ebx
lea rcx, [rsp + 0x70]
call fcn.18000e834
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r15d
test eax, eax
sete bl
test eax, eax
jne 0x180067f92
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x180067f92
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
mov r9d, edi
mov r8, rsi
xor edx, edx
lea ecx, [rax - 0x77]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
mov r9d, r14d
lea r8, [rsp + 0x78]
mov edx, eax
lea rcx, [rsp + 0x70]
call fcn.18000e834
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], ebx
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, edi
mov r8, rsi
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, r15d
test eax, eax
sete bl
mov rcx, qword [rsp + 0x70]
test ebx, ebx
jne 0x180067fab
jmp 0x180067e2f
mov ecx, 0x80004003
call fcn.18009e550
int3
mov r8d, r14d
lea rdx, [rsp + 0x78]
call fcn.18000e6e8
call fcn.18004b03c
int3