Function at 0x40e7b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58b56b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x7bf004]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [0x7c89c8], 0x40
jl 0x40e80d
push 0x7c89cc
call fcn.0041cb70
mov edi, dword [0x7c89c4]
add esp, 4
test edi, edi
je 0x40e7ff
mov eax, dword [edi]
mov dword [0x7c89c4], eax
mov dword [0x7c89cc], 1
test edi, edi
jne 0x40e828
push 0x40
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x40eaa4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.CRefObject.0
mov dword [edi + 4], 1
mov byte [ebp - 4], 1
lea eax, [edi + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push eax
mov dword [edi], vtable.CVolEventObjectPointer.0
call esi
mov byte [ebp - 4], 2
lea eax, [edi + 0x24]
push eax
call esi
mov byte [ebp - 4], 3
mov dword [edi + 8], 0
mov dword [edi + 0x3c], ebx
mov dword [ebp - 4], 0xffffffff
lea esi, [ebx + 0x24]
push esi
mov dword [ebx + 0x1230], edi
mov dword [ebx + 0x10], 0x1f4
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 4], 0x40e300
mov dword [esi + 0xc], 0
cmp edx, edi
jne 0x40e8aa
mov dword [esi], 1
jmp 0x40e8c5
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40e8c5
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1230]
lea esi, [ebx + 0x504]
push esi
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x40e8f0
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x40e90d
mov dword [esi + 4], 0x40e320
cmp edx, edi
jne 0x40e903
mov dword [esi], 1
jmp 0x40e91e
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40e91e
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1230]
lea esi, [ebx + 0x654]
push esi
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x40e949
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x40e966
mov dword [esi + 4], 0x40e320
cmp edx, edi
jne 0x40e95c
mov dword [esi], 1
jmp 0x40e977
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40e977
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1230]
lea esi, [ebx + 0x7a4]
push esi
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x40e9a2
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x40e9bf
mov dword [esi + 4], 0x40e320
cmp edx, edi
jne 0x40e9b5
mov dword [esi], 1
jmp 0x40e9d0
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40e9d0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1230]
lea esi, [ebx + 0x10a4]
push esi
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x40e9fb
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x40ea18
mov dword [esi + 4], 0x40e340
cmp edx, edi
jne 0x40ea0e
mov dword [esi], 1
jmp 0x40ea29
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40ea29
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov edi, dword [ebx + 0x1230]
lea esi, [ebx + 0x10e4]
push esi
call fcn.0041cb70
mov edx, dword [esi + 8]
add esp, 4
mov dword [esi + 0xc], 0
test edi, edi
jne 0x40ea54
mov dword [esi + 4], edi
mov dword [esi + 8], edi
jmp 0x40ea81
mov dword [esi + 4], 0x40e320
cmp edx, edi
jne 0x40ea77
mov dword [esi], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
mov dword [esi + 8], edi
call fcn.00417ad0
mov dword [esi], 1
test edx, edx
je 0x40ea92
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
call fcn.00571c98
int3