Function at 0x5becd4
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1a4], edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 0x19c], edx
mov dword [ebp - 0x1a0], edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5bf088
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0xff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004163c8
test eax, eax
jne 0x5bed28
mov byte [ebp - 5], 0xff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.004163d0
test eax, eax
jl 0x5bf06a
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 6
add eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
cmp byte [edx + eax*4], 1
jne 0x5bf05e
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
movzx eax, byte [edx + eax*4 + 0x100]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x14]
inc edx
cmp eax, edx
jge 0x5bf05e
mov esi, 0x5bf09c
lea edi, [ebp - 0x161]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, 0x5bf09c
lea edi, [ebp - 0x193]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov byte [ebp - 0x29], 0
push 0
mov eax, dword [0x5d2000]
mov eax, dword [eax]
call fcn.004819e4
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5bf050
push 0xff
lea eax, [ebp - 0x12f]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetClassNameA
lea eax, [ebp - 0x198]
lea edx, [ebp - 0x12f]
mov ecx, 0xff
call fcn.00414fe4
mov eax, dword [ebp - 0x198]
mov edx, 0x5bf0d8
call fcn.00415180
jne 0x5bf038
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x20]
push eax
push 0
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x5bee7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 0x32
lea eax, [ebp - 0x161]
push eax
mov eax, dword [0x5d1e68]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x28]
push eax
push 0x32
lea eax, [ebp - 0x193]
push eax
mov eax, dword [0x5d1c68]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5bee98
lea eax, [ebp - 0x19c]
mov ebx, dword [ebp - 0xc]
mov edx, ebx
shl ebx, 6
add ebx, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
lea edx, [edx + ebx*4 + 1]
mov ecx, 0x32
call fcn.00414fe4
mov eax, dword [ebp - 0x19c]
push eax
lea eax, [ebp - 0x1a0]
lea edx, [ebp - 0x161]
mov ecx, 0x32
call fcn.00414fe4
mov edx, dword [ebp - 0x1a0]
pop eax
call fcn.00415180
jne 0x5bf038
lea eax, [ebp - 0x1a4]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
lea edx, [edx + ebx*4 + 0x97]
mov ecx, 0x14
call fcn.00414fe4
mov eax, dword [ebp - 0x1a4]
push eax
lea eax, [ebp - 0x1a8]
lea edx, [ebp - 0x193]
mov ecx, 0x32
call fcn.00414fe4
mov edx, dword [ebp - 0x1a8]
pop eax
call fcn.00415378
test eax, eax
jle 0x5bf038
xor eax, eax
push ebp
push 0x5befa1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [0x5d21dc]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x5d2200]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadProcessMemory
lea eax, [ebp - 0x28]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
add eax, 0x10
push eax
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_ReadProcessMemory
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5befe8
cmp dword [ebp - 0x14], 0
je 0x5bf003
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5bf003
mov byte [ebp - 0x29], 1
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
jmp 0x5bf050
mov eax, dword [ebp - 0xc]
mov edx, eax
shl eax, 6
add eax, edx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0xc]
xor ecx, ecx
mov dword [edx + eax*4 + 0xc4], ecx
push 0
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle
mov al, byte [ebp - 0xc]
mov byte [ebp - 5], al
jmp 0x5bf06a
push 2
mov eax, dword [ebp - 0x10]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5bedca
cmp byte [ebp - 0x29], 0
jne 0x5bf05e
mov al, byte [ebp - 0xc]
mov byte [ebp - 5], al
jmp 0x5bf06a
inc dword [ebp - 0xc]
dec dword [ebp - 0x30]
jne 0x5bed46
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5bf08f
lea eax, [ebp - 0x1a8]
mov edx, 5
call fcn.00414d98
ret