Function at 0x41dd20
Capabilities:
Allocate or change rwx memory
Check if file exists
Delete file
Execute shellcode via indirect call
Get file attributes
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ae43
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1c0
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x14], edx
push 0x4551dc
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x18], esi
call fcn.0040d700
push str.SM86.txt
lea ecx, [ebp - 0x4c]
mov dword [ebp - 4], 0
call fcn.0040c930
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41dda6
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub esp, 0xc
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x1d0]
push eax
call fcn.0040bb10
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1d0]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x1c4], 0
je 0x41de75
mov esi, dword [ebx + 0x18]
push 0x208
push 0
lea eax, [esi + 4]
mov dword [esi], 0
push eax
mov dword [esi + 0x414], 0x98
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x20], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, 0x10300001
jmp 0x41ebaf
push 0x40
push 0x3000
push 0x100
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x41df73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push edi
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0xa2
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x20], eax
push 0x208
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x1cc]
call fcn.0040cc00
test eax, eax
jne 0x41df56
push eax
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300002
jmp 0x41ebaf
push edi
push str.Codecave_allocated_at__p_n
push 2
call fcn.0040e7c0
mov eax, dword [ebx + 8]
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x98]
push 0
push 0x44
push eax
push edi
push esi
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x84], 0
mov word [ebp - 0x80], 0xbb53
mov dword [ebp - 0x7a], 0x75003b83
mov dword [ebp - 0x76], 0x103c61b
mov dword [ebp - 0x72], 0xff0c73ff
mov dword [ebp - 0x6e], 0x43891053
mov dword [ebp - 0x6a], 0x18a16404
mov dword [ebp - 0x66], 0x8b000000
mov dword [ebp - 0x62], 0x43893440
mov dword [ebp - 0x5e], 0x203c608
mov dword [ebp - 0x5a], 0xc2c0315b
mov word [ebp - 0x56], 0xc
mov dword [ebp - 0x7e], edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x41e117
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x10d
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x20], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x20]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
lea ecx, [ebp - 0x1cc]
call fcn.0040cc00
test eax, eax
jne 0x41e0fa
push eax
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300003
jmp 0x41ebaf
lea eax, [edi + 0x18]
push eax
push str.pRoutine___p_n
push 3
call fcn.0040e7c0
add esp, 0xc
push edi
push str.pArg_______p_n
push 3
call fcn.0040e7c0
add esp, 0xc
lea ecx, [ebp - 0x1d0]
push 0x40d680
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov ecx, eax
call fcn.0041ec10
push 0x41a330
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
lea ecx, [edi + 0x18]
push ecx
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
push 0x40d000
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0x1cc]
call fcn.0040cc00
test eax, eax
jne 0x41e1b4
mov eax, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x1d0]
push 0
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::setstate_int__bool_]
push 0x4551dc
lea ecx, [ebp - 0xe0]
call fcn.0040d700
push str.GH_Injector_SM___x86.exe
lea ecx, [ebp - 0xe0]
mov byte [ebp - 4], 2
call fcn.0040c930
movups xmm0, xmmword [str._GH_Injector_SM___x86.exe__0]
mov ax, word [0x44a598]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [ebp - 0x11c], xmm0
mov word [ebp - 0xe4], ax
movups xmm0, xmmword [0x44a570]
mov eax, dword [ebx + 0xc]
movups xmmword [ebp - 0x10c], xmm0
movups xmm0, xmmword [0x44a580]
movups xmmword [ebp - 0xfc], xmm0
movq xmm0, qword [0x44a590]
movq qword [ebp - 0xec], xmm0
xorps xmm0, xmm0
movups xmmword [ebp - 0xc8], xmm0
cmp eax, 0xffffffff
je 0x41e686
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push ecx
push eax
call dword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x41e31f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x134
mov dword [ebp - 0x14], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x2c], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300004
jmp 0x41eba4
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
push 1
push 1
push 0
push 0x2000000
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x41e419
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x141
mov dword [ebp - 0x2c], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x14], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300005
jmp 0x41eba4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0x13
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x41e51e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x150
mov dword [ebp - 0x2c], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x14], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x14]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x28]
call esi
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300006
jmp 0x41eba4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x11c]
push eax
push str.GH_Injector_SM___x86.exe
push str.Launching__ls:_n_______command_line___ls_n
push 2
call fcn.0040e7c0
add esp, 0x10
call fcn.0041da30
test eax, eax
je 0x41e600
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x164
mov dword [ebp - 0x2c], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x24], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x2c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0xc
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x28]
call esi
jmp 0x41e748
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x28]
call esi
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push dword [ebx + 0x14]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0xb8]
push 0
push eax
mov dword [ebp - 0xb8], ecx
mov ecx, dword [0x459958]
push 2
mov dword [ebp - 0x20], edx
mov dword [ebp - 0xb4], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov dword [ebp - 0x24], eax
test eax, eax
je 0x41e84c
mov esi, dword [ebx + 0x18]
lea edi, [esi + 4]
mov dword [ebp - 0x1c], edi
lea ecx, [esi + 0x20c]
mov dword [ebp - 0x28], ecx
cmp eax, 1
jne 0x41e778
mov dword [esi], eax
mov dword [esi + 0x414], 0x197
jmp 0x41e79b
lea eax, [ebp - 0x11c]
push eax
push str.GH_Injector_SM___x86.exe
push str.Launching__ls:_n_______command_line___ls_n
push 2
call fcn.0040e7c0
add esp, 0x10
call fcn.0041da30
test eax, eax
je 0x41e60f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x17d
mov dword [ebp - 0x24], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x30], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov esi, 0x10300007
jmp 0x41eba4
cmp eax, 0xffffffff
jne 0x41e78f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x414], 0x19f
jmp 0x41e799
mov dword [esi + 0x414], 0x1a3
mov dword [esi], eax
push 0x208
push 0
push edi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x1c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x28]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
cmp dword [ebp - 0x24], 1
je 0x41eb7d
mov esi, 0x10300008
jmp 0x41eba4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push dword [ebp - 0xc8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0xc8]
call esi
push dword [ebp - 0xc4]
call esi
cmp dword [ebp - 0x38], 8
lea eax, [ebp - 0x4c]
cmovae eax, dword [ebp - 0x4c]
push eax
mov eax, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call eax
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x41e940
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x1c0
mov dword [ebp - 0x24], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x30], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov esi, dword [ebp - 0x50]
jmp 0x41eba4
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x20]
test edx, edx
ja 0x41e9fb
jb 0x41e9a0
cmp eax, dword [ebx + 0x14]
jae 0x41e9fb
nop dword [eax]
nop word [eax + eax]
push 0xa
push dword [0x459958]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
mov esi, eax
lea eax, [ebp - 0xb0]
push 0x18
push eax
push edi
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x41eabb
cmp dword [ebp - 0xb0], 2
je 0x41e9fb
test esi, esi
je 0x41eabb
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
sub eax, dword [ebp - 0x14]
sbb edx, dword [ebp - 0x20]
test edx, edx
jb 0x41e9a0
ja 0x41e9fb
cmp eax, dword [ebx + 0x14]
jb 0x41e9a0
push 0x8000
push 0
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0xb0], 2
je 0x41eb97
mov esi, dword [ebx + 0x18]
push 0x208
push 0
lea eax, [esi + 4]
mov dword [esi], 0
push eax
mov dword [esi + 0x414], 0x1fa
mov dword [ebp - 0x24], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x30], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, 0x10300009
jmp 0x41eba4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebx + 0x18]
push 0x208
push 0
mov dword [esi], eax
lea eax, [esi + 4]
push eax
mov dword [esi + 0x414], 0x1db
mov dword [ebp - 0x24], eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [esi + 0x20c]
mov dword [ebp - 0x30], eax
push 0x208
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
add esp, 0xc
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 8
add eax, 2
push eax
call edi
add eax, eax
push eax
push 0x5c
push str.D:Univsersity_Study_ProjectsESP_tiatnHack_InjectorGH_Injector_LibrarySetWindowsHookEx.cpp
call esi
add esp, 8
add eax, 2
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
push str.SR_SetWindowsHookEx
call edi
add eax, eax
push eax
push str.SR_SetWindowsHookEx
push dword [ebp - 0x30]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x41eb77
cmp dword [ebp - 0xb0], 1
je 0x41eb77
push 0x8000
push 0
push dword [ebp - 0x34]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
cmp dword [ebp - 0x1c], 0
jne 0x41eb90
push dword [0x459954]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, 0x10000004
jmp 0x41eba4
mov esi, 0x1030000a
jmp 0x41eba4
mov ecx, dword [ebx + 0x10]
xor esi, esi
mov eax, dword [ebp - 0xac]
mov dword [ecx], eax
lea ecx, [ebp - 0xe0]
call fcn.00401e10
lea ecx, [ebp - 0x1d0]
call fcn.0040b0e0
mov ecx, dword [ebp - 0x38]
cmp ecx, 8
jb 0x41ebf6
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41ebec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41ebec
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00438d0e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret