Function at 0x140049b10
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, 0xa0
movaps xmmword [rax - 0x18], xmm6
call fcn.140044cd0
mov ebx, eax
xor esi, esi
test eax, eax
jne 0x140049bf1
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 7]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], rsi
mov qword [rbp + 0x1f], rsi
lea ecx, [rbx + 0x20]
call fcn.1400adc74
mov qword [rbp + 7], rax
mov qword [rbp + 0x17], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp + Ordinal_32], 0x1f
movups xmm0, xmmword [str.Failed_to_find_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400cce18]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400cce20]
mov word [rax + 0x18], cx
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x1a], cl
mov byte [rax + 0x1b], sil
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], recv
mov qword [rbp + 0x3f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 0x27], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0x2f], eax
mov byte [rbp + 0x33], sil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 7]
lea rdx, [rbp + 0x27]
call fcn.140042a00
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x140049cbc
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 0x27]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
lea ecx, [rbx + 0x20]
call fcn.1400adc74
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], reloc.WLDAP32.dll_Ordinal_27
mov qword [rbp + 0x3f], Ordinal_32
movups xmm0, xmmword [str.Failed_to_open_the_process.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400cce38]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400cce40]
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 + 7], xmm0
mov qword [rbp + 0x17], recv
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0xf], eax
mov byte [rbp + 0x13], bl
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 0x27]
lea rdx, [rbp + 7]
call fcn.140042a00
mov dword [rsp + 0x20], 4
xor edx, edx
mov r9d, 0x3000
lea r8d, [rdx + 0x1b]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov rdi, rax
test rax, rax
jne 0x140049d9f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 0x27]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
lea ecx, [rdi + 0x30]
call fcn.1400adc74
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], reloc.WLDAP32.dll_Ordinal_41
mov qword [rbp + 0x3f], Ordinal_50
movups xmm0, xmmword [str.Failed_to_allocate_memory_in_the_process.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400cced8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400ccee8]
movsd qword [rax + 0x20], xmm0
movzx ecx, byte [reloc.WLDAP32.dll_Ordinal_46]
mov byte [rax + 0x28], cl
mov byte [rax + 0x29], dil
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], recv
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0xf], eax
mov byte [rbp + 0x13], dil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 0x27]
lea rdx, [rbp + 7]
call fcn.140042a00
mov qword [rsp + 0x20], rsi
mov r9d, reloc.WLDAP32.dll_Ordinal_27
lea r8, str.C:Windows_temphey_gk.dll
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140049e8a
mov r9d, 0x8000
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 0x27]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
mov ecx, Ordinal_50
call fcn.1400adc74
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], Ordinal_41
mov qword [rbp + 0x3f], Ordinal_50
movups xmm0, xmmword [str.Failed_to_write_to_process_memory.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400ccf08]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400ccf18]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], recv
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0xf], eax
mov byte [rbp + 0x13], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 0x27]
lea rdx, [rbp + 7]
call fcn.140042a00
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rdi
mov r9, qword [sym.imp.KERNEL32.dll_LoadLibraryA]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test rax, rax
jne 0x140049fb6
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.14004a990
lea rdx, [0x14004ab60]
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, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 0x27]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400adc74
mov rdx, rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], Ordinal_32
mov qword [rbp + 0x3f], Ordinal_32
movups xmm0, xmmword [str.Failed_to_create_remote_thread.]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400ccf50]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400ccf58]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1400ccf5c]
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 + 7], xmm0
mov qword [rbp + 0x17], recv
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0xf], eax
mov byte [rbp + 0x13], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 0x27]
lea rdx, [rbp + 7]
call fcn.140042a00
movups xmm6, xmmword [0x14012a0d8]
lea rax, [rbp + 0x27]
mov qword [rbp + 0x67], rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rsi
mov qword [rbp + 0x3f], rsi
mov ecx, Ordinal_50
call fcn.1400adc74
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x37], Ordinal_41
mov qword [rbp + 0x3f], Ordinal_50
movups xmm0, xmmword [str.Charms_Menu_Injected_Successfully.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400ccfb8]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400ccfc8]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov qword [rbp + 0x17], recv
mov qword [rbp + 0x1f], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [str.Notification]
movsd qword [rbp + 7], xmm0
mov eax, dword [0x1400ccaf8]
mov dword [rbp + 0xf], eax
mov byte [rbp + 0x13], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp + 0x27]
lea rdx, [rbp + 7]
call fcn.140042a00
lea r11, [rsp + 0xa0]
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