Function at 0x1400163d0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0xfff8]
mov eax, 0x100e0
call fcn.140025540
sub rsp, rax
mov rax, qword [0x14004eef8]
xor rax, rsp
mov qword [rbp + 0xffd0], rax
xor r15d, r15d
lea rcx, [rbp - 0x30]
xor edx, edx
mov dword [rsp + 0x20], r15d
mov r8d, 0x10000
mov r14d, r15d
mov esi, r15d
call sub.VCRUNTIME140.dll_memset
mov ebx, 0x52534d42
xor r9d, r9d
mov ecx, ebx
xor r8d, r8d
xor edx, edx
call qword [0x140052540]
mov edi, eax
test eax, eax
je 0x140016776
mov r9d, eax
lea r8, [rbp - 0x30]
xor edx, edx
mov ecx, ebx
call qword [0x140052540]
test eax, eax
je 0x140016776
mov rdx, qword [rbp - 0x2c]
lea eax, [rdi - 8]
lea rbx, [rbp - 0x28]
cmp edx, eax
jne 0x140016776
lea r12d, [r15 + 0xf]
mov edi, r15d
test edx, edx
je 0x1400166b3
mov al, byte [rbx]
cmp al, 4
jb 0x1400165f0
jne 0x1400165dd
mov al, byte [rbx + 7]
test al, al
jne 0x1400164a6
lea rdx, str.Not_Specified
jmp 0x140016506
movzx edx, byte [rbx + 1]
add rdx, rbx
jmp 0x1400164c9
cmp byte [rdx], r15b
je 0x1400164d2
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x1400164b8
inc rdx
add rdx, rcx
add al, 0xff
cmp al, 1
ja 0x1400164af
cmp byte [rdx], r15b
jne 0x1400164db
lea rdx, str.BAD_INDEX
jmp 0x140016506
or rcx, 0xffffffffffffffff
inc rcx
cmp byte [rdx + rcx], r15b
jne 0x1400164df
test rcx, rcx
je 0x140016506
mov r8, rdx
mov al, byte [r8]
sub al, 0x20
cmp al, 0x5e
jbe 0x1400164fd
mov byte [r8], 0x2e
inc r8
sub rcx, 1
jne 0x1400164f0
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x58], r15
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
call fcn.140007298
mov dword [rbp - 0x68], 0x13
or r14d, 1
mov byte [rbp - 0x64], 0x42
xor eax, eax
mov byte [rbp - 0x63], 0x56
mov rdx, r15
mov byte [rbp - 0x62], 0x5e
mov byte [rbp - 0x61], 0x46
mov byte [rbp - 0x60], al
mov al, byte [rbp - 0x64]
mov al, byte [rbp + rdx - 0x64]
mov ecx, dword [rbp - 0x68]
xor cl, al
mov byte [rbp + rdx - 0x64], cl
inc rdx
cmp rdx, 4
jb 0x140016541
lea rdx, [rbp - 0x64]
mov byte [rbp - 0x60], r15b
lea rcx, [rbp - 0x58]
call fcn.1400167ac
cmp rax, 0xffffffffffffffff
je 0x140016588
movzx ecx, byte [rbx + 0x15]
mov esi, 1
movzx eax, byte [rbx + 0x14]
shl ecx, 8
add ecx, eax
cmp ecx, 0x7d0
je 0x14001658b
mov esi, r15d
mov rax, qword [rbp - 0x40]
and r14d, 0xfffffffe
cmp rax, 0x10
jb 0x1400165cb
mov rcx, qword [rbp - 0x58]
lea rdx, [rax + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400165c6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400166ac
call fcn.14002512c
mov rdx, qword [rbp - 0x2c]
mov qword [rbp - 0x48], r15
mov qword [rbp - 0x40], r12
mov byte [rbp - 0x58], r15b
jmp 0x1400165f0
cmp al, 0x11
jne 0x1400165f0
movzx ecx, byte [rbx + 0xd]
movzx eax, byte [rbx + 0xc]
shl ecx, 8
add ecx, eax
je 0x140016606
movzx eax, byte [rbx + 1]
add rbx, rax
jmp 0x1400165fc
inc rbx
cmp word [rbx], r15w
jne 0x1400165f9
add rbx, 2
inc edi
cmp edi, edx
jb 0x140016486
test esi, esi
je 0x1400166b3
mov byte [rsp + 0x68], 0x67
mov rcx, r15
mov byte [rsp + 0x69], 0x84
mov byte [rsp + 0x6a], 0x69
mov byte [rsp + 0x6b], 0x2c
mov byte [rsp + 0x6c], 0x5f
mov byte [rsp + 0x6d], 0x4d
mov byte [rsp + 0x6e], 0x5a
mov byte [rsp + 0x6f], 0x50
mov byte [rsp + 0x70], 0x4e
mov byte [rsp + 0x71], 0x5b
mov byte [rsp + 0x72], 0x64
mov byte [rsp + 0x73], r15b
mov al, byte [rsp + 0x68]
mov al, byte [rsp + rcx + 0x68]
sub al, 0xc
mov byte [rsp + rcx + 0x68], al
inc rcx
cmp rcx, 0xb
jb 0x14001665b
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], r15
lea rcx, [rsp + 0x28]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
call fcn.140007298
lea rcx, [rsp + 0x28]
call fcn.140018a3c
call qword [0x140052428]
mov rcx, rax
xor edx, edx
call qword [0x1400524d8]
jmp 0x140016772
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x78], 0x36
xor eax, eax
mov byte [rsp + 0x7c], 0x6d
mov rdx, r15
mov byte [rsp + 0x7d], 0x1d
mov byte [rsp + 0x7e], 0x6b
mov byte [rsp + 0x7f], 0x16
mov byte [rbp - 0x80], 0x70
mov byte [rbp - 0x7f], 0x5f
mov byte [rbp - 0x7e], 0x44
mov byte [rbp - 0x7d], 0x5b
mov byte [rbp - 0x7c], 0x41
mov byte [rbp - 0x7b], 0x57
mov byte [rbp - 0x7a], 0x44
mov byte [rbp - 0x79], 0x53
mov byte [rbp - 0x78], 0x16
mov byte [rbp - 0x77], 0x75
mov byte [rbp - 0x76], 0x5e
mov byte [rbp - 0x75], 0x53
mov byte [rbp - 0x74], 0x55
mov byte [rbp - 0x73], 0x5d
mov byte [rbp - 0x72], 0x16
mov byte [rbp - 0x71], 0x66
mov byte [rbp - 0x70], 0x57
mov byte [rbp - 0x6f], 0x45
mov byte [rbp - 0x6e], 0x45
mov byte [rbp - 0x6d], 0x53
mov byte [rbp - 0x6c], 0x52
mov byte [rbp - 0x6b], al
mov al, byte [rsp + 0x7c]
mov al, byte [rsp + rdx + 0x7c]
mov ecx, dword [rsp + 0x78]
xor cl, al
mov byte [rsp + rdx + 0x7c], cl
inc rdx
cmp rdx, 0x19
jb 0x14001672f
lea rdx, [rsp + 0x7c]
mov byte [rbp - 0x6b], r15b
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x60], r12
call fcn.140007298
lea rcx, [rsp + 0x48]
call fcn.140018a3c
xor eax, eax
jmp 0x14001677b
mov eax, 1
mov rcx, qword [rbp + 0xffd0]
xor rcx, rsp
call fcn.140024e80
lea r11, [rsp + 0x100e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret