Function at 0x4f53c4b70
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
mov rbx, qword [rsp + 0x1f8]
mov esi, dword [rsp + 0x200]
mov r15, rcx
mov r13, rdx
mov qword [rsp + 0x1e0], r8
mov r8d, 2
mov dword [rsp + 0x1e8], r9d
mov qword [rsp + 0x80], 0
mov edx, esi
mov rcx, rbx
mov qword [rsp + 0x88], 0
call fcn.4f53c6080
mov r8d, 9
mov edx, esi
mov rcx, rbx
mov r12, rax
call fcn.4f53c6080
mov r8d, 7
mov rdi, rax
mov edx, esi
mov rcx, rbx
call fcn.4f53c6080
mov r9, rdi
mov qword [rsp + 0x20], rax
mov r8, r12
mov rdx, r13
mov rcx, r15
mov r14, rax
call fcn.4f53c6140
test eax, eax
mov ebp, eax
jne 0x4f53c4ee7
test esi, esi
jle 0x4f53c4f80
lea edx, [rsi - 1]
mov rax, rbx
xor r10d, r10d
lea rdx, [rdx + rdx*2]
lea rdx, [rbx + rdx*8 + 0x18]
cmp word [rax], 1
jne 0x4f53c4c3d
add r10, qword [rax + 8]
add rax, 0x18
cmp rdx, rax
jne 0x4f53c4c33
cmp rdi, 1
lea rdx, [rsp + 0x80]
sbb r10, 0xffffffffffffffff
test byte [r13 + 0x21], 0x10
je 0x4f53c4f21
mov r9, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea r8, [rsp + 0x88]
mov ecx, 0x20
call fcn.4f53c9160
test dword [r12], 0x10000
mov r8, qword [rsp + 0x88]
jne 0x4f53c4f64
cmp qword [r12 + 8], r8
jb 0x4f53c4f00
mov qword [r12 + 8], r8
test rdi, rdi
je 0x4f53c4ccb
test dword [rdi], 0x10000
jne 0x4f53c4fb0
cmp qword [rdi + 8], 0
je 0x4f53c4f00
mov qword [rdi + 8], 1
mov rax, qword [rdi + 0x10]
mov byte [rax], 1
test r14, r14
je 0x4f53c4ce0
mov qword [r14 + 8], 0
mov qword [r14 + 0x10], 0
mov rcx, qword [r12 + 0x10]
mov r8, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
mov rdx, qword [rsp + 0x80]
call fcn.4f53c91d0
mov r9d, dword [rsp + 0x1e8]
mov r14, rax
mov dword [rax], 0x110102
lea rax, [rax + 6]
test r9d, r9d
je 0x4f53c4fa0
mov r8d, 0x10
mov word [r14 + 4], r8w
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x1e0]
lea r8, [rsp + 0x7c]
mov word [rax], dx
mov rdx, qword [r13]
lea r12, [r14 + 0x18]
call fcn.4f53e3970
lea rax, [r14 + 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 [r13]
mov rcx, qword [rsp + 0x1e0]
lea r8d, [rax + 1]
mov dword [rsp + 0x7c], r8d
call fcn.4f53e3928
mov eax, dword [r13 + 0x24]
mov edx, 8
mov rcx, r12
lea r13, [r14 + 0x10]
and eax, 1
cmp eax, 1
sbb eax, eax
mov dword [r14 + 0xc], eax
call fcn.4f53e3720
mov rdx, qword [rsp + 0x208]
mov rcx, qword [rsp + 0x1e0]
mov r9, r13
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], esi
mov r8d, 0x16
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r14
call fcn.4f53c36c0
test eax, eax
jne 0x4f53c4f90
mov rax, qword [rsp + 0x208]
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 + 0x208]
mov rcx, qword [rax + 0x10]
xor eax, eax
nop word [rax + rax]
movzx edx, byte [rcx + rax]
xor edx, 0xfffffff0
mov byte [r10 + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x4f53c4e20
lea rax, [rsp + 0xa0]
mov r8, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x1e0]
lea rdx, [rsp + 0xb0]
mov r9d, 4
mov qword [rsp + 0x60], r10
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x68], rax
call fcn.4f53c38b0
mov r10, qword [rsp + 0x60]
test eax, eax
mov qword [r10], 0
mov qword [r10 + 8], 0
jne 0x4f53c4f90
mov eax, dword [rsp + 0x1e8]
test eax, eax
jne 0x4f53c504f
mov rax, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x208]
mov r9d, 8
mov rcx, qword [rsp + 0x1e0]
mov r8, r13
mov qword [rsp + 0xa0], 0
mov qword [rsp + 0xa8], 0
mov qword [rsp + 0x20], rax
call fcn.4f53c38b0
test eax, eax
je 0x4f53c4fd0
mov dword [r15], eax
mov ebp, 0xd0000
mov eax, ebp
add rsp, 0x188
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r15], 0x96c73abe
mov ebp, 0xd0000
lea rcx, [rsp + 0xd0]
mov r8d, esi
mov rdx, rbx
call sym.msys_gssapi_3.dll_tss_release_iov_buffer
jmp 0x4f53c4ee7
mov r9, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea rcx, [r10 + 0x20]
lea r8, [rsp + 0x88]
mov qword [rsp + 0x58], r10
call fcn.4f53c9160
mov r8, qword [rsp + 0x88]
mov r10, qword [rsp + 0x58]
sub r8, r10
test dword [r12], 0x10000
mov qword [rsp + 0x88], r8
je 0x4f53c4c90
mov rdx, r12
mov rcx, r15
call fcn.4f53c60d0
test eax, eax
je 0x4f53c4ca0
mov ebp, eax
jmp 0x4f53c4f0c
xor r10d, r10d
jmp 0x4f53c4c46
mov dword [r15], eax
mov ebp, 0xd0000
jmp 0x4f53c4f0c
mov ecx, 0xffffffff
mov word [r14 + 4], cx
jmp 0x4f53c4d22
mov r8d, 1
mov rdx, rdi
mov rcx, r15
call fcn.4f53c60d0
test eax, eax
je 0x4f53c4cc4
mov ebp, eax
jmp 0x4f53c4f0c
lea rbx, [rsp + 0xd0]
mov rcx, rbx
call fcn.4f53e3a68
call fcn.4f53e3a18
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov rdx, rax
mov rcx, rbx
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
mov rdx, qword [rsp + 0x58]
mov r9d, 8
mov rcx, rbx
mov r8, rdx
call fcn.4f53e3a60
mov rcx, rbx
call fcn.4f53e3a70
cmp qword [rsp + 0x1f0], 0
je 0x4f53c5043
mov rax, qword [rsp + 0x1f0]
mov edi, dword [rsp + 0x1e8]
mov dword [rax], edi
mov dword [r15], 0
jmp 0x4f53c4ee7
lea rax, [rsp + 0xd0]
mov rcx, rax
mov r14, rax
call fcn.4f53e3a68
call fcn.4f53e3a18
mov r9, qword [rsp + 0x68]
xor r8d, r8d
mov rdx, rax
mov rcx, r14
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
mov r9d, 8
mov r8, r12
mov rdx, r12
mov rcx, r14
call fcn.4f53e3a60
test esi, esi
jle 0x4f53c50d4
lea eax, [rsi - 1]
mov r12, r14
lea rax, [rax + rax*2]
lea rsi, [rbx + rax*8 + 0x18]
cmp word [rbx], 1
jne 0x4f53c50cb
mov rdx, qword [rbx + 0x10]
mov r9, qword [rbx + 8]
mov rcx, r12
mov r8, rdx
call fcn.4f53e3a60
add rbx, 0x18
cmp rsi, rbx
jne 0x4f53c50b2
test rdi, rdi
je 0x4f53c50ec
mov rdx, qword [rdi + 0x10]
mov r9, qword [rdi + 8]
mov rcx, r14
mov r8, rdx
call fcn.4f53e3a60
mov rcx, r14
call fcn.4f53e3a70
jmp 0x4f53c4e97