Function at 0x140004260
Capabilities:
Create process on windows
Delete file
Encode data using xor
Execute command
Persist via windows service
Set registry value
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x128]
sub rsp, 0x220
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
mov rax, qword [0x14026d740]
xor rax, rsp
mov qword [rbp + 0xc0], rax
lea rcx, [0x14007e7c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x14007e7f8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14007e808]
movups xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [0x14007e818]
movsd qword [rbp - 0x70], xmm0
xor ebx, ebx
mov r8d, ebx
movdqa xmm8, xmmword [0x14007ef50]
movdqa xmm7, xmmword [0x14007eee0]
movdqa xmm10, xmmword [0x14007ef70]
movdqa xmm9, xmmword [str.7777]
movdqa xmm6, xmmword [0x14007ef60]
mov esi, dword [reloc.WS2_32.dll_accept]
cmp esi, 2
jl 0x140004415
mov edx, ebx
movdqa xmmword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x74]
mov r8d, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, edx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x28
jl 0x140004330
jmp 0x140004452
lea r9, [rsp + 0x70]
nop word [rax + rax]
mov eax, 0x29e4129f
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x28
jl 0x140004420
lea rdx, [rsp + 0x70]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001dc0
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
movups xmm0, xmmword [0x14007e820]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14007e830]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14007e840]
movups xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [0x14007e850]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [0x14007e858]
mov dword [rbp - 0x58], eax
mov r8d, ebx
cmp esi, 2
jl 0x1400045ad
movdqa xmmword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x1400044c2
cmp r8d, 0x3c
jge 0x1400045ef
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop dword [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x1400045c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], bl
jne 0x140004610
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002020
nop
mov r8d, 0x3841
lea rdx, str._echo_off_r_ncolor_7__r_ntitle_Fivem_Cleaner_r_n_r_n:spoof_r_n_r_nREM_BFCPEICON_r_ncls_r_nREM_BFCPEICONINDEX_1_r_ncls_r_nREM_BFCPEEMBEDDISPLAY0_r_ncls_r_ntaskkill__f__im_Steam.exe__t_r_ncls_r_nset_hostspath_windir_System32driversetchosts_r_ncls_r_necho_127.0.0.1_xboxlive.com_____hostspath__r_ncls_r_necho_127.0.0.1_user.auth.xboxlive.com_____hostspath__r_ncls_r_necho_127.0.0.1_presence_heartbeat.xboxlive.com_____hostspath__r_ncls_r_nREG_DELETE_HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSLicensingHardwareID__f_r_ncls_r_nREG_DELETE_HKEY_LOCAL_MACHINESOFTWAREMicrosoftMSLicensingStore__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareWinRARArcHistory__f_r_ncls_r_nREG_DELETE_HKEY_LOCAL_MACHINESYSTEMControlSet001Services_bamStateUserSettingsS_1_5_21_1282084573_1681065996_3115981261_1001__va__f_r_ncls_r_nREG_DELETEH_KEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageShowJumpView__f_r_ncls_r_nREG_DELETEH_KEY_CURRENT_USERSoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareWinRARArcHistory__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched__f_r_ncls_r_nREG_DELETE_HKEY_CLASSES_ROOTLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageShowJumpView__f_r_ncls_r_nREG_DELETE_HKEY_LOCAL_MACHINESYSTEMControlSet001Services_bamStateUserSettingsS_1_5_21_332004695_2829936588_140372829_1002__f_r_ncls_r_nREG_DELETE_HKEY_CLASSES_ROOTLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareClassesLocal_SettingsSoftwareMicrosoftWindowsShellMuiCache__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantStore__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched__f_r_ncls_r_nREG_DELETE_HKEY_LOCAL_MACHINESYSTEMControlSet001Services_bamStateUserSettingsS_1_5_21_1282084573_1681065996_3115981261_1001__f_r_ncls_r_nREG_DELETE_HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionExplorerFeatureUsageAppSwitched__f_r_ncls_r_ndeltree__y_c:windows_tempor1_r_ncls_r_ndeltree__y_c:windows_temp_r_ncls_r_ndeltree__y_c:windows_tmp_r_ncls_r_ndeltree__y_c:windows_ff.tmp_r_ncls_r_ndeltree__y_c:windowshistory_r_ncls_r_ndeltree__y_c:windowscookies_r_ncls_r_ndeltree__y_c:windows_recent_r_ncls_r_ndeltree__y_c:windows_spoolprinters_r_ncls_r_ndel__s__q__f___LocalAppData_FiveMFiveM.appcfx_curl_x86_64.dll__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcacheBrowser__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcachedb__r_ncls_r_ndel__s__q__f__LocalAppData_FiveMFiveM.appCitizenFX.ini_r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcachedunno__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcachepriv__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcache_servers__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcache_subprocess__r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcacheunconfirmed__r_ncls_r_ndel__s__q__f__LocalAppData_FiveMFiveM.app_steam_api64.dll_r_ncls_r_nrmdir__s__q___LocalAppData_FiveMFiveM.appcache_authbrowser__r_ncls_r_ndel__s__q__f___LocalAppData_FiveMFiveM.appcachecrashometry__r_ncls_r_ndel__s__q__f___LocalAppData_FiveMFiveM.appcachelauncher_skip__r_ncls_r_ndel__s__q__f___LocalAppData_FiveMFiveM.appcachelauncher_skip_mtl2__r_ncls_r_nrmdir__s__q___LocalAppData_DigitalEntitlements__r_ncls_r_nrmdir__s__q__userprofile_AppDataRoamingCitizenFX_r_ncls_r_ndel__s__q__f__LocalAppData_FiveMFiveM.appprofiles.dll_r_ncls_r_ndel__s__q__f__LocalAppData_FiveMFiveM.appCitizenFX_SubProcess_chro
lea rcx, [rsp + 0x50]
call fcn.140003be0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004681
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000467c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000467c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400789bc
mov dword [rbp - 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140004f5e
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [0x14007e860]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14007e870]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14007e880]
movups xmmword [rbp - 0x70], xmm0
movsd xmm0, qword [0x14007e890]
movsd qword [rbp - 0x60], xmm0
mov eax, dword [str.WWC8]
mov dword [rbp - 0x58], eax
mov r8d, ebx
cmp esi, 2
jl 0x14000484b
movdqa xmmword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
nop dword [rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x38
jl 0x140004760
cmp r8d, 0x3c
jge 0x14000488f
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x3c
jl 0x140004860
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x14007e7c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm0, xmmword [0x14007e8a0]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14007e8b0]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14007e8c0]
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [0x14007e8d0]
mov dword [rbp - 0x60], eax
movzx eax, byte [0x14007e8d4]
mov byte [rbp - 0x5c], al
mov r8d, ebx
cmp esi, 2
jl 0x1400049eb
movdqa xmmword [rsp + 0x50], xmm10
lea rcx, [rsp + 0x74]
mov edx, dword [rsp + 0x50]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x30
jl 0x140004900
cmp r8d, 0x35
jge 0x140004a2f
movsxd rax, r8d
lea r9, [rsp + 0x70]
add r9, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x35
jl 0x140004a00
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
lea rax, [rsp + 0x70]
inc rdi
cmp byte [rax + rdi], 0
jne 0x140004a45
mov r8, rdi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002020
nop
mov r8d, 0x814
lea rdx, str.__ECHO_OFF_r_n_SETLOCAL_ENABLEDELAYEDEXPANSION_r_n_SETLOCAL_ENABLEEXTENSIONS_r_n_r_n_::Generate_and_implement_a_random_MAC_address_r_n_FOR__F__tokens1____a_IN__wmic_nic_where_physicaladaptertrue_get_deviceid__findstr__0_9___DO___r_n_CALL_:MAC_r_n_FOR___b_IN__0_00_000__DO___r_n_REG_QUERY_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318__b__a__NUL_2_NUL__REG_ADD_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318__b__a__v_NetworkAddress__t_REG_SZ__d__MAC____f__NUL_2_NUL_r_n___r_n___r_n_r_n_::Disable_power_saving_mode_for_network_adapters_r_n_FOR__F__tokens1____a_IN__wmic_nic_where_physicaladaptertrue_get_deviceid__findstr__0_9___DO___r_n_FOR___b_IN__0_00_000__DO___r_n_REG_QUERY_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318__b__a__NUL_2_NUL__REG_ADD_HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318__b__a__v_PnPCapabilities__t_REG_DWORD__d_24__f__NUL_2_NUL_r_n___r_n___r_n_r_n_::Reset_NIC_adapters_so_the_new_MAC_address_is_implemented_and_the_power_saving_mode_is_disabled._r_n_FOR__F__tokens2_delims__skip2____a_IN___wmic_nic_where__netconnectionid_like_____get_netconnectionid_netconnectionstatus__format:csv___DO___r_n_netsh_interface_set_interface_name___a__disable__NUL_2_NUL_r_n_netsh_interface_set_interface_name___a__enable__NUL_2_NUL_r_n___r_n_r_n_GOTO_:EOF_r_n_:MAC_r_n_::Generates_semi_random_value_of_a_length_according_to_the__if__COUNT____line__minus_one__and_from_the_characters_in_the_GEN_variable_r_n_SET_COUNT0_r_n_SET_GENABCDEF0123456789_r_n_SET_GEN226AE_r_n_SET_MAC_r_n_:MACLOOP_r_n_SET__a_COUNT1_r_n_SET_RND_random__r_n_::__n__where_the_value_of_n_is_the_number_of_characters_in_the_GEN_variable_minus_one.__So_if_you_have_15_characters_in_GEN__set_the_number_as_14_r_n_SET__A_RNDRND__16_r_n_SET_RNDGEN_GEN:_RND__1__r_n_SET__A_RND2RND__4_r_n_SET_RNDGEN2_GEN2:_RND2__1__r_n_IF___COUNT____EQU__2___SET_MAC_MAC__RNDGEN2___ELSE__SET_MAC_MAC__RNDGEN___r_n_IF__COUNT___LEQ_11_GOTO_MACLOOP
lea rcx, [rsp + 0x50]
call fcn.140003be0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x140004ab9
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ab4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400789bc
mov dword [rbp + 0x50], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
movups xmmword [rbp + 0x78], xmm0
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm0
movups xmmword [rbp + 0xa8], xmm0
lea rax, [rbp - 0x38]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140004f39
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [0x14007e8d8]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [0x14007e8e8]
movups xmmword [rbp - 0x80], xmm1
movups xmm0, xmmword [0x14007e8f8]
movups xmmword [rbp - 0x70], xmm0
mov eax, dword [0x14007e908]
mov dword [rbp - 0x60], eax
movzx eax, byte [0x14007e90c]
mov byte [rbp - 0x5c], al
mov ecx, ebx
cmp esi, 2
jl 0x140004c88
movdqa xmmword [rsp + 0x50], xmm10
lea rdx, [rsp + 0x74]
mov r8d, dword [rsp + 0x50]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm7
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x140004ba0
cmp ecx, 0x35
jge 0x140004ccb
movsxd rax, ecx
lea r8, [rsp + 0x70]
add r8, rax
nop dword [rax]
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x35
jl 0x140004ca0
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea rcx, [0x14007e7c0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movups xmm2, xmmword [0x14007e910]
movups xmmword [rsp + 0x50], xmm2
movzx eax, word [0x14007e920]
mov word [rsp + 0x60], ax
movzx eax, byte [0x14007e922]
mov byte [rsp + 0x62], al
cmp esi, 2
jl 0x140004ea7
movdqa xmm1, xmm7
punpckldq xmm1, xmm7
pmuldq xmm1, xmm6
movdqa xmm0, xmm7
punpckhdq xmm0, xmm7
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm7, xmm0
andps xmm7, xmm8
packuswb xmm7, xmm7
packuswb xmm7, xmm7
movd ecx, xmm10
movd xmm0, ecx
paddb xmm7, xmm0
movd eax, xmm2
movd xmm0, eax
xorps xmm7, xmm0
movd dword [rsp + 0x50], xmm7
movdqa xmm2, xmmword [0x14007eef0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x54]
xorps xmm2, xmm1
movd dword [rsp + 0x54], xmm2
movdqa xmm3, xmmword [0x14007ef00]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm6
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm3, xmm0
andps xmm3, xmm8
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rsp + 0x58]
xorps xmm3, xmm1
movd dword [rsp + 0x58], xmm3
movdqa xmm2, xmmword [0x14007ef10]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm6
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm6
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm9
psubd xmm2, xmm0
andps xmm2, xmm8
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x5c]
xorps xmm2, xmm1
movd dword [rsp + 0x5c], xmm2
mov ebx, reloc.WS2_32.dll_recv
mov eax, ebx
lea r8, [rsp + 0x50]
add r8, rax
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, bl
sub al, dl
add al, 0x34
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x13
jl 0x140004eb1
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001dc0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140078960
lea r11, [rsp + 0x220]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop rbp
ret
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Clean_Error
lea rdx, str.Cleaner_Error:_0x0000000017
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.Clean_Error
lea rdx, str.Cleaner_Error:_0x0000000015
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3