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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x140
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x138], rax
mov rbp, rcx
mov qword [rsp + 0x38], r9
lea rcx, str.___Getting_Address_n_n
mov qword [rsp + 0x30], r8
mov r12d, edx
mov word [rsp + 0x130], 0x50f
call fcn.140001010
mov eax, 0x5a4d
cmp word [rbp], ax
je 0x140001117
lea rcx, str.Not_a_Valid_Dos_header
call fcn.140001010
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Failed_Finding_Address_tCode:_0x_ld_n
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1400016d0
mov rbx, qword [rsp + 0x188]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movsxd rax, dword [rbp + 0x3c]
add rax, rbp
cmp dword [rax], 0x4550
je 0x14000112f
lea rcx, str.Not_a_Valid_NT_Header
jmp 0x1400010d1
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x40]
xor esi, esi
movups xmm1, xmmword [rax + 0x28]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [rax + 0x38]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [rax + 0x48]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [rax + 0x58]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [rax + 0x68]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [rax + 0x78]
movups xmmword [rcx + 0x50], xmm1
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rax + 0x88]
sub rax, 0xffffffffffffff68
movups xmmword [rcx - 0x10], xmm0
movups xmm1, xmmword [rax]
movups xmm0, xmmword [rax + 0x10]
movups xmmword [rcx], xmm1
movups xmm1, xmmword [rax + 0x20]
movups xmmword [rcx + 0x10], xmm0
movups xmm0, xmmword [rax + 0x30]
movups xmmword [rcx + 0x20], xmm1
movups xmm1, xmmword [rax + 0x40]
movups xmmword [rcx + 0x30], xmm0
movups xmm0, xmmword [rax + 0x50]
movups xmmword [rcx + 0x40], xmm1
movups xmm1, xmmword [rax + 0x60]
movups xmmword [rcx + 0x50], xmm0
movups xmmword [rcx + 0x60], xmm1
mov r15d, dword [rsp + 0xb0]
add r15, rbp
mov eax, dword [r15 + 0x1c]
mov r13d, dword [r15 + 0x20]
add rax, rbp
mov qword [rsp + 0x28], rax
add r13, rbp
mov eax, dword [r15 + 0x24]
add rax, rbp
mov qword [rsp + 0x20], rax
cmp dword [r15 + 0x14], esi
jbe 0x1400010d6
nop
mov edi, dword [r13 + rsi*4]
xor ebx, ebx
add rdi, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenA]
xor ecx, ecx
movsxd rdx, eax
test eax, eax
je 0x14000122b
nop dword [rax]
movsx eax, byte [rdi + rcx]
inc rcx
add eax, ebx
imul ebx, eax, 0x81
mov eax, ebx
shr eax, 6
xor ebx, eax
cmp rcx, rdx
jne 0x140001210
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, r12d
je 0x14000124d
inc esi
cmp esi, dword [r15 + 0x14]
jb 0x1400011f0
jmp 0x1400010d6
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
movzx eax, word [rax + rsi*2]
mov ebx, dword [rcx + rax*4]
add rbx, rbp
je 0x1400010d6
mov rdx, rbx
lea rcx, str.___Got_Function_Addresss_n____0x_p_n
call fcn.140001010
lea rcx, str.___Getting_SSN..._n
call fcn.140001010
movzx eax, byte [rbx + 4]
lea rcx, [rbx + 0x12]
mov rdi, qword [rsp + 0x30]
mov dword [rdi], eax
mov rax, qword [rsp + 0x38]
mov qword [rax], rcx
movzx eax, word [rsp + 0x130]
cmp ax, word [rcx]
jne 0x1400012c5
lea rcx, str.___Syscall_Opcodes_Match__n
call fcn.140001010
mov edx, dword [rdi]
lea rcx, str.___Got_SSN__0x_1x__n
call fcn.140001010
jmp 0x1400010ec
lea rcx, str.____OpCodes_Did_Not_Match_0x0F__0x05_n
call fcn.140001010
jmp 0x1400010ea