Function at 0x4f53c4330
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x198
mov rbx, qword [rsp + 0x208]
mov rax, qword [rsp + 0x210]
mov r12, rcx
mov rsi, rdx
mov rbp, r8
mov r13, r9
mov qword [rsp + 0x80], 0
test rbx, rbx
je 0x4f53c4376
mov dword [rbx], 0
test rax, rax
je 0x4f53c4381
mov dword [rax], 0
test byte [rsi + 0x21], 0x10
mov rax, qword [r13 + 8]
mov rdx, qword [r13]
mov qword [rsp + 0x78], rax
je 0x4f53c43a3
cmp rdx, 0x2c
jbe 0x4f53c4773
mov edx, 0x2d
mov r8, qword [sym.msys_gssapi_3.dll_t_gss_krb5_mechanism_oid_desc]
lea rcx, [rsp + 0x78]
call fcn.4f53c8a40
test eax, eax
mov r14d, eax
jne 0x4f53c475c
mov rax, qword [rsp + 0x78]
mov r15, qword [r13]
mov rdi, rax
sub rdi, qword [r13 + 8]
add rdi, 0x20
cmp r15, rdi
jb 0x4f53c4773
cmp word [rax], 0x102
mov r14d, 0x60000
jne 0x4f53c475c
cmp word [rax + 2], 0x11
jne 0x4f53c475c
cmp word [rax + 4], 0x10
je 0x4f53c4780
cmp word [rax + 4], 0xffff
jne 0x4f53c475c
mov dword [rsp + 0x5c], 0
cmp word [rax + 6], 0xffff
mov r14d, 0x60000
jne 0x4f53c475c
lea r14, [rsp + 0xb0]
mov rdx, qword [rsp + 0x218]
lea r8, [rax + 0x10]
mov r9d, 8
mov rcx, rbp
mov qword [rsp + 0x20], r14
call fcn.4f53c38b0
test eax, eax
jne 0x4f53c4790
lea r13, [rsp + 0xe0]
mov rcx, r13
call fcn.4f53e3a68
call fcn.4f53e3a18
xor r8d, r8d
mov r9, r14
mov rdx, rax
mov rcx, r13
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
lea rax, [rsp + 0x88]
mov r9d, 8
mov rcx, rax
mov rax, qword [rsp + 0x78]
mov rdx, rcx
mov qword [rsp + 0x60], rcx
mov rcx, r13
lea r8, [rax + 8]
call fcn.4f53e3a60
mov rcx, r13
call fcn.4f53e3a70
mov rcx, qword [rsp + 0x60]
lea rdx, [rsp + 0x74]
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
call fcn.4f53c1220
test byte [rsi + 0x24], 1
mov rax, qword [rsp + 0x60]
mov r8d, 4
lea rcx, [rax + 4]
je 0x4f53c47a0
lea rdx, [0x4f53e7070]
call fcn.4f53e3d20
test eax, eax
jne 0x4f53c47c1
mov rax, qword [rsp + 0x218]
lea r11, [rsp + 0xa0]
mov qword [rsp + 0xc8], 0x10
mov qword [rsp + 0xd0], r11
mov eax, dword [rax]
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x218]
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 0x4f53c4550
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0xc0]
mov qword [rsp + 0x20], r14
mov r9d, 4
mov rcx, rbp
mov qword [rsp + 0x68], r11
call fcn.4f53c38b0
mov r11, qword [rsp + 0x68]
test eax, eax
mov qword [r11], 0
mov qword [r11 + 8], 0
jne 0x4f53c4790
sub r15, rdi
mov rcx, r15
mov rdi, r15
call fcn.4f53e3d10
mov rcx, qword [rsp + 0x200]
test rax, rax
mov qword [rcx + 8], rax
je 0x4f53c4863
mov edx, dword [rsp + 0x5c]
mov rcx, qword [rsp + 0x200]
test edx, edx
mov qword [rcx], r15
je 0x4f53c481f
mov rcx, r13
call fcn.4f53e3a68
call fcn.4f53e3a18
mov r9, r14
xor r8d, r8d
mov rdx, rax
mov rcx, r13
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
call fcn.4f53e3a58
mov rax, qword [rsp + 0x78]
lea rdx, [rsp + 0x90]
mov r9d, 8
mov rcx, r13
lea r8, [rax + 0x18]
call fcn.4f53e3a60
mov rax, qword [rsp + 0x200]
mov rcx, r13
mov r9, r15
mov rdx, qword [rax + 8]
mov rax, qword [rsp + 0x78]
lea r8, [rax + 0x20]
call fcn.4f53e3a60
mov rcx, r13
call fcn.4f53e3a70
test byte [rsi + 0x21], 0x10
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xb8], 0
je 0x4f53c47d1
mov rax, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x80]
mov rax, qword [rax]
add rax, rdx
mov rdi, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x218]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0x90]
mov r8d, 0x16
mov dword [rsp + 0xe0], 0xb
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x28], rax
lea rdi, [rsp + 0x98]
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], 0
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x38], r13
mov r9, rdi
mov qword [rsp + 0xf0], rcx
mov qword [rsp + 0x30], 8
mov rcx, rbp
mov qword [rsp + 0x20], rax
call fcn.4f53c36c0
test eax, eax
mov ebp, eax
jne 0x4f53c4844
mov rax, qword [rsp + 0x78]
mov r8d, 8
mov rcx, rdi
lea rdx, [rax + 0x10]
call fcn.4f53e3bd0
test eax, eax
jne 0x4f53c47b1
mov rcx, qword [rsi + 0x58]
mov edx, dword [rsp + 0x74]
call fcn.4f53cd7f0
test eax, eax
mov r14d, eax
jne 0x4f53c475c
test rbx, rbx
je 0x4f53c4754
mov eax, dword [rsp + 0x5c]
mov dword [rbx], eax
mov dword [r12], 0
mov eax, r14d
add rsp, 0x198
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r14d, 0x10000
jmp 0x4f53c475c
mov dword [rsp + 0x5c], 1
jmp 0x4f53c4416
mov dword [r12], eax
mov r14d, 0xd0000
jmp 0x4f53c475c
lea rdx, [0x4f53e7075]
call fcn.4f53e3d20
jmp 0x4f53c450b
mov rdx, qword [rsp + 0x200]
mov rcx, r12
call fcn.4f53cd560
mov dword [r12], 0
mov r14d, 0x60000
jmp 0x4f53c475c
mov rcx, qword [rsp + 0x200]
lea r8, [rsp + 0x80]
mov rdx, rdi
call fcn.4f53c8c00
test eax, eax
mov r14d, eax
jne 0x4f53c4876
mov rax, qword [rsp + 0x200]
mov rdx, qword [rsp + 0x80]
mov rdi, qword [rsp + 0x200]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
sub rax, rdx
mov qword [rdi], rax
jmp 0x4f53c468b
mov rdx, qword [rsp + 0x78]
mov r8, r15
mov rcx, qword [rdx + 0x18]
add rdx, 0x20
mov qword [rsp + 0x90], rcx
mov rcx, rax
call fcn.4f53e3d30
jmp 0x4f53c4656
mov rdx, qword [rsp + 0x200]
mov rcx, r12
mov r14d, 0xd0000
call fcn.4f53cd560
mov dword [r12], ebp
jmp 0x4f53c475c
mov dword [r12], 0xc
mov r14d, 0xd0000
jmp 0x4f53c475c
mov rdx, qword [rsp + 0x200]
mov rcx, r12
call fcn.4f53cd560
mov dword [r12], 0
jmp 0x4f53c475c