Function at 0x573614
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x57361c
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x57393b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c8c4]
call fcn.004040f8
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, 2
call fcn.004d6408
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x148], 0x128
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004d6428
mov dword [ebp - 4], eax
jmp 0x5738ff
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x5738ee
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.0054a148
test al, al
jne 0x5738ee
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.00409aa4
mov edx, dword [ebp - 0x14c]
mov eax, 0x573954
call fcn.004055b8
test eax, eax
je 0x57376d
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.00409aa4
mov edx, dword [ebp - 0x18]
mov eax, 0x573954
call fcn.004055b8
mov edx, eax
lea eax, [ebp - 0x18]
mov ecx, 1
call fcn.00405514
lea eax, [ebp - 0x160]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00405224
mov eax, dword [ebp - 0x160]
lea edx, [ebp - 0x15c]
call fcn.0040adb0
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00409aa4
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
call fcn.004055b8
test eax, eax
je 0x5738a0
mov dword [ebp - 8], 0xffffffff
jmp 0x5738a0
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.00405224
mov eax, dword [ebp - 0x16c]
lea edx, [ebp - 0x168]
call fcn.0040adb0
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00409aa4
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.00409aa4
mov edx, dword [ebp - 0x170]
pop eax
call fcn.004053c0
je 0x573831
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x140]
call fcn.0054a780
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.00409aa4
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.00409aa4
mov edx, dword [ebp - 0x180]
pop eax
call fcn.004053c0
jne 0x5738a0
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.00409aa4
mov eax, dword [ebp - 0x188]
mov edx, 0x573960
call fcn.004053c0
jne 0x573899
mov ecx, dword [0x58f748]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x54cfec]
call fcn.0048bc04
mov dword [ebp - 0x20], eax
mov ecx, 0x573978
mov edx, 0x5739ec
mov eax, dword [ebp - 0x20]
call fcn.0054d278
cmp eax, 2
je 0x5738e4
mov eax, dword [ebp - 0x20]
call fcn.00404128
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0
je 0x5738e4
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 0x5738e4
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 0x57368a
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004d6448
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x573674
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_CloseHandle
mov ebx, dword [ebp - 0x10]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x573942
lea eax, [ebp - 0x190]
mov edx, 0x12
call fcn.00404fd8
lea eax, [ebp - 0x18]
call fcn.00404fb4
ret