Function at 0x2672f1ca0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
mov rsi, rdx
mov word [rsp + 0x24], 0x78
mov word [rsp + 0x26], 0x62
mov word [rsp + 0x28], 0x72
mov word [rsp + 0x2a], 0x7a
mov word [rsp + 0x2c], 0x7a
mov word [rsp + 0x2e], 0x36
lea rdx, [rsp + 0x24]
lea rax, [0x267337160]
movzx ecx, word [rdx]
mov r8d, ecx
xor r8d, 0x36
mov word [rax], r8w
add rdx, 2
add rax, 2
cmp cx, 0x36
jne 0x2672f1ce2
lea rcx, [0x267337160]
call fcn.2672f27b0
mov rcx, rax
mov rdx, rsi
call fcn.2672f28a0
mov r8, rax
test rax, rax
je 0x2672f1edd
mov qword [rbx + 8], rax
cmp byte [rax], 0x4c
je 0x2672f1d42
cmp byte [r8], 0xe9
jne 0x2672f1d48
lea rax, [r8 + 0x20]
lea rdx, [r8 - 0x20]
mov ecx, 1
jmp 0x2672f1de0
cmp byte [rax + 1], 0x8b
je 0x2672f1d63
cmp byte [r8 + 3], 0xe9
je 0x2672f1e2c
lea rax, [r8 + 0x7f]
lea rcx, [r8 + 0x17f]
jmp 0x2672f1ef9
cmp byte [rax + 2], 0xd1
jne 0x2672f1d48
cmp byte [rax + 3], 0xb8
jne 0x2672f1d48
cmp byte [rax + 6], 0
jne 0x2672f1d53
cmp byte [rax + 7], 0
jne 0x2672f1d53
movzx eax, byte [rax + 5]
shl eax, 8
movzx edx, byte [r8 + 4]
or eax, edx
mov dword [rbx], eax
jmp 0x2672f1d2a
cmp byte [rax + 1], 0x8b
jne 0x2672f1de8
cmp byte [rax + 2], 0xd1
jne 0x2672f1de8
cmp byte [rax + 3], 0xb8
jne 0x2672f1de8
cmp byte [rax + 6], 0
jne 0x2672f1de8
cmp byte [rax + 7], 0
jne 0x2672f1de8
shl rcx, 5
movzx eax, byte [r8 + rcx + 5]
shl eax, 8
movzx edx, byte [r8 + rcx + 4]
sub edx, r10d
or eax, edx
mov dword [rbx], eax
jmp 0x2672f1d48
add rcx, 1
add rax, 0x20
sub rdx, 0x20
cmp rcx, 0x100
je 0x2672f1d48
mov r10d, ecx
cmp byte [rax], 0x4c
je 0x2672f1d8d
cmp byte [rdx], 0x4c
jne 0x2672f1dc7
cmp byte [rdx + 1], 0x8b
jne 0x2672f1dc7
cmp byte [rdx + 2], 0xd1
jne 0x2672f1dc7
cmp byte [rdx + 3], 0xb8
jne 0x2672f1dc7
cmp byte [rdx + 6], 0
jne 0x2672f1dc7
cmp byte [rdx + 7], 0
jne 0x2672f1dc7
mov rdx, r8
sub rdx, rax
movzx eax, byte [r8 + rdx + 5]
shl eax, 8
movzx edx, byte [r8 + rdx + 4]
add edx, r10d
or eax, edx
mov dword [rbx], eax
jmp 0x2672f1d48
lea rax, [r8 + 0x20]
lea rdx, [r8 - 0x20]
mov ecx, 1
jmp 0x2672f1e91
cmp byte [rax + 1], 0x8b
jne 0x2672f1e99
cmp byte [rax + 2], 0xd1
jne 0x2672f1e99
cmp byte [rax + 3], 0xb8
jne 0x2672f1e99
cmp byte [rax + 6], 0
jne 0x2672f1e99
cmp byte [rax + 7], 0
jne 0x2672f1e99
shl rcx, 5
movzx eax, byte [r8 + rcx + 5]
shl eax, 8
movzx edx, byte [r8 + rcx + 4]
sub edx, r10d
or eax, edx
mov dword [rbx], eax
jmp 0x2672f1d53
add rcx, 1
add rax, 0x20
sub rdx, 0x20
cmp rcx, 0x100
je 0x2672f1f24
mov r10d, ecx
cmp byte [rax], 0x4c
je 0x2672f1e3b
cmp byte [rdx], 0x4c
jne 0x2672f1e78
cmp byte [rdx + 1], 0x8b
jne 0x2672f1e78
cmp byte [rdx + 2], 0xd1
jne 0x2672f1e78
cmp byte [rdx + 3], 0xb8
jne 0x2672f1e78
cmp byte [rdx + 6], 0
jne 0x2672f1e78
cmp byte [rdx + 7], 0
jne 0x2672f1e78
mov rdx, r8
sub rdx, rax
movzx eax, byte [r8 + rdx + 5]
shl eax, 8
movzx edx, byte [r8 + rdx + 4]
add edx, r10d
or eax, edx
mov dword [rbx], eax
jmp 0x2672f1d53
mov r8, qword [rbx + 8]
mov eax, 0
test r8, r8
je 0x2672f1f1d
jmp 0x2672f1d53
add rax, 1
cmp rax, rcx
je 0x2672f1f08
cmp byte [rax], 0xf
jne 0x2672f1ef0
cmp byte [rax + 1], 5
jne 0x2672f1ef0
mov qword [rbx + 0x10], rax
mov eax, 0
cmp dword [rbx], 0
je 0x2672f1f1d
cmp qword [rbx + 0x10], 0
setne al
movzx eax, al
add rsp, 0x38
pop rbx
pop rsi
ret
mov r8, qword [rbx + 8]
jmp 0x2672f1d53