Function at 0x14005d098
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x2590
call fcn.1400fe810
sub rsp, rax
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov qword [rsp + 0x25e0], rbx
mov rax, qword [0x140132350]
xor rax, rsp
mov qword [rsp + 0x2580], rax
mov qword [rsp + 0x78], rdx
mov rsi, rcx
lea r8, [rsp + 0x40]
call fcn.14005aa08
cmp eax, 3
jne 0x14005db8f
mov qword [rsp + 0x150], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov qword [rsp + 0x158], rax
lea rdx, [0x14010c490]
mov rcx, rsi
call fcn.140030d4c
xor ebp, ebp
lea r12d, [rbp + 1]
cmp rax, rbp
je 0x14005d1bd
cmp byte [rsi + 0xc5b0], bpl
jne 0x14005d1bd
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140055e04
nop
mov r8, qword [rsi + 0xae80]
mov rdx, qword [rsi + 0xae78]
lea rcx, [rsp + 0xe0]
call fcn.140055b5c
lea r8d, [rbp + 8]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xe0]
call fcn.140055ce0
lea rcx, [rsp + 0xe0]
call fcn.140055c00
mov r13d, eax
lea rcx, [rsp + 0xe0]
call fcn.140055c48
mov r15, rax
mov qword [rsp + 0x58], rax
mov r14b, r12b
mov rcx, qword [rsp + 0xe0]
cmp rcx, rbp
je 0x14005d4ac
call fcn.1400ea2a8
jmp 0x14005d4ac
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsi + 0xc5a8]
mov rcx, rsi
call qword [rax + 0x18]
mov edx, 0x78
mov rcx, rsi
call fcn.140030cd4
cmp rax, rbp
je 0x14005d207
cmp byte [rsi + 0xc5b0], bpl
jne 0x14005d207
movzx r13d, word [rsi + 0xc1a6]
mov r15d, dword [rsi + 0xc1a8]
mov qword [rsp + 0x58], r15
mov r14b, bpl
jmp 0x14005d4ac
cmp byte [rsp + 0x40], bpl
je 0x14005d22b
cmp byte [rsi + 0xc5a4], bpl
je 0x14005d22b
lea r8, [rsi + 0x26]
mov dl, r12b
xor ecx, ecx
call fcn.14005ada4
nop
jmp 0x14005db78
mov qword [rsp + 0x50], rbp
mov qword [rsi + 0xc588], rbp
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x580]
mov rcx, rsi
call qword [r11 + 0x10]
cmp eax, ebp
je 0x14005d452
mov r13d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x58], r15
mov r14b, byte [rsp + 0x40]
mov dword [rsp + 0x48], ebp
add eax, 0xffffffce
mov dword [rsp + 0x44], eax
cmp eax, ebp
jle 0x14005d40c
lea rdi, [rsp + 0x582]
mov ecx, eax
cmp byte [rdi], 0x7a
jne 0x14005d2db
mov rax, qword [rdi + 0x20]
cmp rax, qword [str.Protect]
jne 0x14005d2db
movzx ebx, byte [rdi - 1]
mov eax, 0x100
imul bx, ax
movzx eax, byte [rdi - 2]
add bx, ax
not bx
mov r8d, 0x34
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140038664
cmp bx, ax
je 0x14005d33a
mov ecx, dword [rsp + 0x44]
jmp 0x14005d31f
cmp byte [rdi], 0x78
jne 0x14005d31f
mov rax, qword [rdi + 0x10]
cmp rax, qword [str.Protect_]
jne 0x14005d31f
movzx ecx, byte [rdi - 1]
shl ecx, 8
movzx eax, byte [rdi - 2]
add ecx, eax
not ecx
movzx ebx, cx
mov r8d, 0x18
mov rdx, rdi
or ecx, 0xffffffff
call fcn.140038664
movzx ecx, ax
cmp ebx, ecx
je 0x14005d3c2
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
add eax, r12d
mov dword [rsp + 0x48], eax
add rdi, r12
cmp eax, ecx
jge 0x14005d40c
jmp 0x14005d296
movzx r13d, byte [rdi + 0x2b]
shl r13d, 8
movzx eax, byte [rdi + 0x2a]
add r13d, eax
shl r13d, 8
movzx eax, byte [rdi + 0x29]
add r13d, eax
shl r13d, 8
movzx eax, byte [rdi + 0x28]
add r13d, eax
movzx edx, byte [rdi + 0x33]
shl edx, 8
movzx eax, byte [rdi + 0x32]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x31]
add edx, eax
shl edx, 8
movzx eax, byte [rdi + 0x30]
add edx, eax
movzx r15d, byte [rdi + 0x2f]
shl r15d, 8
movzx eax, byte [rdi + 0x2e]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0x2d]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0x2c]
add r15d, eax
shl rdx, 0x20
add r15, rdx
movsxd rax, dword [rsp + 0x48]
add rax, qword [rsp + 0x50]
mov qword [rsi + 0xc588], rax
mov r14b, r12b
jmp 0x14005d40c
movzx r13d, byte [rdi + 0xb]
shl r13d, 8
movzx eax, byte [rdi + 0xa]
add r13d, eax
movzx r15d, byte [rdi + 0xf]
shl r15d, 8
movzx eax, byte [rdi + 0xe]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0xd]
add r15d, eax
shl r15d, 8
movzx eax, byte [rdi + 0xc]
add r15d, eax
movsxd rax, dword [rsp + 0x48]
add rax, qword [rsp + 0x50]
mov qword [rsi + 0xc588], rax
mov r14b, bpl
add qword [rsp + 0x50], 0x1fce
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, rsi
call qword [rax + 0x18]
mov r11, qword [rsi]
mov r8d, 0x2000
lea rdx, [rsp + 0x580]
mov rcx, rsi
call qword [r11 + 0x10]
cmp eax, ebp
jne 0x14005d279
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], r15
jmp 0x14005d466
mov r13d, dword [rsp + 0x58]
mov r15, qword [rsp + 0x70]
mov qword [rsp + 0x58], r15
mov r14b, byte [rsp + 0x40]
cmp qword [rsi + 0xc588], rbp
jne 0x14005d4ac
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x144], ebp
mov dword [rsp + 0x148], SHRestricted
lea rcx, [rsp + 0xe0]
call fcn.140067be8
nop
mov ebp, r12d
jmp 0x14005db78
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x144], ebp
mov dword [rsp + 0x148], SHRestricted
lea rcx, [rsp + 0xe0]
call fcn.140067be8
or dword [0x14014afa0], 0xffffffff
mov rbx, qword [rsi + 0xc588]
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x90], rbx
mov edi, ebp
neg r14b
sbb ecx, ecx
and ecx, 0x1c
add ecx, 0x1a
cmp byte [rsi + 0xc5a4], bpl
je 0x14005d511
mov eax, ecx
not eax
add eax, r12d
and eax, 0xf
lea ecx, [rcx + rax + 8]
movsxd rax, ecx
add rax, rbx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], rbp
mov qword [rsp + 0xc8], rbp
mov qword [rsp + 0xd0], rbp
mov qword [rsp + 0xe0], rbp
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], rbp
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0xb8]
mov rcx, rsi
call fcn.14005bc58
mov qword [rsp + 0x98], rbp
mov qword [rsp + 0xa0], rbp
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rbp
mov edx, r13d
shl edx, 9
lea rcx, [rsp + 0x98]
call fcn.14000db34
nop
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1400eada0
mov r11, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [r11 + 0x18]
mov dword [rsp + 0x44], ebp
cmp rbx, rbp
jle 0x14005d6d1
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xb8]
call fcn.140066460
mov rax, qword [rsp + 0x90]
mov r9, rax
sub r9, rbx
mov qword [rsp + 0x20], rax
mov r8d, 2
mov edx, r12d
mov rcx, rsi
call fcn.14005aac4
mov r11d, dword [rsp + 0x44]
cmp r11, qword [rsp + 0xc0]
jae 0x14005d66a
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
cmp rax, qword [r15]
jl 0x14005d66a
mov rax, qword [rsi]
movsxd rdx, dword [r14]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x18]
movsxd r11, dword [r14]
sub rbx, r11
mov qword [rsp + 0x50], rbx
add dword [rsp + 0x44], r12d
add r15, 8
add r14, 4
mov byte [rsp + 0x20], r12b
lea r9, [rsp + 0x50]
mov ebx, 0x200
mov r8d, ebx
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.14005a8a0
mov ecx, edi
shl ecx, 9
add rcx, qword [rsp + 0x98]
lea rdx, [rsp + 0x180]
sub rdx, rcx
mov r8, rbx
mov al, byte [rdx + rcx]
xor byte [rcx], al
add rcx, r12
sub r8, r12
jne 0x14005d6a7
add edi, r12d
cmp edi, r13d
sbb eax, eax
and edi, eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14005d5fd
mov r15, qword [rsp + 0x58]
mov r9d, reloc.SHELL32.dll_SHRestricted
mov qword [rsp + 0x20], r9
lea r8d, [r9 - 0x62]
mov edx, r12d
mov rcx, rsi
call fcn.14005aac4
mov r11, qword [rsi]
mov rax, qword [rsp + 0x68]
lea rdx, [rax + r15*2]
xor r8d, r8d
mov rcx, rsi
call qword [r11 + 0x18]
cmp r13d, ebp
jbe 0x14005d74e
mov rbx, qword [rsp + 0x98]
lea rdi, [rsp + 0x180]
sub rdi, rbx
mov r14d, r13d
mov r15d, 0x200
mov rax, qword [rsi]
mov r8, r15
lea rdx, [rsp + 0x180]
mov rcx, rsi
call qword [rax + 0x10]
mov rcx, r15
mov al, byte [rdi + rbx]
xor byte [rbx], al
add rbx, r12
sub rcx, r12
jne 0x14005d739
sub rdi, r15
sub r14, r12
jne 0x14005d722
mov rax, qword [rsi]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [rax + 0x18]
mov rax, qword [rsp + 0x90]
mov rbx, rax
mov qword [rsp + 0x50], rax
mov r15d, ebp
mov edi, ebp
mov dword [rsp + 0x44], ebp
or r14d, 0xffffffff
mov dword [rsp + 0x4c], r14d
mov dword [rsp + 0x58], ebp
mov dword [rsp + 0x60], ebp
cmp rax, rbp
jle 0x14005dae8
mov rdi, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
jmp 0x14005d7b3
mov rdi, qword [rsp + 0x70]
call fcn.140066460
mov r11d, dword [rsp + 0x60]
cmp r11, qword [rsp + 0xc0]
jae 0x14005d80e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x88]
cmp rax, qword [rcx]
jl 0x14005d80e
mov rax, qword [rsi]
movsxd rdx, dword [rdi]
mov r8d, r12d
mov rcx, rsi
call qword [rax + 0x18]
movsxd r11, dword [rdi]
sub rbx, r11
mov qword [rsp + 0x50], rbx
add dword [rsp + 0x60], r12d
add qword [rsp + 0x88], 8
add rdi, 4
mov qword [rsp + 0x70], rdi
mov byte [rsp + 0x20], r12b
lea r9, [rsp + 0x50]
mov ebx, 0x200
mov r8d, ebx
lea rdx, [rsp + 0x180]
mov rcx, rsi
call fcn.14005a8a0
mov eax, eax
mov qword [rsp + 0x178], rax
mov r8, rax
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x78]
call fcn.1400414d4
mov r8, rbx
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038664
movzx edi, ax
mov qword [rsp + 0x160], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rbx, rax
mov qword [rsp + 0x168], rax
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, rsi
call qword [r9 + 0x18]
mov rcx, rsi
call fcn.140041724
movzx eax, al
mov dword [rsp + 0x48], eax
mov rcx, rsi
call fcn.140041724
movzx r11d, al
shl r11d, 8
add dword [rsp + 0x48], r11d
add qword [rsp + 0x68], 2
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x18]
mov ebx, dword [rsp + 0x48]
cmp ebx, edi
jne 0x14005d8f5
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbe8
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
jmp 0x14005dac5
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x180]
mov r8d, 0x200
call fcn.1400e9de0
mov edi, dword [rsp + 0x58]
shl edi, 9
add rdi, qword [rsp + 0x98]
lea rcx, [rsp + 0x180]
lea rax, [rsp + 0x180]
sub rdi, rax
mov r8d, 0x200
mov rdx, r8
mov al, byte [rdi + rcx]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14005d93b
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038664
movzx ecx, ax
cmp ebx, ecx
je 0x14005da5d
mov ebx, 0x40
lea rax, [rsp + 0x1c0]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x380]
mov r8d, 0x200
call fcn.1400e9de0
cmp ebx, ebp
jle 0x14005d9ae
lea rcx, [rsp + 0x180]
mov edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14005d9a1
mov r8d, 0x200
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038664
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14005da5d
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x380]
mov r8d, 0x200
call fcn.1400e9de0
mov r8d, 0x200
cmp ebx, r8d
jae 0x14005da11
mov rcx, qword [rsp + 0x80]
mov edx, r8d
sub edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14005da04
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038664
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14005da5d
add ebx, 0x40
add qword [rsp + 0x80], 0x40
mov eax, 0x100
cmp ebx, eax
jl 0x14005d978
mov edi, dword [rsp + 0x44]
add edi, r12d
mov dword [rsp + 0x44], edi
cmp r14d, 0xffffffff
cmove r14d, r15d
mov dword [rsp + 0x4c], r14d
jmp 0x14005dac5
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbe8
lea edx, [r15 + 1]
xor r9d, r9d
lea r8, [rsp + 0x4c]
mov ecx, r15d
call fcn.14005bbe8
mov r14, qword [rsp + 0x78]
mov rbx, qword [r14]
mov rcx, r14
call qword [rbx + 0x20]
mov rdi, qword [rsp + 0x178]
sub rax, rdi
xor r8d, r8d
mov rdx, rax
mov rcx, r14
call qword [rbx + 0x18]
mov r8, rdi
lea rdx, [rsp + 0x180]
mov rcx, r14
call fcn.1400414d4
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
add r15d, r12d
mov ecx, dword [rsp + 0x58]
add ecx, r12d
cmp ecx, r13d
sbb eax, eax
and eax, ecx
mov dword [rsp + 0x58], eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14005d7ae
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbe8
mov r11, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x90]
mov rcx, rsi
call qword [r11 + 0x18]
movabs r8, 0x7fffffff7fffffff
mov rdx, qword [rsp + 0x78]
mov rcx, rsi
call fcn.140041c60
neg edi
sbb ebx, ebx
and ebx, 2
cmp qword [rsp + 0x98], rbp
je 0x14005db46
mov rcx, qword [rsp + 0x98]
call fcn.1400ea2a8
nop
cmp qword [rsp + 0xe0], rbp
je 0x14005db5e
mov rcx, qword [rsp + 0xe0]
call fcn.1400ea2a8
nop
cmp qword [rsp + 0xb8], rbp
je 0x14005db76
mov rcx, qword [rsp + 0xb8]
call fcn.1400ea2a8
nop
mov ebp, ebx
mov r9, qword [rsi]
xor r8d, r8d
mov rdx, qword [rsp + 0x158]
mov rcx, rsi
call qword [r9 + 0x18]
mov eax, ebp
mov rcx, qword [rsp + 0x2580]
xor rcx, rsp
call fcn.1400e9d80
mov rbx, qword [rsp + 0x25e0]
add rsp, 0x2590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret