Function at 0x140007290
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x90
lea rbx, [rsp + 0x80]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], 0
mov word [rsp + 0x80], 0
lea r14, [rsp + 0x60]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0
mov word [rsp + 0x60], 0
xor edi, edi
nop word [rax + rax]
mov ecx, 0x22dc4
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x2d608f39
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x2a
add ecx, edx
imul ecx, ecx, 0x1691
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x1c4
jne 0x1400072f0
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x6f7
jne 0x1400072e0
xor edi, edi
nop dword [rax]
mov ecx, 0x1efec
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0xffffffffae2e9b79
shr rcx, 0x20
add ecx, eax
mov edx, ecx
shr edx, 0x1f
sar ecx, 0xc
add ecx, edx
imul ecx, ecx, 0x1784
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0xf6
jne 0x140007350
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x411
jne 0x140007340
xor edi, edi
nop
mov ecx, 0x19db0
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x3d209039
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x2b
add ecx, edx
imul ecx, ecx, 0x2181
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x1c5
jne 0x1400073b0
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x5f3
jne 0x1400073a0
xor edi, edi
nop dword [rax]
mov ecx, 0xa3fc
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0xffffffff91553101
shr rcx, 0x20
add ecx, eax
mov edx, ecx
shr edx, 0x1f
sar ecx, 0xd
add ecx, edx
imul ecx, ecx, 0x385e
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x1a7
jne 0x140007410
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x488
jne 0x140007400
xor edi, edi
nop
mov ecx, 0x11f78
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0xffffffff8ed1a02f
shr rcx, 0x20
add ecx, eax
mov edx, ecx
shr edx, 0x1f
sar ecx, 0xd
add ecx, edx
imul ecx, ecx, 0x395c
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x139
jne 0x140007470
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x46f
jne 0x140007460
xor edi, edi
nop
mov ecx, 0xd074
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x53eb6e0b
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x2c
add ecx, edx
imul ecx, ecx, 0x30cf
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0xc8
jne 0x1400074d0
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x5a0
jne 0x1400074c0
xor edi, edi
nop dword [rax]
mov ecx, 0x140d0
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x29fbbc6f
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x2b
add ecx, edx
imul ecx, ecx, 0x30c8
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x94
jne 0x140007530
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x6ae
jne 0x140007520
xor edi, edi
nop dword [rax]
mov ecx, 0x241f8
call sym.operator_new___unsigned_long_long_
mov rsi, rax
xor r15d, r15d
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
cdqe
imul rcx, rax, 0x3c76ebe5
mov rdx, rcx
shr rdx, 0x3f
sar rcx, 0x2b
add ecx, edx
imul ecx, ecx, 0x21df
sub eax, ecx
mov dword [rsi + r15*4], eax
call sub.api_ms_win_crt_utility_l1_1_0.dll_rand
inc r15
cmp r15, 0x1cf
jne 0x140007590
mov rcx, rsi
call sym.operator_delete_void_
inc edi
cmp edi, 0x502
jne 0x140007580
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x50]
call fcn.140003980
test eax, eax
je 0x140007874
mov dword [rsp + 0x20], 0x3a0009
cmp word [rsp + 0x22], 0
je 0x140007621
xor eax, eax
nop word cs:[rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x20], cx
inc rax
cmp rax, 1
je 0x140007610
mov rdi, qword [rsp + 0x58]
lea rsi, [rsp + 0x20]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rdi, rax
jne 0x140007689
mov rax, qword [rsp + 0x50]
cmp rax, rsi
sete cl
test rdi, rdi
je 0x14000787b
test cl, cl
jne 0x14000787b
test rax, rax
je 0x140007689
lea rcx, [rdi - 1]
xor edx, edx
nop
movzx r8d, word [rax + rdx*2]
movzx r9d, word [rsp + rdx*2 + 0x20]
cmp r8w, r9w
jne 0x14000767d
lea r10, [rdx + 1]
cmp rcx, rdx
mov rdx, r10
jne 0x140007660
xor esi, esi
cmp r8w, r9w
je 0x14000787d
movabs rax, 0x3c000300080008
mov qword [rsp + 0x20], rax
cmp word [rsp + 0x26], 0
je 0x1400076c1
xor eax, eax
nop word cs:[rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x20], cx
inc rax
cmp rax, 4
jne 0x1400076b0
lea rsi, [rsp + 0x20]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rdi, rax
jne 0x140007729
mov rax, qword [rsp + 0x50]
cmp rax, rsi
sete cl
test rdi, rdi
je 0x14000787b
test cl, cl
jne 0x14000787b
test rax, rax
je 0x140007729
lea rcx, [rdi - 1]
xor edx, edx
nop word [rax + rax]
movzx r8d, word [rax + rdx*2]
movzx r9d, word [rsp + rdx*2 + 0x20]
cmp r8w, r9w
jne 0x14000771d
lea r10, [rdx + 1]
cmp rcx, rdx
mov rdx, r10
jne 0x140007700
xor esi, esi
cmp r8w, r9w
je 0x14000787d
mov word [rsp + 0x24], 0x3b
mov dword [rsp + 0x20], 0xc0008
xor eax, eax
test al, al
jne 0x140007751
xor eax, eax
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x20], cx
inc rax
cmp rax, 3
jne 0x140007740
lea rsi, [rsp + 0x20]
mov rcx, rsi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp rdi, rax
jne 0x1400077b8
mov rax, qword [rsp + 0x50]
cmp rax, rsi
sete cl
test rdi, rdi
je 0x14000787b
test cl, cl
jne 0x14000787b
test rax, rax
je 0x1400077b8
dec rdi
xor ecx, ecx
nop dword [rax]
movzx edx, word [rax + rcx*2]
movzx r8d, word [rsp + rcx*2 + 0x20]
cmp dx, r8w
jne 0x1400077ac
lea r9, [rcx + 1]
cmp rdi, rcx
mov rcx, r9
jne 0x140007790
xor esi, esi
cmp dx, r8w
je 0x14000787d
mov r15, qword [rsp + 0x78]
xor esi, esi
cmp r15, 8
je 0x14000787d
movups xmm0, xmmword [0x14012eb9e]
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [0x14012eb8e]
movaps xmmword [rsp + 0x30], xmm0
movups xmm0, xmmword [0x14012eb7e]
movaps xmmword [rsp + 0x20], xmm0
cmp word [rsp + 0x4e], 0
je 0x140007811
xor eax, eax
nop word [rax + rax]
lea ecx, [rax + 0x39]
xor word [rsp + rax*2 + 0x20], cx
inc rax
cmp rax, 0x18
jne 0x140007800
lea rdi, [rsp + 0x20]
mov rcx, rdi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
cmp r15, rax
jne 0x140007874
mov rax, qword [rsp + 0x70]
cmp rax, rdi
sete cl
test r15, r15
je 0x14000787d
test cl, cl
jne 0x14000787d
test rax, rax
je 0x140007874
dec r15
xor ecx, ecx
nop word cs:[rax + rax]
movzx edx, word [rax + rcx*2]
movzx r8d, word [rsp + rcx*2 + 0x20]
cmp dx, r8w
jne 0x14000786c
lea r9, [rcx + 1]
cmp r15, rcx
mov rcx, r9
jne 0x140007850
xor esi, esi
cmp dx, r8w
je 0x14000787d
mov esi, 1
jmp 0x14000787d
xor esi, esi
mov rcx, qword [rsp + 0x50]
cmp rcx, r14
je 0x14000788c
call sym.operator_delete_void_
mov rcx, qword [rsp + 0x70]
cmp rcx, rbx
je 0x14000789b
call sym.operator_delete_void_
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret