Function at 0x40fd10
Capabilities:
Check mutex on windows
Create thread
Enumerate process modules
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425060
mov eax, dword fs:[0]
push eax
mov eax, 0x23c4
call fcn.00424870
mov eax, dword [0x43300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x50df20], 0
je 0x4101db
push 0
lea eax, [ebp - 0x158]
push eax
push 0x104
push str.SGG.dll
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
test eax, eax
je 0x4101f9
lea eax, [ebp - 0x2380]
mov dword [ebp - 0x2380], 0
push eax
push 0x1000
lea eax, [ebp - 0x1368]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4101f9
mov eax, dword [ebp - 0x2380]
xor esi, esi
shr eax, 2
mov dword [ebp - 0x237c], esi
mov dword [ebp - 0x236c], eax
test eax, eax
je 0x4101db
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp + esi*4 - 0x1368]
test esi, esi
je 0x4101c6
push 0x4407bc
mov dword [ebp - 0x2374], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2374]
mov ecx, 0x4407d4
push eax
lea eax, [ebp - 0x23b4]
push eax
call fcn.00410670
mov ecx, dword [ebp - 0x23ac]
cmp byte [ecx + 0xd], 0
jne 0x40fe2f
cmp esi, dword [ecx + 0x10]
jb 0x40fe2f
cmp ecx, dword [0x4407d4]
je 0x40fe2f
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
push 0x4407bc
mov dword [ebp - 0x2378], eax
mov dword [ebp - 0x2374], ecx
call ebx
jmp 0x4101c0
push 0x4407bc
call ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov dword [ebp - 0x2388], esi
push 0x4407bc
mov dword [ebp - 0x2384], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x2388]
mov ecx, 0x4407d4
push eax
lea eax, [ebp - 0x23c0]
push eax
call fcn.00410670
mov eax, dword [ebp - 0x23b8]
mov ebx, dword [0x4407d4]
cmp byte [eax + 0xd], 0
jne 0x40fe93
cmp esi, dword [eax + 0x10]
jb 0x40fe93
cmp eax, ebx
je 0x40fe93
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], edi
jmp 0x40ff4b
lea eax, [ebp - 0x239c]
mov dword [ebp - 0x239c], esi
push eax
lea eax, [ebp - 0x23cc]
mov dword [ebp - 0x2398], esi
push eax
mov ecx, 0x4407d4
mov dword [ebp - 0x2394], edi
call fcn.00410670
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x23a8], xmm0
cmp byte [eax + 0xd], 0
jne 0x40fed7
cmp esi, dword [eax + 0x10]
jae 0x40ff4b
cmp dword [0x4407d8], 0x9249249
je 0x4101fd
mov dword [ebp - 0x2390], 0x4407d4
mov dword [ebp - 4], 0
push 0x1c
mov dword [ebp - 0x238c], 0
call fcn.0042357e
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov ecx, 0x4407d4
mov dword [ebp - 0x238c], 0
mov dword [eax + 0x10], esi
push eax
push dword [ebp - 0x23a4]
mov dword [eax + 0x14], esi
push dword [ebp - 0x23a8]
mov dword [eax + 0x18], edi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov word [eax + 0xc], 0
call fcn.00405c80
push 0x4407bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x237c]
push dword [ebp + eax*4 - 0x1368]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
mov dword [ebp - 0x2370], ebx
test ebx, ebx
je 0x4101ba
push 0x104
lea eax, [ebp - 0x260]
push eax
push 0
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameA]
test eax, eax
je 0x4101b3
mov ecx, str.GameServer.exe
lea eax, [ebp - 0x260]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40ffc8
test dl, dl
je 0x40ffc4
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40ffc8
add eax, 2
add ecx, 2
test dl, dl
jne 0x40ffa8
xor eax, eax
jmp 0x40ffcd
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4101b3
mov dword [ebp - 0x2374], eax
lea eax, [ebp - 0x2374]
push eax
push 0x1000
lea eax, [ebp - 0x2368]
push eax
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x4101b3
mov edi, dword [ebp - 0x2374]
xor esi, esi
shr edi, 2
test edi, edi
je 0x410072
nop dword [eax]
push 0x104
lea eax, [ebp - 0x368]
push eax
push dword [ebp + esi*4 - 0x2368]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExA]
test eax, eax
je 0x41006d
lea eax, [ebp - 0x158]
lea ecx, [ebp - 0x368]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x410060
test dl, dl
je 0x41005c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x410060
add ecx, 2
add eax, 2
test dl, dl
jne 0x410040
xor eax, eax
jmp 0x410065
sbb eax, eax
or eax, 1
test eax, eax
je 0x4101b3
inc esi
cmp esi, edi
jl 0x410010
lea esi, [ebp - 0x158]
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x410080
push 4
push 0x1000
sub esi, ecx
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov edi, eax
test edi, edi
je 0x4101a4
push 0
push esi
lea eax, [ebp - 0x158]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x410196
push str.LoadLibraryA
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x2374], eax
test eax, eax
je 0x410196
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea eax, [ebp - 0x50]
push str.XTMPID_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ebx, eax
test ebx, ebx
je 0x410190
push 0
push 0
push edi
push dword [ebp - 0x2374]
push 0
push 0
push dword [ebp - 0x2370]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x41016e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41016e
push 0x8000
push esi
mov esi, dword [ebp - 0x2370]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
push str._Silent_GameGuard_____GameServer__:_Protection_Initialization_successful_
push 8
call fcn.00419440
add esp, 8
push esi
call ebx
jmp 0x4101ba
push 0x8000
push esi
push edi
push dword [ebp - 0x2370]
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebp - 0x2370]
jmp 0x4101a4
mov ebx, dword [ebp - 0x2370]
push 0x8000
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
push str._Silent_GameGuard_____GameServer__:_Could_not_initialize_Protection_Process_
push 1
call fcn.00419440
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x236c]
mov esi, dword [ebp - 0x237c]
inc esi
mov dword [ebp - 0x237c], esi
cmp esi, eax
jl 0x40fdc0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00423570
mov esp, ebp
pop ebp
ret
xor al, al
jmp 0x4101dd
call fcn.00406060
int3