Function at 0x140027510
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x14003f040]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r15, r9
mov r14, rdx
mov rbx, rcx
mov r12, qword [rbp + 0x80]
mov rdi, qword [0x1400bcbc8]
test rdx, rdx
je 0x140027631
test rdi, rdi
je 0x140027631
mov dword [rsp + 0x26], 0x6c6c64
mov dword [rsp + 0x20], 0x6c64746e
mov word [rsp + 0x24], 0x2e6c
mov byte [rsp + 0x2a], 0
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x140027651
mov dword [rsp + 0x30], 0xb8a6b8d1
mov dword [rsp + 0x34], 0xb8adb8d1
mov dword [rsp + 0x38], 0xb8eeb8c8
mov dword [rsp + 0x3c], 0xb8fdb8f9
mov dword [rsp + 0x40], 0xb8f7b8f7
mov dword [rsp + 0x44], 0xb8e1b8b4
mov dword [rsp + 0x48], 0xb8b7b8f9
mov dword [rsp + 0x4c], 0xb8f6b8f4
mov dword [rsp + 0x50], 0xb8ffb8fb
mov dword [rsp + 0x54], 0xb8f3b8bc
mov dword [rsp + 0x58], 0xb8fbb8ea
mov dword [rsp + 0x5c], 0xb8cdb8cc
mov dword [rsp + 0x60], 0xb8c7b88c
mov dword [rsp + 0x64], 0xb8c9b8c8
mov word [rsp + 0x68], ax
mov byte [rsp + 0x6a], 1
lea rcx, [rsp + 0x30]
call fcn.140019bb0
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140023cc0
lea rdx, [0x140023ea0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.14002dc20
add rsp, 0x120
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov dword [rbp - 0x1a], 0x6d6f74
mov dword [rbp - 0x20], 0x6441744e
mov word [rbp - 0x1c], 0x4164
mov byte [rbp - 0x16], 0
lea rdx, [rbp - 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
test rax, rax
jne 0x140027845
mov dword [rsp + 0x30], 0xb8a6b8d1
mov dword [rsp + 0x34], 0xb8adb8d1
mov dword [rsp + 0x38], 0xb8eeb8c8
mov dword [rsp + 0x3c], 0xb8fdb8f9
mov dword [rsp + 0x40], 0xb8f7b8f7
mov dword [rsp + 0x44], 0xb8e1b8b4
mov dword [rsp + 0x48], 0xb8b7b8f9
mov dword [rsp + 0x4c], 0xb8fcb8ff
mov dword [rsp + 0x50], 0xb8bbb8ee
mov dword [rsp + 0x54], 0xb8e5b8f9
mov dword [rsp + 0x58], 0xb8f0b8ee
mov dword [rsp + 0x5c], 0xb8d5b8d2
mov dword [rsp + 0x60], 0xb8cdb882
mov dword [rsp + 0x64], 0xb8c1b8d0
mov dword [rsp + 0x68], 0xb8cbb8ca
mov dword [rsp + 0x6c], 0xb8e7b886
mov dword [rsp + 0x70], 0xb8eab8de
mov dword [rsp + 0x74], 0xb8c9b8c8
mov dword [rsp + 0x78], 0xb8dbb8ef
mov dword [rsp + 0x7c], 0xb8dcb8df
mov word [rbp - 0x80], ax
mov byte [rbp - 0x7e], 1
movdqa xmm3, xmmword [0x14003a720]
movdqa xmm4, xmmword [0x14003a7c0]
mov edx, 0xb891
lea rax, [rsp + 0x34]
nop dword [rax]
nop dword [rax + rax]
lea rcx, [rdx - 0xb891]
movq xmm2, rcx
punpcklqdq xmm2, xmm2
paddq xmm2, xmm4
movd xmm1, dword [rax - 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rax - 4], xmm1
lea rcx, [rdx - 5]
movq xmm2, rcx
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rax]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rax], xmm1
lea rcx, [rdx - 3]
movq xmm2, rcx
punpcklqdq xmm2, xmm2
paddq xmm2, xmm3
movd xmm1, dword [rax + 4]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rax + 4], xmm1
lea rcx, [rdx - 1]
movq xmm0, rdx
movq xmm2, rcx
punpcklqdq xmm2, xmm0
movd xmm1, dword [rax + 8]
xorps xmm0, xmm0
punpcklwd xmm1, xmm0
punpckldq xmm1, xmm0
xorps xmm2, xmm1
pshufd xmm0, xmm2, 0xd8
pshuflw xmm1, xmm0, 0xd8
movd dword [rax + 8], xmm1
add rdx, 8
lea rax, [rax + 0x10]
lea rcx, [rdx - 0xb891]
cmp rcx, 0x28
jb 0x140027750
mov byte [rbp - 0x7e], 0
lea rdx, [rsp + 0x30]
jmp 0x140027615
mov word [rbp - 0x10], 0xb848
mov word [rbp - 6], 0xe0ff
mov qword [rbp - 0xe], rdi
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400bcbfc], eax
jle 0x140027922
lea rcx, [0x1400bcbfc]
call fcn.14002dcf0
cmp dword [0x1400bcbfc], 0xffffffff
jne 0x140027922
mov dword [rsp + 0x26], 0x6d6f74
mov dword [rsp + 0x20], 0x6441744e
mov word [rsp + 0x24], 0x4164
mov byte [rsp + 0x2a], 0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140023750
nop
lea r8, [rsp + 0x30]
mov rdx, qword [0x1400bcb18]
mov rcx, rbx
call fcn.14001d460
mov qword [0x1400bcc18], rax
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140027916
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140027910
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140027910
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14002dc40
nop
lea rcx, [0x1400bcbfc]
call fcn.14002dc84
mov r8, qword [0x1400bcc18]
test r8, r8
jne 0x1400279f3
mov dword [rsp + 0x30], 0xb8a6b8d1
mov dword [rsp + 0x34], 0xb8adb8d1
mov dword [rsp + 0x38], 0xb8eeb8c8
mov dword [rsp + 0x3c], 0xb8fdb8f9
mov dword [rsp + 0x40], 0xb8f7b8f7
mov dword [rsp + 0x44], 0xb8e1b8b4
mov dword [rsp + 0x48], 0xb8b7b8f9
mov dword [rsp + 0x4c], 0xb8fcb8ff
mov dword [rsp + 0x50], 0xb8bbb8ee
mov dword [rsp + 0x54], 0xb8e5b8f9
mov dword [rsp + 0x58], 0xb8f0b8ee
mov dword [rsp + 0x5c], 0xb8d5b8d2
mov dword [rsp + 0x60], 0xb8cdb882
mov dword [rsp + 0x64], 0xb8cab8d0
mov dword [rsp + 0x68], 0xb8ccb8d5
mov dword [rsp + 0x6c], 0xb8c7b8da
mov dword [rsp + 0x70], 0xb885b8c6
mov dword [rsp + 0x74], 0xb8d9b8e2
mov dword [rsp + 0x78], 0xb8cbb8ef
mov dword [rsp + 0x7c], 0xb8f0b8d4
mov dword [rbp - 0x80], 0xb8dcb8c6
mov dword [rbp - 0x7c], 0xb8d9
mov byte [rbp - 0x78], 1
lea rcx, [rsp + 0x30]
call fcn.140019d00
jmp 0x140027612
mov r9d, 0xc
lea rdx, [rbp]
mov rcx, rbx
call fcn.14001bb70
test al, al
je 0x140027631
movzx eax, byte [rbp - 0x10]
cmp byte [rbp], al
jne 0x140027b87
movzx eax, byte [rbp - 0xf]
cmp byte [rbp + 1], al
jne 0x140027b87
movzx eax, byte [rbp - 6]
cmp byte [rbp + 0xa], al
jne 0x140027b87
movzx eax, byte [rbp - 5]
cmp byte [rbp + 0xb], al
jne 0x140027b87
mov dword [rsp + 0x30], 0xb8a6b8d1
mov dword [rsp + 0x34], 0xb8adb8d1
mov dword [rsp + 0x38], 0xb8ceb8c8
mov dword [rsp + 0x3c], 0xb8ddb8d9
mov dword [rsp + 0x40], 0xb8d7b8d7
mov dword [rsp + 0x44], 0xb8afb8b5
mov dword [rsp + 0x48], 0xb8c3b8b6
mov dword [rsp + 0x4c], 0xb8fcb8f0
mov dword [rsp + 0x50], 0xb8f8b8ba
mov dword [rsp + 0x54], 0xb8f9b8f3
mov dword [rsp + 0x58], 0xb8bfb8fb
mov dword [rsp + 0x5c], 0xb8c0b8d7
mov dword [rsp + 0x60], 0xb883b8d1
mov dword [rsp + 0x64], 0xb8c9b8c5
mov dword [rsp + 0x68], 0xb8c2b8d4
mov dword [rsp + 0x6c], 0xb8cdb8c9
mov dword [rsp + 0x70], 0xb88bb8d3
mov dword [rsp + 0x74], 0xb8c2b8c4
mov dword [rsp + 0x78], 0xb8c4b8c1
mov dword [rsp + 0x7c], 0xb8d5b8d5
mov dword [rbp - 0x80], 0xb892b893
mov dword [rbp - 0x7c], 0xb8d4b894
mov dword [rbp - 0x78], 0xb8d8b8d8
mov dword [rbp - 0x74], 0xb8d1b8cc
mov dword [rbp - 0x70], 0xb8c9b8df
mov dword [rbp - 0x6c], 0xb8d4b89c
mov dword [rbp - 0x68], 0xb8ccb8d0
mov dword [rbp - 0x64], 0xb8a0b8b4
mov dword [rbp - 0x60], 0xb8a0b8ac
mov dword [rbp - 0x5c], 0xb8e5b8a1
mov dword [rbp - 0x58], 0xb8a1b8a9
mov dword [rbp - 0x54], 0xb8a2b8e8
mov dword [rbp - 0x50], 0xb8a6b8ae
mov dword [rbp - 0x4c], 0xb8bdb8ad
mov dword [rbp - 0x48], 0xb8aab8be
mov dword [rbp - 0x44], 0xb8f1b8a2
mov dword [rbp - 0x40], 0xb8a6b8a0
mov dword [rbp - 0x3c], 0xb8bbb8ba
mov dword [rbp - 0x38], 0xb8b9b8bf
mov dword [rbp - 0x34], 0xb8e6b8bf
mov dword [rbp - 0x30], 0xb8fb
mov byte [rbp - 0x2c], 1
lea rcx, [rsp + 0x30]
call fcn.140019e50
jmp 0x140027612
mov r9d, 0xc
lea r8, [rbp - 0x10]
mov rdx, qword [0x1400bcc18]
mov rcx, rbx
call fcn.14001bc20
test al, al
je 0x140027631
mov rdx, r12
mov rcx, r15
call rsi
mov byte [r14], al
mov r9d, 0xc
lea r8, [rbp]
mov rdx, qword [0x1400bcc18]
mov rcx, rbx
call fcn.14001bc20
mov al, 1
jmp 0x140027633