Function at 0x140003394
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
movdqa xmm0, xmmword [0x140007420]
mov dword [rsp + 0x40], 0xbfe4abd2
mov dword [rsp + 0x44], 0x2f6e31c6
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x370
mov eax, dword [rcx + rsi]
mov ebx, 0x1a8
add rbx, rsi
mov r12d, 1
test r12b, al
jne 0x14000344c
or eax, r12d
mov dword [rcx + rsi], eax
mov byte [rbx + 0x19], r12b
lea rax, [rbx + 0x18]
lea rcx, [rsp + 0x48]
cmp rbx, rcx
ja 0x14000342d
lea rcx, [rsp + 0x30]
cmp rax, rcx
jb 0x14000342d
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov byte [rbx + 0x18], 0x81
jmp 0x14000343f
movups xmmword [rbx], xmm0
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbx + 0x10], xmm0
mov byte [rbx + 0x18], 0x81
lea rcx, [0x140006130]
call fcn.140004784
nop
mov r15b, 7
xor edi, edi
movabs r10, 0x5b0159b5cf85c581
cmp byte [rbx + 0x19], dil
je 0x140003484
mov r8d, edi
mov cl, r8b
and cl, r15b
shl cl, 3
mov rdx, r10
shr rdx, cl
xor byte [rbx + r8], dl
add r8, r12
cmp r8, 0x19
jb 0x140003464
mov byte [rbx + 0x19], dil
mov dword [rsp + 0x20], 0xa1f7a0ea
mov dword [rsp + 0x24], 0x693235d0
mov ecx, 0x3ec
mov eax, dword [rcx + rsi]
mov r14d, 0x200
test r12b, al
jne 0x1400034d8
or eax, r12d
mov dword [rcx + rsi], eax
mov word [r14 + rsi + 8], 0x181
movsd xmm0, qword [rsp + 0x20]
movsd qword [r14 + rsi], xmm0
lea rcx, [0x140006134]
call fcn.140004784
nop
movabs r10, 0x5b0159b5cf85c581
lea r9, [r14 + rsi]
cmp byte [r9 + 9], dil
je 0x140003504
mov rdx, rdi
mov cl, dl
and cl, r15b
shl cl, 3
mov r8, r10
shr r8, cl
xor byte [r9 + rdx], r8b
add rdx, r12
cmp rdx, 9
jb 0x1400034e5
mov byte [r9 + 9], dil
mov rcx, r9
call qword [0x14000a1b0]
mov rdx, rbx
mov rcx, rax
call qword [0x14000a1b8]
mov r13, rax
mov qword [rbp + 0x1f8], rax
mov dword [rsp + 0x20], 0xaceab7d1
mov dword [rsp + 0x24], 0x68722ad0
mov dword [rsp + 0x28], 0xbdec83b3
mov word [rsp + 0x2c], 0x2dc6
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x420
mov eax, dword [rcx + rsi]
mov ebx, 0x1e0
test r12b, al
jne 0x140003597
or eax, r12d
mov dword [rcx + rsi], eax
mov word [rsi + rbx + 0xe], 0x101
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsi + rbx + 8], eax
movzx eax, word [rsp + 0x2c]
mov word [rsi + rbx + 0xc], ax
lea rcx, [0x140006128]
call fcn.140004784
nop
lea r14, [rbx + rsi]
cmp byte [r14 + 0xf], dil
je 0x1400035ce
mov r8, rdi
movabs r9, 0x5b0159b5cf85c581
mov cl, r8b
and cl, r15b
shl cl, 3
mov rdx, r9
shr rdx, cl
xor byte [r14 + r8], dl
add r8, r12
cmp r8, 0xf
jb 0x1400035ae
mov byte [r14 + 0xf], dil
mov dword [rsp + 0x20], 0xa1f7a0ea
mov dword [rsp + 0x24], 0x693235d0
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x3e8
mov eax, dword [rcx + rsi]
mov ebx, 0x3d8
test r12b, al
jne 0x140003621
or eax, r12d
mov dword [rcx + rsi], eax
mov word [rsi + rbx + 8], 0x181
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
lea rcx, [0x14000612c]
call fcn.140004784
nop
lea r10, [rbx + rsi]
cmp byte [r10 + 9], dil
je 0x14000365f
mov r9, rdi
movabs r13, 0x5b0159b5cf85c581
mov cl, r9b
and cl, r15b
shl cl, 3
mov r8, r13
shr r8, cl
xor byte [r10 + r9], r8b
add r9, r12
cmp r9, 9
jb 0x140003638
mov byte [r10 + 9], dil
mov r13, qword [rbp + 0x1f8]
mov rcx, r10
call qword [0x14000a1b0]
mov rdx, r14
mov rcx, rax
call qword [0x14000a1b8]
mov r15, rax
mov dword [rsp + 0x20], 0xaceab7d1
mov dword [rsp + 0x24], 0x68722ad0
mov dword [rsp + 0x28], 0xb7e08bb3
mov word [rsp + 0x2c], 0x59c1
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x36c
mov eax, dword [rcx + rsi]
mov ebx, 0x500
test r12b, al
jne 0x1400036e9
or eax, r12d
mov dword [rcx + rsi], eax
mov byte [rsi + rbx + 0xe], r12b
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsi + rbx + 8], eax
movzx eax, word [rsp + 0x2c]
mov word [rsi + rbx + 0xc], ax
lea rcx, [0x140006120]
call fcn.140004784
nop
lea r14, [rbx + rsi]
cmp byte [r14 + 0xe], dil
je 0x140003727
mov r8, rdi
movabs r13, 0x5b0159b5cf85c581
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r13
shr rdx, cl
xor byte [r14 + r8], dl
add r8, r12
cmp r8, 0xe
jb 0x140003700
mov byte [r14 + 0xe], dil
mov r13, qword [rbp + 0x1f8]
mov dword [rsp + 0x20], 0xa1f7a0ea
mov dword [rsp + 0x24], 0x693235d0
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x3cc
mov eax, dword [rcx + rsi]
mov ebx, 0x138
test r12b, al
jne 0x14000377a
or eax, r12d
mov dword [rcx + rsi], eax
mov word [rsi + rbx + 8], 0x181
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
lea rcx, [0x140006124]
call fcn.140004784
nop
lea r10, [rbx + rsi]
cmp byte [r10 + 9], dil
je 0x1400037b8
mov r9, rdi
movabs r13, 0x5b0159b5cf85c581
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r13
shr r8, cl
xor byte [r10 + r9], r8b
add r9, r12
cmp r9, 9
jb 0x140003791
mov byte [r10 + 9], dil
mov r13, qword [rbp + 0x1f8]
mov rcx, r10
call qword [0x14000a1b0]
mov rdx, r14
mov rcx, rax
call qword [0x14000a1b8]
mov r12, rax
mov dword [rsp + 0x20], 0xbceaa9c2
mov dword [rsp + 0x24], 0x356011d0
mov dword [rsp + 0x28], 0xcfe0a9e5
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x1a4
mov eax, dword [rcx + rsi]
mov ebx, 0x598
test al, 1
jne 0x140003830
or eax, 1
mov dword [rcx + rsi], eax
mov byte [rsi + rbx + 0xc], 1
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
mov eax, dword [rsp + 0x28]
mov dword [rsi + rbx + 8], eax
lea rcx, [0x140006118]
call fcn.140004784
nop
lea r14, [rbx + rsi]
cmp byte [r14 + 0xc], dil
je 0x14000386e
mov r8, rdi
movabs r13, 0x5b0159b5cf85c581
mov cl, r8b
and cl, 7
shl cl, 3
mov rdx, r13
shr rdx, cl
xor byte [r14 + r8], dl
inc r8
cmp r8, 0xc
jb 0x140003847
mov byte [r14 + 0xc], dil
mov r13, qword [rbp + 0x1f8]
mov dword [rsp + 0x20], 0xa1f7a0ea
mov dword [rsp + 0x24], 0x693235d0
mov rax, qword gs:[0x58]
mov rsi, qword [rax]
mov ecx, 0x60c
mov eax, dword [rcx + rsi]
mov ebx, 0x4c0
test al, 1
jne 0x1400038c0
or eax, 1
mov dword [rcx + rsi], eax
mov word [rsi + rbx + 8], 0x181
movsd xmm0, qword [rsp + 0x20]
movsd qword [rsi + rbx], xmm0
lea rcx, [0x14000611c]
call fcn.140004784
nop
lea r10, [rbx + rsi]
cmp byte [r10 + 9], dil
je 0x1400038fe
mov r9, rdi
movabs r13, 0x5b0159b5cf85c581
mov cl, r9b
and cl, 7
shl cl, 3
mov r8, r13
shr r8, cl
xor byte [r10 + r9], r8b
inc r9
cmp r9, 9
jb 0x1400038d7
mov byte [r10 + 9], dil
mov r13, qword [rbp + 0x1f8]
mov rcx, r10
call qword [0x14000a1b0]
mov rdx, r14
mov rcx, rax
call qword [0x14000a1b8]
xor edx, edx
lea ecx, [rdx + 2]
call r13
mov rbx, rax
mov qword [rbp + 0x1f8], rax
mov dword [rsp + 0x70], 0x238
lea rdx, [rsp + 0x70]
mov rcx, rax
call r15
test eax, eax
je 0x140003a62
mov r13, qword [rbp + 0x1f0]
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x50]
call fcn.140003e78
nop
lea r14, [rsp + 0x50]
mov r8, qword [rsp + 0x68]
cmp r8, 0xf
seta al
mov rdx, qword [rsp + 0x50]
cmova r14, rdx
lea rcx, [rsp + 0x50]
mov r15, qword [rsp + 0x60]
test al, al
je 0x140003986
mov rsi, rdx
add r15, rdx
jmp 0x14000398e
add r15, rcx
lea rsi, [rsp + 0x50]
cmp rsi, r15
je 0x1400039b5
sub r14, rsi
movsx ecx, byte [rsi]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_tolower]
mov byte [r14 + rsi], al
inc rsi
cmp rsi, r15
jne 0x140003996
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
cmp r8, 0xf
cmova rcx, rdx
mov rdx, r13
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x140003a1d
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003a08
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a03
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003a55
call fcn.1400046a8
lea rdx, [rsp + 0x70]
mov rcx, rbx
call r12
test eax, eax
jne 0x140003947
jmp 0x140003a62
mov edi, dword [rsp + 0x78]
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140003a62
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003a5c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003a5c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400046a8
nop
lea rcx, [rbp + 0x1f8]
call fcn.140001490
mov eax, edi
mov rbx, qword [rsp + 0x300]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret