Function at 0x180199074
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d8]
sub rsp, 0x2d8
mov qword [rbp + 0x120], 0xfffffffffffffffe
xor r15d, r15d
mov esi, r15d
mov dword [rbp + 0x220], r15d
lea edx, [r15 + 0x6f]
mov word [rbp - 0x48], dx
lea ecx, [rdx + 0x13]
mov word [rbp - 0x46], cx
lea eax, [rdx + 0xb]
mov word [rbp - 0x44], ax
lea eax, [rdx + 7]
mov word [rbp - 0x42], ax
lea ebx, [rdx + 0xa]
mov word [rbp - 0x40], bx
lea eax, [rdx + 0xd]
mov word [rbp - 0x3e], ax
mov word [rbp - 0x3c], dx
mov word [rbp - 0x3a], ax
lea eax, [rdx - 0x37]
mov word [rbp - 0x38], ax
mov word [rbp - 0x36], dx
mov word [rbp - 0x34], cx
mov word [rbp - 0x32], dx
mov word [rbp - 0x30], r15w
movzx eax, word [rbp - 0x48]
mov ecx, r15d
lea edx, [rbx - 0x6f]
lea r12d, [r15 + 1]
lea r8d, [r15 + 0xc]
movzx eax, word [rbp + rcx*2 - 0x48]
sub ax, dx
mov word [rbp + rcx*2 - 0x48], ax
add rcx, r12
cmp rcx, r8
jb 0x180199105
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xd0], xmm1
lea rax, [rbp - 0x48]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r15w
jne 0x180199137
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0xc0]
call fcn.18007b5dc
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0xc0]
call fcn.180195afc
mov edi, eax
mov r14d, 0x27
lea r8d, [r14 - 8]
mov rdx, qword [rbp + 0xd8]
lea r13d, [r14 - 0x1f]
cmp rdx, r13
jb 0x1801991b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xc0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1801991b4
add rdx, r14
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, r8
jbe 0x1801991b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280dd0]
movdqu xmmword [rbp + 0xd0], xmm0
mov word [rbp + 0xc0], r15w
xor edx, edx
lea r8d, [rdx + 0x1a]
lea rcx, [rbp - 0x48]
call qword [sym.imp.VCRUNTIME140.dll_memset]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, eax
lea rcx, [rbp + 0xe0]
call fcn.180194c54
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r15
mov eax, 7
mov qword [rbp - 0x10], rax
mov word [rbp - 0x28], r15w
lea r10d, [rax + 0x70]
cmp edi, 0xffffffff
je 0x1801996d3
mov edx, edi
lea rcx, [rbp + 0x128]
call fcn.180194c54
mov rbx, rax
lea rax, [rbp - 0x28]
mov ecx, 0x20
cmp rax, rbx
je 0x1801992b2
mov rdx, qword [rbp - 0x10]
cmp rdx, r13
jb 0x180199281
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199277
add rdx, r14
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180199277
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov ecx, 0x20
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 7
mov word [rbp - 0x28], r15w
mov r8, rcx
mov rdx, rbx
lea rcx, [rbp - 0x28]
call qword [sym.imp.VCRUNTIME140.dll_memcpy]
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
lea rcx, [rbp + 0x128]
call fcn.18007a444
mov r9, qword [rbp + 0xf0]
lea rcx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], r13
cmovae rcx, qword [rbp + 0xe0]
mov r10, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], r13
cmovae r8, qword [rbp - 0x28]
mov rdx, r10
cmp r9, r10
cmovb rdx, r9
test rdx, rdx
je 0x180199311
sub r8, rcx
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x180199318
add rcx, 2
sub rdx, r12
jne 0x1801992fe
cmp r10, r9
jb 0x180199318
jbe 0x180199394
mov eax, 0x10
mov dword [rbp - 0x58], eax
mov eax, 0x58
mov word [rbp - 0x54], ax
mov eax, 0x79
mov word [rbp - 0x52], ax
mov eax, 0x77
mov word [rbp - 0x50], ax
mov eax, 0x78
mov word [rbp - 0x4e], ax
xor eax, eax
mov word [rbp - 0x4c], ax
movzx eax, word [rbp - 0x54]
mov esi, r12d
mov rdx, r15
mov r13d, 4
movzx eax, word [rbp + rdx*2 - 0x54]
mov ecx, dword [rbp - 0x58]
xor cx, ax
mov word [rbp + rdx*2 - 0x54], cx
add rdx, r12
cmp rdx, r13
jb 0x18019935a
mov word [rbp - 0x4c], r15w
lea rdx, [rbp - 0x54]
lea rcx, [rbp + 0xe0]
call fcn.18016ac80
test eax, eax
mov r13d, 8
mov bl, r15b
jne 0x180199397
mov bl, r12b
test r12b, sil
je 0x1801993ac
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
test bl, bl
je 0x1801996ca
mov r8d, 0x72
mov dword [rsp + 0x40], r8d
mov eax, dword [rsp + 0x40]
xor ax, 0x5b
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0x40]
add ax, r12w
lea ecx, [r8 - 0x44]
xor ax, cx
mov word [rsp + 0x46], ax
mov eax, dword [rsp + 0x40]
add ax, 2
xor ax, 0x5d
mov word [rsp + 0x48], ax
mov eax, dword [rsp + 0x40]
add ax, 3
lea ebx, [rcx - 0xe]
xor ax, bx
mov word [rsp + 0x4a], ax
mov eax, dword [rsp + 0x40]
add ax, 4
xor ax, 0x57
mov word [rsp + 0x4c], ax
mov eax, dword [rsp + 0x40]
add ax, 5
xor ax, 0x69
mov word [rsp + 0x4e], ax
mov eax, dword [rsp + 0x40]
add ax, 6
lea r10d, [r8 - 6]
xor ax, r10w
mov word [rsp + 0x50], ax
mov eax, dword [rsp + 0x40]
lea esi, [rcx - 0x27]
add ax, si
xor ax, r10w
mov word [rsp + 0x52], ax
mov eax, dword [rsp + 0x40]
add ax, r13w
xor ax, bx
mov word [rsp + 0x54], ax
mov eax, dword [rsp + 0x40]
add ax, 9
xor ax, 0x69
mov word [rsp + 0x56], ax
mov eax, dword [rsp + 0x40]
add ax, 0xa
lea edx, [rcx + 0x40]
xor ax, dx
mov word [rsp + 0x58], ax
mov eax, dword [rsp + 0x40]
add ax, 0xb
xor ax, 0x6a
mov word [rsp + 0x5a], ax
mov eax, dword [rsp + 0x40]
add ax, 0xc
mov r11w, 0x65
xor ax, r11w
mov word [rsp + 0x5c], ax
mov eax, dword [rsp + 0x40]
add ax, 0xd
xor ax, 0x63
mov word [rsp + 0x5e], ax
mov eax, dword [rsp + 0x40]
add ax, 0xe
lea r9d, [r8 + 2]
xor ax, r9w
mov word [rsp + 0x60], ax
mov eax, dword [rsp + 0x40]
add ax, 0xf
xor ax, bx
mov word [rsp + 0x62], ax
mov eax, dword [rsp + 0x40]
add ax, 0x10
xor ax, 0x69
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x40]
add ax, 0x11
xor ax, dx
mov word [rsp + 0x66], ax
mov eax, dword [rsp + 0x40]
add ax, 0x12
xor ax, r9w
mov word [rsp + 0x68], ax
mov eax, dword [rsp + 0x40]
add ax, 0x13
lea edx, [rcx + 0x41]
xor ax, dx
mov word [rsp + 0x6a], ax
mov eax, dword [rsp + 0x40]
add ax, 0x14
xor ax, bx
mov word [rsp + 0x6c], ax
mov eax, dword [rsp + 0x40]
add ax, 0x15
xor ax, r11w
mov word [rsp + 0x6e], ax
mov eax, dword [rsp + 0x40]
add ax, 0x16
lea r9d, [r8 + 6]
xor ax, r9w
mov word [rsp + 0x70], ax
mov eax, dword [rsp + 0x40]
add ax, 0x17
xor ax, 0x70
mov word [rsp + 0x72], ax
mov eax, dword [rsp + 0x40]
add ax, 0x18
xor ax, r10w
mov word [rsp + 0x74], ax
mov eax, dword [rsp + 0x40]
add ax, 0x19
xor ax, dx
mov word [rsp + 0x76], ax
mov eax, dword [rsp + 0x40]
add ax, 0x1a
xor ax, r8w
mov word [rsp + 0x78], ax
mov eax, dword [rsp + 0x40]
add ax, 0x1b
xor ax, r11w
mov word [rsp + 0x7a], ax
mov eax, dword [rsp + 0x40]
add ax, 0x1c
xor ax, r8w
mov word [rsp + 0x7c], ax
mov eax, dword [rsp + 0x40]
add ax, 0x1d
xor ax, cx
mov word [rsp + 0x7e], ax
mov eax, dword [rsp + 0x40]
add ax, 0x1e
xor ax, r11w
mov word [rbp - 0x80], ax
mov eax, dword [rsp + 0x40]
lea ebx, [rcx - 0xf]
add ax, bx
xor ax, r9w
mov word [rbp - 0x7e], ax
mov eax, dword [rsp + 0x40]
lea r9d, [r8 - 0x52]
add ax, r9w
xor ax, r11w
mov word [rbp - 0x7c], ax
mov eax, dword [rsp + 0x40]
add ax, 0x21
xor ax, cx
mov word [rbp - 0x7a], ax
mov eax, dword [rsp + 0x40]
add ax, 0x22
xor ax, r9w
mov word [rbp - 0x78], ax
mov eax, dword [rsp + 0x40]
add ax, 0x23
xor ax, 0x50
mov word [rbp - 0x76], ax
mov eax, dword [rsp + 0x40]
add ax, 0x24
xor ax, 0x49
mov word [rbp - 0x74], ax
mov eax, dword [rsp + 0x40]
add ax, 0x25
xor ax, 0x44
mov word [rbp - 0x72], ax
mov eax, dword [rsp + 0x40]
add ax, 0x26
xor ax, 0x3a
mov word [rbp - 0x70], ax
mov eax, dword [rsp + 0x40]
add ax, r14w
xor ax, r9w
mov word [rbp - 0x6e], ax
xor eax, eax
mov word [rbp - 0x6c], ax
movzx eax, word [rsp + 0x44]
mov rdx, r15
lea r8d, [rcx - 6]
movzx eax, word [rsp + rdx*2 + 0x44]
mov ecx, dword [rsp + 0x40]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x44], cx
add rdx, r12
cmp rdx, r8
jb 0x180199686
mov word [rbp - 0x6c], r15w
mov edx, edi
lea rcx, [rsp + 0x44]
call fcn.18009550c
nop
xor edx, edx
lea r8d, [rdx + 0x52]
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
jmp 0x180199b4b
mov ebx, 0x79
lea r10d, [rbx - 2]
mov ecx, 0x2e
mov word [rbp - 8], cx
mov ecx, 0x25
mov word [rbp - 6], cx
lea r8d, [rcx + 0x4d]
mov word [rbp - 4], r8w
lea edx, [rcx + 0x49]
mov word [rbp - 2], dx
lea esi, [rcx + 0x53]
mov word [rbp], si
mov word [rbp + 2], r8w
lea r11d, [rcx + 0x41]
mov word [rbp + 4], r11w
mov word [rbp + 6], bx
lea r8d, [rcx + 0x43]
mov word [rbp + 8], r8w
lea eax, [rcx + 0x48]
mov word [rbp + 0xa], ax
mov word [rbp + 0xc], cx
lea r9d, [rcx + 0x4f]
mov word [rbp + 0xe], r9w
mov word [rbp + 0x10], r10w
mov word [rbp + 0x12], cx
lea eax, [rcx + 0x4e]
mov word [rbp + 0x14], ax
mov word [rbp + 0x16], r9w
mov word [rbp + 0x18], cx
mov word [rbp + 0x1a], r10w
lea r9d, [rcx + 0x55]
mov word [rbp + 0x1c], r9w
mov word [rbp + 0x1e], ax
mov word [rbp + 0x20], ax
mov word [rbp + 0x22], dx
mov word [rbp + 0x24], ax
lea r10d, [rcx + 0x47]
mov word [rbp + 0x26], r10w
mov word [rbp + 0x28], cx
mov word [rbp + 0x2a], dx
mov word [rbp + 0x2c], ax
mov word [rbp + 0x2e], si
mov word [rbp + 0x30], bx
mov word [rbp + 0x32], r11w
mov word [rbp + 0x34], ax
mov word [rbp + 0x36], r8w
lea r9d, [rcx + 0x45]
mov word [rbp + 0x38], r9w
lea eax, [rcx + 0x1a]
mov word [rbp + 0x3a], ax
mov word [rbp + 0x3c], cx
mov word [rbp + 0x3e], r15w
movzx eax, word [rbp - 8]
mov rcx, r15
lea edx, [rsi - 0x55]
movzx eax, word [rbp + rcx*2 - 8]
sub ax, 5
mov word [rbp + rcx*2 - 8], ax
add rcx, r12
cmp rcx, rdx
jb 0x1801997b0
lea rax, [rbp + 0x148]
mov qword [rbp + 0x228], rax
lea rdx, [rbp + 0xe0]
lea rcx, [rbp + 0x148]
call fcn.18007a534
mov rsi, rax
mov qword [rbp + 0x230], rax
mov r8d, 0x28
mov word [rbp - 0x68], r8w
lea eax, [r8 + 1]
mov word [rbp - 0x66], ax
lea eax, [r8 + 0x1d]
mov word [rbp - 0x64], ax
mov word [rbp - 0x62], r8w
mov word [rbp - 0x60], r15w
movzx eax, word [rbp - 0x68]
mov rcx, r15
lea ebx, [r8 - 0x24]
movzx eax, word [rbp + rcx*2 - 0x68]
sub ax, r13w
mov word [rbp + rcx*2 - 0x68], ax
add rcx, r12
cmp rcx, rbx
jb 0x180199821
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x168]
call fcn.18007a534
mov r14, rax
mov qword [rbp + 0x228], rax
mov dword [rbp + 0x40], 0x5f
mov word [rbp + 0x44], bx
mov eax, 0x7e
mov word [rbp + 0x46], ax
mov eax, 2
mov word [rbp + 0x48], ax
lea ebx, [rax + 0x7d]
mov word [rbp + 0x4a], bx
lea edx, [rax + 0x1a]
mov word [rbp + 0x4c], dx
lea eax, [rbx - 0x41]
mov word [rbp + 0x4e], ax
lea r10d, [rbx - 0x4e]
mov word [rbp + 0x50], r10w
mov word [rbp + 0x52], r10w
lea edx, [rbx - 0x4f]
mov word [rbp + 0x54], dx
lea r11d, [rbx - 0x54]
mov word [rbp + 0x56], r11w
mov word [rbp + 0x58], bx
lea r9d, [rbx - 0x49]
mov word [rbp + 0x5a], r9w
mov word [rbp + 0x5c], r10w
lea eax, [rbx - 0x4a]
mov word [rbp + 0x5e], ax
lea r8d, [rbx - 0x45]
mov word [rbp + 0x60], r8w
lea eax, [rbx - 0x43]
mov word [rbp + 0x62], ax
mov word [rbp + 0x64], r11w
mov word [rbp + 0x66], bx
mov word [rbp + 0x68], r9w
mov word [rbp + 0x6a], r10w
mov word [rbp + 0x6c], r11w
mov word [rbp + 0x6e], dx
mov word [rbp + 0x70], bx
mov word [rbp + 0x72], r8w
lea eax, [rbx - 0x58]
mov word [rbp + 0x74], ax
lea eax, [rbx - 0x50]
mov word [rbp + 0x76], ax
lea eax, [rbx - 0x4c]
mov word [rbp + 0x78], ax
mov word [rbp + 0x7a], dx
lea ecx, [rbx - 0x52]
mov word [rbp + 0x7c], cx
mov word [rbp + 0x7e], r8w
mov word [rbp + 0x80], cx
lea eax, [rbx - 0xe]
mov word [rbp + 0x82], ax
mov word [rbp + 0x84], bx
lea eax, [rbx - 0x65]
mov word [rbp + 0x86], ax
mov word [rbp + 0x88], r9w
mov word [rbp + 0x8a], r11w
lea eax, [rbx - 0x48]
mov word [rbp + 0x8c], ax
mov word [rbp + 0x8e], r8w
mov word [rbp + 0x90], cx
mov word [rbp + 0x92], bx
lea eax, [rbx - 0x44]
mov word [rbp + 0x94], ax
lea eax, [rbx - 0x55]
mov word [rbp + 0x96], ax
mov word [rbp + 0x98], r8w
mov word [rbp + 0x9a], bx
mov word [rbp + 0x9c], r11w
mov word [rbp + 0x9e], dx
mov word [rbp + 0xa0], bx
mov word [rbp + 0xa2], r9w
mov word [rbp + 0xa4], r10w
mov word [rbp + 0xa6], r11w
mov word [rbp + 0xa8], r8w
lea eax, [rbx - 0x47]
mov word [rbp + 0xaa], ax
mov word [rbp + 0xac], cx
mov word [rbp + 0xae], r9w
mov word [rbp + 0xb0], r11w
lea ecx, [rbx - 0x59]
mov word [rbp + 0xb2], cx
mov word [rbp + 0xb4], bx
lea eax, [rbx - 8]
mov word [rbp + 0xb6], ax
xor eax, eax
mov word [rbp + 0xb8], ax
movzx eax, word [rbp + 0x44]
mov rdx, r15
movzx eax, word [rbp + rdx*2 + 0x44]
mov ecx, dword [rbp + 0x40]
xor cx, ax
mov word [rbp + rdx*2 + 0x44], cx
add rdx, r12
cmp rdx, r8
jb 0x180199a0b
mov word [rbp + 0xb8], r15w
lea rax, [rbp + 0x188]
mov qword [rbp + 0x238], rax
mov rdx, rsi
lea rcx, [rbp + 0x188]
call fcn.18007a534
mov rbx, rax
mov rdx, r14
lea rcx, [rbp + 0x1a8]
call fcn.18007a534
nop
mov dword [rsp + 0x30], edi
lea rcx, [rbp - 8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x68]
mov r8, rax
lea rdx, [rbp + 0x44]
lea rcx, [rbp + 0x100]
call fcn.18020106c
nop
lea rdx, [rbp + 0x100]
xor ecx, ecx
call fcn.18014e37c
nop
mov rdx, qword [rbp + 0x118]
mov eax, 0x10
cmp rdx, rax
jb 0x180199ae1
inc rdx
mov rcx, qword [rbp + 0x100]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199adc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
mov r8d, 0x1f
cmp rax, r8
jbe 0x180199adc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
movdqa xmm0, xmmword [0x180280de0]
movdqu xmmword [rbp + 0x110], xmm0
mov byte [rbp + 0x100], r15b
mov rcx, r14
call fcn.18007a444
nop
mov rcx, rsi
call fcn.18007a444
nop
xor edx, edx
lea r8d, [rdx + 0x76]
lea rcx, [rbp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0xa]
lea rcx, [rbp - 0x68]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
xor edx, edx
lea r8d, [rdx + 0x48]
lea rcx, [rbp - 8]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov edi, r15d
mov ebx, 0x1f
lea esi, [rbx - 0x18]
lea r14d, [rbx + 8]
mov rdx, qword [rbp - 0x10]
cmp rdx, r13
jb 0x180199b8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180199b86
add rdx, r14
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, rbx
jbe 0x180199b86
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180269534
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x28], r15w
lea rcx, [rbp + 0xe0]
call fcn.18007a444
mov eax, edi
add rsp, 0x2d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret