Function at 0x140015170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140032010]
xor rax, rsp
mov qword [rbp + 8], rax
mov r9, rdx
mov r15, rcx
xor edx, edx
mov cl, 0x27
call fcn.140001b40
mov byte [rsp + 0x30], al
mov edx, 1
mov cl, 0x3b
call fcn.140001b40
mov byte [rsp + 0x31], al
xor eax, eax
mov byte [rsp + 0x32], al
xor r12d, r12d
nop dword [rax + rax]
movsxd rcx, eax
lea r8, [rsp + 0x30]
add r8, rcx
lea ecx, [rax - 0x16]
xor byte [r8], cl
inc eax
cmp eax, 2
jb 0x1400151d0
mov byte [rsp + 0x32], r12b
xor edx, edx
mov cl, 0x53
call fcn.140001b40
mov byte [rsp + 0x58], al
mov edx, 1
mov cl, 0x45
call fcn.140001b40
mov byte [rsp + 0x59], al
mov edx, 2
mov cl, 0x4c
call fcn.140001b40
mov byte [rsp + 0x5a], al
mov edx, 3
mov cl, 0x45
call fcn.140001b40
mov byte [rsp + 0x5b], al
mov edx, 4
mov cl, 0x43
call fcn.140001b40
mov byte [rsp + 0x5c], al
mov edx, 5
mov cl, 0x54
call fcn.140001b40
mov byte [rsp + 0x5d], al
mov edx, 6
mov cl, 0x20
call fcn.140001b40
mov byte [rsp + 0x5e], al
mov edx, 7
mov cl, 0x65
call fcn.140001b40
mov byte [rsp + 0x5f], al
mov edx, 8
mov cl, 0x78
call fcn.140001b40
mov byte [rsp + 0x60], al
mov edx, 9
mov cl, 0x70
call fcn.140001b40
mov byte [rsp + 0x61], al
mov edx, 0xa
mov cl, 0x69
call fcn.140001b40
mov byte [rsp + 0x62], al
mov edx, 0xb
mov cl, 0x72
call fcn.140001b40
mov byte [rsp + 0x63], al
mov edx, 0xc
mov cl, 0x61
call fcn.140001b40
mov byte [rsp + 0x64], al
mov edx, 0xd
mov cl, 0x74
call fcn.140001b40
mov byte [rsp + 0x65], al
mov edx, 0xe
mov cl, 0x69
call fcn.140001b40
mov byte [rsp + 0x66], al
mov edx, 0xf
mov cl, 0x6f
call fcn.140001b40
mov byte [rsp + 0x67], al
mov edx, 0x10
mov cl, 0x6e
call fcn.140001b40
mov byte [rsp + 0x68], al
mov edx, 0x11
mov cl, 0x5f
call fcn.140001b40
mov byte [rsp + 0x69], al
mov edx, 0x12
mov cl, 0x64
call fcn.140001b40
mov byte [rsp + 0x6a], al
mov edx, 0x13
mov cl, 0x61
call fcn.140001b40
mov byte [rsp + 0x6b], al
mov edx, 0x14
mov cl, 0x74
call fcn.140001b40
mov byte [rsp + 0x6c], al
mov edx, 0x15
mov cl, 0x65
call fcn.140001b40
mov byte [rsp + 0x6d], al
mov edx, 0x16
mov cl, 0x20
call fcn.140001b40
mov byte [rsp + 0x6e], al
mov edx, 0x17
mov cl, 0x46
call fcn.140001b40
mov byte [rsp + 0x6f], al
mov edx, 0x18
mov cl, 0x52
call fcn.140001b40
mov byte [rsp + 0x70], al
mov edx, 0x19
mov cl, 0x4f
call fcn.140001b40
mov byte [rsp + 0x71], al
mov edx, 0x1a
mov cl, 0x4d
call fcn.140001b40
mov byte [rsp + 0x72], al
mov edx, 0x1b
mov cl, 0x20
call fcn.140001b40
mov byte [rsp + 0x73], al
mov edx, 0x1c
mov cl, 0x68
call fcn.140001b40
mov byte [rsp + 0x74], al
mov edx, 0x1d
mov cl, 0x77
call fcn.140001b40
mov byte [rsp + 0x75], al
mov edx, 0x1e
mov cl, 0x69
call fcn.140001b40
mov byte [rsp + 0x76], al
mov edx, 0x1f
mov cl, 0x64
call fcn.140001b40
mov byte [rsp + 0x77], al
mov edx, 0x20
mov cl, 0x5f
call fcn.140001b40
mov byte [rsp + 0x78], al
mov edx, 0x21
mov cl, 0x74
call fcn.140001b40
mov byte [rsp + 0x79], al
mov edx, 0x22
mov cl, 0x61
call fcn.140001b40
mov byte [rsp + 0x7a], al
mov edx, 0x23
mov cl, 0x62
call fcn.140001b40
mov byte [rsp + 0x7b], al
mov edx, 0x24
mov cl, 0x6c
call fcn.140001b40
mov byte [rsp + 0x7c], al
mov edx, 0x25
mov cl, 0x65
call fcn.140001b40
mov byte [rsp + 0x7d], al
mov edx, 0x26
mov cl, 0x20
call fcn.140001b40
mov byte [rsp + 0x7e], al
mov edx, 0x27
mov cl, 0x57
call fcn.140001b40
mov byte [rsp + 0x7f], al
mov edx, 0x28
mov cl, 0x48
call fcn.140001b40
mov byte [rbp - 0x80], al
mov edx, 0x29
mov cl, 0x45
call fcn.140001b40
mov byte [rbp - 0x7f], al
mov edx, 0x2a
mov cl, 0x52
call fcn.140001b40
mov byte [rbp - 0x7e], al
mov edx, 0x2b
mov cl, 0x45
call fcn.140001b40
mov byte [rbp - 0x7d], al
mov edx, 0x2c
mov cl, 0x20
call fcn.140001b40
mov byte [rbp - 0x7c], al
mov edx, 0x2d
mov cl, 0x68
call fcn.140001b40
mov byte [rbp - 0x7b], al
mov edx, 0x2e
mov cl, 0x77
call fcn.140001b40
mov byte [rbp - 0x7a], al
mov edx, 0x2f
mov cl, 0x69
call fcn.140001b40
mov byte [rbp - 0x79], al
mov edx, 0x30
mov cl, 0x64
call fcn.140001b40
mov byte [rbp - 0x78], al
mov edx, 0x31
mov cl, 0x20
call fcn.140001b40
mov byte [rbp - 0x77], al
mov edx, 0x32
mov cl, 0x3d
call fcn.140001b40
mov byte [rbp - 0x76], al
mov edx, 0x33
mov cl, 0x20
call fcn.140001b40
mov byte [rbp - 0x75], al
mov edx, 0x34
mov cl, 0x27
call fcn.140001b40
mov byte [rbp - 0x74], al
xor eax, eax
mov byte [rbp - 0x73], al
mov edx, r12d
nop word [rax + rax]
movsxd rax, edx
lea rcx, [rsp + 0x58]
add rcx, rax
lea eax, [rdx - 0x16]
xor byte [rcx], al
inc edx
cmp edx, 0x35
jb 0x140015540
mov byte [rbp - 0x73], r12b
mov r8, r9
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call fcn.1400253b0
mov r14, rax
lea rax, [rsp + 0x30]
mov rsi, 0xffffffffffffffff
mov rdi, rsi
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x140015580
mov rcx, qword [r14 + 0x10]
mov rdx, qword [r14 + 0x18]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x1400155ca
lea rax, [rcx + rdi]
mov qword [r14 + 0x10], rax
mov rax, r14
cmp rdx, 0x10
jb 0x1400155b0
mov rax, qword [r14]
lea rbx, [rax + rcx]
mov r8, rdi
lea rdx, [rsp + 0x30]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov byte [rbx + rdi], 0
jmp 0x1400155e2
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x30]
mov rdx, rdi
mov rcx, r14
call fcn.140025f90
mov r14, rax
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14001564f
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001564a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001564a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rdx, qword [rbp - 0x70]
mov rcx, r15
call qword [sym.imp.libmysql.dll_mysql_query]
test eax, eax
jne 0x1400156a4
mov rcx, r15
call qword [sym.imp.libmysql.dll_mysql_store_result]
mov rdi, rax
test rax, rax
je 0x1400156a4
mov rcx, rax
call qword [sym.imp.libmysql.dll_mysql_num_rows]
mov rcx, rdi
test eax, eax
jne 0x1400156eb
call qword [sym.imp.libmysql.dll_mysql_free_result]
mov bl, 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0x10
jb 0x1400157f0
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400157eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400157eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.libmysql.dll_mysql_fetch_row]
mov rbx, rax
mov rcx, rdi
call qword [sym.imp.libmysql.dll_mysql_free_result]
mov rdx, qword [rbx]
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
nop dword [rax + rax]
inc rsi
cmp byte [rdx + rsi], 0
jne 0x140015720
mov r8, rsi
lea rcx, [rsp + 0x58]
call fcn.14000ee90
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp], eax
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x58]
call fcn.140014e40
test al, al
jne 0x14001575d
mov bl, 1
jmp 0x1400157a2
lea rcx, [rbp - 0x50]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
mov dword [rbp - 0x28], eax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__gmtime64_s]
lea rcx, [rbp - 0x48]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
mov rbx, rax
lea rcx, [rbp - 0x20]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__mktime64]
cmp rbx, rax
setg bl
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x1400156a6
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400157e1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400157e1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400274f4
jmp 0x1400156a6
call fcn.1400274f4
movzx eax, bl
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140027490
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret