Function at 0x4af6ac
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4af6b4
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4afa43
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4afa21
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4177c4]
call fcn.00403c18
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4afa01
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x4c6aac], 0
je 0x4af9f7
cmp dword [0x4c6ab0], 0
je 0x4af9f7
call fcn.00489bbc
sub eax, dword [0x4c6aa0]
sbb edx, dword [0x4c6aa4]
cmp edx, 0
jne 0x4af735
cmp eax, 0x1388
jae 0x4af9f7
jmp 0x4af73b
jge 0x4af9f7
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0048c744
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408f84
mov edx, dword [ebp - 0xc]
mov eax, 0x4c6aa8
call fcn.00404b7c
mov edx, dword [0x4c6aac]
mov eax, dword [0x4c6aa8]
call fcn.00408df0
test eax, eax
je 0x4af9f7
mov ecx, dword [0x4b9ef0]
mov eax, dword [0x4b9edc]
mov eax, dword [eax]
mov edx, dword [0x4acae8]
call fcn.00462ccc
xor edx, edx
push ebp
push 0x4af9f0
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4afa54
push 0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4af7d2
lea edx, [ebp - 4]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 4]
je 0x4af7d2
mov eax, dword [ebp - 4]
call fcn.0048ba8c
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4afa7c
call fcn.004451d0
mov eax, dword [0x4ba150]
mov eax, dword [eax]
call fcn.00460288
mov edx, eax
sar edx, 1
jns 0x4af7fe
adc edx, 0
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x4af80f
adc eax, 0
sub edx, eax
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
call fcn.0045fafc
mov eax, dword [0x4ba150]
mov eax, dword [eax]
call fcn.00460294
mov edx, eax
sar edx, 1
jns 0x4af832
adc edx, 0
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x4af843
adc eax, 0
sub edx, eax
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
call fcn.0045fac0
mov ecx, dword [0x4c6ab0]
mov dl, 1
mov eax, dword [0x48da70]
call fcn.0048db84
mov ebx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 8]
call fcn.00408be4
mov eax, dword [ebp - 0x18]
mov edx, 0x4afa98
call fcn.00404f50
jne 0x4af8a3
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x1c]
call fcn.00404e40
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x18]
mov eax, dword [0x4c4cb8]
call fcn.004aff94
jmp 0x4af91b
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov esi, dword [eax + 0x360]
mov byte [esi + 0x120], 1
mov eax, dword [0x4b9ef0]
mov eax, esi
call fcn.00497308
add eax, 0x88
mov edx, 0x4afaa8
call fcn.00404b7c
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x3e8
call fcn.004837f0
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x3e8
call fcn.00483808
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [ebp - 8]
mov edx, dword [0x4c6ab0]
call fcn.00495948
mov eax, ebx
call fcn.00403c48
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4afae8
call fcn.004451d0
lea edx, [ebp - 0x20]
mov eax, dword [0x4c6aac]
call fcn.00408f84
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0048c80c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00408f84
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00408df0
test eax, eax
jne 0x4af9d6
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4afb04
call fcn.004451d0
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.00403298
lea eax, [ebp - 0x2c]
mov edx, 0x4afb20
call fcn.00404df4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0041c6a8
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.00403298
mov eax, dword [ebp - 0x34]
mov cl, 1
pop edx
call fcn.0048c8d0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af9f7
mov eax, dword [0x4b9ef0]
mov eax, dword [eax]
call fcn.00403c48
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4afa0b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afa28
mov eax, dword [ebp - 8]
call fcn.00403c48
ret