Function at 0x10010910
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c7db
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x1004f054]
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
mov dword [ebp - 0x4a0], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea ecx, [ebp - 0x4a4]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 0x4a4]
mov esi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
push 0x410
call esi
mov edi, eax
test edi, edi
je 0x10010dfd
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExW]
test eax, eax
je 0x10010df6
xor eax, eax
mov dword [ebp - 0x480], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x480], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100109d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.1000b350
push 0x104
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x4a0], 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x420]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
lea edx, [ecx + 2]
mov word [ebp - 0x468], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010a47
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x468]
call fcn.1000b350
mov dword [ebp - 4], 1
lea edx, [ebp - 0x480]
mov ebx, 0x13
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x4a0], ebx
call fcn.10010760
test al, al
jne 0x10010b9e
xor eax, eax
mov dword [ebp - 0x450], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x450], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010ac4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x450]
call fcn.1000b350
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x450]
mov ebx, 0x17
mov dword [ebp - 0x4a0], ebx
call fcn.10010620
test al, al
jne 0x10010b9e
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x424], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010b32
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.1000b350
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
push str.CTEGame_
cmovae eax, dword [ebp - 0x438]
mov ebx, 0x1f
push eax
call fcn.1001926d
add esp, 8
test eax, eax
jne 0x10010b9e
lea eax, [ebp - 0x218]
push 0x100499b8
push eax
call fcn.10021293
add esp, 8
mov byte [ebp - 0x499], 1
test eax, eax
jne 0x10010ba5
mov byte [ebp - 0x499], 0
test bl, 8
je 0x10010c0a
mov edx, dword [ebp - 0x424]
and ebx, 0xfffffff7
cmp edx, 8
jb 0x10010bed
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010be3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e19
push edx
push ecx
call fcn.1001798d
add esp, 8
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
mov dword [ebp - 4], 1
test bl, 4
je 0x10010c76
mov edx, dword [ebp - 0x43c]
and ebx, 0xfffffffb
cmp edx, 8
jb 0x10010c59
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010c4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e19
push edx
push ecx
call fcn.1001798d
add esp, 8
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
mov dword [ebp - 4], 0
test bl, 2
je 0x10010ce2
mov edx, dword [ebp - 0x454]
and ebx, 0xfffffffd
cmp edx, 8
jb 0x10010cc5
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010cbb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e19
push edx
push ecx
call fcn.1001798d
add esp, 8
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x10010d2e
mov edx, dword [ebp - 0x46c]
cmp edx, 8
jb 0x10010d2e
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010d24
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e19
push edx
push ecx
call fcn.1001798d
add esp, 8
cmp byte [ebp - 0x499], 0
je 0x10010df6
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x498], 0
mov dword [ebp - 0x488], 0
lea edx, [ecx + 2]
mov dword [ebp - 0x484], 7
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10010d62
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x498]
call fcn.1000b350
lea ecx, [ebp - 0x498]
call fcn.10010560
mov edx, dword [ebp - 0x484]
test al, al
sete bl
cmp edx, 8
jb 0x10010dd0
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010dc6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10010e1e
push edx
push ecx
call fcn.1001798d
add esp, 8
test bl, bl
je 0x10010df6
push dword [ebp - 0x4a4]
push 0
push 1
call esi
mov esi, eax
test esi, esi
je 0x10010df6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.10017373
mov esp, ebp
pop ebp
ret
call fcn.1001f428
call fcn.1001f428
int3