Function at 0x4dab70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x4dab78
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4dae9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41835c]
call fcn.00403a88
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, 2
call fcn.004c7ad4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x148], 0x128
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004c7af4
mov dword [ebp - 4], eax
jmp 0x4dae60
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4dae4f
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x140]
call fcn.004d5a14
test al, al
jne 0x4dae4f
lea ecx, [ebp - 0x150]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00408f6c
mov edx, dword [ebp - 0x14c]
mov eax, 0x4daeb4
call fcn.00404f30
test eax, eax
je 0x4dacc9
lea ecx, [ebp - 0x154]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x154]
lea edx, [ebp - 0x18]
call fcn.00408f6c
mov edx, dword [ebp - 0x18]
mov eax, 0x4daeb4
call fcn.00404f30
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00404e8c
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404b9c
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.00409b68
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00408f6c
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
call fcn.00404f30
test eax, eax
je 0x4dae01
mov dword [ebp - 8], 0xffffffff
jmp 0x4dae01
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404b9c
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.00409b68
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00408f6c
mov eax, dword [ebp - 0x164]
push eax
lea ecx, [ebp - 0x174]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.00408f6c
mov edx, dword [ebp - 0x170]
pop eax
call fcn.00404d38
je 0x4dad92
lea eax, [ebp - 0x17c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00404b9c
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.00408f6c
mov eax, dword [ebp - 0x178]
push eax
lea ecx, [ebp - 0x184]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.00408f6c
mov edx, dword [ebp - 0x180]
pop eax
call fcn.00404d38
jne 0x4dae01
lea ecx, [ebp - 0x18c]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x18c]
lea edx, [ebp - 0x188]
call fcn.00408f6c
mov eax, dword [ebp - 0x188]
mov edx, 0x4daec0
call fcn.00404d38
jne 0x4dadfa
mov ecx, dword [0x4e3568]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4d787c]
call fcn.0047d9d4
mov dword [ebp - 0x20], eax
mov ecx, 0x4daed8
mov edx, 0x4daf4c
mov eax, dword [ebp - 0x20]
call fcn.004d7af0
cmp eax, 2
je 0x4dae45
mov eax, dword [ebp - 0x20]
call fcn.00403ab8
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0
je 0x4dae45
push 0
mov eax, dword [ebp - 0x140]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4dae45
lea ecx, [ebp - 0x190]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x190]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc ebx
dec dword [ebp - 0x1c]
jne 0x4dabe6
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004c7b14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4dabd0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4daea3
lea eax, [ebp - 0x190]
mov edx, 0x12
call fcn.00404950
lea eax, [ebp - 0x18]
call fcn.0040492c
ret