Function at 0x4f53c3ec0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x188
cmp qword [rsp + 0x200], 0
mov r14, qword [rsp + 0x1f8]
mov r13, rcx
mov rdi, rdx
mov rsi, r8
mov r12d, r9d
je 0x4f53c3f00
mov rax, qword [rsp + 0x200]
mov dword [rax], 0
test byte [rdi + 0x21], 0x10
mov rbx, qword [r14]
je 0x4f53c4210
mov r9, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x88]
mov ecx, 0x20
mov qword [rsp + 0x80], 0x20
call fcn.4f53c9160
mov rcx, qword [rsp + 0x88]
add rcx, rbx
mov qword [rsp + 0x88], rcx
mov rax, qword [rsp + 0x208]
mov qword [rax], rcx
call fcn.4f53e3d10
mov rcx, qword [rsp + 0x208]
test rax, rax
mov qword [rcx + 8], rax
je 0x4f53c4260
mov r8, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.4f53c91d0
test r12d, r12d
mov r15, rax
mov dword [rax], 0x110102
lea rax, [rax + 6]
jne 0x4f53c4250
mov ecx, 0xffffffff
mov word [r15 + 4], cx
mov edx, 0xffffffff
lea r8, [rsp + 0x7c]
mov rcx, rsi
mov word [rax], dx
mov rdx, qword [rdi]
lea rbp, [r15 + 0x18]
call fcn.4f53e3970
lea rax, [r15 + 8]
mov ecx, dword [rsp + 0x7c]
mov rdx, rax
mov qword [rsp + 0x58], rax
call fcn.4f53c11f0
mov eax, dword [rsp + 0x7c]
mov rdx, qword [rdi]
mov rcx, rsi
lea r8d, [rax + 1]
mov dword [rsp + 0x7c], r8d
call fcn.4f53e3928
mov eax, dword [rdi + 0x24]
mov edx, 8
mov rcx, rbp
and eax, 1
cmp eax, 1
sbb eax, eax
mov dword [r15 + 0xc], eax
call fcn.4f53e3720
lea r10, [r15 + 0x20]
mov rdx, qword [r14 + 8]
mov r8, qword [r14]
mov rcx, r10
call fcn.4f53e3d30
test byte [rdi + 0x21], 0x10
mov r10, rax
jne 0x4f53c4033
mov rax, qword [r14]
mov byte [r15 + rax + 0x20], 1
lea rdi, [rsp + 0xd0]
mov rdx, qword [rsp + 0x210]
lea r9, [r15 + 0x10]
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 1
mov r8d, 0x16
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], 8
mov rcx, rsi
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x60], r9
mov dword [rsp + 0xd0], 0xb
mov qword [rsp + 0xe0], r10
mov qword [rsp + 0xd8], rbx
call fcn.4f53c36c0
test eax, eax
jne 0x4f53c42e0
mov rax, qword [rsp + 0x210]
lea r10, [rsp + 0x90]
mov qword [rsp + 0xb8], 0x10
mov qword [rsp + 0xc0], r10
mov eax, dword [rax]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x210]
mov rcx, qword [rax + 0x10]
xor eax, eax
movzx edx, byte [rcx + rax]
xor edx, 0xfffffff0
mov byte [r10 + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x4f53c40e1
lea r14, [rsp + 0xa0]
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xb0]
mov r9d, 4
mov rcx, rsi
mov qword [rsp + 0x68], r10
mov qword [rsp + 0x20], r14
call fcn.4f53c38b0
mov r10, qword [rsp + 0x68]
test eax, eax
mov qword [r10], 0
mov qword [r10 + 8], 0
jne 0x4f53c4300
test r12d, r12d
jne 0x4f53c4270
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x210]
mov r9d, 8
mov qword [rsp + 0x20], r14
mov rcx, rsi
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
call fcn.4f53c38b0
test eax, eax
mov ebx, eax
jne 0x4f53c42c0
mov rcx, rdi
call fcn.4f53e3a68
call fcn.4f53e3a18
xor r8d, r8d
mov r9, r14
mov rdx, rax
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
mov rdx, qword [rsp + 0x58]
mov r9d, 8
mov rcx, rdi
mov r8, rdx
call fcn.4f53e3a60
mov rcx, rdi
call fcn.4f53e3a70
cmp qword [rsp + 0x200], 0
je 0x4f53c41ed
mov rax, qword [rsp + 0x200]
mov dword [rax], r12d
mov dword [r13], 0
xor eax, eax
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea rcx, [rbx + 0x21]
lea rbp, [rbx + 1]
lea rdx, [rsp + 0x80]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x80], rcx
mov rbx, rbp
call fcn.4f53c9160
mov rcx, qword [rsp + 0x88]
jmp 0x4f53c3f4d
mov r8d, 0x10
mov word [r15 + 4], r8w
jmp 0x4f53c3fa9
mov dword [r13], 0xc
mov eax, 0xd0000
jmp 0x4f53c41f7
mov rcx, rdi
call fcn.4f53e3a68
call fcn.4f53e3a18
mov r9, r14
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov rdx, rax
call fcn.4f53e3a58
lea r9, [rbx + 8]
mov rcx, rdi
mov r8, rbp
mov rdx, rbp
call fcn.4f53e3a60
mov rcx, rdi
call fcn.4f53e3a70
jmp 0x4f53c4148
mov rdx, qword [rsp + 0x208]
mov rcx, r13
call fcn.4f53cd560
mov dword [r13], ebx
mov eax, 0xd0000
jmp 0x4f53c41f7
mov rdx, qword [rsp + 0x208]
mov dword [r13], eax
mov rcx, r13
call fcn.4f53cd560
mov eax, 0xd0000
jmp 0x4f53c41f7
mov rdx, qword [rsp + 0x208]
mov rcx, r13
mov dword [rsp + 0x58], eax
call fcn.4f53cd560
mov r8d, dword [rsp + 0x58]
mov eax, 0xd0000
mov dword [r13], r8d
jmp 0x4f53c41f7