Function at 0x140003410
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x2f]
sub rsp, 0xf0
mov rax, qword [0x140026010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rsi, rdx
mov rdi, rcx
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor ebx, ebx
mov eax, dword [rcx + rax]
cmp dword [0x140026b24], eax
jle 0x14000352a
lea rcx, [0x140026b24]
call fcn.140015c20
cmp dword [0x140026b24], 0xffffffff
jne 0x14000352a
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
mov qword [rbp + 0xf], rbx
mov qword [rbp + 0x17], 0xf
lea ecx, [rbx + 0x20]
call fcn.140015c98
mov qword [rbp - 1], rax
mov qword [rbp + 0xf], 0x1c
mov qword [rbp + 0x17], 0x1f
movups xmm0, xmmword [0x140018878]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x140018888]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x140018890]
mov dword [rax + 0x18], ecx
mov byte [rax + 0x1c], bl
lea r8, [rbp - 1]
mov rdx, qword [0x140026a08]
mov rcx, rdi
call fcn.140003f10
mov qword [0x140026a88], rax
mov rdx, qword [rbp + 0x17]
cmp rdx, 0x10
jb 0x14000351e
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003518
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003518
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140015b70
nop
lea rcx, [0x140026b24]
call fcn.140015bb4
mov r8, qword [0x140026a88]
test r8, r8
jne 0x14000362c
mov dword [rbp - 0x71], 0xce72ce09
mov dword [rbp - 0x6d], 0xce75ce09
mov dword [rbp - 0x69], 0xce36ce10
mov dword [rbp - 0x65], 0xce35ce31
mov dword [rbp - 0x61], 0xce3fce3f
mov dword [rbp - 0x5d], 0xce29ce7c
mov dword [rbp - 0x59], 0xce7fce31
mov dword [rbp - 0x55], 0xce08ce06
mov dword [rbp - 0x51], 0xce07ce0c
mov dword [rbp - 0x4d], 0xce28ce44
mov dword [rbp - 0x49], 0xce2ace0b
mov dword [rbp - 0x45], 0xce19ce09
mov dword [rbp - 0x41], 0xce04ce26
mov dword [rbp - 0x3d], 0xce06ce0f
mov dword [rbp - 0x39], 0xce0bce0b
mov dword [rbp - 0x35], 0xce10ce20
mov dword [rbp - 0x31], 0xce16ce15
mov dword [rbp - 0x2d], 0xce26ce07
mov dword [rbp - 0x29], 0xce12ce06
mov dword [rbp - 0x25], 0xce10ce1b
mov dword [rbp - 0x21], 0xce02ce1c
mov dword [rbp - 0x1d], 0xce1cce3f
mov dword [rbp - 0x19], 0xce17ce1d
mov dword [rbp - 0x15], 0xcee5
mov byte [rbp - 0x11], 1
mov ecx, 0x31ae
nop dword [rax + rax]
movzx eax, bx
sub ax, cx
xor word [rbp + rbx*2 - 0x71], ax
inc rbx
cmp rbx, 0x2f
jb 0x1400035f0
mov byte [rbp - 0x11], 0
lea rdx, [rbp - 0x71]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000a700
lea rdx, [0x14000a8e0]
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 eax, eax
jmp 0x14000366a
mov qword [rbp + 0x1f], rbx
mov dword [rsp + 0x40], 0x10
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 1
mov byte [rsp + 0x20], 0
mov r9, rsi
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.14000afe0
mov rcx, qword [rbp + 0x1f]
test al, al
cmove rcx, rbx
mov rax, rcx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140015b50
mov rbx, qword [rsp + 0x120]
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret