Function at 0x140014f28
Capabilities:
Encode data using xor
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov dword [rax + 0x10], edx
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x50
xor r14d, r14d
lea rcx, [rax - 0x58]
xor edx, edx
mov ebx, r14d
mov ebp, r14d
lea r8d, [r14 + 0x30]
call fcn.1401c1410
mov eax, 0xd27
lea r13, [0x1402a55a0]
mov r10d, 0x246a00
mov word [rsp + 0x88], ax
mov r9d, r10d
lea r15d, [r14 + 1]
mov esi, r14d
movzx edx, r14w
mov r8, r13
mov cl, byte [r8]
cmp r15w, dx
mov eax, r14d
cmovne ax, dx
add cl, 9
movzx edx, ax
mov al, byte [rsp + rdx*2 + 0x88]
add dx, r15w
xor al, cl
mov byte [r8], al
add r8, r15
sub r9, r15
jne 0x140014f85
movsxd rax, dword [0x1402a55dc]
mov ecx, 0x5a4d
cmp word [0x1402a55a0], cx
lea rdi, [rax + r13]
jne 0x1400151fc
cmp dword [rdi], 0x4550
jne 0x1400151fc
cmp dword [rdi + 0x54], r10d
ja 0x1400151f5
add rax, 0x108
cmp rax, r10
ja 0x1400151f5
mov eax, 0x8664
cmp word [rdi + 4], ax
jne 0x1400151e8
movzx eax, word [rdi + 0x14]
add rax, 0x24
cmp r14w, word [rdi + 6]
jae 0x14001503c
movzx edx, word [rdi + 6]
lea rcx, [rax + rdi]
mov eax, dword [rcx + 4]
mov r8d, dword [rcx]
test eax, eax
jne 0x140015026
mov eax, dword [rdi + 0x38]
add rax, r8
cmp rax, rbp
cmovbe rax, rbp
add rcx, 0x28
mov rbp, rax
sub rdx, r15
jne 0x140015019
lea rcx, [rsp + 0x20]
call qword [0x1404f8ed8]
mov edx, dword [rsp + 0x24]
lea r8d, [rdx - 1]
lea ebx, [rdx - 1]
not r8d
add ebx, dword [rdi + 0x50]
lea rcx, [rdx - 1]
add rcx, rbp
and rbx, r8
and rcx, r8
cmp rbx, rcx
jne 0x1400151e8
mov rcx, qword [rdi + 0x30]
mov ebp, 4
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
call qword [0x1404f8ee0]
mov rsi, rax
test rax, rax
jne 0x1400150b5
mov r9d, ebp
mov r8d, 0x3000
mov rdx, rbx
xor ecx, ecx
call qword [0x1404f8ee0]
mov rsi, rax
test rax, rax
jne 0x1400150b5
lea ecx, [rbp + 0xa]
jmp 0x1400151ed
call qword [0x1404f8f10]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x20]
call qword [0x1404f8ee8]
mov rbx, rax
test rax, rax
jne 0x1400150df
mov ecx, 0xe
jmp 0x140015201
mov qword [rax + 8], rsi
mov r9d, ebp
mov eax, dword [rsp + 0x24]
mov r8d, 0x1000
mov dword [rbx + 0x24], eax
mov rcx, rsi
mov edx, dword [rdi + 0x54]
call qword [0x1404f8ee0]
mov rbp, rax
test rax, rax
je 0x1400150d5
mov r8d, dword [rdi + 0x54]
mov rdx, r13
mov rcx, rax
call fcn.1401c0fb0
movsxd rcx, dword [0x1402a55dc]
mov r9, rbx
add rcx, rbp
mov r8, rdi
mov qword [rbx], rcx
mov qword [rcx + 0x30], rsi
call fcn.14001488c
test eax, eax
je 0x140015207
mov rax, qword [rbx]
mov rdx, qword [rax + 0x30]
sub rdx, qword [rdi + 0x30]
je 0x140015151
mov rcx, rbx
call fcn.1400149a8
jmp 0x140015154
mov eax, r15d
mov rcx, rbx
mov dword [rbx + 0x20], eax
call fcn.140014a5c
test eax, eax
je 0x140015207
mov rcx, rbx
call fcn.140014cb4
test eax, eax
je 0x140015207
mov rdx, qword [rbx]
mov rax, rdx
mov ecx, dword [rdx + 0xd0]
test ecx, ecx
je 0x1400151bc
mov rax, qword [rbx + 8]
mov rdi, qword [rcx + rax + 0x18]
mov rax, rdx
test rdi, rdi
je 0x1400151bc
mov r9, qword [rdi]
test r9, r9
je 0x1400151bc
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov edx, r15d
call r9
lea rdi, [rdi + 8]
mov r9, qword [rdi]
test r9, r9
jne 0x1400151a0
mov rax, qword [rbx]
cmp dword [rax + 0x28], r14d
je 0x1400151e3
mov rcx, qword [rbx + 8]
xor r8d, r8d
mov eax, dword [rax + 0x28]
mov edx, r15d
add rax, rcx
call rax
test eax, eax
jne 0x1400151df
mov ecx, 0x45a
jmp 0x140015201
mov dword [rbx + 0x1c], r15d
mov rax, rbx
jmp 0x140015238
mov ecx, 0xc1
call qword [0x1404f8ed0]
jmp 0x140015236
mov ecx, 0xd
jmp 0x1400151ed
mov ecx, 0xc1
call qword [0x1404f8ed0]
test rsi, rsi
je 0x14001521d
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [0x1404f8ef8]
test rbx, rbx
je 0x140015236
call qword [0x1404f8f10]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [0x1404f8f08]
xor eax, eax
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rsi
ret