Function at 0x4e4590
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4e4598
push ecx
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4e4927
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4e4905
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [0x4190a8]
call fcn.00403cac
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4e48e5
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [0x511a20], 0
je 0x4e48db
cmp dword [0x511a24], 0
je 0x4e48db
call fcn.004b9f2c
sub eax, dword [0x511a14]
sbb edx, dword [0x511a18]
cmp edx, 0
jne 0x4e4619
cmp eax, 0x1388
jae 0x4e48db
jmp 0x4e461f
jge 0x4e48db
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.004032c0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004bc8c0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.0040922c
mov edx, dword [ebp - 0xc]
mov eax, 0x511a1c
call fcn.00404c70
mov edx, dword [0x511a20]
mov eax, dword [0x511a1c]
call fcn.00409098
test eax, eax
je 0x4e48db
mov ecx, dword [0x5016c8]
mov eax, dword [0x5016ac]
mov eax, dword [eax]
mov edx, dword [0x4ddb20]
call fcn.00479c1c
xor edx, edx
push ebp
push 0x4e48d4
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4e4938
push 0
call sub.user32.dll_FindWindowA
test eax, eax
je 0x4e46b6
lea edx, [ebp - 4]
push edx
push eax
call sub.user32.dll_GetWindowThreadProcessId
call sub.kernel32.dll_GetCurrentProcessId
cmp eax, dword [ebp - 4]
je 0x4e46b6
mov eax, dword [ebp - 4]
call fcn.004bba40
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4e4960
call fcn.0045bf50
mov eax, dword [0x501970]
mov eax, dword [eax]
call fcn.004771d8
mov edx, eax
sar edx, 1
jns 0x4e46e2
adc edx, 0
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x4c]
sar eax, 1
jns 0x4e46f3
adc eax, 0
sub edx, eax
mov eax, dword [0x5016c8]
mov eax, dword [eax]
call fcn.00476a4c
mov eax, dword [0x501970]
mov eax, dword [eax]
call fcn.004771e4
mov edx, eax
sar edx, 1
jns 0x4e4716
adc edx, 0
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
sar eax, 1
jns 0x4e4727
adc eax, 0
sub edx, eax
mov eax, dword [0x5016c8]
mov eax, dword [eax]
call fcn.00476a10
mov ecx, dword [0x511a24]
mov dl, 1
mov eax, dword [0x4be524]
call fcn.004be638
mov ebx, eax
lea edx, [ebp - 0x18]
mov eax, dword [ebx + 8]
call fcn.00408e8c
mov eax, dword [ebp - 0x18]
mov edx, 0x4e497c
call fcn.00405044
jne 0x4e4787
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x1c]
call fcn.00404f34
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebx + 0x18]
mov eax, dword [0x50fba8]
call fcn.004e4e68
jmp 0x4e47ff
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov esi, dword [eax + 0x360]
mov byte [esi + 0x120], 1
mov eax, dword [0x5016c8]
mov eax, esi
call fcn.004c7dbc
add eax, 0x88
mov edx, 0x4e498c
call fcn.00404c70
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x3e8
call fcn.004b457c
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov edx, 0x3e8
call fcn.004b4594
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x360]
mov ecx, dword [ebp - 8]
mov edx, dword [0x511a24]
call fcn.004c63fc
mov eax, ebx
call fcn.00403cdc
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4e49cc
call fcn.0045bf50
lea edx, [ebp - 0x20]
mov eax, dword [0x511a20]
call fcn.0040922c
mov eax, dword [ebp - 0x20]
push eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004bc988
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0040922c
mov eax, dword [ebp - 0x24]
pop edx
call fcn.00409098
test eax, eax
jne 0x4e48ba
mov eax, dword [0x5016c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x36c]
mov edx, 0x4e49e8
call fcn.0045bf50
lea edx, [ebp - 0x2c]
xor eax, eax
call fcn.004032c0
lea eax, [ebp - 0x2c]
mov edx, 0x4e4a04
call fcn.00404ee8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.0041e5bc
lea edx, [ebp - 0x30]
xor eax, eax
call fcn.004032c0
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
xor eax, eax
call fcn.004032c0
mov eax, dword [ebp - 0x34]
mov cl, 1
pop edx
call fcn.004bcb94
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 0x4e48db
mov eax, dword [0x5016c8]
mov eax, dword [eax]
call fcn.00403cdc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e48ef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e490c
mov eax, dword [ebp - 8]
call fcn.00403cdc
ret