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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x150
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rax, [0x140005198]
mov dword [r11 - 0x58], 0xf
mov qword [r11 - 0x50], rax
lea rcx, str.Advapi32.dll
lea rax, [0x140005080]
mov dword [r11 - 0x54], 0xf
mov qword [r11 - 0x40], rax
mov dword [r11 - 0x48], 0x116
mov dword [r11 - 0x44], 0x116
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbp, rax
mov eax, 0x5a4d
cmp word [rbp], ax
je 0x14000113d
lea rcx, str.Not_a_Valid_Dos_Header
call fcn.140001010
lea rcx, str.Failed_Getting_Address
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400013a0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
movsxd rax, dword [rbp + 0x3c]
add rax, rbp
cmp dword [rax], 0x4550
je 0x140001155
lea rcx, str.Not_a_Valid_NT_Header
jmp 0x1400010f9
movups xmm0, xmmword [rax + 0x18]
lea rcx, [rsp + 0x30]
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 + 0xa0]
add r15, rbp
mov r12d, dword [r15 + 0x20]
mov r13d, dword [r15 + 0x1c]
add r12, rbp
mov eax, dword [r15 + 0x24]
add r13, rbp
add rax, rbp
mov qword [rsp + 0x20], rax
cmp dword [r15 + 0x14], esi
jbe 0x1400010fe
mov edi, dword [r12 + 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 0x140001262
nop dword [rax + 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 0x140001230
lea eax, [rbx + rbx*8]
mov ecx, eax
shr ecx, 0xb
xor ecx, eax
imul eax, ecx, 0x8001
cmp eax, 0xaabda0d9
je 0x14000126f
inc esi
cmp esi, dword [r15 + 0x14]
jb 0x140001210
jmp 0x1400010fe
mov rax, qword [rsp + 0x20]
movzx eax, word [rax + rsi*2]
mov ebx, dword [r13 + rax*4]
add rbx, rbp
je 0x1400010fe
mov rdx, rbx
lea rcx, str.Address_Of_SystemFunc032_is_0x_p_ndone
call fcn.140001010
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x130]
call rbx
test eax, eax
je 0x1400012b7
lea rcx, str.Failed_With_032
jmp 0x140001105
lea rcx, str.done
call fcn.140001010
mov eax, 1
jmp 0x14000110c