Function at 0x18003d6f4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x920]
sub rsp, 0xa20
mov qword [rbp + 0x98], 0xfffffffffffffffe
mov rsi, rdx
lea rcx, [rbp + 0x70]
call fcn.18003dfd8
nop
mov ecx, dword [0x180195f94]
mov rax, qword gs:[0x58]
mov edx, 4
mov r15, qword [rax + rcx*8]
or rdi, 0xffffffffffffffff
xor ebx, ebx
lea r13d, [rdi + 0xa]
mov eax, dword [r15 + rdx]
cmp dword [0x18019c510], eax
jle 0x18003d97e
lea rcx, [0x18019c510]
call fcn.180157af0
cmp dword [0x18019c510], edi
jne 0x18003d97e
lea rax, [rbp + 0x10]
mov qword [rbp + 0x978], rax
mov dword [rbp - 0x70], 0x6a
mov byte [rbp - 0x6c], 0x38
mov byte [rbp - 0x6b], 0xf
mov byte [rbp - 0x6a], 0xd
mov byte [rbp - 0x69], 0x25
mov byte [rbp - 0x68], 0x1a
mov byte [rbp - 0x67], 0xf
mov byte [rbp - 0x66], 4
mov byte [rbp - 0x65], 0x21
mov byte [rbp - 0x64], 0xf
mov byte [rbp - 0x63], 0x13
mov byte [rbp - 0x62], 0x2f
mov byte [rbp - 0x61], 0x12
mov byte [rbp - 0x60], 0x3d
xor eax, eax
mov byte [rbp - 0x5f], al
mov al, byte [rbp - 0x6c]
mov edx, ebx
mov al, byte [rbp + rdx - 0x6c]
mov ecx, dword [rbp - 0x70]
xor cl, al
mov byte [rbp + rdx - 0x6c], cl
inc rdx
cmp rdx, 0xd
jb 0x18003d7c4
mov byte [rbp - 0x5f], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rbx
lea rax, [rbp - 0x6c]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18003d7f3
lea rdx, [rbp - 0x6c]
lea rcx, [rbp + 0x10]
call fcn.18000c7ac
nop
mov dword [rsp + 0x70], 0xc
mov eax, dword [rsp + 0x70]
xor al, 0x41
mov byte [rsp + 0x74], al
mov eax, dword [rsp + 0x70]
inc al
xor al, 0x64
mov byte [rsp + 0x75], al
mov eax, dword [rsp + 0x70]
add al, 2
xor al, 0x76
mov byte [rsp + 0x76], al
mov eax, dword [rsp + 0x70]
add al, 3
xor al, 0x61
mov byte [rsp + 0x77], al
mov eax, dword [rsp + 0x70]
add al, 4
xor al, 0x70
mov byte [rsp + 0x78], al
mov eax, dword [rsp + 0x70]
add al, 5
xor al, 0x69
mov byte [rsp + 0x79], al
mov eax, dword [rsp + 0x70]
add al, 6
xor al, 0x33
mov byte [rsp + 0x7a], al
mov eax, dword [rsp + 0x70]
add al, 7
xor al, 0x32
mov byte [rsp + 0x7b], al
xor eax, eax
mov byte [rsp + 0x7c], al
mov al, byte [rsp + 0x74]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x74]
mov ecx, dword [rsp + 0x70]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x74], cl
inc rdx
cmp rdx, 8
jb 0x18003d87d
mov byte [rsp + 0x7c], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea rax, [rsp + 0x74]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18003d8b1
lea rdx, [rsp + 0x74]
lea rcx, [rbp - 0x50]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x50]
lea rcx, [rbp + 0xa0]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp + 0x10]
mov rdx, rax
lea rcx, [0x18019b2f0]
call fcn.180063048
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x18003d934
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003d92f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003d92f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], bl
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x74]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rbp - 0x6c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163110]
call fcn.1801579fc
nop
lea rcx, [0x18019c510]
call fcn.180157a84
lea r8, [rbp + 0x78]
cmp qword [rbp + 0x90], 8
cmovae r8, qword [rbp + 0x78]
lea rax, [rbp + 0x970]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov rdx, qword [rbp + 0x70]
lea rcx, [0x18019b2f0]
call fcn.18003d658
test eax, eax
je 0x18003d9d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdx, rsi
lea rcx, [rbp + 0xc0]
call fcn.18000be28
mov rcx, rax
call fcn.18000bd8c
jmp 0x18003dfba
mov r14d, ebx
mov dword [rbp + 0x960], 0x400
mov eax, 4
mov eax, dword [r15 + rax]
cmp dword [0x18019bbf0], eax
jle 0x18003dc74
lea rcx, [0x18019bbf0]
call fcn.180157af0
cmp dword [0x18019bbf0], edi
jne 0x18003dc74
lea rax, [rbp + 0x30]
mov qword [rbp + 0x978], rax
mov dword [rsp + 0x50], 0x43
mov eax, dword [rsp + 0x50]
xor al, 0x52
mov byte [rsp + 0x54], al
mov eax, dword [rsp + 0x50]
inc al
xor al, 0x65
mov byte [rsp + 0x55], al
mov eax, dword [rsp + 0x50]
add al, 2
xor al, 0x67
mov byte [rsp + 0x56], al
mov eax, dword [rsp + 0x50]
add al, 3
xor al, 0x45
mov byte [rsp + 0x57], al
mov eax, dword [rsp + 0x50]
add al, 4
xor al, 0x6e
mov byte [rsp + 0x58], al
mov eax, dword [rsp + 0x50]
add al, 5
xor al, 0x75
mov byte [rsp + 0x59], al
mov eax, dword [rsp + 0x50]
add al, 6
xor al, 0x6d
mov byte [rsp + 0x5a], al
mov eax, dword [rsp + 0x50]
add al, 7
xor al, 0x4b
mov byte [rsp + 0x5b], al
mov eax, dword [rsp + 0x50]
add al, 8
xor al, 0x65
mov byte [rsp + 0x5c], al
mov eax, dword [rsp + 0x50]
add al, r13b
xor al, 0x79
mov byte [rsp + 0x5d], al
mov eax, dword [rsp + 0x50]
add al, 0xa
xor al, 0x45
mov byte [rsp + 0x5e], al
mov eax, dword [rsp + 0x50]
add al, 0xb
xor al, 0x78
mov byte [rsp + 0x5f], al
mov eax, dword [rsp + 0x50]
add al, 0xc
xor al, 0x57
mov byte [rsp + 0x60], al
xor eax, eax
mov byte [rsp + 0x61], al
mov al, byte [rsp + 0x54]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x54]
mov ecx, dword [rsp + 0x50]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x54], cl
inc rdx
cmp rdx, 0xd
jb 0x18003dacb
mov byte [rsp + 0x61], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rbx
mov qword [rbp + 0x48], rbx
lea rax, [rsp + 0x54]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18003daff
lea rdx, [rsp + 0x54]
lea rcx, [rbp + 0x30]
call fcn.18000c7ac
nop
mov dword [rbp - 0x80], 0x67
mov eax, dword [rbp - 0x80]
xor al, 0x41
mov byte [rbp - 0x7c], al
mov eax, dword [rbp - 0x80]
inc al
xor al, 0x64
mov byte [rbp - 0x7b], al
mov eax, dword [rbp - 0x80]
add al, 2
xor al, 0x76
mov byte [rbp - 0x7a], al
mov eax, dword [rbp - 0x80]
add al, 3
xor al, 0x61
mov byte [rbp - 0x79], al
mov eax, dword [rbp - 0x80]
add al, 4
xor al, 0x70
mov byte [rbp - 0x78], al
mov eax, dword [rbp - 0x80]
add al, 5
xor al, 0x69
mov byte [rbp - 0x77], al
mov eax, dword [rbp - 0x80]
add al, 6
xor al, 0x33
mov byte [rbp - 0x76], al
mov eax, dword [rbp - 0x80]
add al, 7
xor al, 0x32
mov byte [rbp - 0x75], al
xor eax, eax
mov byte [rbp - 0x74], al
mov al, byte [rbp - 0x7c]
mov rdx, rbx
mov al, byte [rbp + rdx - 0x7c]
mov ecx, dword [rbp - 0x80]
add cl, dl
xor cl, al
mov byte [rbp + rdx - 0x7c], cl
inc rdx
cmp rdx, 8
jb 0x18003db77
mov byte [rbp - 0x74], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x20], xmm1
lea rax, [rbp - 0x7c]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18003dba8
lea rdx, [rbp - 0x7c]
lea rcx, [rbp - 0x30]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0xe0]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp + 0x30]
mov rdx, rax
lea rcx, [0x18019c280]
call fcn.180061dbc
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x18003dc2a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003dc25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003dc25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x30], bl
mov r8, r13
xor edx, edx
lea rcx, [rbp - 0x7c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xe]
lea rcx, [rsp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x180163104]
call fcn.1801579fc
nop
lea rcx, [0x18019bbf0]
call fcn.180157a84
lea r13, [0x18019c290]
mov rsi, qword [rbp + 0x970]
mov rcx, r13
cmp qword [0x18019c2a8], 0x10
cmovae rcx, qword [0x18019c290]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003dccb
mov rcx, r13
cmp qword [0x18019c2a8], 0x10
cmovae rcx, qword [0x18019c290]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18019c288], rax
mov r8, rax
mov rdx, r13
call fcn.1800150f8
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp + 0x960]
lea r8, [rbp + 0x120]
mov edx, r14d
mov rcx, rsi
call qword [0x18019c280]
test eax, eax
jne 0x18003dd0f
mov dword [rbp + 0x960], 0x400
inc r14d
jmp 0x18003dc7b
mov eax, 4
mov eax, dword [r15 + rax]
cmp dword [0x18019b718], eax
jle 0x18003df57
lea rcx, [0x18019b718]
call fcn.180157af0
cmp dword [0x18019b718], edi
jne 0x18003df57
lea rax, [rbp + 0x50]
mov qword [rbp + 0x978], rax
mov dword [rsp + 0x40], 0x3f
mov eax, dword [rsp + 0x40]
xor al, 0x52
mov byte [rsp + 0x44], al
mov eax, dword [rsp + 0x40]
inc al
mov cl, 0x65
xor al, cl
mov byte [rsp + 0x45], al
mov eax, dword [rsp + 0x40]
add al, 2
xor al, 0x67
mov byte [rsp + 0x46], al
mov eax, dword [rsp + 0x40]
add al, 3
xor al, 0x43
mov byte [rsp + 0x47], al
mov eax, dword [rsp + 0x40]
add al, 4
xor al, 0x6c
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x40]
add al, 5
xor al, 0x6f
mov byte [rsp + 0x49], al
mov eax, dword [rsp + 0x40]
add al, 6
xor al, 0x73
mov byte [rsp + 0x4a], al
mov eax, dword [rsp + 0x40]
add al, 7
xor al, cl
mov byte [rsp + 0x4b], al
mov eax, dword [rsp + 0x40]
add al, 8
xor al, 0x4b
mov byte [rsp + 0x4c], al
mov eax, dword [rsp + 0x40]
add al, 9
xor al, cl
mov byte [rsp + 0x4d], al
mov eax, dword [rsp + 0x40]
add al, 0xa
xor al, 0x79
mov byte [rsp + 0x4e], al
xor eax, eax
mov byte [rsp + 0x4f], al
mov al, byte [rsp + 0x44]
mov rdx, rbx
mov al, byte [rsp + rdx + 0x44]
mov ecx, dword [rsp + 0x40]
add cl, dl
xor cl, al
mov byte [rsp + rdx + 0x44], cl
inc rdx
cmp rdx, 0xb
jb 0x18003dde0
mov byte [rsp + 0x4f], bl
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], rbx
mov qword [rbp + 0x68], rbx
lea rax, [rsp + 0x44]
mov r8, rdi
inc r8
cmp byte [rax + r8], bl
jne 0x18003de14
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x50]
call fcn.18000c7ac
nop
mov byte [rsp + 0x64], 0x4e
mov byte [rsp + 0x65], 0x71
mov byte [rsp + 0x66], 0x83
mov byte [rsp + 0x67], 0x6e
mov byte [rsp + 0x68], 0x7d
mov byte [rsp + 0x69], 0x76
mov byte [rsp + 0x6a], 0x40
mov byte [rsp + 0x6b], 0x3f
mov byte [rsp + 0x6c], bl
mov al, byte [rsp + 0x64]
mov rcx, rbx
mov al, byte [rsp + rcx + 0x64]
sub al, 0xd
mov byte [rsp + rcx + 0x64], al
inc rcx
cmp rcx, 8
jb 0x18003de5f
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rax, [rsp + 0x64]
inc rdi
cmp byte [rax + rdi], bl
jne 0x18003de86
mov r8, rdi
lea rdx, [rsp + 0x64]
lea rcx, [rbp - 0x10]
call fcn.18000c7ac
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x100]
call fcn.1800ceb58
nop
mov qword [rsp + 0x20], rbx
mov r9b, 1
lea r8, [rbp + 0x50]
mov rdx, rax
lea rcx, [0x18019b490]
call fcn.180062408
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x18003df0b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003df06
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003df06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180157a14
movdqa xmm0, xmmword [0x180165930]
movdqu xmmword [rbp], xmm0
mov byte [rbp - 0x10], bl
xor edx, edx
lea r8d, [rdx + 9]
lea rcx, [rsp + 0x64]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xc]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rcx, [0x1801630f8]
call fcn.1801579fc
nop
lea rcx, [0x18019b718]
call fcn.180157a84
mov rdi, qword [rbp + 0x970]
lea rsi, [0x18019b4a0]
mov rcx, rsi
cmp qword [0x18019b4b8], 0x10
cmovae rcx, qword [0x18019b4a0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
jne 0x18003dfae
mov rcx, rsi
cmp qword [0x18019b4b8], 0x10
cmovae rcx, qword [0x18019b4a0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x18019b498], rax
mov r8, rax
mov rdx, rsi
call fcn.1800150f8
mov rcx, rdi
call qword [0x18019b490]
mov ebx, r14d
lea rcx, [rbp + 0x78]
call fcn.18000bd8c
mov eax, ebx
add rsp, 0xa20
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbx
pop rbp
ret