Function at 0x40ba30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a630
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5af040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.004048f0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
mov esi, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.004048f0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040c2c0
add esp, 8
test al, al
jne 0x40bcba
xor ebx, ebx
lea ecx, [ecx]
inc ebx
cmp ebx, 3
jge 0x40be5d
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x14], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40baea
cmp ecx, dword [esi - 0x10]
jne 0x40baea
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40bb23
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 3
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x14], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40bb5c
cmp ecx, dword [esi - 0x10]
jne 0x40bb5c
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40bb95
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c4e0
add esp, 8
test al, al
je 0x40bab0
xor ebx, ebx
inc ebx
cmp ebx, 3
jge 0x40bd0a
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x28], esp
mov dword [ebp - 0x14], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40bbf0
cmp ecx, dword [esi - 0x10]
jne 0x40bbf0
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40bc29
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0xb
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x14], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40bc62
cmp ecx, dword [esi - 0x10]
jne 0x40bc62
lea edi, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40bc9b
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [edi + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [edi + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d7f0
add esp, 8
test al, al
je 0x40bbb6
xor edi, edi
lea esp, [esp]
inc edi
cmp edi, 3
jge 0x40c200
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40bfb3
cmp ecx, dword [esi - 0x10]
jne 0x40bfb3
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40bfec
call fcn.004028d0
push 0x58ee3c
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov edi, eax
push 0x58ee6c
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.00402b10
mov esi, eax
push str..net_Framework
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xd
call fcn.00402b10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404090
push esi
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xf
push eax
call fcn.00404090
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404090
push edi
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 0x11
push eax
call fcn.00404090
add esp, 0x30
push 0
push 0
mov byte [ebp - 4], 0x12
push dword [eax]
call fcn.004143da
mov byte [ebp - 4], 0x11
or ebx, 0xffffffff
mov edx, dword [ebp - 0x14]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
mov ecx, ebx
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdd4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bdf4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40be14
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40be34
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c21f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x40c21f
push 0x58edf4
lea ecx, [ebp - 0x10]
call fcn.00402b10
mov edi, eax
push 0x58ee10
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.00402b10
mov esi, eax
push str..net_Framework
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.00402b10
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00404090
push esi
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
call fcn.00404090
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00404090
push edi
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 9
push eax
call fcn.00404090
add esp, 0x30
push 0
push 0
mov byte [ebp - 4], 0xa
push dword [eax]
call fcn.004143da
mov byte [ebp - 4], 9
or ebx, 0xffffffff
mov edx, dword [ebp - 0x28]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bf07
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov ecx, ebx
mov edx, dword [ebp - 0x24]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bf27
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bf47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, ebx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bf67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov ecx, ebx
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bf87
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
mov ecx, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40bfa7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
jmp 0x40c226
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x13
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x28], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40c025
cmp ecx, dword [esi - 0x10]
jne 0x40c025
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40c05e
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040d8b0
add esp, 8
test al, al
je 0x40bcc0
lea ecx, [ecx]
inc edi
cmp edi, 3
jge 0x40c1ed
mov esi, dword [ebp + 0xc]
push ecx
mov dword [ebp - 0x24], esp
mov dword [ebp - 0x28], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40c0ba
cmp ecx, dword [esi - 0x10]
jne 0x40c0ba
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40c0f3
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [ebx + 0x10]
mov dword [ecx], eax
mov byte [ebp - 4], 0x15
mov esi, dword [ebp + 8]
push ecx
mov dword [ebp - 0x28], esp
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
lea edx, [esi - 4]
mov ecx, eax
jl 0x40c12c
cmp ecx, dword [esi - 0x10]
jne 0x40c12c
lea ebx, [esi - 0x10]
mov eax, 1
lock xadd dword [edx], eax
jmp 0x40c165
mov eax, dword [ecx]
push 2
push dword [esi - 0xc]
call dword [eax]
mov ebx, eax
test ebx, ebx
je 0x40bd05
mov ecx, dword [esi - 0xc]
mov dword [ebx + 4], ecx
mov ecx, dword [esi - 0xc]
lea eax, [ecx*2 + 2]
push eax
lea eax, [ecx*2 + 2]
push esi
push eax
lea eax, [ebx + 0x10]
push eax
call fcn.0052f855
add esp, 0x10
mov ecx, dword [ebp - 0x28]
lea eax, [ebx + 0x10]
mov ebx, dword [ebp - 0x10]
mov dword [ecx], eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040ebe0
add esp, 8
test al, al
je 0x40c080
mov eax, dword [ebp + 0xc]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
call fcn.004048f0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0x17
mov esi, esp
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
call fcn.004048f0
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040fee0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
jmp 0x40c262
push 0x58eee0
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov byte [ebp - 4], 0x16
jmp 0x40c211
push 0x58ee88
lea ecx, [ebp - 0x28]
call fcn.00402b10
mov byte [ebp - 4], 0x14
push 0
push 0
push dword [eax]
call fcn.004143da
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c23f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov ecx, ebx
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c282
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x40c2a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret