Function at 0x500dd8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x500de0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x501251
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004034fc
cmp byte [0x552394], 0
jne 0x501236
mov byte [0x552394], 1
xor eax, eax
push ebp
push 0x50122f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x5011ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x5628d8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x501008
mov eax, dword [0x5628d8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x501008
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x500ff1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [0x5628d8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0xc]
call fcn.0040a4d4
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push 0x50217c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, 2
call fcn.004b4c44
mov eax, dword [ebp - 4]
push eax
push 0x502734
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, 3
call fcn.004b4c44
mov eax, dword [ebp - 4]
push eax
push 0x502988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.004b4d28
mov eax, dword [ebp - 4]
push eax
push 0x502b8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.004b4c44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
mov edx, 0x501268
call fcn.004b3d5c
test al, al
je 0x500f0b
mov edx, dword [ebp - 8]
mov eax, dword [0x5628d8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x500fe7
xor eax, eax
push ebp
push 0x500fdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004b534c
mov ebx, eax
test ebx, ebx
jle 0x500fd3
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x500f3f
cmp eax, dword [esp]
pop edx
pop eax
je 0x500faf
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x10]
mov edx, 0x501278
call fcn.00409a00
test eax, eax
je 0x500faf
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x14]
mov edx, 0x501290
call fcn.00409a00
test eax, eax
je 0x500faf
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x18]
mov edx, 0x5012a4
call fcn.00409a00
test eax, eax
je 0x500faf
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x1c]
mov edx, 0x5012b8
call fcn.00409a00
test eax, eax
jne 0x500fc1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500ffb
push 0
push ebx
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500fe7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x500ffb
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x500e59
mov eax, dword [0x5628d8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x5011e0
mov eax, dword [0x5628d8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
cmp eax, 0
jl 0x5011e0
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5011c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 8]
mov eax, dword [0x5628d8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
call fcn.0040a4d4
mov ebx, eax
mov eax, dword [ebp - 4]
push eax
push 0x50217c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, 2
call fcn.004b4c44
mov eax, dword [ebp - 4]
push eax
push 0x502734
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov edx, 3
call fcn.004b4c44
mov eax, dword [ebp - 4]
push eax
push 0x502988
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.004b4d28
mov eax, dword [ebp - 4]
push eax
push 0x502b8c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
xor edx, edx
call fcn.004b4c44
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
mov eax, dword [eax + 0xa0]
mov ecx, ebx
mov edx, 0x501268
call fcn.004b3d5c
test al, al
je 0x5010e3
mov edx, dword [ebp - 8]
mov eax, dword [0x5628d8]
mov ecx, dword [eax]
call dword [ecx + 0x48]
jmp 0x5011bf
xor eax, eax
push ebp
push 0x5011b5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004b534c
mov ebx, eax
test ebx, ebx
jle 0x5011ab
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
cmp edx, dword [esp + 4]
jne 0x501117
cmp eax, dword [esp]
pop edx
pop eax
je 0x501187
lea edx, [ebp - 0x24]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x24]
mov edx, 0x501278
call fcn.00409a00
test eax, eax
je 0x501187
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x28]
mov edx, 0x501290
call fcn.00409a00
test eax, eax
je 0x501187
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x2c]
mov edx, 0x5012a4
call fcn.00409a00
test eax, eax
je 0x501187
lea edx, [ebp - 0x30]
mov eax, ebx
call fcn.004d5a34
mov eax, dword [ebp - 0x30]
mov edx, 0x5012b8
call fcn.00409a00
test eax, eax
jne 0x501199
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5011d3
push 0
push ebx
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5011bf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5011d3
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xffffffff
jne 0x501031
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50121a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501236
mov byte [0x552394], 0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501258
lea eax, [ebp - 0x30]
mov edx, 0xa
call fcn.00404f4c
ret