Function at 0x4f53c5100
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x1a8
mov rax, qword [rsp + 0x210]
mov rbx, qword [rsp + 0x218]
test r9, r9
mov r12, rcx
mov r13, rdx
mov r14, r8
mov rbp, r9
mov esi, dword [rsp + 0x220]
mov qword [rsp + 0x90], 0
je 0x4f53c514e
mov dword [r9], 0
test rax, rax
je 0x4f53c5159
mov dword [rax], 0
mov r8d, 2
mov edx, esi
mov rcx, rbx
call fcn.4f53c6080
mov r8d, 9
mov edx, esi
mov rcx, rbx
mov r15, 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, r15
mov rdx, r13
mov rcx, r12
call fcn.4f53c6140
test eax, eax
jne 0x4f53c54fe
test rdi, rdi
je 0x4f53c51bd
cmp qword [rdi + 8], 1
jne 0x4f53c5512
test byte [r14 + 0x12d], 0x10
mov rdx, qword [r15 + 8]
je 0x4f53c51da
cmp rdx, 0x2d
ja 0x4f53c5521
mov edx, 0x2d
mov rax, qword [r15 + 0x10]
mov r8, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea rcx, [rsp + 0x90]
mov qword [rsp + 0x90], rax
call fcn.4f53c8a40
test eax, eax
jne 0x4f53c54fe
mov r10, qword [rsp + 0x90]
mov rax, r10
sub rax, qword [r15 + 0x10]
add rax, 0x20
cmp qword [r15 + 8], rax
jb 0x4f53c5521
cmp word [r10], 0x102
mov eax, 0x60000
jne 0x4f53c54fe
cmp word [r10 + 2], 0x11
jne 0x4f53c54fe
cmp word [r10 + 4], 0x10
je 0x4f53c5530
cmp word [r10 + 4], 0xffff
jne 0x4f53c54fe
mov dword [rsp + 0x64], 0
cmp word [r10 + 6], 0xffff
mov eax, 0x60000
jne 0x4f53c54fe
lea r15, [rsp + 0xc0]
mov rdx, qword [rsp + 0x228]
lea r8, [r10 + 0x10]
mov r9d, 8
mov rcx, r14
mov qword [rsp + 0x58], r10
mov qword [rsp + 0x20], r15
call fcn.4f53c38b0
test eax, eax
mov r10, qword [rsp + 0x58]
jne 0x4f53c5540
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x68], r10
mov rcx, rax
mov qword [rsp + 0x58], rax
call fcn.4f53e3a68
call fcn.4f53e3a18
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov r9, r15
mov rdx, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
mov r10, qword [rsp + 0x68]
lea rcx, [rsp + 0xa0]
mov r9d, 8
mov rdx, rcx
mov qword [rsp + 0x68], rcx
mov rcx, qword [rsp + 0x58]
lea r8, [r10 + 8]
mov qword [rsp + 0x70], r10
call fcn.4f53e3a60
mov rcx, qword [rsp + 0x58]
call fcn.4f53e3a70
mov rcx, qword [rsp + 0x68]
lea rdx, [rsp + 0x8c]
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call fcn.4f53c1220
test byte [r13 + 0x24], 1
mov r10, qword [rsp + 0x70]
je 0x4f53c554b
mov rcx, qword [rsp + 0x68]
lea rdx, [0x4f53e7070]
mov r8d, 4
add rcx, 4
call fcn.4f53e3d20
mov r10, qword [rsp + 0x70]
test eax, eax
jne 0x4f53c5575
mov rax, qword [rsp + 0x228]
lea r11, [rsp + 0xb0]
mov qword [rsp + 0xd8], 0x10
mov qword [rsp + 0xe0], r11
mov eax, dword [rax]
mov dword [rsp + 0xd0], eax
mov rax, qword [rsp + 0x228]
mov rcx, qword [rax + 0x10]
xor eax, eax
nop
movzx edx, byte [rcx + rax]
xor edx, 0xfffffff0
mov byte [r11 + rax], dl
add rax, 1
cmp rax, 0x10
jne 0x4f53c53c0
mov r8, qword [rsp + 0x68]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x20], r15
mov r9d, 4
mov rcx, r14
mov qword [rsp + 0x78], r10
mov qword [rsp + 0x70], r11
call fcn.4f53c38b0
mov r11, qword [rsp + 0x70]
test eax, eax
mov r10, qword [rsp + 0x78]
mov qword [r11], 0
mov qword [r11 + 8], 0
jne 0x4f53c5540
cmp dword [rsp + 0x64], 1
je 0x4f53c5587
mov rax, qword [r10 + 0x18]
lea r15, [rsp + 0xa8]
mov qword [rsp + 0xa8], rax
mov r9, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x228]
mov r8d, 0x16
mov qword [rsp + 0x20], r10
mov qword [rsp + 0x48], rdi
mov rcx, r14
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x68], r10
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0xc8], 0
call fcn.4f53c36c0
test eax, eax
mov r10, qword [rsp + 0x68]
jne 0x4f53c5540
mov rax, qword [r10 + 0x10]
cmp qword [rsp + 0xf0], rax
jne 0x4f53c5575
test rdi, rdi
je 0x4f53c54d6
lea rcx, [rdi + 8]
lea r8, [rsp + 0x98]
mov edx, 1
call fcn.4f53c8c00
test eax, eax
jne 0x4f53c54f6
mov rcx, qword [r13 + 0x58]
mov edx, dword [rsp + 0x8c]
call fcn.4f53cd7f0
test eax, eax
jne 0x4f53c54fe
test rbp, rbp
je 0x4f53c54f6
mov edi, dword [rsp + 0x64]
mov dword [rbp], edi
mov dword [r12], 0
add rsp, 0x1a8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov dword [r12], 0x16
mov eax, 0xd0000
jmp 0x4f53c54fe
mov eax, 0x10000
jmp 0x4f53c54fe
mov dword [rsp + 0x64], 1
jmp 0x4f53c525c
mov dword [r12], eax
mov eax, 0xd0000
jmp 0x4f53c54fe
mov rax, qword [rsp + 0x68]
lea rdx, [0x4f53e7075]
mov r8d, 4
mov qword [rsp + 0x70], r10
lea rcx, [rax + 4]
call fcn.4f53e3d20
mov r10, qword [rsp + 0x70]
jmp 0x4f53c537b
mov dword [r12], 0
mov eax, 0x60000
jmp 0x4f53c54fe
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], r10
call fcn.4f53e3a68
call fcn.4f53e3a18
mov rcx, qword [rsp + 0x58]
mov r9, r15
xor r8d, r8d
mov rdx, rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
lea r15, [rsp + 0xa8]
call fcn.4f53e3a58
mov r10, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov r9d, 8
mov rdx, r15
lea r8, [r10 + 0x18]
call fcn.4f53e3a60
movsxd rax, esi
mov r10, qword [rsp + 0x68]
test rax, rax
je 0x4f53c5648
lea rax, [rax + rax*2]
mov r11, rbx
mov qword [rsp + 0x218], rbx
mov dword [rsp + 0x220], esi
mov rsi, r11
lea rax, [rbx + rax*8]
mov rbx, rax
cmp word [rsi], 1
jne 0x4f53c562b
mov rdx, qword [rsi + 0x10]
mov r9, qword [rsi + 8]
mov rcx, qword [rsp + 0x58]
mov r8, rdx
call fcn.4f53e3a60
add rsi, 0x18
cmp rbx, rsi
jne 0x4f53c5610
mov r10, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x218]
mov esi, dword [rsp + 0x220]
test rdi, rdi
je 0x4f53c566c
mov rdx, qword [rdi + 0x10]
mov r9, qword [rdi + 8]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], r10
mov r8, rdx
call fcn.4f53e3a60
mov r10, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x68], r10
call fcn.4f53e3a70
mov r10, qword [rsp + 0x68]
jmp 0x4f53c543f