Function at 0x14005d09c
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.14005aa0c
cmp eax, 3
jne 0x14005db93
mov qword [rsp + 0x150], rsi
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov qword [rsp + 0x158], rax
lea rdx, [0x14010c468]
mov rcx, rsi
call fcn.140030d78
xor ebp, ebp
lea r12d, [rbp + 1]
cmp rax, rbp
je 0x14005d1c1
cmp byte [rsi + 0xc5b0], bpl
jne 0x14005d1c1
xor edx, edx
lea rcx, [rsp + 0xe0]
call fcn.140055dfc
nop
mov r8, qword [rsi + 0xae80]
mov rdx, qword [rsi + 0xae78]
lea rcx, [rsp + 0xe0]
call fcn.140055b54
lea r8d, [rbp + 8]
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xe0]
call fcn.140055cd8
lea rcx, [rsp + 0xe0]
call fcn.140055bf8
mov r13d, eax
lea rcx, [rsp + 0xe0]
call fcn.140055c40
mov r15, rax
mov qword [rsp + 0x58], rax
mov r14b, r12b
mov rcx, qword [rsp + 0xe0]
cmp rcx, rbp
je 0x14005d4b0
call fcn.1400e9aa4
jmp 0x14005d4b0
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.140030d00
cmp rax, rbp
je 0x14005d20b
cmp byte [rsi + 0xc5b0], bpl
jne 0x14005d20b
movzx r13d, word [rsi + 0xc1a6]
mov r15d, dword [rsi + 0xc1a8]
mov qword [rsp + 0x58], r15
mov r14b, bpl
jmp 0x14005d4b0
cmp byte [rsp + 0x40], bpl
je 0x14005d22f
cmp byte [rsi + 0xc5a4], bpl
je 0x14005d22f
lea r8, [rsi + 0x26]
mov dl, r12b
xor ecx, ecx
call fcn.14005ada8
nop
jmp 0x14005db7c
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 0x14005d456
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 0x14005d410
lea rdi, [rsp + 0x582]
mov ecx, eax
cmp byte [rdi], 0x7a
jne 0x14005d2df
mov rax, qword [rdi + 0x20]
cmp rax, qword [str.Protect]
jne 0x14005d2df
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.140038694
cmp bx, ax
je 0x14005d33e
mov ecx, dword [rsp + 0x44]
jmp 0x14005d323
cmp byte [rdi], 0x78
jne 0x14005d323
mov rax, qword [rdi + 0x10]
cmp rax, qword [str.Protect_]
jne 0x14005d323
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.140038694
movzx ecx, ax
cmp ebx, ecx
je 0x14005d3c6
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 0x14005d410
jmp 0x14005d29a
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 0x14005d410
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 0x14005d27d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x58], r15
jmp 0x14005d46a
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 0x14005d4b0
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.140067b54
nop
mov ebp, r12d
jmp 0x14005db7c
mov dword [rsp + 0x140], ebp
mov dword [rsp + 0x144], ebp
mov dword [rsp + 0x148], SHRestricted
lea rcx, [rsp + 0xe0]
call fcn.140067b54
or dword [0x14014af80], 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 0x14005d515
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.14005bc5c
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.14000127c
nop
mov r8, qword [rsp + 0xa0]
xor edx, edx
mov rcx, qword [rsp + 0x98]
call fcn.1400ea880
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 0x14005d6d5
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xb8]
call fcn.14006648c
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.14005aac8
mov r11d, dword [rsp + 0x44]
cmp r11, qword [rsp + 0xc0]
jae 0x14005d66e
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
cmp rax, qword [r15]
jl 0x14005d66e
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.14005a8bc
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 0x14005d6ab
add edi, r12d
cmp edi, r13d
sbb eax, eax
and edi, eax
mov rbx, qword [rsp + 0x50]
cmp rbx, rbp
jg 0x14005d601
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.14005aac8
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 0x14005d752
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 0x14005d73d
sub rdi, r15
sub r14, r12
jne 0x14005d726
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 0x14005daec
mov rdi, qword [rsp + 0xe0]
mov qword [rsp + 0x70], rdi
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x88], rax
jmp 0x14005d7b7
mov rdi, qword [rsp + 0x70]
call fcn.14006648c
mov r11d, dword [rsp + 0x60]
cmp r11, qword [rsp + 0xc0]
jae 0x14005d812
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x88]
cmp rax, qword [rcx]
jl 0x14005d812
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.14005a8bc
mov eax, eax
mov qword [rsp + 0x178], rax
mov r8, rax
lea rdx, [rsp + 0x180]
mov rcx, qword [rsp + 0x78]
call fcn.1400414cc
mov r8, rbx
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038694
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.14004171c
movzx eax, al
mov dword [rsp + 0x48], eax
mov rcx, rsi
call fcn.14004171c
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 0x14005d8f9
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbec
mov r14d, dword [rsp + 0x4c]
mov edi, dword [rsp + 0x44]
jmp 0x14005dac9
lea rcx, [rsp + 0x380]
lea rdx, [rsp + 0x180]
mov r8d, 0x200
call fcn.1400ea530
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 0x14005d93f
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038694
movzx ecx, ax
cmp ebx, ecx
je 0x14005da61
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.1400ea530
cmp ebx, ebp
jle 0x14005d9b2
lea rcx, [rsp + 0x180]
mov edx, ebx
mov al, byte [rcx + rdi]
xor byte [rcx], al
add rcx, r12
sub rdx, r12
jne 0x14005d9a5
mov r8d, 0x200
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038694
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14005da61
lea rcx, [rsp + 0x180]
lea rdx, [rsp + 0x380]
mov r8d, 0x200
call fcn.1400ea530
mov r8d, 0x200
cmp ebx, r8d
jae 0x14005da15
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 0x14005da08
lea rdx, [rsp + 0x180]
or ecx, 0xffffffff
call fcn.140038694
movzx ecx, ax
cmp dword [rsp + 0x48], ecx
je 0x14005da61
add ebx, 0x40
add qword [rsp + 0x80], 0x40
mov eax, 0x100
cmp ebx, eax
jl 0x14005d97c
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 0x14005dac9
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbec
lea edx, [r15 + 1]
xor r9d, r9d
lea r8, [rsp + 0x4c]
mov ecx, r15d
call fcn.14005bbec
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.1400414cc
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 0x14005d7b2
mov r9b, r12b
lea r8, [rsp + 0x4c]
mov edx, r15d
mov ecx, r14d
call fcn.14005bbec
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.140041c58
neg edi
sbb ebx, ebx
and ebx, 2
cmp qword [rsp + 0x98], rbp
je 0x14005db4a
mov rcx, qword [rsp + 0x98]
call fcn.1400e9aa4
nop
cmp qword [rsp + 0xe0], rbp
je 0x14005db62
mov rcx, qword [rsp + 0xe0]
call fcn.1400e9aa4
nop
cmp qword [rsp + 0xb8], rbp
je 0x14005db7a
mov rcx, qword [rsp + 0xb8]
call fcn.1400e9aa4
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.1400e9d00
mov rbx, qword [rsp + 0x25e0]
add rsp, 0x2590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret