Function at 0x40c0d0
Capabilities:
Terminate process

Disassembly:
sub esp, 0xc
push esi
push 0x98
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x40c0f2
mov eax, 0xa0000001
pop esi
add esp, 0xc
ret
mov ecx, 0x98
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x40c0f7
push 0xc
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
test eax, eax
je 0x40c14a
mov eax, dword [esp + 4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 8]
mov dword [esi + 0x18], eax
mov dword [esi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esi + 0x14]
mov eax, 0x5a4d
push ebx
push ebp
push edi
cmp word [ecx], ax
jne 0x40c195
mov eax, dword [ecx + 0x3c]
lea edi, [ecx + 0x18]
add edi, eax
mov edx, 0x10b
cmp word [edi], dx
jne 0x40c195
movzx edx, word [eax + ecx + 0x14]
mov eax, dword [edi + 0x10]
add edx, edi
add eax, ecx
cmp edx, eax
jae 0x40c195
nop dword [eax]
cmp dword [edx], 0x7865742e
jne 0x40c18e
cmp dword [edx + 4], 0x74
je 0x40c1a2
add edx, 0x28
cmp edx, eax
jb 0x40c180
pop edi
pop ebp
pop ebx
mov eax, 0xa0000005
pop esi
add esp, 0xc
ret
add ecx, dword [edx + 0xc]
xor ebx, ebx
mov dword [esi + 0x8c], ecx
mov edi, ecx
mov eax, dword [edx + 8]
add eax, ecx
mov dword [esi + 0x90], eax
lea ecx, [ebx + 1]
lea ebp, [eax - 1]
cmp edi, ebp
jge 0x40c1dc
movsx eax, byte [edi]
inc edi
cdq
idiv ecx
xor eax, eax
add ebx, edx
cmp ecx, 9
cmovle eax, ecx
lea ecx, [eax + 1]
cmp edi, ebp
jl 0x40c1c4
push 0x104
push 0x1000
push 0x1000
push 0
mov dword [esi + 0x20], ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x40c213
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebp
mov dword [esi + 0x84], eax
mov eax, 0xa0000001
pop ebx
pop esi
add esp, 0xc
ret
mov ebx, dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
push 0
push 0x61a8
push 0x61a8
push 0x4ac4ac00
push 0x40bc20
mov dword [esi + 4], eax
lea eax, [esi + 0x24]
push 0
push eax
mov dword [esi + 8], 0
mov dword [esi], 0x80000000
mov dword [esi + 0xc], 0x1000
mov dword [esi + 0x94], 1
mov dword [esi + 0x80], 0xffff
call ebx
test eax, eax
jne 0x40c273
pop edi
pop ebp
pop ebx
mov eax, 0xa0000002
pop esi
add esp, 0xc
ret
mov edi, dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0x40c370
push 2
call edi
mov dword [esi + 0x5c], eax
test eax, eax
je 0x40c195
push 0x40c460
push 3
call edi
mov dword [esi + 0x58], eax
test eax, eax
je 0x40c195
push 0
push 0x1b58
push 0x1b58
push 0x4ac4ac00
push fcn.0040bde0
push 0
lea eax, [esi + 0x60]
push eax
call ebx
test eax, eax
je 0x40c195
lea eax, [esi + 0x64]
mov dword [0x41a7b4], esi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebx, dword [esi + 0x90]
xor ebp, ebp
mov edi, dword [esi + 0x8c]
dec ebx
lea ecx, [ebp + 1]
cmp edi, ebx
jge 0x40c308
nop dword [eax]
movsx eax, byte [edi]
inc edi
cdq
idiv ecx
xor eax, eax
add ebp, edx
cmp ecx, 9
cmovle eax, ecx
lea ecx, [eax + 1]
cmp edi, ebx
jl 0x40c2f0
cmp ebp, dword [esi + 0x20]
je 0x40c344
mov ecx, esi
mov dword [esi + 0x94], 0
call fcn.0040bb80
push 0
push str._i__Anti_Cheat_Alert
push str.INTEGRITY_VIOLATION
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x4ac4ac00
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
pop ebp
pop ebx
xor eax, eax
pop esi
add esp, 0xc
ret