Function at 0x14004eef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Hide graphical window

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x140159080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
movabs r13, 0x7fffffffffffffff
xor r12d, r12d
movzx ebx, byte [rsp + 0x40]
call fcn.14005afa0
movsxd rsi, eax
test eax, eax
je 0x14004ef34
cmp esi, 1
je 0x14004ef34
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140a0f510], rax
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.14004bd20
nop
mov r8d, 0xa
lea rdx, str.Game_Found
lea rcx, [0x140a0e3e0]
call fcn.140058ff0
mov ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, r13
mov rcx, qword [rbp + 0x1f]
sub rax, rcx
cmp rax, 6
jb 0x14004f886
lea rax, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rax, qword [rbp + 0xf]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 6
lea r9, str.PID_:
lea r8, [rbp + 0xf]
movzx edx, bl
lea rcx, [rsp + 0x48]
call fcn.14005aa20
mov rdx, qword [reloc.WS2_32.dll_ntohs]
cmp rdx, 0x10
jb 0x14004f026
inc rdx
mov rcx, qword [0x140a0e3e0]
cmp rdx, 0x1000
jb 0x14004f021
add rdx, 0x27
mov rax, qword [rcx - 8]
sub rcx, rax
add rcx, 0xfffffffffffffff8
cmp rcx, 0x1f
ja 0x14004f878
mov rcx, rax
call fcn.1400bd0c8
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [0x140a0e3e0], xmm0
movups xmm1, xmmword [rbp - 0x71]
movups xmmword [0x140a0e3f0], xmm1
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.Obtaining_base_addr...
lea rcx, [0x140a0e3e0]
call fcn.140058ff0
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtSuspendProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x11]
mov edx, 0xe0c36e0
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r14d, dword [rbp - 0x11]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0xd]
mov edx, 0xe0c0c28
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r15d, dword [rbp - 0xd]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 9]
mov edx, 0xe0c0928
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 5]
mov edx, 0xe0c0f28
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 1]
mov edx, 0xe0c1528
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 3]
mov edx, 0xe0c1828
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp + 7]
mov edx, 0xe0c0da8
mov rcx, qword [0x140a0f510]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test r15d, r15d
je 0x14004f7c0
test r14d, r14d
je 0x14004f7c0
mov ecx, 0x384
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14004cad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rcx, rax
lea rdx, str._n___Read_Memory
call fcn.140059540
mov r8d, ntohs
lea rdx, str.Read_Memory
lea rcx, [0x140a0e3e0]
call fcn.140058ff0
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.14005afa0
mov r8d, eax
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [0x140a0f520], rax
lea edi, [r15 + 0x5b360]
mov dword [rbp - 0x59], 0
lea rcx, [rbp - 0x35]
mov qword [rsp + 0x20], rcx
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x59]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x35]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x35]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0x5c4d0]
mov dword [rbp - 0x55], 0x47702000
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x55]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x31]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0xa7468]
mov dword [rbp - 0x51], 0x47702000
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x51]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x2d]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x2d]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0x2bc372]
mov dword [rbp - 0x4d], 0x47702000
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x4d]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x29]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0x910bc]
mov dword [rbp - 0x49], 0x47702000
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x49]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x25]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0x9fa98]
mov dword [rbp - 0x45], 0x47702000
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x45]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x21]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0xbd57c]
mov dword [rbp - 0x41], 0x47702000
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x41]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x1d]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0xb32de]
mov dword [rbp - 0x3d], 0
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x3d]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x19]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x19]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
lea edi, [r15 + 0xb3574]
mov dword [rbp - 0x39], 0x47702000
lea rax, [rbp - 0x15]
mov qword [rsp + 0x20], rax
mov r9d, 0x40
lea r8d, [r9 - 0x3c]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov qword [rsp + 0x20], r12
mov r9d, 4
lea r8, [rbp - 0x39]
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rax, [rbp - 0x15]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp - 0x15]
mov r8d, 4
mov edx, edi
mov rcx, qword [0x140a0f520]
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14004cad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rcx, rax
lea rdx, str._nBase_Addre_Found_At:
call fcn.140059540
lea rdx, [0x14004b170]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, r14d
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___int____ptr64]
lea rdx, [0x140059710]
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 ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14004caa0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rcx, rax
lea rdx, str._nBase_Addre_Found_At:
call fcn.140059540
lea rdx, [0x14004b170]
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::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, r15d
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___int____ptr64]
lea rdx, [0x140059710]
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 ecx, 0x4b0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x14004cad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rcx, rax
lea rdx, str._nTaiwan_Bypassed_Enjoy.
call fcn.140059540
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov r8d, reloc.WLDAP32.dll_Ordinal_22
lea rdx, str.Taiwan_Bypassed_Enjoy.
lea rcx, [0x140a0e3e0]
call fcn.140058ff0
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtResumeProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], reloc.WS2_32.dll_ntohs
mov r8d, reloc.WLDAP32.dll_Ordinal_33
lea rdx, str.sc_stop_MEGABP__sc_delete_MEGABP
lea rcx, [rsp + 0x48]
call fcn.140058ff0
lea rcx, [rsp + 0x48]
call fcn.14004de00
mov qword [rsp + 0x48], r12
mov qword [rbp - 0x71], r12
mov qword [rbp - 0x69], reloc.WS2_32.dll_ntohs
mov r8d, Ordinal_26
lea rdx, str.del_C:WindowsMEGABP.sys
lea rcx, [rsp + 0x48]
call fcn.140058ff0
lea rcx, [rsp + 0x48]
call fcn.14004de00
jmp 0x14004f82c
lea rdx, [0x14004cad0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
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 rcx, rax
lea rdx, str._nBypass_Failed.
call fcn.140059540
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r8d, esi
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtResumeProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rdi
call rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rdx, qword [rbp + 0x27]
cmp rdx, 0x10
jb 0x14004ef34
inc rdx
mov rcx, qword [rbp + 0xf]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004f86e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004f87f
call fcn.1400bd0c8
jmp 0x14004ef34
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14004a9e0
int3