Function at 0x1800b3210
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x57]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov r14, r9
mov r12, r8
mov r15, rdx
xor edx, edx
mov edi, edx
mov dword [rbp + 0x5f], edx
mov esi, edx
movsxd r13, ecx
lea r8d, [rdx + 1]
test ecx, ecx
je 0x1800b3891
mov byte [rbp + 0x5f], 0x33
mov byte [rbp + 0x60], 0x7c
mov byte [rbp + 0x61], dl
mov al, byte [rbp + 0x5f]
mov rcx, rdx
mov al, byte [rbp + rcx + 0x5f]
sub al, 6
mov byte [rbp + rcx + 0x5f], al
add rcx, r8
cmp rcx, 2
jb 0x1800b326f
lea rdx, [rbp + 0x5f]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
mov ebx, eax
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp + 0x5f]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test ebx, ebx
jne 0x1800b32c1
lea eax, [rbx + 1]
mov byte [0x18019018b], al
mov byte [0x180196530], al
mov byte [r12], al
jmp 0x1800b339c
mov dword [rbp - 0x45], 0x6e
mov eax, dword [rbp - 0x45]
xor al, 0x2d
mov byte [rbp - 0x41], al
xor eax, eax
mov byte [rbp - 0x40], al
mov al, byte [rbp - 0x41]
mov al, byte [rbp - 0x41]
mov ecx, dword [rbp - 0x45]
xor cl, al
mov byte [rbp - 0x41], cl
mov byte [rbp - 0x40], r9b
lea rdx, [rbp - 0x41]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
mov ebx, eax
xor edx, edx
lea r8d, [rdx + 2]
lea rcx, [rbp - 0x41]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test ebx, ebx
jne 0x1800b331c
lea ecx, [rbx + 1]
mov byte [0x18019018e], cl
jmp 0x1800b3719
mov dword [rbp - 0x6d], 0x46
mov eax, dword [rbp - 0x6d]
xor al, 0x2d
mov byte [rbp - 0x69], al
mov eax, dword [rbp - 0x6d]
mov r8d, 1
add al, r8b
xor al, 0x71
mov byte [rbp - 0x68], al
xor eax, eax
mov byte [rbp - 0x67], al
mov al, byte [rbp - 0x69]
mov rdx, r9
mov al, byte [rbp + rdx - 0x69]
mov ecx, dword [rbp - 0x6d]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x69], cl
add rdx, r8
cmp rdx, 2
jb 0x1800b3347
mov byte [rbp - 0x67], r9b
lea rdx, [rbp - 0x69]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
mov ebx, eax
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x69]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test ebx, ebx
jne 0x1800b33a4
lea eax, [rbx + 1]
mov byte [0x180190182], al
mov byte [0x180196532], al
mov byte [r14], al
mov rcx, rax
jmp 0x1800b3719
mov dword [rbp - 0x65], 0x30
mov eax, dword [rbp - 0x65]
xor al, 0x2d
mov byte [rbp - 0x61], al
mov eax, dword [rbp - 0x65]
mov r8d, 1
add al, r8b
xor al, 0x66
mov byte [rbp - 0x60], al
xor eax, eax
mov byte [rbp - 0x5f], al
mov al, byte [rbp - 0x61]
or edi, r8d
mov rdx, r9
mov al, byte [rbp + rdx - 0x61]
mov ecx, dword [rbp - 0x65]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x61], cl
add rdx, r8
cmp rdx, 2
jb 0x1800b33d2
mov byte [rbp - 0x5f], r9b
lea rdx, [rbp - 0x61]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
xor r14d, r14d
test eax, eax
jne 0x1800b3425
lea rbx, [rsi + 1]
cmp rbx, r13
jae 0x1800b3425
mov rcx, qword [r15 + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
lea ecx, [r14 + 1]
cmp rax, rcx
jne 0x1800b3425
mov r14b, cl
jmp 0x1800b3429
lea rbx, [rsi + 1]
and edi, 0xfffffffe
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x61]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test r14b, r14b
je 0x1800b3459
mov rax, qword [r15 + rsi*8 + 8]
mov cl, byte [rax]
mov rax, qword [rbp + 0x7f]
mov byte [rax], cl
mov rsi, rbx
jmp 0x1800b3710
mov byte [rbp - 0x71], 0x37
mov byte [rbp - 0x70], 0x70
mov byte [rbp - 0x6f], r9b
mov al, byte [rbp - 0x71]
mov rcx, r9
mov r12d, 1
mov al, byte [rbp + rcx - 0x71]
sub al, 0xa
mov byte [rbp + rcx - 0x71], al
add rcx, r12
cmp rcx, 2
jb 0x1800b3471
mov r12, qword [rbp + 0x6f]
lea rdx, [rbp - 0x71]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
xor r14d, r14d
test eax, eax
jne 0x1800b34b9
cmp rbx, r13
jae 0x1800b34b9
mov rcx, qword [r15 + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
lea ecx, [r14 + 1]
cmp rax, rcx
jbe 0x1800b34b9
mov r14b, cl
and edi, 0xfffffffd
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x71]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test r14b, r14b
je 0x1800b34e0
mov rax, qword [rbp + 0x7f]
mov byte [rax], 0x78
jmp 0x1800b3451
mov dword [rbp - 0x5d], 0x73
mov eax, dword [rbp - 0x5d]
xor al, 0x2d
mov byte [rbp - 0x59], al
mov eax, dword [rbp - 0x5d]
mov r8d, 1
add al, r8b
xor al, 0x6c
mov byte [rbp - 0x58], al
xor eax, eax
mov byte [rbp - 0x57], al
mov al, byte [rbp - 0x59]
mov rdx, r9
mov al, byte [rbp + rdx - 0x59]
mov ecx, dword [rbp - 0x5d]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x59], cl
add rdx, r8
cmp rdx, 2
jb 0x1800b350b
mov byte [rbp - 0x57], r9b
lea rdx, [rbp - 0x59]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
xor r14d, r14d
test eax, eax
jne 0x1800b3557
cmp rbx, r13
jae 0x1800b3557
mov rcx, qword [r15 + rsi*8 + 8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strlen]
test rax, rax
je 0x1800b3557
lea ebx, [r14 + 1]
jmp 0x1800b355a
mov bl, r14b
and edi, 0xfffffffb
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x59]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor r9d, r9d
test bl, bl
je 0x1800b3710
mov rdx, qword [r15 + rsi*8 + 8]
xorps xmm0, xmm0
movups xmmword [rbp - 0x31], xmm0
mov qword [rbp - 0x21], r9
mov qword [rbp - 0x19], r9
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r9b
jne 0x1800b3590
lea rcx, [rbp - 0x31]
call fcn.18000c7ac
nop
mov r14, qword [rbp - 0x21]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
setae r12b
mov rbx, qword [rbp - 0x31]
cmovae rcx, rbx
mov r8, r14
mov eax, 1
cmp r14, rax
cmova r8, rax
lea rdx, [0x18016548c]
call sub.VCRUNTIME140.dll_memcmp
xor ecx, ecx
test eax, eax
jne 0x1800b35ef
lea eax, [rcx + 1]
cmp r14, rax
jne 0x1800b35ef
mov eax, ecx
test eax, eax
je 0x1800b36b6
lea rax, [rbp - 0x31]
test r12b, r12b
je 0x1800b35fe
lea r8, [r14 + rbx]
jmp 0x1800b3606
lea r8, [rax + r14]
lea rbx, [rbp - 0x31]
xorps xmm0, xmm0
movups xmmword [rbp - 0x11], xmm0
mov qword [rbp - 1], rcx
mov qword [rbp + 7], rcx
cmp rbx, r8
jne 0x1800b362c
mov qword [rbp + 7], 7
mov word [rbp - 0x11], cx
lea r8, [rbp - 0x11]
jmp 0x1800b364c
mov r9, r8
sub r9, rbx
mov rdx, rbx
lea rcx, [rbp - 0x11]
call fcn.18001e568
lea r8, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r8, qword [rbp - 0x11]
mov edx, 0x104
lea r9d, [rdx - 1]
lea rcx, [0x180196540]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x1800b36a2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b369d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b38af
call fcn.180157a14
xor r14d, r14d
mov qword [rbp - 1], r14
mov qword [rbp + 7], 7
mov word [rbp - 0x11], r14w
xor ecx, ecx
call fcn.1800aa040
nop
mov rdx, qword [rbp - 0x19]
cmp rdx, 0x10
jb 0x1800b36f9
inc rdx
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b36f4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800b38b6
call fcn.180157a14
xor r9d, r9d
mov qword [rbp - 0x21], r9
mov qword [rbp - 0x19], 0xf
mov byte [rbp - 0x31], r9b
mov r12, qword [rbp + 0x6f]
mov ecx, 1
mov r14, qword [rbp + 0x77]
mov dword [rbp - 0x4d], 0x55
mov eax, dword [rbp - 0x4d]
xor al, 0x2d
mov byte [rbp - 0x49], al
mov eax, dword [rbp - 0x4d]
add al, cl
xor al, 0x68
mov byte [rbp - 0x48], al
xor eax, eax
mov byte [rbp - 0x47], al
mov al, byte [rbp - 0x49]
or edi, 8
mov rdx, r9
mov r9d, 1
mov al, byte [rbp + rdx - 0x49]
mov ecx, dword [rbp - 0x4d]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x49], cl
add rdx, r9
cmp rdx, 2
jb 0x1800b3746
xor r9d, r9d
mov byte [rbp - 0x47], r9b
lea rdx, [rbp - 0x49]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
xor ebx, ebx
test eax, eax
je 0x1800b3831
mov dword [rbp - 0x3d], 0x3d
mov byte [rbp - 0x39], 0x10
mov byte [rbp - 0x38], 0x10
mov byte [rbp - 0x37], 0x55
mov byte [rbp - 0x36], 0x58
mov byte [rbp - 0x35], 0x51
mov byte [rbp - 0x34], 0x4d
xor eax, eax
mov byte [rbp - 0x33], al
mov al, byte [rbp - 0x39]
or edi, 0x10
mov edx, ebx
lea ebx, [rdx + 1]
mov al, byte [rbp + rdx - 0x39]
mov ecx, dword [rbp - 0x3d]
xor cl, al
mov byte [rbp + rdx - 0x39], cl
add rdx, rbx
cmp rdx, 6
jb 0x1800b37ac
xor ebx, ebx
mov byte [rbp - 0x33], bl
lea rdx, [rbp - 0x39]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
je 0x1800b3831
mov dword [rbp - 0x55], 0x7e
mov eax, dword [rbp - 0x55]
xor al, 0x2f
mov byte [rbp - 0x51], al
mov eax, dword [rbp - 0x55]
lea r8d, [rbx + 1]
add al, r8b
xor al, 0x3f
mov byte [rbp - 0x50], al
xor eax, eax
mov byte [rbp - 0x4f], al
mov al, byte [rbp - 0x51]
or edi, 0x20
mov edx, ebx
mov al, byte [rbp + rdx - 0x51]
mov ecx, dword [rbp - 0x55]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x51], cl
add rdx, r8
cmp rdx, 2
jb 0x1800b3804
mov byte [rbp - 0x4f], bl
lea rdx, [rbp - 0x51]
mov rcx, qword [r15 + rsi*8]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcmp]
test eax, eax
jne 0x1800b3836
mov ebx, 1
test dil, 0x20
je 0x1800b384f
and edi, 0xffffffdf
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x51]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test dil, 0x10
je 0x1800b3868
and edi, 0xffffffef
xor edx, edx
lea r8d, [rdx + 7]
lea rcx, [rbp - 0x39]
call qword [sym.imp.VCRUNTIME140.dll_memset]
and edi, 0xfffffff7
xor edx, edx
lea r8d, [rdx + 3]
lea rcx, [rbp - 0x49]
call qword [sym.imp.VCRUNTIME140.dll_memset]
xor edx, edx
test bl, bl
jne 0x1800b38bd
lea r8d, [rdx + 1]
add rsi, r8
cmp rsi, r13
jb 0x1800b325e
mov al, r8b
mov rbx, qword [rsp + 0xf8]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800aca6c
xor al, al
jmp 0x1800b3894