Function at 0x5222e0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x2f
push 0
push 0
dec ecx
jne 0x5222e9
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004052c8
lea eax, [ebp + 8]
call fcn.00405b34
xor eax, eax
push ebp
push 0x522bca
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x522acc
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x124]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov edx, dword [ebp - 0x124]
lea eax, [ebp - 0x120]
call fcn.004050a0
mov eax, dword [ebp - 0x120]
call fcn.0040a9c8
test al, al
jne 0x52240c
xor eax, eax
push ebp
push 0x5223ab
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
lea eax, [ebp - 0x128]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov ecx, dword [ebp - 0x128]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5228d4
xor eax, eax
push ebp
push 0x522648
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x134]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov ecx, dword [ebp - 0x134]
mov dl, 1
mov eax, dword [0x48a7a8]
call fcn.0048b78c
mov dword [ebp - 0x1c], eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
call fcn.0041ecbc
lea edx, [ebp - 0x11c]
mov ecx, 3
mov eax, dword [ebp - 0x1c]
call fcn.0041eec8
lea eax, [ebp - 0x138]
lea edx, [ebp - 0x11c]
mov ecx, pe_nt_image_headers32
call fcn.00405088
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0xc]
call fcn.00409ec8
push 0
push 4
mov eax, dword [ebp - 0x1c]
call fcn.0041ecbc
lea edx, [ebp - 0x11c]
mov ecx, 0x10
mov eax, dword [ebp - 0x1c]
call fcn.0041eec8
lea eax, [ebp - 0x13c]
lea edx, [ebp - 0x11c]
mov ecx, pe_nt_image_headers32
call fcn.00405088
mov eax, dword [ebp - 0x13c]
lea edx, [ebp - 0x10]
call fcn.00409ec8
cmp dword [ebp - 0x1c], 0
je 0x5224d8
mov eax, dword [ebp - 0x1c]
call fcn.00403f7c
mov eax, dword [ebp - 0xc]
mov edx, 0x522bf4
call fcn.00405224
jne 0x522523
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x148]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov edx, dword [ebp - 0x148]
lea eax, [ebp - 0x144]
call fcn.004050a0
mov edx, dword [ebp - 0x144]
lea ecx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00522fd8
mov eax, dword [ebp - 0x10]
mov edx, 0x522c00
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c14
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c28
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c3c
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c50
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c64
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c78
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522c8c
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522ca0
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522cb0
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522cc0
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522cd4
call fcn.00405224
je 0x5225f6
mov eax, dword [ebp - 0x10]
mov edx, 0x522ce8
call fcn.00405224
jne 0x52262e
lea eax, [ebp - 0x154]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov edx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
call fcn.004050a0
mov edx, dword [ebp - 0x150]
lea ecx, [ebp - 0x14c]
mov eax, dword [ebp - 4]
call fcn.00523ee4
lea eax, [ebp - 8]
mov edx, 0x522cf8
call fcn.004050e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5228d4
xor edx, edx
push ebp
push 0x5228fb
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
test eax, eax
je 0x5228f1
call fcn.00403f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522905
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
push eax
push 0x5126b8
mov eax, dword [ebp - 4]
call fcn.00425210
mov eax, dword [ebp - 4]
mov dword [eax + 0x138], 0xffffffff
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0052426c
push 0x522d20
push dword [ebp - 0x18]
push 0x522d20
lea eax, [ebp - 0x17c]
mov edx, 3
call fcn.00405198
mov edx, dword [ebp - 0x17c]
mov eax, 0x522d2c
call fcn.0040541c
dec eax
jle 0x522978
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x138], edx
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
push 0
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
push 0x3e8
call sub.kernel32.dll_Sleep_1
mov eax, dword [0x587abc]
mov eax, dword [eax]
call fcn.004859c0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x138], 0
je 0x522ab3
mov eax, dword [ebp - 4]
imul ecx, dword [eax + 0x40], 0x1c
mov eax, dword [0x587c70]
mov eax, dword [eax]
cmp dword [eax + ecx*8 + 0xb0], 0
jne 0x522aa4
mov eax, dword [0x587c70]
mov eax, dword [eax]
cmp dword [eax + ecx*8 + 0x4c], 0
jne 0x5229f9
cmp dword [eax + ecx*8 + 0x48], 0x3e8
jbe 0x522a95
jmp 0x5229ff
jle 0x522a95
mov eax, dword [0x587c70]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
imul edx, dword [edx + 0x40], 0x1c
mov ebx, dword [0x587c70]
mov ebx, dword [ebx]
mov esi, dword [ebx + edx*8 + 0x48]
mov dword [eax + ecx*8 + 0x50], esi
mov esi, dword [ebx + edx*8 + 0x4c]
mov dword [eax + ecx*8 + 0x54], esi
mov eax, dword [ebp - 4]
imul eax, dword [eax + 0x40], 0x1c
mov edx, dword [0x587c70]
mov edx, dword [edx]
mov ecx, dword [ebp - 4]
mov ebx, dword [edx + eax*8 + 0x48]
mov dword [ecx + 0x90], ebx
mov ebx, dword [edx + eax*8 + 0x4c]
mov dword [ecx + 0x94], ebx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x94]
mov dword [eax + 0x6c], ecx
lea eax, [ebp - 0x180]
mov ecx, 0x522be4
mov edx, dword [ebp + 8]
call fcn.004057f0
mov eax, dword [ebp - 0x180]
mov edx, dword [ebp + 8]
call fcn.0049d8ec
mov eax, dword [ebp - 4]
push eax
push 0x513670
mov eax, dword [ebp - 4]
call fcn.00425210
mov ebx, 0xffffff9c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522ae2
mov ebx, 0xffffff9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522ae2
mov ebx, 0xffffff9d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x522ae2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x522bd4
lea eax, [ebp - 0x180]
call fcn.00405524
lea eax, [ebp - 0x17c]
call fcn.00404e08
lea eax, [ebp - 0x178]
call fcn.00405524
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00404e2c
lea eax, [ebp - 0x16c]
call fcn.00405524
lea eax, [ebp - 0x168]
mov edx, 4
call fcn.00404e2c
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00404e2c
lea eax, [ebp - 0x148]
call fcn.00405524
lea eax, [ebp - 0x144]
mov edx, 4
call fcn.00404e2c
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x12c]
call fcn.00404e08
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040553c
lea eax, [ebp - 0x120]
call fcn.00404e08
lea eax, [ebp - 0x18]
call fcn.00404e08
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404e2c
lea eax, [ebp + 8]
call fcn.00405524
ret