Function at 0x573da0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x32
push 0
push 0
dec ecx
jne 0x573da8
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x5740c7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41c9c8]
call fcn.004040f8
mov dword [ebp - 0x10], eax
xor edx, edx
mov eax, 2
call fcn.004d684c
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x148], 0x128
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004d686c
mov dword [ebp - 4], eax
jmp 0x57408b
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x57407a
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.0054a9e8
test al, al
jne 0x57407a
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.00409abc
mov edx, dword [ebp - 0x14c]
mov eax, 0x5740e0
call fcn.004055b8
test eax, eax
je 0x573ef9
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.00409abc
mov edx, dword [ebp - 0x18]
mov eax, 0x5740e0
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.0040adc8
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.00409abc
mov edx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
call fcn.004055b8
test eax, eax
je 0x57402c
mov dword [ebp - 8], 0xffffffff
jmp 0x57402c
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.0040adc8
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.00409abc
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.00409abc
mov edx, dword [ebp - 0x170]
pop eax
call fcn.004053c0
je 0x573fbd
lea edx, [ebp - 0x17c]
mov eax, dword [ebp - 0x140]
call fcn.0054b020
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x178]
call fcn.00409abc
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.00409abc
mov edx, dword [ebp - 0x180]
pop eax
call fcn.004053c0
jne 0x57402c
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.00409abc
mov eax, dword [ebp - 0x188]
mov edx, 0x5740ec
call fcn.004053c0
jne 0x574025
mov ecx, dword [0x58f744]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x54d88c]
call fcn.0046d3e8
mov dword [ebp - 0x20], eax
mov ecx, 0x574104
mov edx, 0x574178
mov eax, dword [ebp - 0x20]
call fcn.0054db18
cmp eax, 2
je 0x574070
mov eax, dword [ebp - 0x20]
call fcn.00404128
mov dword [ebp - 8], 0xffffffff
cmp dword [ebp - 8], 0
je 0x574070
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 0x574070
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 0x573e16
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 0xc]
call fcn.004d688c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x573e00
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 0x5740ce
lea eax, [ebp - 0x190]
mov edx, 0x12
call fcn.00404fd8
lea eax, [ebp - 0x18]
call fcn.00404fb4
ret